/* fpsnav.com — site stylesheet (T-168, built from the T-167 mockup).
   Every colour, radius and shadow is a v4 app token (lib/theme/tokens.dart, design/v4/spec.md).
   System font stack: no third-party fonts, no requests (D-020 §9). The site follows the OS theme. */

:root {
  color-scheme: light dark;

  /* LightColorTokens */
  --surface: #F7F9FB;
  --surface-container: #FFFFFF;
  --surface-dim: #ECF1F5;
  --on-surface: #17222E;
  --muted: #5A6B7C;
  --outline: #D7DEE6;
  --outline-strong: #AFBCC9;
  --primary: #038126;          /* BrandTokens.green */
  --on-primary: #FFFFFF;
  --primary-container: #DDF3E3; /* greenWash */
  --on-primary-container: #0B4A1F; /* greenDeep */
  --link: #038126;
  --accent: #FDC402;           /* BrandTokens.yellow — one accent: the contributor side */
  --on-accent: #17222E;
  --error: #B42318;
  --error-container: #FBE9E7;
  --on-error-container: #7A1710;
  --hairline: var(--outline);  /* v3/v4 doctrine: a hairline on white chrome, none on ink chrome */
  --bezel: #17222E;
  --shadow-1: 0 1px 2px rgba(23,34,46,.08), 0 2px 8px rgba(23,34,46,.08);   /* ElevationTokens.level1 */
  --shadow-2: 0 2px 4px rgba(23,34,46,.10), 0 8px 20px rgba(23,34,46,.12);  /* ElevationTokens.level2 */

  /* RadiusTokens */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-card: 24px; --r-pill: 999px;

  /* SpaceTokens, 4 px grid */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;
  --s-16: 64px; --s-24: 96px;

  --gutter: 16px;              /* FloatingChromeTokens.edgeInset */
  --wrap: 1120px;
  --control: 48px;             /* ComponentTokens.touchTarget */
  --button: 52px;              /* ComponentTokens.buttonHeight */
  --focus: 2px;                /* ComponentTokens.focusRingWidth */

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0F1720; --surface-container: #18232F; --surface-dim: #0B1118;
    --on-surface: #E4EBF2; --muted: #93A3B3; --outline: #2C3947; --outline-strong: #46586B;
    --primary: #45D36C; --on-primary: #062814; --primary-container: #17522B; --on-primary-container: #CDEFD6;
    --link: #45D36C;
    --error: #F97066; --error-container: #5C1710; --on-error-container: #FDD8D3;
    --hairline: transparent; --bezel: #2C3947;
    --shadow-1: 0 1px 2px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.30);
    --shadow-2: 0 2px 4px rgba(0,0,0,.40), 0 8px 20px rgba(0,0,0,.40);
  }
}
:root[data-theme="dark"] {
  --surface: #0F1720; --surface-container: #18232F; --surface-dim: #0B1118;
  --on-surface: #E4EBF2; --muted: #93A3B3; --outline: #2C3947; --outline-strong: #46586B;
  --primary: #45D36C; --on-primary: #062814; --primary-container: #17522B; --on-primary-container: #CDEFD6;
  --link: #45D36C;
  --error: #F97066; --error-container: #5C1710; --on-error-container: #FDD8D3;
  --hairline: transparent; --bezel: #2C3947;
  --shadow-1: 0 1px 2px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.30);
  --shadow-2: 0 2px 4px rgba(0,0,0,.40), 0 8px 20px rgba(0,0,0,.40);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--on-surface);
  font: 400 1.0625rem/1.55 var(--font); letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus) solid var(--primary); outline-offset: 3px; border-radius: var(--r-sm); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 30; background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus-visible { top: var(--s-3); }

