/* Liftlings: the parents' site. Static, no framework. Tokens first; no raw colour outside :root. */
@font-face {
  font-family: 'Fredoka';
  src: url('/fonts/fredoka.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka Fallback';
  src: local('Arial Rounded MT Bold'), local('Arial');
  size-adjust: 96%;
  ascent-override: 96%;
  descent-override: 24%;
}

:root {
  color-scheme: light;
  --sky-1: #2f4fb8;
  --sky-2: #4466cf;
  --sky-3: #8597dc;
  --peach: #f7cdb0;
  --peach-2: #fde6d2;
  --cream: #fff7ea;
  --cream-2: #fbeedb;
  --line: #eadcc4;
  --ink: #241b3b;
  --ink-2: #463b5e;
  --ink-3: #5f5379;
  --plum: #53406e;
  --plum-deep: #2a1f3d;
  --plum-line: #8c76ad;
  --grass: #6cc644;
  --grass-deep: #2f7d32;
  --gold: #ffd23f;
  --gold-soft: #ffe89a;
  --gold-deep: #de9414;
  --orange: #ff7a35;
  --orange-deep: #b8481a;
  --teal: #2bb5a0;
  --teal-deep: #156f62;
  --white: #ffffff;
  --shade: rgb(36 27 59 / 0.16);
  --shade-2: rgb(36 27 59 / 0.28);
  --cloud: rgb(255 255 255 / 0.85);
  --cloud-side: rgb(214 196 214 / 0.85);
  --glass: rgb(255 247 234 / 0.86);
  --error: #a3260f;

  --font-display: 'Fredoka', 'Fredoka Fallback', ui-rounded, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.03rem, 0.99rem + 0.2vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.9vw, 3rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem);
  --step-5: clamp(2.6rem, 1.4rem + 5.2vw, 6.2rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --chunk: 0 6px 0;
  --wrap: min(1560px, 100% - 2 * clamp(1rem, 0.4rem + 3vw, 3.5rem));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-1); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.7rem 1rem; border-radius: var(--r-sm);
  font-weight: 700;
}
.skip:focus { top: 1rem; color: var(--cream); }

/* ------------------------------------------------------------ buttons */
.btn {
  --b: var(--orange);
  --b-edge: var(--orange-deep);
  --b-ink: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.7rem 1.4rem;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); line-height: 1.1;
  color: var(--b-ink); background: var(--b);
  border: 0; border-radius: 16px; cursor: pointer; text-decoration: none;
  box-shadow: var(--chunk) var(--b-edge);
  transform: translateY(0);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), filter 160ms;
}
.btn:hover { color: var(--b-ink); filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 8px 0 var(--b-edge); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--b-edge); }
.btn-ghost { --b: var(--cream); --b-edge: var(--line); --b-ink: var(--ink); }
.btn-teal { --b: var(--teal); --b-edge: var(--teal-deep); --b-ink: var(--ink); }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: var(--step-0); border-radius: 13px; box-shadow: 0 4px 0 var(--b-edge); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--b-edge); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--space-4); min-height: 4.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; margin-right: auto; min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  font-family: var(--font-display); font-weight: 550; font-size: 1.08rem;
  color: var(--ink); text-decoration: none; border-radius: 12px;
}
.nav a:not(.btn):hover { background: var(--cream-2); }
.nav a[aria-current="page"] { background: var(--cream-2); box-shadow: inset 0 -3px 0 var(--gold); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px; border-radius: 14px; background: var(--cream-2);
  font-family: var(--font-display); font-weight: 650;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 14px 40px var(--shade); padding: var(--space-2);
  display: grid; gap: 2px;
}
.menu-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 12px;
  font-family: var(--font-display); font-weight: 550; color: var(--ink); text-decoration: none;
}
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--cream-2); }
@media (max-width: 760px) {
  .nav a.nav-link { display: none; }
  .menu { display: block; }
  .brand { font-size: 1.4rem; }
}
@media (max-width: 359px) {
  .site-header .wrap { gap: var(--space-2); }
  .brand { font-size: 1.2rem; gap: 0.4rem; }
  .brand svg { width: 28px; height: 28px; }
  .nav .btn-sm { padding: 0.45rem 0.7rem; font-size: 0.95rem; }
}

