/* Lantern site styles: Pool of Light identity (Brand Brief, October 2026).
   Self-hosted fonts and no inline styles, to fit the site's strict CSP. */

@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("fonts/outfit-700.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-700.woff2") format("woff2"); }

:root {
  /* Palette from the brand brief */
  --red: #D23A2E;
  --yellow: #F2B829;
  --blue: #23458C;
  --blue-deep: #1A3670;
  --warm-white: #F4EEE3;
  --cream: #FBF5EA;
  --paper: #FFFDF8;
  --warm: #F7F1E6;
  --walnut: #6B4A33;
  --ink: #1E2233;
  --ink-soft: #4F5468;
  --muted: #63677A;          /* Oct 10: was #7C8094 (3.5:1 on cream); now passes 4.5:1 for small text */
  --red-text: #C23224;       /* red for small text: brand red #D23A2E is 4.4:1 on cream, just under 4.5:1 */
  --line: #E7DCC8;
  --glow: #FFD25A;
  --on-blue: #FFFDF8;
  --on-blue-soft: #DCE3F2;

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1160px;
  --header-h: 72px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.band-blue :focus-visible { outline-color: var(--glow); }

.inner { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--on-blue); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; }

/* No backdrop-filter here: it would turn the header into the containing
   block for the fixed mobile menu and clip it to the header's height. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
}
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 31px; line-height: 1;
  letter-spacing: -0.02em; color: var(--blue); text-decoration: none; padding-bottom: 4px;
}
.desktop-nav { display: none; margin-left: auto; gap: 26px; }
.desktop-nav a { color: var(--ink-soft); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.desktop-nav a:hover { color: var(--blue); }
.desktop-nav a[aria-current="page"] {
  color: var(--blue); text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px; text-underline-offset: 9px;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sign-in-pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1.5px solid rgba(35, 69, 140, 0.35); border-radius: 999px;
  color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.sign-in-pill:hover { border-color: var(--blue); }
.pill-compact { display: none; }
.menu-button {
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--blue); color: var(--on-blue); font: 600 15px var(--font-body); cursor: pointer;
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--cream); padding: 28px var(--gutter) 40px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--ink);
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--blue); }
.menu-close {
  align-self: flex-start; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid rgba(35, 69, 140, 0.35); background: transparent; color: var(--blue);
  font: 600 15px var(--font-body); cursor: pointer;
}
.noscript-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 8px var(--gutter) 14px; }
.noscript-nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 420px) {
  .pill-full { display: none; }
  .pill-compact { display: inline; }
  .header-inner { gap: 12px; }
}
@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .noscript-nav { display: none; }
  .header-actions { margin-left: 0; }
  .menu-button { display: none; }
}

/* ---------- Shared pieces ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-text);
}
.bars { display: inline-flex; gap: 3px; }
.bars i { display: block; width: 14px; height: 4px; border-radius: 2px; background: var(--red); }
.bars i:nth-child(2) { background: var(--yellow); }
.bars i:nth-child(3) { background: var(--blue); }
.band-blue .kicker { color: var(--yellow); }
.band-blue .bars i:nth-child(3) { background: var(--warm-white); }

h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 2.9rem); line-height: 1.1; letter-spacing: -0.012em; margin-top: 16px; text-wrap: balance; }
h3 { font-size: 1.35rem; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 46rem; margin-top: 14px; }

.band { padding-block: clamp(64px, 9vw, 120px); }
.band-blue { background: var(--blue); color: var(--on-blue); }
.band-blue h2, .band-blue h3 { color: var(--on-blue); }
.band-blue p, .band-blue .lead { color: var(--on-blue-soft); }
.band-cream { background: var(--cream); }
.band-paper { background: var(--paper); }
.band-warm { background: var(--warm); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16.5px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 8px 22px rgba(35, 69, 140, 0.22); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-quiet { background: transparent; color: var(--blue); border-color: rgba(35, 69, 140, 0.32); }
.btn-quiet:hover { border-color: var(--blue); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--glow); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.more { margin-top: 36px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--cream); }
.hero-copy { padding: 40px var(--gutter) 64px; }
.hero h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.1vw, 3.55rem); line-height: 1.07; letter-spacing: -0.016em;
  margin-top: 22px; max-width: 18ch; text-wrap: balance;
}
.hero-lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); margin-top: 22px; max-width: 33rem; }
.hero-line { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--blue); margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { order: -1; position: relative; overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 62%; }
.hero-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 18%;
  background: linear-gradient(0deg, var(--cream) 0, rgba(251, 245, 234, 0) 100%);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(760px, calc(100vh - var(--header-h))); }
  .hero-copy {
    align-self: center;
    padding: 72px 56px 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .hero-photo { order: 0; }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: 60% 55%; }
  .hero-photo::after {
    inset: 0 auto 0 0; width: 16%; height: auto;
    background: linear-gradient(90deg, var(--cream) 0, rgba(251, 245, 234, 0) 100%);
  }
}

/* ---------- Physical world band ---------- */
.world-grid { display: grid; gap: 48px; align-items: center; }
.spark { display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--yellow); box-shadow: 0 0 18px 2px rgba(242, 184, 41, 0.55); }
.world h2 { margin-top: 22px; }
.world-copy p { font-size: 1.12rem; margin-top: 18px; max-width: 34rem; }
.world-photo img { border-radius: var(--radius); box-shadow: 0 28px 60px rgba(8, 18, 45, 0.35); }
@media (min-width: 900px) {
  .world-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
}

