/* ============ Tokens ============ */
:root {
  --bg: oklch(0.970 0.004 235);
  --surface: oklch(1 0 0);
  --ink: oklch(0.280 0.030 240);
  --muted: oklch(0.470 0.022 238);
  --primary: oklch(0.420 0.110 240);
  --primary-strong: oklch(0.330 0.095 242);
  --primary-deep: oklch(0.280 0.080 243);
  --accent: oklch(0.700 0.070 220);
  --hairline: oklch(0.880 0.008 235);
  --on-dark: oklch(0.965 0.005 230);
  --on-dark-muted: oklch(0.840 0.030 235);

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --radius: 8px;
  --container: 1120px;
  --section-pad: clamp(5rem, 10vw, 8rem);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);

  --z-nav: 100;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h4 { font-size: 1.25rem; }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

img { max-width: 100%; display: block; }

a { color: var(--primary); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { padding-block: var(--section-pad); }

.band { background: var(--bg); }
.prose-section, .opportunity, .team { background: var(--surface); }

/* Anchor-tier sections */
.anchor { padding-block: calc(var(--section-pad) * 1.3); }
.anchor-heading { font-size: clamp(2.2rem, 4vw, 2.9rem); }

.sub-heading {
  font-size: 1.35rem;
  margin: 2.5rem 0 1.5rem;
}

.intro, .closing { max-width: 68ch; color: var(--ink); }
.closing { margin-top: 2.5rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-primary {
  background: var(--primary);
  color: oklch(1 0 0);
}
.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px oklch(0.42 0.11 240 / 0.28);
}
.btn-ghost {
  border-color: var(--hairline);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--on-dark);
  color: var(--primary-strong);
  border: none;
  font-size: 1rem;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 6px 16px oklch(0 0 0 / 0.25); }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.cta-row.center { justify-content: center; margin-top: 3.5rem; }

/* ============ Cards ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px oklch(0.28 0.03 240 / 0.08);
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              backdrop-filter 0.3s var(--ease-out);
}
.nav.scrolled {
  background: oklch(0.97 0.004 235 / 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--primary);
}
.brand-mark { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-inline: auto;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: 7rem 5rem;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(50rem 38rem at 72% 40%, oklch(0.42 0.11 240 / 0.07), transparent 65%);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 3%, 0) scale(1.08); }
}
.sphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* ponytail: sphere is visible from first paint; was previously gated on html.entered which waited for fonts.ready and hid the canvas in Firefox on cold load */
.hero-inner { position: relative; z-index: 1; text-align: left; width: 100%; }
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--muted);
  max-width: 44ch;
  margin: 1.5rem 0 0;
}
.hero-lede {
  max-width: 48ch;
  margin: 1.25rem 0 0;
}

.metrics {
  display: flex;
  justify-content: flex-start;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.metric { text-align: left; }
.metric + .metric {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(2rem, 6vw, 4.5rem);
}
.metric dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.metric-num { display: inline-block; }
.metric-prefix {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--primary);
}
.metric-unit, .metric-unit-decimal {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-left: 0.15em;
}
.metric-unit-decimal { margin-left: 0; }
.metric dd { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* ============ Editorial prose (Story / Problem) ============ */
.prose {
  max-width: 68ch;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.prose-section.problem { padding-top: 0; }

.pullquote {
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 2px solid var(--primary);
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.4;
}
.pullquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.stat-callout {
  float: right;
  width: 9.5rem;
  margin: 0.35rem 0 1rem 2rem;
  text-align: center;
}
.stat-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.1;
}
.stat-callout span { font-size: 0.85rem; color: var(--muted); }

.chapter-close {
  clear: both;
  margin-top: 2.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 48ch;
}
.chapter-close::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--primary);
  margin-top: 1rem;
  border-radius: 2px;
}

/* ============ Solution ============ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.feature { padding: 2.25rem 2rem; font-size: 1.05rem; }
.feature-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.feature h4 { margin: 1.1rem 0 0.6rem; }
.feature p { color: var(--muted); font-size: 1rem; }

.footnote {
  margin-top: 2rem;
  max-width: 60ch;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ============ Platform (signature) ============ */
