/* ==========================================================================
 * Nova Baby — Landing (production) · "Clinical instrument"
 * Promoted from bake-off winner variant A, with seven grafts from B and C.
 * The page IS the app. Dense, ruled, tabular. A flight deck at 3am.
 * Colours / radii / fonts come exclusively from css/tokens.css.
 * Locals below are layout-only (spacing, sizing, z-index) — plus the five
 * accent-base swatch fills, which the footer contract requires be shown all
 * at once (tokens.css only exposes one accent at a time). Those five hexes are
 * the exact accent bases documented in tokens.css.
 * No gradients. No box-shadows. Every animation guarded by reduced-motion.
 * ========================================================================== */

:root {
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 44px);
  --gut: clamp(14px, 2.4vw, 22px);
  --rhythm: clamp(64px, 9vw, 108px);

  /* device sizing */
  --dev-w: clamp(210px, 24vw, 268px);

  /* footer swatch fills — mirror of the five accent bases in tokens.css */
  --sw-indigo:    #8B8CF0;
  --sw-moonlight: #7FAEE8;
  --sw-rose:      #E88BA8;
  --sw-gold:      #E3B863;
  --sw-mint:      #7ED0B4;

  --z-nav: 50;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
/* The hidden attribute must always win over author display rules (e.g. .asb,
 * config-gated links/sections). JS reveals these by removing the attribute. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

/* ---- Primitives -------------------------------------------------------- */
.frame {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
@media (min-width: 900px) {
  .frame { border-inline: 1px solid var(--hairline); }
}

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.micro {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
}

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* honeypot: offscreen, never display:none */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--elevated); color: var(--text-1);
  border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  transition: top .18s ease;
}
.skip:focus { top: 12px; }

/* ---- Pills / chips ----------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-1);
}
.pill__dot {
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: var(--accent); flex: none;
}

.chip {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--subtle-fill);
  font-size: 11px; font-weight: 600; color: var(--text-2);
  letter-spacing: 0.02em;
}
.chip--ai { border-color: color-mix(in srgb, var(--accent-bright) 34%, transparent); color: var(--text-2); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  font-size: 14px; font-weight: 650; letter-spacing: 0.01em;
  border-radius: var(--r-card);
  border: 1px solid transparent;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn--pill { border-radius: var(--r-pill); }
.btn--accent {
  background: var(--accent); color: var(--on-accent); border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.btn--accent:active { transform: translateY(1px); }
.btn[disabled] {
  background: var(--card); color: var(--text-2);
  border-color: var(--hairline); cursor: default; transform: none;
}
.nav__cta { min-height: 44px; padding: 0 18px; font-size: 13.5px; }

/* ---- Brand ------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; padding-block: 9px; }
.brand__mark { border-radius: 7px; flex: none; }
.brand__mark--sm { border-radius: 6px; }
.brand__word { font-size: 16px; font-weight: 680; letter-spacing: -0.01em; color: var(--text-1); }
.brand__word--sm { font-size: 14.5px; }
.brand__tag {
  padding: 2px 6px; margin-left: 2px;
  border: 1px solid var(--hairline); border-radius: 5px;
  color: var(--text-3); letter-spacing: 0.12em;
}

/* ========================================================================
 * 1 — NAV
 * ====================================================================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--background) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
}

/* ========================================================================
 * 2 — HERO
 * ====================================================================== */
.hero__frame { padding-top: clamp(30px, 5vw, 56px); padding-bottom: 0; }
.hero__grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 52px);
  padding-bottom: var(--rhythm);
}
@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
  }
}

