/* ==========================================================
   LexIA pre-launch website — styles.css
   Brand: deep navy #101F38 · metallic gold #C9A45C ·
          warm ivory #FAF8F3 · white #FFFFFF
   ========================================================== */

@font-face {
  font-family: "Noto Serif";
  src: url("assets/fonts/noto-serif-latin-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #101F38;
  --navy-soft: #1B2D4D;           /* lighter navy tint for surfaces */
  --gold: #C9A45C;
  --gold-light: #E3C88F;          /* highlight tint of the brand gold */
  --gold-deep: #7F6128;           /* accessible gold for small text on light backgrounds */
  --ivory: #FAF8F3;
  --white: #FFFFFF;
  --ink: var(--navy);
  --ink-muted: #46536B;           /* navy-grey body text, 7:1 on ivory */
  --line: rgba(16, 31, 56, 0.12);
  --line-strong: rgba(16, 31, 56, 0.24);
  --error: #A12A2A;

  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 31, 56, 0.06), 0 2px 8px rgba(16, 31, 56, 0.05);
  --shadow: 0 2px 6px rgba(16, 31, 56, 0.05), 0 18px 40px -12px rgba(16, 31, 56, 0.16);
  --shadow-lg: 0 30px 70px -20px rgba(16, 31, 56, 0.35);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; margin: 0; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.section-navy :focus-visible, .section-early :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.container-narrow { max-width: 860px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.eyebrow-light { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -0.01em; margin-bottom: 1.1rem; max-width: 22ch; }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 62ch; }
.fine-print { font-size: 0.9rem; color: var(--ink-muted); text-align: center; margin-top: 2.5rem; }
.gold-rule { display: block; width: 64px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1.6rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, #B8904A 100%);
  color: var(--navy); box-shadow: 0 8px 20px -8px rgba(201, 164, 92, 0.75);
}
.btn-gold:hover { color: var(--navy); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(201, 164, 92, 0.85); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-dark { border-color: var(--line-strong); color: var(--navy); background: var(--white); margin-top: 1rem; }
.btn-outline-dark:hover { border-color: var(--navy); color: var(--navy); }
.btn:active { transform: translateY(0); }
.btn[disabled] { cursor: progress; opacity: 0.85; }
.btn-link { background: none; border: 0; padding: 8px; font: 600 0.95rem var(--font-sans); color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory); /* solid, so the approved wordmark's white background blends cleanly */
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 31, 56, 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; border-radius: 6px; }
/* The approved wordmark is supplied on white; "multiply" lets the ivory page show through the white. */
.brand-logo, .mk-logo { mix-blend-mode: multiply; }
.brand-logo { width: 130px; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
  display: inline-block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; color: var(--navy); text-decoration: none; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font: 600 0.95rem var(--font-sans); color: var(--navy); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px clamp(20px, 4vw, 40px) 28px;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 31, 56, 0.4);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .js .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .js .nav-links { flex-direction: column; gap: 0; }
  .js .nav-links a { display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .nav-links a::after { display: none; }
  /* Without JavaScript the links simply wrap below the logo. */
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-menu { flex-wrap: wrap; gap: 8px; }
  html:not(.js) .nav-links { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(201, 164, 92, 0.14), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(16, 31, 56, 0.05), transparent 70%);
}
.hero-portico {
  position: absolute; right: -6%; top: 6%; width: min(760px, 70vw); aspect-ratio: 6 / 5;
  background: url("assets/img/portico.svg") center / contain no-repeat;
  opacity: 0.07; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-title { font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem); letter-spacing: -0.02em; line-height: 1.04; margin-bottom: 1rem; }
.hero-sub { font-family: var(--font-serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); line-height: 1.35; color: var(--navy); max-width: 26ch; margin: 0; }
.hero-desc { color: var(--ink-muted); font-size: 1.125rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.tagline {
  margin: 2.4rem 0 0; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-serif); font-size: 0.85rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy);
}
.tagline::before, .tagline::after { content: ""; height: 1px; width: 36px; background: var(--gold); }
.coming-soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 1.1rem 0 0;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); font-size: 0.92rem; font-weight: 600; color: var(--navy);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(201, 164, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0); } }

/* ---------- Hero mock-up ---------- */
.hero-visual { display: flex; justify-content: center; }
.mockup { margin: 0; width: min(390px, 100%); }
.mockup-device {
  position: relative; padding: 26px 22px 22px; border-radius: 40px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--ivory) 100%);
  border: 1px solid rgba(201, 164, 92, 0.45);
  box-shadow: var(--shadow-lg), inset 0 0 0 6px rgba(255, 255, 255, 0.9);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mk-top { display: flex; justify-content: space-between; align-items: center; }