.platform { padding-top: 0; }
.steps-wrap {
  position: relative;
  max-width: 46rem;
  padding-left: 0.25rem;
}
.rail {
  position: absolute;
  left: calc(1.9rem - 1px);
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
}
.js .rail { transform: scaleY(0); transition: transform 1.2s var(--ease-out); }
.js .steps-wrap.in .rail { transform: scaleY(1); }

.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.step { display: flex; gap: 1.75rem; align-items: flex-start; }
.step-num {
  flex: none;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--hairline);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.step.active .step-num { border-color: var(--primary); color: var(--primary); }
.step h4 { margin-bottom: 0.4rem; padding-top: 0.35rem; }
.step p { color: var(--muted); max-width: 52ch; }

/* ============ Opportunity ============ */
.summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-block: 1px solid var(--hairline);
  margin: 2.5rem 0 3rem;
}
.summary-strip > div {
  text-align: center;
  padding: 2rem 1rem;
}
.summary-strip > div + div { border-left: 1px solid var(--hairline); }
.summary-strip dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  color: var(--primary);
  line-height: 1.1;
}
.summary-strip dd { color: var(--muted); margin-top: 0.4rem; }

.opportunity .intro, .opportunity > .container > p { max-width: 68ch; }

.pathway {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: stage;
}
.stage {
  padding: 2.25rem 2rem;
  position: relative;
}
.stage + .stage::before {
  content: "→";
  position: absolute;
  left: -1.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
}
.stage-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.stage h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.stage p { color: var(--muted); font-size: 1rem; }