/* ---------- Use cases ---------- */
.use-cards { display: grid; gap: 28px; margin-top: 40px; }
.use-art {
  background: var(--paper); border-radius: 18px; box-shadow: 0 1px 0 var(--line);
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.use-art img { width: 100%; max-width: 360px; }
.use-card h3 { margin-top: 20px; }
.use-card p { color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 760px) { .use-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: 40px; margin-top: 44px; align-items: center; }
.device-photo img { border-radius: var(--radius); background: #DDD8D1; }
.callouts { display: grid; gap: 28px; }
.callouts h3 { font-size: 1.15rem; color: var(--blue); }
.callouts p { color: var(--ink-soft); margin-top: 6px; font-size: 0.98rem; }
.callouts li { padding-left: 18px; border-left: 3px solid var(--yellow); }
.trust-links { margin-top: 44px; color: var(--ink-soft); padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .trust-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
  .callouts { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Parents ---------- */
.parents { overflow-x: clip; }
.parents-grid { display: grid; gap: 56px; align-items: center; }
.phone-wrap { position: relative; justify-self: center; width: min(300px, 78vw); }
.phone {
  position: relative; z-index: 1; border-radius: 46px; background: var(--ink); padding: 10px;
  box-shadow: 0 24px 50px rgba(30, 34, 51, 0.2);
}
.phone img { border-radius: 37px; width: 100%; }
.phone-wrap::before {
  content: ""; position: absolute; z-index: 0; left: -14%; right: -14%; bottom: 34px; height: 90px;
  border: 2px solid rgba(242, 184, 41, 0.8); border-radius: 4px;
  box-shadow: 0 0 26px rgba(242, 184, 41, 0.4), inset 0 0 22px rgba(242, 184, 41, 0.18);
  transform: perspective(520px) rotateX(64deg);
}
.phone-wrap figcaption { margin-top: 44px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.feats { display: grid; gap: 26px; margin-top: 34px; }
.feat { padding-left: 22px; position: relative; }
.feat::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px; border-radius: 3px; background: var(--red); }
.feat-yellow::before { background: var(--yellow); }
.feat-blue::before { background: var(--blue); }
.feat h3 { font-size: 1.25rem; }
.feat p { color: var(--ink-soft); margin-top: 4px; }
.note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 36rem; }
.parents .more { margin-top: 22px; }
@media (min-width: 900px) {
  .parents-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 88px; }
}

/* ---------- Waitlist close ---------- */
.close-inner { display: flex; justify-content: center; }
.frame {
  width: 100%; max-width: 780px; text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 6vw, 72px);
  border: 2.5px solid var(--glow); border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 201, 60, 0.42), inset 0 0 30px rgba(255, 201, 60, 0.16);
}
.close h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.3rem); margin-top: 0; }
.close .lead { margin: 14px auto 0; }
.status { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; }
.status li { font-size: 0.95rem; color: var(--on-blue-soft); }
.status b { color: var(--yellow); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-right: 8px; }