.mk-logo { width: 84px; }
.mk-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); }
.mk-heading { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin: 18px 0 14px; color: var(--navy); }
.mk-matter {
  display: grid; grid-template-columns: 1fr auto; gap: 0 8px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.mk-label { grid-column: 1; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.mk-matter-name { grid-column: 1; font-weight: 600; font-size: 0.92rem; }
.mk-chev { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-muted); }
.mk-mic-wrap { position: relative; display: grid; place-items: center; height: 196px; margin: 8px 0; }
.mk-ring { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1.5px solid rgba(201, 164, 92, 0.55); animation: ring 3.2s var(--ease) infinite; }
.mk-ring-2 { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(0.95); opacity: 0.9; } 100% { transform: scale(1.3); opacity: 0; } }
.mk-mic {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 35% 30%, var(--navy-soft), var(--navy) 70%);
  border: 2px solid var(--gold); color: var(--white); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 20px 40px -14px rgba(16, 31, 56, 0.6);
}
.mk-timer {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--navy); color: var(--white); font-size: 0.85rem;
}
.mk-timer svg { color: var(--gold); }
.mk-timer-label { opacity: 0.85; }
.mk-timer-value { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.05em; color: var(--gold-light); }
.mk-entry { margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.mk-entry-head { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mk-entry-tag { color: var(--gold-deep); }
.mk-entry-time { color: var(--navy); }
.mk-entry-text { font-size: 0.88rem; line-height: 1.45; margin: 6px 0 8px; color: var(--navy); }
.mk-entry-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--ink-muted); }
.mk-confirm { background: var(--navy); color: var(--white); padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.mockup-caption { margin-top: 18px; text-align: center; font-size: 0.82rem; color: var(--ink-muted); font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-center { text-align: center; }
.section-head-center .section-title, .section-head-center .lead { margin-inline: auto; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.pain-list { list-style: none; display: grid; gap: 22px; margin: 2rem 0; }
.pain-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.pain-list h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pain-list p { margin: 0; color: var(--ink-muted); }
.pain-icon, .feature-icon, .security-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--ivory); border: 1px solid rgba(201, 164, 92, 0.45); color: var(--navy);
}
.pain-icon svg, .feature-icon svg, .security-icon svg { width: 24px; height: 24px; }
.problem-answer { padding: 22px 24px; border-radius: var(--radius); background: var(--ivory); border-left: 3px solid var(--gold); margin: 0; }
.app-shot { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone {
  width: min(300px, 100%); padding: 10px; border-radius: 42px; background: var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(201, 164, 92, 0.6);
}
.phone img { border-radius: 33px; width: 100%; }
.app-shot figcaption { margin-top: 16px; font-size: 0.85rem; color: var(--ink-muted); font-style: italic; text-align: center; }

/* Status labels */
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; border: 1px solid;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status-build { color: var(--navy); background: rgba(16, 31, 56, 0.06); border-color: rgba(16, 31, 56, 0.2); }
.status-build::before { background: var(--navy); }
.status-dev { color: var(--gold-deep); background: rgba(201, 164, 92, 0.12); border-color: rgba(201, 164, 92, 0.55); }
.status-dev::before { background: var(--gold); }
.status-planned { color: var(--ink-muted); background: transparent; border-color: var(--line-strong); border-style: dashed; }
.status-planned::before { background: transparent; border: 1.5px solid var(--ink-muted); width: 5px; height: 5px; }
.status-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.status-legend li { display: flex; align-items: center; gap: 10px; }

/* Features */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 32px 28px 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 164, 92, 0.5); }
.feature-card:hover::before { opacity: 1; }
.feature-card h3 { font-size: 1.25rem; margin-top: 6px; }
.feature-card p { margin: 0; color: var(--ink-muted); }
.feature-card .status { margin-top: auto; }
.feature-card .feature-note { font-size: 0.85rem; padding-top: 12px; border-top: 1px dashed var(--line-strong); order: 10; }
.feature-icon { width: 54px; height: 54px; background: linear-gradient(180deg, var(--ivory), #F3EEE3); }
.feature-icon svg { width: 26px; height: 26px; }

/* How it works */
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(201, 164, 92, 0.09), transparent 70%);
}
.section-navy::after {
  content: ""; position: absolute; left: 50%; bottom: -220px; width: 720px; aspect-ratio: 6 / 5; transform: translateX(-50%);
  background: url("assets/img/portico.svg") center / contain no-repeat; filter: invert(1); opacity: 0.025; pointer-events: none;
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); opacity: 0.6;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--navy); border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; box-shadow: 0 0 0 8px var(--navy);
}
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--gold-light); }
.step-icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.97rem; margin: 0; color: rgba(255, 255, 255, 0.78); }