.hero__lede { max-width: 560px; }
.h1 {
  margin: 18px 0 16px;
  font-size: clamp(31px, 5.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
/* graft (B): accent em-span on the headline payoff */
.h1__em { color: var(--accent-bright); }
.lede__sub {
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 48ch;
}

/* status readout strip */
.status {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 22px 0 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--card);
  overflow: hidden;
}
.status__cell {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px;
  border-left: 1px solid var(--hairline);
}
.status__cell:first-child { border-left: 0; }
.status__k { color: var(--text-3); font-size: 9.5px; letter-spacing: 0.08em; }
.status__v { font-size: clamp(17px, 2vw, 21px); font-weight: 660; color: var(--text-1); }

/* waitlist form */
.wl { display: grid; gap: 10px; max-width: 460px; }
@media (min-width: 460px) {
  .wl { grid-template-columns: 1fr auto; align-items: start; }
  .wl__status { grid-column: 1 / -1; }
}
.wl--center { margin-inline: auto; }
.wl__input {
  width: 100%; min-height: 46px;
  padding: 0 15px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  color: var(--text-1); font-size: 15px;
  transition: border-color .16s ease;
}
.wl__input::placeholder { color: var(--text-2); }
.wl__input:focus-visible {
  outline: 2px solid var(--accent-bright); outline-offset: 2px;
  border-color: var(--accent);
}
.wl__submit { white-space: nowrap; }
.wl__status {
  margin: 2px 2px 0; min-height: 18px;
  font-size: 13px; font-weight: 600; color: var(--accent-bright);
}
/* waitlist result states (set by js/waitlist.js) */
.wl__status--busy { color: var(--text-2); }
.wl__status--ok   { color: var(--feed); }
.wl__status--err  { color: var(--alert); }
.wl__status a {
  color: currentColor; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}

.lede__aux { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.lede__aux--center { align-items: center; text-align: center; }
.tf {
  font-size: 14px; font-weight: 640; color: var(--accent-bright);
  align-self: flex-start;
  transition: color .16s ease;
}
.lede__aux--center .tf { align-self: center; }
.tf:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lede__note { font-size: 12.5px; color: var(--text-2); }
/* config-gated beta footnote (brand-drift mitigation) */
.beta-note { font-size: 12px; color: var(--text-2); letter-spacing: 0.005em; }
.lede__aux--center .beta-note { text-align: center; }
.asb { display: inline-block; margin-top: 16px; }

/* hero visual: stage + device */
.hero__visual { display: flex; justify-content: center; }
.stage {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  width: fit-content;
}
.stage__tick { position: absolute; width: 16px; height: 16px; }
.stage__tick--tl { top: 0; left: 0; border-top: 1px solid var(--text-3); border-left: 1px solid var(--text-3); }
.stage__tick--br { bottom: 0; right: 0; border-bottom: 1px solid var(--text-3); border-right: 1px solid var(--text-3); }

/* device frame */
.device {
  position: relative;
  width: var(--dev-w);
  padding: 8px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sheet);
}
.device--hero { width: clamp(230px, 27vw, 288px); }
.device__notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 20px; border-radius: var(--r-pill);
  background: var(--background); z-index: 3;
}
.device__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  background: var(--card);
}
.device__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* in-frame placeholder (JS injects when a screenshot is missing) */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px;
  background: var(--subtle-fill);
  border-top: 20px solid var(--card);        /* faux status bar */
}
.ph__mark { width: 42px; height: 42px; color: var(--text-3); opacity: .55; }
.ph__mark svg { width: 100%; height: 100%; }
.ph__cap {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); text-align: center;
}

/* live sleep-window card overlaid on the hero device */
.swcard {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 4;
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px;
  background: color-mix(in srgb, var(--sheet) 88%, var(--background));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}
.swcard__k { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
.swcard__led {
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: var(--accent); flex: none;
}
.swcard__time {
  font-size: clamp(22px, 3.4vw, 28px); font-weight: 680;
  letter-spacing: -0.01em; color: var(--text-1); line-height: 1;
}
.swcard .chip { background: var(--subtle-fill); color: var(--accent-bright); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.swcard__eta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
}
.livedot {
  width: 7px; height: 7px; border-radius: var(--r-pill);
  background: var(--accent-bright); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---- Today panel (app recreation) ------------------------------------- */
/* Three recreated instruments: timeline · assistant · feed-timer (graft C). */
.today {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--hairline);
}
.today__col { padding: clamp(20px, 3vw, 30px) 0; }
.today__col + .today__col { border-top: 1px solid var(--hairline); }
@media (min-width: 920px) {
  .today { grid-template-columns: 1.16fr 1fr 0.86fr; }
  .today__col { padding-inline: clamp(22px, 2.6vw, 34px); }
  .today__col:first-child { padding-left: 0; }
  .today__col:last-child { padding-right: 0; }
  .today__col + .today__col { border-top: 0; border-left: 1px solid var(--hairline); }
}
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
.panel__meta { color: var(--text-3); letter-spacing: 0.06em; }

/* timeline rows */
.tl { display: flex; flex-direction: column; }
.tl__row {
  display: grid; grid-template-columns: 46px 12px 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.tl__row:last-child { border-bottom: 0; }
.tl__time { font-size: 13px; font-weight: 600; color: var(--text-2); }
.tl__dot {
  width: 9px; height: 9px; border-radius: var(--r-pill);
  background: var(--text-3);
}
.tl__dot[data-a="feed"]   { background: var(--feed); }
.tl__dot[data-a="sleep"]  { background: var(--accent); }
.tl__dot[data-a="diaper"] { background: var(--diaper); }
.tl__dot--hollow { background: transparent; border: 1.5px solid var(--accent); }
.tl__label { font-size: 14px; font-weight: 600; color: var(--text-1); }
.tl__sub { color: var(--text-3); font-weight: 500; }
.tl__dur { font-size: 13.5px; font-weight: 660; color: var(--text-1); }
.tl__row--pred .tl__label,
.tl__row--pred .tl__time { color: var(--text-2); }
.tl__dur--pred {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-bright);
  padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--r-pill);
}

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.bubble {
  max-width: 90%;
  padding: 11px 14px;
  border-radius: var(--r-card);
  font-size: 14px; line-height: 1.5;
}
.bubble--user {
  align-self: flex-end;
  background: var(--accent); color: var(--on-accent);
  border-bottom-right-radius: 5px; font-weight: 600;
}
.bubble--ai {
  align-self: flex-start;
  background: var(--card); color: var(--text-1);
  border: 1px solid var(--hairline); border-bottom-left-radius: 5px;
}