/* ------------------------------------------------------------ sky backdrop */
.sky {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 52%, var(--sky-3) 80%, var(--peach) 100%);
  color: var(--ink);
}
.clouds { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cloud {
  position: absolute; height: 28px; border-radius: 4px;
  background: var(--cloud);
  box-shadow: 0 10px 0 var(--cloud-side), 26px -14px 0 -2px var(--cloud);
}
.cloud.c1 { width: 170px; right: 3%; top: 7%; }
.cloud.c2 { width: 120px; right: 31%; top: 4%; }
.cloud.c3 { width: 190px; left: 47%; top: 36%; opacity: 0.7; }
.cloud.c4 { width: 140px; left: 46%; bottom: 7%; opacity: 0.8; }
@media (max-width: 959px) {
  .cloud.c1, .cloud.c3, .cloud.c4 { display: none; }
  .cloud.c2 { right: 4%; top: 1.2%; width: 90px; opacity: 0.6; }
}
@media (prefers-reduced-motion: no-preference) {
  .cloud { animation: drift 60s linear infinite alternate; }
  .cloud.c2 { animation-duration: 80s; }
  .cloud.c3 { animation-duration: 95s; }
  @keyframes drift { to { translate: 60px 0; } }
}

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 5vw, 7rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); min-height: min(78vh, 860px); }
}
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--cream);
  background: rgb(36 27 59 / 0.55); padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: var(--space-5);
}
.eyebrow .dot { width: 10px; height: 10px; background: var(--gold); border-radius: 2px; box-shadow: 0 0 0 3px rgb(255 210 63 / 0.35); }
.hero h1 { color: var(--white); text-shadow: 0 4px 0 rgb(36 27 59 / 0.22); max-width: 14ch; }
.hero h1 .gold { color: var(--gold); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 38rem; }
.hero .lede { color: var(--white); text-shadow: 0 1px 2px rgb(36 27 59 / 0.35); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-6) 0 var(--space-6); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); max-width: 40rem; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--glass); border-radius: var(--r-sm); padding: 0.65rem 0.8rem;
  box-shadow: 0 4px 0 var(--shade);
}
.facts b { font-family: var(--font-display); font-weight: 650; font-size: 1.12rem; line-height: 1.15; }
.facts span { font-size: var(--step--1); color: var(--ink-2); line-height: 1.3; }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 2rem; }
.phone {
  position: relative; margin: 0;
  width: clamp(200px, 50vw, 340px);
  border-radius: 38px; padding: 10px;
  background: var(--plum-deep);
  box-shadow: 0 28px 60px rgb(36 27 59 / 0.35), inset 0 0 0 2px rgb(255 255 255 / 0.08);
}
.phone img { border-radius: 29px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; background: var(--peach); }
.phones .phone-main { z-index: 2; rotate: 2deg; }
.phones .phone-side { position: absolute; z-index: 1; width: clamp(150px, 34vw, 250px); left: max(0px, calc(50% - clamp(230px, 40vw, 390px))); bottom: 0; rotate: -6deg; }
@media (min-width: 960px) {
  .phones { justify-content: flex-end; padding-right: 4%; }
  .phone { width: clamp(280px, 24vw, 400px); }
  .phones .phone-side { width: clamp(200px, 17vw, 290px); left: 2%; }
}
@media (max-width: 520px) {
  .phones { justify-content: flex-end; padding-right: 4%; }
  .phone { width: 58vw; }
  .phones .phone-side { width: 42vw; left: 2%; }
}
.shot-note {
  position: absolute; z-index: 3; right: 0; top: 6%;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
  background: var(--gold); color: var(--ink); padding: 0.35rem 0.75rem; border-radius: 10px;
  box-shadow: 0 4px 0 var(--gold-deep); rotate: 4deg;
}