/* Security */
.security-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.security-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 6px 20px; align-items: start;
  padding: 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line);
}
.security-icon { grid-row: span 3; background: var(--white); }
.security-card h3 { font-size: 1.2rem; }
.security-card p { margin: 0 0 8px; color: var(--ink-muted); }
.security-card .status { justify-self: start; }
.notice {
  margin-top: 32px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, #FFFDF8, var(--ivory)); border: 1px solid rgba(201, 164, 92, 0.55);
}
.notice h3 { font-size: 1.1rem; margin-bottom: 8px; }
.notice p { margin: 0; color: var(--ink-muted); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq-item.is-open { border-color: rgba(201, 164, 92, 0.6); box-shadow: var(--shadow); }
.faq-q { font-size: inherit; }
.faq-q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; min-height: 64px; background: none; border: 0; border-radius: var(--radius); cursor: pointer; text-align: left;
  font: 600 1.1rem/1.35 var(--font-serif); color: var(--navy);
}
.faq-q button:hover { color: var(--gold-deep); }
.faq-icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon { background: var(--navy); border-color: var(--navy); }
.faq-q button[aria-expanded="true"] .faq-icon::before, .faq-q button[aria-expanded="true"] .faq-icon::after { background: var(--gold); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 26px 22px; color: var(--ink-muted); }
.faq-a p { margin: 0; max-width: 68ch; }
/* Panels are only collapsed when JavaScript is available to open them. */
.js .faq-a:not(.is-open) { display: none; }

/* Early access */
.section-early { background: var(--navy); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.section-early::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 0% 0%, rgba(201, 164, 92, 0.09), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(201, 164, 92, 0.07), transparent 70%);
}
.section-early h2 { color: var(--white); }
.section-early .lead { color: rgba(255, 255, 255, 0.8); }
.early-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.assurance-list { list-style: none; display: grid; gap: 14px; margin: 2rem 0; }
.assurance-list li { position: relative; padding-left: 34px; }
.assurance-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold);
}
.assurance-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.early-disclaimer { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; }
.early-disclaimer a { color: var(--white); }
.early-disclaimer a:hover { color: var(--gold-light); }

.form-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); border: 1px solid rgba(201, 164, 92, 0.5);
}
.form-required-note { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 18px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; color: var(--navy); padding: 0; }
.req { color: var(--gold-deep); }
.optional { font-weight: 400; color: var(--ink-muted); font-size: 0.88rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--ivory); color: var(--ink);
  font: 400 1rem/1.4 var(--font-sans); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: rgba(16, 31, 56, 0.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.35); }