.waitlist-form { margin: 34px auto 0; max-width: 560px; text-align: left; }
.form-label { display: block; font-weight: 600; color: var(--on-blue); margin-bottom: 10px; }
.form-row { display: flex; flex-direction: column; gap: 10px; }
.waitlist-form input[type="email"] {
  width: 100%; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--paper); color: var(--ink); font: 17px var(--font-body);
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[aria-invalid="true"] { border-color: #FF9D8F; }
.form-help { font-size: 0.9rem; margin-top: 12px; color: var(--on-blue-soft); }
.form-error { margin-top: 10px; font-weight: 600; color: #FFD3CC; }
.form-error a { color: var(--on-blue); }
.form-status { margin-top: 10px; font-weight: 600; color: var(--on-blue); }
.privacy-link { margin-top: 12px; font-size: 0.9rem; }
.privacy-link a { color: var(--yellow); }
@media (min-width: 560px) {
  .form-row { flex-direction: row; }
  .form-row .btn { flex: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--warm); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 36px;
  display: grid; gap: 36px;
}
.footer-brand .wordmark { font-size: 28px; }
.footer-brand p { color: var(--ink-soft); margin-top: 10px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-head { font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 0.96rem; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-base { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer-base p { font-size: 0.86rem; color: var(--muted); }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* =====================================================================
   Home v3 additions (October 2026): the photo hero's intro, risograph
   art below it, and the inner pages. Same tokens, bands and type as above.
   ===================================================================== */

/* ---------- Hero intro: the lamp switches on and the lit outline draws itself, once ----------
   Without JavaScript, or if the video cannot start, the lamp-off still fades away after a few
   seconds and the photo shows. Reduced-motion visitors only ever see the photo. */
.hero-intro-start, .hero-intro {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 62%; pointer-events: none;
}
.hero-intro-start { animation: hero-intro-fallback 0.8s ease 4s forwards; }
.hero-intro { opacity: 0; }
.hero-intro.is-playing { opacity: 1; }
.hero-photo.intro-done .hero-intro-start,
.hero-photo.intro-done .hero-intro { display: none; }
@keyframes hero-intro-fallback { to { opacity: 0; visibility: hidden; } }
@media (min-width: 900px) {
  .hero-intro-start, .hero-intro { object-position: 60% 55%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-intro-start, .hero-intro { display: none; }
}

/* two links after the use cases: the second is a short path to the waitlist on a long phone page */
.more-pair { display: flex; flex-wrap: wrap; gap: 10px 32px; }

/* ---------- Use cards: the art fills the card edge to edge ---------- */
.use-art { padding: 0; overflow: hidden; background: var(--paper); }
.use-art img { width: 100%; max-width: none; aspect-ratio: 36 / 25; object-fit: cover; display: block; }

/* ---------- Shared: links on blue, prose ---------- */
.band-blue a { color: var(--yellow); }
.band-blue .text-link { color: var(--yellow); }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + dl, .prose dl + p { margin-top: 16px; }
.prose p { color: var(--ink-soft); font-size: 1.06rem; max-width: 40rem; }
.prose .fine { font-size: 0.95rem; color: var(--muted); }
.prose-grid { display: grid; gap: 22px; }
.prose-grid h2 { max-width: 16ch; }
@media (min-width: 900px) {
  .prose-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
  .prose { padding-top: 34px; }
}

/* ---------- Inner page hero: copy and a risograph print ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 60px;
  display: grid; gap: 40px; align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.1vw, 3.45rem); line-height: 1.07; letter-spacing: -0.016em;
  margin-top: 20px; max-width: 17ch; text-wrap: balance;
}
.page-status { margin-top: 22px; font-size: 0.95rem; color: var(--muted); max-width: 30rem; }
.page-art figcaption { margin-top: 14px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.page-art img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 22px 48px rgba(30, 34, 51, 0.14);
}
@media (min-width: 900px) {
  .page-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px;
    padding-block: 64px 80px; min-height: min(640px, calc(100vh - var(--header-h)));
  }
}

/* ---------- Home: the three steps (How it works) ---------- */
.steps { display: grid; gap: 44px; margin: 44px 0 0; padding: 0; list-style: none; }
.step-art { border-radius: 18px; overflow: hidden; background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.step-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  margin-top: 22px; border-radius: 50%; background: var(--blue); color: var(--on-blue);
  font: 700 16px/1 var(--font-display);
}
.step:nth-child(2) .step-num { background: var(--yellow); color: var(--ink); }
.step:nth-child(3) .step-num { background: var(--red); }
.step h3 { margin-top: 14px; }
.step p:not(.step-num) { color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* ---------- Privacy ---------- */
.callouts-grid { margin-top: 40px; }
@media (min-width: 640px) { .callouts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (min-width: 1000px) { .callouts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promises { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.promises li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-weight: 600; color: var(--blue);
}
.promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.policy-grid { display: grid; gap: 14px; margin-top: 40px; }
.policy {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 22px 20px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none;
  box-shadow: inset 4px 0 0 var(--yellow); transition: border-color 0.15s ease, transform 0.15s ease;
}
.policy:hover { border-color: rgba(35, 69, 140, 0.4); transform: translateY(-1px); }
.policy b { font: 600 1.08rem/1.3 var(--font-display); color: var(--blue); }
.policy b::after { content: " \2197"; font-size: 0.85em; color: var(--muted); }
.policy span { color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 640px) { .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; } }

/* ---------- Closing "ask a person" band ---------- */
.ask { padding-block: clamp(56px, 7vw, 88px); }
.ask-inner { text-align: center; }
.ask h2 { margin-top: 0; }
.ask .lead { margin: 16px auto 0; }

/* ---------- About: contact ---------- */
.contact-list { margin: 22px 0 0; display: grid; gap: 0; max-width: 34rem; }
.contact-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font: 700 12.5px/1.6 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; }

/* ---------- About: team (risograph portraits made from the headshots in code) ---------- */
.team-grid { display: grid; gap: 48px; margin-top: 44px; }
.person-ph { width: 168px; height: 168px; border-radius: 50%; padding: 5px; background: var(--red); }
.person-yellow .person-ph { background: var(--yellow); }
.person-ph img { width: 100%; height: 100%; border-radius: 50%; }
.person h3 { margin-top: 22px; font-size: 1.45rem; }
.person p { color: var(--ink-soft); margin-top: 10px; max-width: 34rem; }
.person .person-kids {
  display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; color: var(--blue);
}
.kids-icon { flex: none; }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 920px; } }

/* ---------- Support ---------- */
.quick-card {
  position: relative; padding: 32px 30px 28px; border-radius: 22px; background: var(--paper);
  border: 2.5px solid var(--glow); box-shadow: 0 0 30px rgba(255, 201, 60, 0.35), 0 20px 44px rgba(30, 34, 51, 0.1);
  max-width: 520px; justify-self: center; width: 100%;
}
.quick-label { font: 700 12.5px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-text); }
.quick-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-top: 14px; }
.quick-card p:not(.quick-label) { color: var(--ink-soft); margin-top: 12px; }
.paths { display: grid; gap: 18px; margin-top: 40px; }
.path { padding: 26px 26px 24px; border-radius: 16px; background: var(--cream); border-top: 5px solid var(--red); }
.path-yellow { border-top-color: var(--yellow); }
.path-blue { border-top-color: var(--blue); }
.path p { color: var(--ink-soft); margin-top: 8px; }
.path a { display: inline-block; margin-top: 14px; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; } }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; font: 600 1.15rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {             /* a minus when open, a plus when closed */
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background-color: var(--paper); background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 12px 2px; background-position: center; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1.5px rgba(35, 69, 140, 0.35);
}
.faq:not([open]) summary::after {
  background-image: linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue));
  background-size: 12px 2px, 2px 12px;
}
.faq summary:hover { color: var(--blue); }
.faq p { color: var(--ink-soft); padding: 0 2px 22px; max-width: 40rem; }