/* ---------- type scale ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--on-surface); text-wrap: balance; }
.display { font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.75rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h1, .h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
h2, .h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }    /* headlineMedium 28 */
h3, .h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }                              /* titleLarge 20 */
h4, .h4 { font-size: 1rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.1px; }          /* titleMedium 16 */
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 36em; }
p { margin: 0 0 1em; max-width: 64ch; }
.after-h { margin-top: var(--s-4); }
.m0 { margin: 0; }
.wide { max-width: none; }
.small { font-size: .875rem; line-height: 1.45; letter-spacing: 0.2px; }                          /* bodyMedium 14 */
.muted { color: var(--muted); }
.eyebrow { font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin: 0 0 var(--s-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-16); }
.section--tight { padding-block: var(--s-10); }
.section--alt { background: var(--surface-container); border-block: 1px solid var(--hairline); }
.section-head { max-width: 40em; margin-bottom: var(--s-8); }
.section-head .lede { margin-top: var(--s-3); }
.grid-2 { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.grid-after { margin: var(--s-8) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); max-width: none; }
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .section { padding-block: var(--s-24); }
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.topbar .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-surface); text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand img, .brand svg { width: 26px; height: 31px; }
.nav { display: none; gap: var(--s-1); margin-left: var(--s-4); }
.nav a { color: var(--on-surface); text-decoration: none; font-weight: 600; font-size: .9375rem; letter-spacing: 0.2px; padding: 0 var(--s-4); height: 40px; display: inline-flex; align-items: center; border-radius: var(--r-pill); }
.nav a:hover { background: var(--surface-dim); }
.nav a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }

/* language switch (DE | EN): two links in the app's stadium chip */
.seg { display: inline-flex; border: 1px solid var(--outline-strong); border-radius: var(--r-pill); background: var(--surface-container); padding: 2px; height: 40px; }
.seg a { color: var(--on-surface); text-decoration: none; font: 600 .8125rem/1 var(--font); letter-spacing: 0.4px; padding: 0 12px; border-radius: var(--r-pill); display: inline-flex; align-items: center; min-width: 40px; justify-content: center; }
.seg a[aria-current="true"] { background: var(--primary); color: var(--on-primary); }
.seg a:focus-visible { outline-offset: 1px; }

/* mobile menu: a details element, no JS */
.menu { position: relative; }
.menu > summary { list-style: none; width: var(--control); height: var(--control); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--surface-container); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 22px; stroke: var(--on-surface); fill: none; stroke-width: 2; stroke-linecap: round; }
.menu[open] > summary .ic-burger { display: none; }
.menu:not([open]) > summary .ic-close { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--surface-container); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: var(--s-2); display: grid; }
.menu-panel a { color: var(--on-surface); text-decoration: none; font-weight: 600; padding: 12px 16px; border-radius: var(--r-lg); min-height: var(--control); display: flex; align-items: center; }
.menu-panel a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
@media (min-width: 900px) { .nav { display: inline-flex; } .menu { display: none; } }

/* ---------- buttons ---------- */
.btn { appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--button); padding: 0 var(--s-6); border-radius: var(--r-pill); font: 600 .9375rem/1.2 var(--font); letter-spacing: 0.2px; white-space: nowrap; transition: background-color .12s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, var(--on-surface)); }
.btn-secondary { background: var(--surface-container); color: var(--on-surface); border: 1px solid var(--outline-strong); }
.btn-secondary:hover { background: var(--surface-dim); }
.btn-text { background: transparent; color: var(--link); padding: 0 var(--s-3); height: var(--control); white-space: normal; text-align: left; justify-content: flex-start; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; transform: none; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .btn-label--idle, .btn .btn-label--sending { display: inline-flex; align-items: center; gap: 10px; }
.btn .btn-label--sending { display: none; }
.btn[data-sending="true"] .btn-label--idle { display: none; }
.btn[data-sending="true"] .btn-label--sending { display: inline-flex; }
.btn[data-sending="true"] { pointer-events: none; opacity: .75; }

/* ---------- cards ---------- */
.card { background: var(--surface-container); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: var(--s-6); }
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card--note { margin-top: var(--s-10); max-width: 720px; }
.card--boiler { margin-top: var(--s-6); }
.card--boiler .h4 { margin-bottom: var(--s-2); }
.card--tile { margin-bottom: var(--s-4); display: grid; place-items: center; aspect-ratio: 210 / 325; max-height: 357px; }
.icon-disc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--s-4); }
.icon-disc svg { width: 24px; height: 24px; }
.icon-disc--big { width: 72px; height: 72px; margin: 0; }
.icon-disc--big svg { width: 34px; height: 34px; }
.icon-disc--primary { background: var(--primary-container); color: var(--on-primary-container); }
.icon-disc--accent { background: var(--accent); color: var(--on-accent); }
.card ul { margin: 0 0 var(--s-4); padding-left: 1.2em; }
.card li { margin: .35em 0; }
.card li::marker { color: var(--primary); }
.card--note ul { margin-bottom: 0; }