/* feed-timer instrument (graft C: live L/R nurse timer, rebuilt in A's idiom) */
.ftimer { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.ftimer__k {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--feed); letter-spacing: 0.08em;
}
.ftimer__led {
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: var(--feed); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
.ftimer__sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ftimer__side {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--card);
}
.ftimer__side .micro { color: var(--text-3); }
.ftimer__side--on {
  border-color: color-mix(in srgb, var(--feed) 42%, transparent);
  background: color-mix(in srgb, var(--feed) 10%, var(--card));
}
.ftimer__side--on .micro { color: var(--feed); }
.ftimer__val {
  font-size: clamp(20px, 2.4vw, 24px); font-weight: 680;
  letter-spacing: -0.01em; color: var(--text-1); line-height: 1;
}
.ftimer__total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--subtle-fill);
}
.ftimer__total .micro { color: var(--text-3); }
.ftimer__totalv { font-size: 16px; font-weight: 660; color: var(--text-1); }

/* ========================================================================
 * SECTION scaffold
 * ====================================================================== */
.section { padding-block: var(--rhythm); }
.section > .frame { padding-top: 0; }
/* ruled divider between stacked bands within the ledger column */
.section:not(.hero) > .frame,
.hero + .section > .frame { border-top: 1px solid var(--hairline); padding-top: var(--rhythm); }
.section { padding-top: 0; }

.sec-head { max-width: 640px; margin-bottom: clamp(30px, 4vw, 46px); }
.sec-head__idx { color: var(--text-3); margin-bottom: 12px; }
.h2 {
  font-size: clamp(23px, 3.1vw, 31px);
  line-height: 1.14; letter-spacing: -0.02em; font-weight: 700;
  text-wrap: balance;
}
.sec-head__sub {
  margin-top: 12px; font-size: 15.5px; color: var(--text-2); max-width: 52ch;
}

/* ========================================================================
 * 3 — FEATURES
 * ====================================================================== */
.fgrid {
  display: grid; gap: var(--gut);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fgrid { grid-template-columns: repeat(3, 1fr); } }

.fcard {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 20px 20px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  transition: border-color .18s ease, background-color .18s ease;
}
.fcard:hover { border-color: color-mix(in srgb, var(--key) 40%, var(--hairline)); background: var(--elevated); }
.fcard__tick {
  position: absolute; top: 0; left: 0; height: 2px; width: 44px;
  background: var(--key);
}
.fcard__icon {
  width: 34px; height: 34px; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid color-mix(in srgb, var(--key) 34%, var(--hairline));
  border-radius: 9px;
  color: var(--key);
  background: color-mix(in srgb, var(--key) 8%, transparent);
}
.fcard__icon svg { width: 19px; height: 19px; }
.fcard__k { color: var(--key); letter-spacing: 0.1em; margin-bottom: 9px; }
.fcard__title {
  font-size: 17.5px; font-weight: 660; line-height: 1.24;
  letter-spacing: -0.01em; margin-bottom: 8px; color: var(--text-1);
}
.fcard__body { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.fcard__meta {
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3); letter-spacing: 0.06em;
}

/* semantic keys */
.fcard--predict { --key: var(--accent); }
.fcard--assist  { --key: var(--accent-bright); }
.fcard--log     { --key: var(--feed); }
.fcard--import  { --key: var(--diaper); }
.fcard--grid    { --key: var(--bath); }
.fcard--widget  { --key: var(--growth); }

/* graft (B): at phone widths the dense card grid becomes a numbered
 * editorial index — 01–06 numerals in each feature's semantic colour,
 * A's micro-labels kept. CSS-only restructure via a counter. */