/* ---------- 404: an empty outline of light ---------- */
.lost { background: var(--cream); }
.lost-inner {
  max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 88px;
  display: grid; gap: 44px; align-items: center; min-height: min(680px, calc(100vh - var(--header-h)));
}
.lost-frame {
  justify-self: center; width: min(420px, 82vw); aspect-ratio: 7 / 5; border-radius: 6px;
  border: 3px solid var(--glow); transform: perspective(700px) rotateX(52deg);
  box-shadow: 0 0 34px rgba(255, 201, 60, 0.55), inset 0 0 40px rgba(255, 201, 60, 0.28);
  background: radial-gradient(ellipse at center, rgba(255, 210, 90, 0.16), rgba(255, 210, 90, 0) 70%);
}
.lost h1 { font-size: clamp(2.3rem, 1.35rem + 3.1vw, 3.45rem); line-height: 1.07; margin-top: 20px; }
.lost-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lost-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(35, 69, 140, 0.32); font-weight: 600; text-decoration: none;
}
.lost-links a:hover { border-color: var(--blue); }
@media (min-width: 900px) {
  .lost-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .lost-frame { order: 2; }
}

/* ---------- Hero below 900px: crop the square photo from the right ----------
   At full width the left edge of the photo shows the child's hair and cheek. Children appear
   on this site as hands and sleeves only, so the photo, the lamp-off frame and the intro video
   are all widened to 125% and pinned to the right edge, which keeps the three layers aligned. */