/* ------------------------------------------------------------ sections */
.section { padding: var(--space-8) 0; }
.section-head { max-width: 50rem; margin-bottom: var(--space-7); }
.section-head p { font-size: var(--step-1); color: var(--ink-2); line-height: 1.5; }
.kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 650; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--plum); margin-bottom: var(--space-3);
}
.band-cream { background: var(--cream); }
.band-cream-2 { background: var(--cream-2); }
.band-plum { background: var(--plum-deep); color: var(--cream); }
.band-plum .kicker { color: var(--gold); }
.band-plum .section-head p, .band-plum p { color: var(--cream); }
.band-plum a:not(.btn) { color: var(--gold); }

/* ------------------------------------------------------------ signature: the array builds as you scroll */
.build { background: linear-gradient(180deg, var(--peach-2) 0%, var(--cream) 100%); }
.build-track { position: relative; height: 230vh; }
.build-stage {
  position: sticky; top: 4.5rem; min-height: calc(100vh - 4.5rem);
  display: grid; align-items: center; gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-5) 0;
}
@media (min-width: 960px) {
  .build-stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-7); }
}
.build-art { position: relative; max-width: 880px; width: 100%; margin-inline: auto; }
.island { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgb(36 27 59 / 0.18)); }
.island .row {
  --a: clamp(0, calc(var(--b, 7) - var(--r)), 1);
  opacity: var(--a);
  transform: translateY(calc((1 - var(--a)) * -70px));
}
.build[data-live] .island { --b: clamp(0, calc((var(--p, 0) - 0.18) / 0.52 * 7), 7); }
@media (prefers-reduced-motion: reduce) {
  .build-track { height: auto; }
  .build-stage { position: static; min-height: 0; }
  .build[data-live] .island { --b: 7; }
}
.counter {
  position: absolute; left: 2%; top: 4%;
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1);
  background: var(--cream); padding: 0.55rem 1rem; border-radius: 16px; box-shadow: 0 5px 0 var(--shade);
}
.counter .sym { background: var(--cream-2); border-radius: 10px; padding: 0.05rem 0.55rem; font-weight: 600; }
.counter .n { color: var(--orange-deep); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative; padding: var(--space-5) var(--space-5) var(--space-5) 4.6rem;
  background: var(--white); border-radius: var(--r-md); box-shadow: 0 6px 0 var(--shade);
  transition: opacity 300ms, transform 300ms var(--ease-out), box-shadow 300ms;
}
.steps li::before {
  content: attr(data-n);
  position: absolute; left: 1.2rem; top: 1.25rem; width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  background: var(--gold); border-radius: 10px; box-shadow: 0 4px 0 var(--gold-deep);
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.steps p { margin: 0; color: var(--ink-2); }
.build[data-live] .steps li { opacity: 0.72; }
.build[data-live] .steps li.on { opacity: 1; transform: translateX(-6px); box-shadow: 0 6px 0 var(--orange); }
.result {
  display: none; position: absolute; right: 2%; bottom: 6%;
  font-family: var(--font-display); text-align: center;
  background: var(--cream); border-radius: var(--r-md); padding: 0.8rem 1.4rem; box-shadow: 0 6px 0 var(--shade-2);
}
.result .big { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 700; color: var(--orange-deep); line-height: 1; }
.result .words { font-size: var(--step-1); color: var(--ink-2); }
.result .eq { font-size: var(--step-1); font-weight: 650; }
.build[data-stage="3"] .result, .build:not([data-live]) .result { display: block; }
@media (max-width: 959px) {
  .build-stage { align-content: start; }
  .build-art { max-width: 560px; }
  .steps { gap: var(--space-2); }
  .steps li { padding: var(--space-3) var(--space-4) var(--space-3) 3.6rem; }
  .steps li::before { left: 0.8rem; top: 0.85rem; width: 2rem; height: 2rem; font-size: 1.1rem; }
  .build[data-live] .steps li { display: none; }
  .build[data-live] .steps li.on { display: block; transform: none; }
  .counter { font-size: 1.05rem; padding: 0.4rem 0.75rem; }
  .result { padding: 0.5rem 0.9rem; }
}
@media (max-width: 959px) and (prefers-reduced-motion: reduce) {
  .build[data-live] .steps li { display: block; opacity: 1; }
}

/* ------------------------------------------------------------ cards and grids */
.grid-3 { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); } }
.payoff { margin: 0; text-align: center; }
.payoff .phone { width: min(100%, 330px); margin-inline: auto; }
.payoff figcaption { margin-top: var(--space-5); }
.payoff h3 { margin-bottom: var(--space-2); }
.payoff p { color: var(--ink-2); max-width: 24rem; margin-inline: auto; }
@media (max-width: 759px) {
  .payoffs { grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-4); }
  .payoff { scroll-snap-align: center; }
}
.card {
  background: var(--white); border-radius: var(--r-md); padding: var(--space-6);
  box-shadow: 0 6px 0 var(--shade);
}
.card h3 { font-size: var(--step-1); }
.card p:last-child { margin-bottom: 0; }
.card .cite { font-size: var(--step--1); color: var(--ink-3); margin-top: var(--space-3); }
.band-plum .card { background: var(--plum); color: var(--cream); box-shadow: 0 6px 0 rgb(0 0 0 / 0.25); }
.band-plum .card p, .band-plum .card .cite { color: var(--cream); }
.stat { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; color: var(--gold); margin-bottom: var(--space-3); }