@media (max-width: 480px) {
  .fgrid { grid-template-columns: 1fr; gap: 0; counter-reset: feat; }
  .fcard {
    counter-increment: feat;
    display: block;
    padding: 24px 0 22px 42px;
    background: none;
    border: 0;
    border-top: 1px solid var(--hairline);
    border-radius: 0;
  }
  .fcard:first-child { border-top: 0; padding-top: 6px; }
  .fcard:hover { background: none; border-color: transparent; border-top-color: var(--hairline); }
  .fcard::before {
    content: counter(feat, decimal-leading-zero);
    position: absolute; left: 0; top: 24px;
    font-variant-numeric: tabular-nums;
    font-size: 20px; font-weight: 640; line-height: 1;
    letter-spacing: -0.01em; color: var(--key);
  }
  .fcard:first-child::before { top: 6px; }
  .fcard__tick, .fcard__icon { display: none; }
}

/* ========================================================================
 * 4 — SCREENSHOTS (horizontal scroll-snap)
 * ====================================================================== */
.shots__scroll {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 4px;
}
.shots__scroll::-webkit-scrollbar { display: none; }
.shots__scroll:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; }
.shots__row {
  display: flex; gap: var(--gut);
  padding-block: 8px;
  width: max-content;
  max-width: none;                 /* opt out of .frame's max-width cap */
  border-inline: 0;                /* the scroller edges bleed; no side rule here */
}
.shot {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  width: var(--dev-w);
}
.shot__cap { display: flex; align-items: center; gap: 8px; color: var(--text-2); letter-spacing: 0.05em; }
.shot__no { color: var(--text-3); }

/* ========================================================================
 * 5 — VIDEO
 * ====================================================================== */
.demo__stage { display: flex; justify-content: center; }
.device--wide { width: min(720px, 100%); }
.device--wide .device__screen { aspect-ratio: 16 / 10; }
.device--wide .device__notch { display: none; }
.device--wide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ========================================================================
 * 6 — VILLAGE + PRIVACY
 * ====================================================================== */
.duo { display: grid; gap: var(--gut); grid-template-columns: 1fr; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.pcard {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card-lg);
}
.pcard__k { color: var(--key); letter-spacing: 0.1em; margin-bottom: 14px; }
.pcard__title {
  font-size: clamp(19px, 2.2vw, 23px); font-weight: 680;
  letter-spacing: -0.015em; line-height: 1.18; margin-bottom: 12px; color: var(--text-1);
}
.pcard__body { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.pcard__meta {
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3); letter-spacing: 0.06em;
}
.pcard--village { --key: var(--accent); }
.pcard--privacy { --key: var(--growth); }

/* ========================================================================
 * 7 — FINAL CTA
 * ====================================================================== */
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__title { max-width: 20ch; margin-top: 18px; }
.cta__sub { margin-top: 14px; font-size: 16px; color: var(--text-2); max-width: 42ch; }
.cta .wl { margin-top: 26px; width: 100%; max-width: 480px; }
.cta .wl__status { text-align: center; }

/* ========================================================================
 * 8 — FOOTER
 * ====================================================================== */
.footer { border-top: 1px solid var(--hairline); padding-block: 40px; }
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center; justify-content: space-between;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__legal { font-size: 12.5px; color: var(--text-2); }
.footer__meta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 560px) { .footer__meta { align-items: flex-end; } }
.footer__mail {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding-block: 11px;                     /* ≥44px effective tap target */
  transition: color .16s ease;
}
.footer__mail:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Each dot is a 44×44 tap target; the 18px swatch is drawn by ::before, so the
 * selected ring (on ::before) and the keyboard focus ring (on the button) never
 * collide. */
.dots { display: flex; gap: 2px; margin-inline: -13px; }
.dot {
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
}
.dot::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: var(--r-pill);
  background: var(--sw);
  border: 1px solid var(--hairline);
  transition: transform .16s ease, border-color .16s ease;
}
.dot:hover::before { transform: scale(1.16); border-color: var(--text-2); }
.dot[aria-pressed="true"]::before { outline: 2px solid var(--text-1); outline-offset: 2px; }
.dot:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; }
.dot--indigo    { --sw: var(--sw-indigo); }
.dot--moonlight { --sw: var(--sw-moonlight); }
.dot--rose      { --sw: var(--sw-rose); }
.dot--gold      { --sw: var(--sw-gold); }
.dot--mint      { --sw: var(--sw-mint); }

/* ========================================================================
 * Reduced motion — disables every transition / animation
 * ====================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