@media (max-width: 899px) {
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero-photo img, .hero-photo .hero-intro-start, .hero-photo .hero-intro {
    position: absolute; inset: 0 0 0 auto; width: 125%; height: 100%; max-width: none;
    aspect-ratio: auto; object-fit: cover; object-position: 100% 45%;
  }
}

/* ---------- Waitlist closer without the form (About) and the waitlist line on the ask bands ---------- */
.close-link .frame { padding-bottom: 44px; }
.close-cta { margin-top: 28px; }
.band-blue .close-cta .btn-yellow { color: var(--ink); }   /* .band-blue a would paint the label yellow on yellow */
.ask-more { margin-top: 18px; }

/* Privacy safeguards: five callouts in one row on wide screens; two consecutive hero leads sit closer. */
@media (min-width: 1000px) { .callouts-grid.callouts-five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 28px; } }
.hero-lead + .hero-lead { margin-top: 12px; }
.hero-lead, .lead, .page-status { text-wrap: pretty; }
/* Privacy safeguards: no one-word last lines ("on.") in the callouts, and evenly broken two-line titles. */
.callouts-grid h3 { text-wrap: balance; }
.callouts-grid p { text-wrap: pretty; }

/* Support: the company's legal name and contact under the closing ask (App Store support page). */
.ask-company { margin-top: 22px; font-size: 0.95rem; }
.ask-company a { color: inherit; }