/* steps */
.step { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); align-items: start; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-n svg { width: 20px; height: 20px; stroke-width: 2.5; }
.step-n--accent { background: var(--accent); color: var(--on-accent); }
.step h3 { font-size: 1.125rem; margin: 6px 0 4px; }
.step p { margin: 0; color: var(--muted); }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-1); background: var(--surface-dim); margin-bottom: var(--s-4); }
.shot img { width: 100%; height: auto; }
.shot--thumb img { max-width: 140px; margin: 0 auto; padding: 12px 0; }
.shot--wide img { aspect-ratio: 780 / 420; object-fit: cover; }
.shot--tall img { aspect-ratio: 780 / 828; object-fit: cover; }
.shot--top img { object-position: 50% 30%; }
.shot--bottom img { object-position: 50% 100%; }

/* ---------- hero ---------- */
.hero { padding-block: var(--s-10) 0; overflow: clip; }
.hero .wrap { display: grid; gap: var(--s-8); align-items: center; }
.hero-copy .display { margin-bottom: var(--s-4); }
.hero-copy .lede { margin-bottom: var(--s-6); }
.hero-actions { display: grid; gap: var(--s-4); }
.hero-visual { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero { padding-block: var(--s-16) 0; }
  .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-12); align-items: start; }
  .hero-visual { justify-content: flex-end; }
}

/* phone frame. The screen shows the clean 390 × 731 frame (the app's rail + the map; see assets/shots/hero-map-*);
   the frame rises out of the hero and its bottom is clipped by the hero's edge, so no full-height screenshot is needed. */
.phone { position: relative; width: 280px; aspect-ratio: 390 / 731; border-radius: 48px 48px 0 0; padding: 10px 10px 0; background: var(--bezel); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.08); margin-bottom: -40px; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px 38px 0 0; overflow: hidden; background: #E8E6E1; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-island { position: absolute; top: 20px; left: 50%; width: 92px; height: 28px; transform: translateX(-50%); border-radius: 999px; background: #0B1118; }
@media (min-width: 900px) { .phone { width: 340px; margin-bottom: -56px; } }

/* ---------- store state + waitlist ---------- */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
/* "coming soon": our own label, not Apple's badge (Apple's artwork may only link to a live listing) */
.store-soon { display: inline-flex; align-items: center; gap: 10px; height: var(--control); padding: 0 var(--s-4) 0 var(--s-3); border-radius: var(--r-pill);
  border: 1px dashed var(--outline-strong); color: var(--muted); font: 600 .875rem/1.2 var(--font); letter-spacing: 0.2px; cursor: default; user-select: none; }
.store-soon img, .store-soon svg { width: 18px; height: 22px; }
.store-soon b { color: var(--on-surface); font-weight: 600; }
/* live: Apple's official black badge, 48 px tall (≥ 40), clear space ¼ of its height */
.store-badge { display: inline-block; height: 48px; padding: 12px; margin: -12px; border-radius: var(--r-sm); }
.store-badge img { height: 48px; width: auto; }

.waitlist { display: grid; gap: var(--s-3); max-width: 520px; }
.waitlist-row { display: grid; gap: var(--s-2); }
@media (min-width: 560px) { .waitlist-row { grid-template-columns: 1fr auto; } }
.field { position: relative; }
.input { width: 100%; height: var(--button); border-radius: var(--r-pill); border: 1px solid var(--outline-strong); background: var(--surface-container); color: var(--on-surface);
  font: 400 1rem/1.2 var(--font); padding: 0 var(--s-5); }
.input::placeholder { color: var(--muted); }
.input:focus-visible { outline: var(--focus) solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.input[aria-invalid="true"] { border-color: var(--error); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .875rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid var(--outline-strong); background: var(--surface-container); cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--on-primary); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a { color: var(--link); }
.form-msg { display: none; font-size: .875rem; line-height: 1.45; padding: 10px 14px; border-radius: var(--r-md); max-width: none; margin: 0; }
.form-msg--error { background: var(--error-container); color: var(--on-error-container); }
.form-msg--hint { color: var(--error); padding: 0; }
.waitlist[data-state="invalid"] .form-msg--email { display: block; }
.waitlist[data-state="consent"] .form-msg--consent { display: block; }
.waitlist[data-state="error"] .form-msg--error { display: block; }
.waitlist[data-state="sending"] .btn { pointer-events: none; opacity: .75; }
.waitlist[data-state="sending"] .btn-label--idle { display: none; }
.waitlist[data-state="sending"] .btn-label--sending { display: inline-flex; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-primary) 35%, transparent); border-top-color: var(--on-primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }
.waitlist[data-state="sent"] .waitlist-row, .waitlist[data-state="sent"] .check, .waitlist[data-state="sent"] .form-msg, .waitlist[data-state="sent"] .turnstile { display: none; }
.form-sent { display: none; grid-template-columns: 40px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: var(--r-lg); background: var(--primary-container); color: var(--on-primary-container); }
.form-sent .step-n { width: 40px; height: 40px; }
.form-sent p { margin: 0; max-width: none; }
.form-sent .small { opacity: .85; }
.waitlist[data-state="sent"] .form-sent { display: grid; }
.form-note { font-size: .8125rem; color: var(--muted); margin: 0; }
.turnstile:empty { display: none; }