.field [aria-invalid="true"] { border-color: var(--error); background: #FFF8F7; }
.field-error { margin: 7px 0 0; font-size: 0.88rem; color: var(--error); font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; flex: none; display: grid; place-items: center; width: 17px; height: 17px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 0.72rem; }
.field-hint { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-muted); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--ivory); font-size: 0.95rem; transition: all .2s;
}
.choice span::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-muted); background: var(--white); transition: all .2s; }
.choice:hover span { border-color: rgba(16, 31, 56, 0.45); }
.choice input:checked + span { border-color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + span::before { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { margin-bottom: 14px; }
.check { display: grid !important; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 400 !important; font-size: 0.93rem !important; line-height: 1.5; color: var(--ink) !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

.ea-form .btn-block { margin-top: 10px; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(16, 31, 56, 0.25); border-top-color: var(--navy); animation: spin .8s linear infinite; }
.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 14px 0 0; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 14px 16px; border-radius: 12px; background: #FFF4F2; border: 1px solid rgba(161, 42, 42, 0.3); color: var(--error); }
.form-status.is-info { padding: 14px 16px; border-radius: 12px; background: var(--ivory); border: 1px solid rgba(201, 164, 92, 0.6); color: var(--navy); }
.form-footnote { margin: 16px 0 0; font-size: 0.82rem; color: var(--ink-muted); text-align: center; }

.form-error-summary { padding: 16px 18px; margin-bottom: 20px; border-radius: 12px; background: #FFF4F2; border: 1.5px solid var(--error); color: var(--error); }
.form-error-summary:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-error-summary h3 { font-family: var(--font-sans); font-size: 1rem; color: var(--error); margin-bottom: 6px; }
.form-error-summary ul { padding-left: 20px; }
.form-error-summary a { color: var(--error); }

.form-result { text-align: center; padding: 20px 0; }
.form-result:focus { outline: none; }
.result-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 0 0 8px rgba(201, 164, 92, 0.18); }
.result-icon svg { width: 32px; height: 32px; }
.form-result h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form-result p { color: var(--ink-muted); max-width: 44ch; margin-inline: auto; margin-bottom: 22px; }
.form-result .btn-link { display: block; margin: 14px auto 0; }

.form-embed-intro { color: var(--ink-muted); font-size: 0.95rem; }
.form-embed-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--ivory); }
.form-embed-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.contact-card { padding: 32px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); }
.contact-list { margin: 0; display: grid; gap: 20px; }
.contact-list dt { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.contact-list dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% 1.5px; background-repeat: no-repeat; background-position: 0 100%; }
.social { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.social-label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: 12px; }
.social-links { list-style: none; display: flex; gap: 12px; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--navy); background: var(--white); transition: all .2s; }
.social-links a:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.social-links svg { width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; border-top: 3px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
/* The approved dark wordmark sits on a darker navy; "lighten" lets the footer navy replace it. */
.footer-logo { width: 240px; mix-blend-mode: lighten; }
.footer-statement { margin: 10px 0 0; font-family: var(--font-serif); font-style: italic; color: rgba(255, 255, 255, 0.78); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-links a { display: inline-block; padding: 10px 12px; color: var(--white); text-decoration: none; border-radius: 6px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); margin-bottom: 12px; }
.legal-hero p { color: var(--ink-muted); margin: 0; }
.legal-body { background: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.5rem; margin: 2.6rem 0 0.9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.legal-content th, .legal-content td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.legal-content th { background: var(--ivory); font-weight: 700; }

/* 404 page */
.notfound { padding: clamp(64px, 10vw, 120px) 0; background: var(--ivory); }
.notfound-inner { max-width: 760px; }
.notfound h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); margin-bottom: 0; }
.notfound .gold-rule { margin-inline: 0; }
.notfound-text { font-size: 1.1rem; color: var(--ink-muted); max-width: 56ch; }
.notfound-contact { margin: 2rem 0 0; color: var(--ink-muted); }
.table-wrap { overflow-x: auto; }
.confirm { background: #FFF6DF; border-bottom: 1.5px dashed var(--gold-deep); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.draft-banner {
  margin: 0 0 32px; padding: 18px 22px; border-radius: var(--radius); background: #FFF6DF; border: 1.5px solid var(--gold);
  color: var(--navy); font-size: 0.95rem;
}
.draft-banner strong { display: block; margin-bottom: 4px; }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 24px; font-weight: 600; }

/* ---------- Reveal animations (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.feature-grid .reveal:nth-child(3n+2), .steps .reveal:nth-child(2), .security-grid .reveal:nth-child(2n) { transition-delay: .08s; }
.feature-grid .reveal:nth-child(3n+3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-sub, .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .gold-rule { margin-inline: auto; }
  .hero-portico { right: 50%; transform: translateX(50%); top: auto; bottom: 0; width: 110vw; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .early-grid, .problem-grid, .contact-grid { grid-template-columns: 1fr; }
  .app-shot { order: 2; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand-logo { width: 112px; }
  .feature-grid, .security-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-actions .btn { width: 100%; }
  .tagline { font-size: 0.72rem; letter-spacing: 0.24em; gap: 10px; }
  .tagline::before, .tagline::after { width: 20px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; text-align: left; padding: 0 0 36px; }
  .step::before { content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 1px; background: linear-gradient(var(--gold), rgba(201, 164, 92, 0.1)); opacity: 0.6; }
  .step:last-child::before { display: none; }
  .step-num { grid-row: span 2; margin: 0; }
  .step-icon { display: none; }
  .step h3 { align-self: center; margin: 14px 0 6px; }
  .security-card { grid-template-columns: 1fr; }
  .security-icon { grid-row: auto; }
  .choices { grid-template-columns: 1fr; }
  .faq-q button { padding: 18px 20px; font-size: 1.02rem; }
  .faq-a { padding: 0 20px 20px; }
  .mk-mic-wrap { height: 176px; }
  .mk-mic, .mk-ring { width: 132px; height: 132px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mk-ring { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .skip-link, .hero-visual, .form-card, .nav-toggle { display: none !important; }
  .section-navy, .section-early, .site-footer { background: #fff !important; color: #000 !important; }
  .section-navy h2, .section-navy h3, .section-early h2 { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .faq-a:not(.is-open) { display: block; }
}