.split { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
  .split.flip > :first-child { order: 2; }
}
.shot-pair { display: flex; gap: var(--space-4); justify-content: center; align-items: flex-start; }
.shot-pair .phone { width: min(46%, 300px); padding: 8px; border-radius: 30px; }
.shot-pair .phone img { border-radius: 23px; }
.shot-pair .phone:nth-child(2) { margin-top: 3rem; }
.shot-pair figcaption, .phone figcaption {
  font-size: var(--step--1); color: var(--cream); text-align: center; padding: 0.55rem 0.3rem 0.2rem; line-height: 1.35;
}
.solo .phone { width: min(80%, 360px); margin-inline: auto; }

.no-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.no-list li {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--white); border-radius: var(--r-sm); padding: 0.85rem 1rem; box-shadow: 0 4px 0 var(--shade);
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2;
}
.no-list li::before {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: var(--grass); box-shadow: inset 0 -5px 0 var(--grass-deep);
}
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: var(--space-3); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem; border-radius: 4px;
  background: var(--gold); box-shadow: inset 0 -4px 0 var(--gold-deep);
}

.ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.ladder li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-4); align-items: center;
  background: var(--white); border-radius: var(--r-sm); padding: 0.8rem 1rem; box-shadow: 0 4px 0 var(--shade);
}
.ladder .rung {
  width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: var(--gold); box-shadow: inset 0 -5px 0 var(--gold-deep);
}
.ladder b { font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; display: block; line-height: 1.2; }
.ladder span { color: var(--ink-2); font-size: var(--step--1); }

.honest {
  border: 3px dashed var(--plum-line); border-radius: var(--r-md); padding: var(--space-6);
  background: var(--cream);
}
.honest h2, .honest h3 { color: var(--plum); }