/* ---------- trust strip ---------- */
.trust { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.trust-item b { color: var(--on-surface); font-weight: 600; display: block; }

/* ---------- about / timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: baseline; padding-bottom: var(--s-4); border-bottom: 1px solid var(--outline); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; }
.quote { border-left: 3px solid var(--primary); padding: 4px 0 4px var(--s-5); margin: var(--s-8) 0 0; font-size: 1.25rem; line-height: 1.45; color: var(--on-surface); max-width: 36em; }
.quote cite { display: block; font-style: normal; font-size: .875rem; color: var(--muted); margin-top: var(--s-2); }

/* ---------- contact / press ---------- */
.contact-card { display: grid; gap: var(--s-2); align-content: start; }
.contact-card .icon-disc { margin-bottom: var(--s-2); }
.contact-card a.big { font-size: 1.375rem; font-weight: 700; color: var(--on-surface); text-decoration: none; word-break: break-word; }
.contact-card a.big:hover { color: var(--primary); }
.contact-card .small { margin: 4px 0 0; }
.kit { display: grid; gap: var(--s-3); align-content: start; }
.kit-item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-3) var(--s-4); border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-container); }
.kit-thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-dim); overflow: hidden; }
.kit-thumb img, .kit-thumb svg { max-width: 44px; max-height: 44px; }
.kit-thumb .kit-icon { border-radius: 10px; }
.kit-thumb .kit-shot { max-width: 56px; max-height: none; height: auto; }
.kit-thumb .kit-glyph { width: 28px; height: 28px; }
.kit-item b { display: block; font-weight: 600; }
.kit-item .small { color: var(--muted); }
.kit-item .btn { height: 40px; padding: 0 var(--s-4); }
@media (max-width: 559px) { .kit-item { grid-template-columns: 48px 1fr; } .kit-item .btn { grid-column: 1 / -1; justify-self: start; } .kit-thumb { width: 48px; height: 48px; } }

/* ---------- footer ---------- */
.footer { background: var(--surface-container); border-top: 1px solid var(--hairline); padding-block: var(--s-12) var(--s-8); color: var(--muted); font-size: .9375rem; }
.footer .wrap { display: grid; gap: var(--s-8); }
.footer-h { color: var(--on-surface); margin-bottom: var(--s-3); font-size: .875rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-surface); text-decoration: none; }
.footer a:hover { color: var(--primary); text-decoration: underline; }
.footer .brand { margin-bottom: var(--s-3); }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; justify-content: space-between; padding-top: var(--s-6); border-top: 1px solid var(--outline); font-size: .875rem; }
.footer-base .seg { height: 36px; }
@media (min-width: 720px) { .footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .footer-base { grid-column: 1 / -1; } }

/* ---------- page header ---------- */
.page-head { padding-block: var(--s-12) var(--s-6); }
.page-head .lede { margin-top: var(--s-3); }
.page-head--solo { padding-block: var(--s-16) var(--s-24); min-height: 60vh; }
.page-head--solo .lede { margin-bottom: var(--s-6); }
@media (min-width: 900px) { .page-head { padding-block: var(--s-16) var(--s-8); } .page-head--solo { padding-block: var(--s-24) calc(var(--s-24) + var(--s-10)); } }

/* waitlist landing: one panel at a time */
.wl-panel .btn { margin-top: var(--s-2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: var(--on-primary); border-radius: var(--r-card); padding: var(--s-8) var(--s-6); display: grid; gap: var(--s-6); }
.cta-band h2 { color: inherit; }
.cta-band p { color: inherit; opacity: .9; }
.cta-sub { margin: 8px 0 0; }
.cta-band .btn-primary { background: var(--surface-container); color: var(--on-surface); }
.cta-band .btn-primary:hover { background: var(--surface-dim); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: var(--s-10) var(--s-12); } }