sup a { text-decoration: none; font-weight: 600; }
.source {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ Validation ============ */
.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.validation-grid > div { padding-right: 2rem; }
.validation-grid > div + div {
  border-left: 1px solid var(--hairline);
  padding-left: 2.5rem;
}
.smallcaps {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.validation-grid ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.validation-grid li {
  padding-left: 1.4rem;
  position: relative;
}
.validation-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.validation-grid p { color: var(--ink); }

/* ============ Team ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.team-card {
  padding: 2.5rem 2rem;
  text-align: center;
}
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--bg);
}
.team-card h3 { font-size: 1.3rem; }
.team-card .role { color: var(--primary); font-size: 0.95rem; font-weight: 500; margin: 0.25rem 0 1rem; }
.team-card p { font-size: 0.95rem; color: var(--muted); text-align: left; }
.team-card .role { text-align: center; }
.team-close {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2.5rem;
}

/* ============ Contact ============ */
.contact {
  background: var(--primary-strong);
  color: var(--on-dark);
}
.contact h2, .contact h3 { color: var(--on-dark); }
.contact a { color: var(--on-dark); font-weight: 600; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-intro { color: var(--on-dark-muted); margin-bottom: 2rem; }
.contact-info h3 { font-size: 1.25rem; margin: 2rem 0 1rem; }
.contact-option {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.15);
}
.contact-option span { color: var(--on-dark-muted); font-size: 0.95rem; }
.contact-option a { margin-top: 0.3rem; text-decoration: none; }
.contact-option a:hover { text-decoration: underline; }
.contact-secondary { color: var(--on-dark-muted); max-width: 52ch; }
.contact-card {
  font-style: normal;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.5rem;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: var(--radius);
}
.contact-card span { color: var(--on-dark-muted); font-size: 0.95rem; }

.contact-form {
  background: var(--primary-deep);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--on-dark);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.contact-form textarea { resize: vertical; }
.hidden-field { display: none; }

/* ============ Footer ============ */
.footer {
  background: var(--primary-deep);
  color: var(--on-dark-muted);
  padding-block: 2.5rem;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand-footer { color: var(--on-dark); }
.brand-footer .brand-name { color: var(--on-dark); font-size: 1.05rem; }

/* ============ Entrance choreography (page load) ============ */
/* Hero headline: masked words rise once the serif has loaded */
.js .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: 0.12em;
  margin-block: -0.12em;
}
.js .word {
  display: inline-block;
  transform: translateY(115%);
}
html.entered .word {
  animation: word-rise 0.9s var(--ease-out-quint) both;
  animation-delay: calc(0.08s + var(--w, 0) * 0.055s);
}
@keyframes word-rise {
  from { transform: translateY(115%); }
  to   { transform: none; }
}

/* Sequenced items that follow the headline (delay via inline --d) */
.js [data-hs] { opacity: 0; }
html.entered [data-hs] {
  opacity: 1;
  animation: rise-in 0.8s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Nav settles last */
.js .nav-inner { opacity: 0; }
html.entered .nav-inner {
  opacity: 1;
  animation: nav-in 0.7s var(--ease-out) 1s both;
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ============ Scroll reveals ============ */
.js .reveal-group > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js .reveal-group:not(.in) > * {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal-group.in > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal-group.in > *:nth-child(3) { transition-delay: 0.24s; }
.js .reveal-group.in > *:nth-child(4) { transition-delay: 0.36s; }

.js [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out) var(--rd, 0s),
              transform 0.7s var(--ease-out) var(--rd, 0s);
}
.js [data-reveal]:not(.in) {
  opacity: 0;
  transform: translateY(22px);
}

/* Chapter-close rule draws in after the sentence lands */
.js .chapter-close::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.35s;
}
.js .chapter-close.in::after { transform: scaleX(1); }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--surface); border-bottom-color: var(--hairline); }
  .nav-links a { padding: 1rem clamp(1.25rem, 4vw, 2.5rem); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .sphere { display: none; }

  .metrics { flex-direction: column; gap: 1.75rem; }
  .metric + .metric { border-left: none; padding-left: 0; border-top: 1px solid var(--hairline); padding-top: 1.75rem; }

  .stat-callout { float: none; width: auto; margin: 1.5rem 0; text-align: left; }

  .pathway { grid-template-columns: 1fr; gap: 2.25rem; }
  .stage + .stage::before {
    left: 50%;
    top: -1.9rem;
    transform: translateX(-50%) rotate(90deg);
  }

  .validation-grid > div,
  .validation-grid > div + div { border-left: none; padding-left: 0; padding-right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
  .js .reveal-group:not(.in) > * { opacity: 1; transform: none; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .js [data-hs] { opacity: 1; animation: none; }
  .js .nav-inner { opacity: 1; animation: none; }
  .js .word { transform: none; animation: none; }
  .js .chapter-close::after { transform: none; }
  .js .rail { transform: none; }
  .hero::before { animation: none; }
  .js .sphere { opacity: 1; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* Investor-preview password gate (client-side; obscurity, not security) */
html.gated body > :not(#auth-gate) { display: none !important; }
#auth-gate {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink, #0a1024);
  color: #f4f6ff;
  z-index: 9999;
  padding: 1.5rem;
}
#auth-gate[hidden] { display: none; }
#auth-form {
  width: min(100%, 22rem);
  display: grid; gap: 0.75rem;
  padding: 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-family: var(--body, system-ui, sans-serif);
}
#auth-form h2 { margin: 0; font-family: var(--display, Georgia, serif); font-size: 1.5rem; }
#auth-form p { margin: 0; font-size: 0.95rem; color: #c7cce0; }
#auth-form label { font-size: 0.85rem; color: #c7cce0; }
#auth-form input {
  padding: 0.65rem 0.8rem;
  background: rgba(255,255,255,0.06);
  color: #f4f6ff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 1rem;
}
#auth-form input:focus { outline: 2px solid #8aa2ff; outline-offset: 1px; }
#auth-form button {
  padding: 0.65rem 0.8rem;
  background: #8aa2ff; color: #0a1024;
  border: 0; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
}
#auth-form button:hover { background: #a4b6ff; }
#auth-error { color: #ffb3b3; font-size: 0.9rem; }