/* ------------------------------------------------------------ research list */
.refs { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.refs li { background: var(--white); border-radius: var(--r-md); padding: var(--space-5); box-shadow: 0 5px 0 var(--shade); }
.refs h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.refs p { margin-bottom: var(--space-3); color: var(--ink-2); font-size: var(--step--1); line-height: 1.55; }
.refs .src { font-size: var(--step--1); margin: 0; overflow-wrap: anywhere; }
.refs .use { color: var(--ink); font-size: var(--step--1); }
.refs .use b { font-family: var(--font-display); font-weight: 650; }

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; gap: var(--space-3); max-width: 60rem; }
.faq details { background: var(--white); border-radius: var(--r-md); box-shadow: 0 5px 0 var(--shade); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 56px; padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 9px; background: var(--gold); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq .a { padding: 0 var(--space-5) var(--space-5); color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ waitlist */
.waitlist { background: var(--sky-1); background: linear-gradient(160deg, var(--sky-1), var(--plum) 120%); color: var(--cream); }
.waitlist-grid { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .waitlist-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.waitlist h2 { color: var(--white); }
.waitlist p { color: var(--cream); }
.waitlist .promise { font-size: var(--step--1); opacity: 0.95; }
.waitlist a:not(.btn) { color: var(--gold); }
.form-card {
  background: var(--cream); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  box-shadow: 0 10px 0 rgb(0 0 0 / 0.2);
}
.form-card h3 { margin-bottom: var(--space-5); }
.field { display: grid; gap: 0.35rem; margin-bottom: var(--space-4); }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.field .opt { font-family: var(--font-body); font-weight: 400; font-size: var(--step--1); color: var(--ink-3); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem;
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: 14px;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--sky-1); outline-offset: 1px; border-color: var(--sky-1); }
.field [aria-invalid="true"] { border-color: var(--error); }
.two { display: grid; gap: 0 var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:empty { display: none; }
.ts-slot { margin-bottom: var(--space-4); }
.form-card .btn { width: 100%; }
.form-card .fine { font-size: var(--step--1); color: var(--ink-3); margin: var(--space-4) 0 0; }
.form-card .fine a { color: var(--sky-1); }
.sent { display: none; margin-top: var(--space-4); padding: 0.8rem 1rem; border-radius: 12px; background: var(--cream-2); color: var(--ink); }
.sent.on { display: block; }
.sent.err { background: var(--white); border: 2px solid var(--error); color: var(--error); }

/* ------------------------------------------------------------ prose pages */
.sky.page-hero { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%); }
.ground { position: relative; }
.ground::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--grass) 0 34px, var(--grass-deep) 34px 36px);
  box-shadow: inset 0 -6px 0 var(--grass-deep);
}
.page-hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-hero h1 { color: var(--white); text-shadow: 0 4px 0 rgb(36 27 59 / 0.22); font-size: var(--step-4); max-width: 18ch; }
.page-hero .lede { color: var(--white); text-shadow: 0 1px 2px rgb(36 27 59 / 0.35); max-width: 44rem; }
.page-hero-grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); } }
.byline { color: var(--white); font-size: var(--step--1); opacity: 0.95; margin: 0; }
.page-hero .phone { width: clamp(220px, 22vw, 330px); margin-inline: auto; rotate: 2deg; }
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-5); }
.prose li { margin-bottom: var(--space-2); }
.legal-grid .prose { max-width: 62rem; }
.legal-grid { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .legal-grid { grid-template-columns: 17rem minmax(0, 1fr); } }
.toc { position: sticky; top: 6rem; align-self: start; background: var(--cream-2); border-radius: var(--r-md); padding: var(--space-5); }
.toc h2 { font-size: var(--step-1); margin: 0 0 var(--space-3); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: var(--space-2); }
.toc a { display: inline-block; min-height: 32px; padding: 4px 0; }
@media (max-width: 1099px) { .toc { position: static; } }
.summary-box { background: var(--white); border-radius: var(--r-md); padding: var(--space-5) var(--space-6); box-shadow: 0 6px 0 var(--shade); margin-bottom: var(--space-6); }
.summary-box h2 { font-size: var(--step-2); margin-top: 0; }
.updated { font-size: var(--step--1); color: var(--ink-3); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 40rem; margin-inline: auto; color: var(--ink-2); font-size: var(--step-1); }
.cta-band .cta-row { justify-content: center; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--plum-deep); color: var(--cream); padding: var(--space-8) 0 var(--space-7); }
.foot-grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.site-footer .brand { color: var(--cream); }
.site-footer p { color: var(--cream); opacity: 0.92; max-width: 30rem; }
.site-footer h2 { font-size: var(--step-1); color: var(--gold); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; }
.site-footer li a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .small { font-size: var(--step--1); opacity: 0.85; margin-top: var(--space-6); }
.site-footer .mail { color: var(--gold); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ 404 and thanks */
.center-hero { min-height: 70vh; display: grid; align-items: center; text-align: center; }
.center-hero h1 { margin-inline: auto; max-width: 16ch; }
.center-hero .lede { margin-inline: auto; }
.center-hero .cta-row { justify-content: center; }
.mini-island { width: min(360px, 80%); margin: 0 auto var(--space-6); }
