/* Outft homepage and kids' page. One stylesheet, no external requests:
   fonts are self-hosted (SIL OFL, see fonts/OFL-*.txt). */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --sand: #f6ead9;
  --ink: #2b1d14;
  --body: #3d2b1f;
  --muted: #5c4636;
  --card: #fffaf2;
  --teal: #1f5c5a;
  --teal-dark: #163f3e;
  --rust: #6b3f22;
  --on-teal: #f6ead9;
  --on-teal-2: #d7ebe6;
  --on-teal-label: #bfe0d8;
  --line: #e3d3bd;
  --heading: Outfit, Figtree, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: Figtree, system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.on-teal :focus-visible { outline-color: var(--on-teal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--heading); text-wrap: balance; }
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
.h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.01em; line-height: 1.1; }
.section { padding: 88px 24px 24px; }
.lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--body); max-width: 31em; }

/* Wordmark: the text is "Outft"; the uppercase look is styling only. */
.wordmark { font-family: var(--heading); font-weight: 800; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-decoration: none; }

/* ---------- Hero and the moving desert ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #86a4c6 0%, #d9c3b4 42%, #f4cf9f 72%, #f2c08c 100%); padding: 28px 24px 0; }
.sun { position: absolute; left: 64%; top: 220px; width: 170px; height: 170px; border-radius: 50%; background: #fbf0df; }
.layer { position: absolute; left: 0; bottom: 0; width: 4320px; display: flex; animation: drift linear infinite; }
.layer svg { flex: none; }
.layer-far { height: 300px; animation-duration: 140s; }
.layer-mid { height: 220px; animation-duration: 90s; }
.layer-dune { height: 170px; animation-duration: 55s; }
.layer-near { height: 270px; animation-duration: 32s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@media (prefers-reduced-motion: reduce) { .layer { animation: none; } }

.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 8px 22px; align-items: center; flex-wrap: wrap; font-weight: 600; font-size: 17px; }
.nav-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { text-decoration: underline; }
.nav-links .pill { background: var(--teal); color: #fff; padding: 0 18px; border-radius: 999px; }
.nav-links .pill:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }

.hero-body { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 48px 0 130px; }
.hero-copy { flex: 1 1 460px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); }
.hero-phone { flex: 0 1 340px; min-width: 0; display: flex; justify-content: center; }

.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); font-weight: 700; font-size: 17px; }

/* Store buttons. Placeholders until the official badges and store listings exist. */
.stores { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 18px; border-radius: 14px; background: #000; color: #fff; border: 2px solid #1f2a2a; text-decoration: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 13px; font-weight: 500; }
.store strong { font-size: 20px; font-weight: 700; }
.store[aria-disabled="true"] { cursor: default; }
.fine { margin: 0; font-size: 17px; line-height: 1.5; color: var(--body); }

/* Early-access sign-up (docs/features/homepage/WAITLIST.md): a plain form post to api.jointheoutft.com */
.signup { display: flex; flex-direction: column; gap: 10px; max-width: 520px; padding-top: 6px; }
.signup.center { align-items: center; margin: 0 auto; text-align: center; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 2px solid #8a7462; background: #fff; font: 500 18px Figtree, system-ui, sans-serif; color: var(--ink); }
.signup input[type="email"]:focus-visible { border-color: var(--teal); outline: 3px solid var(--teal); outline-offset: 2px; }
.signup button { flex: none; min-height: 56px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--teal); color: #fff; font: 700 18px Figtree, system-ui, sans-serif; cursor: pointer; }
.signup button:hover { background: var(--teal-dark); }
/* Busy buttons (Otto, 2026-10-19): the tap shows at once — another colour, a spinner, "Sending…" (assets/js/busy.js). */
button.is-busy, .signup button.is-busy, .signup button.is-busy:hover { background: var(--ink); color: #fff; cursor: progress; }
.btn.is-busy, .btn.is-busy:hover { background: var(--teal); }
.is-busy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.spinner { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-color: #fff; border-right-color: transparent; } }
.signup .adult { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; }
.signup .adult input { width: 22px; height: 22px; accent-color: var(--teal); }
.signup-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.center-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 48px 16px; text-align: center; }
.center-page p { margin: 0; max-width: 32em; font-size: 19px; line-height: 1.55; color: var(--body); }
/* Waitlist pages on the homepage's moving desert: the text sits above the dunes, the sun low behind them. */
.hero.desert-page { padding: 48px 16px 280px; }
.desert-page > :not(.sun):not(.layer) { position: relative; }
.desert-page .sun { top: auto; bottom: 200px; left: 64%; }
@media (max-width: 600px) { .hero.desert-page { padding: 40px 16px 240px; } .desert-page .sun { left: 58%; bottom: 170px; } }
.notice { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.notice h1 { margin: 24px 0 12px; font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.notice h2 { margin: 32px 0 8px; font-weight: 700; font-size: 22px; }
.notice p, .notice li { font-size: 18px; line-height: 1.6; color: var(--body); }
.notice .meta { font-size: 15px; color: var(--muted); }

.device { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; color: var(--body); }
.device button { font: 600 16px Figtree, system-ui, sans-serif; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.device button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.no-js .device { display: none; }

/* ---------- Phone mockup (one component; swap for a screen recording later) ---------- */
.phone { position: relative; width: 320px; height: 660px; max-width: 100%; padding: 11px; border-radius: 52px; background: #8d8780; box-shadow: 0 30px 60px rgba(60, 30, 10, 0.35); }
.phone .screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 42px; background: #efe4d3; }
.phone .cam { position: absolute; left: 50%; top: 9px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #111; z-index: 2; }
.phone .bar { position: absolute; left: 50%; bottom: 8px; height: 5px; width: 120px; margin-left: -60px; border-radius: 3px; background: var(--ink); z-index: 2; }
.phone[data-device="android"] { border-radius: 38px; background: #2f3437; }
.phone[data-device="android"] .screen { border-radius: 28px; }
.phone[data-device="android"] .cam { top: 13px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; }
.phone[data-device="android"] .bar { height: 4px; width: 90px; margin-left: -45px; }

.phone .clock { position: absolute; left: 22px; top: 12px; font: 600 13px Figtree, system-ui, sans-serif; }
.phone .road { position: absolute; background: #fff; }
.phone .park { position: absolute; border-radius: 18px; }
.phone .chiprow { position: absolute; left: 14px; right: 14px; top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone .chip { background: #fff; border-radius: 999px; padding: 8px 14px; font: 700 14px var(--heading); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.phone .chip.dark { background: var(--ink); color: #fff; font: 600 12px Figtree, system-ui, sans-serif; padding: 8px 12px; }
.phone .pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.phone .dot { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 15px Figtree, system-ui, sans-serif; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.phone .dot.me { width: 50px; height: 50px; background: var(--teal); }
.phone .name { background: #fff; border-radius: 8px; padding: 2px 8px; font: 600 11px Figtree, system-ui, sans-serif; }
.phone .sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 268px; background: #fff; border-radius: 24px 24px 0 0; padding: 10px 18px 0; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }
.phone .grip { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #d8ccbd; }
.phone .sheet-head { display: flex; align-items: baseline; justify-content: space-between; }
.phone .sheet-title { font: 800 20px var(--heading); }
.phone .sheet-meta { font: 600 12px Figtree, system-ui, sans-serif; color: #7a6656; }
.phone .row { display: flex; align-items: center; gap: 12px; }
.phone .row .av { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 12px Figtree, system-ui, sans-serif; flex: none; }
.phone .row b { display: block; font: 700 14px Figtree, system-ui, sans-serif; }
.phone .row span { display: block; font: 400 12px Figtree, system-ui, sans-serif; color: #7a6656; }
.c1 { background: #e07a5f; } .c2 { background: #3d7ea6; } .c3 { background: #8a6bb0; }

/* Small phones used beside the "questions" stories */
.phone.mini { width: 260px; height: 536px; padding: 9px; box-shadow: 0 20px 40px rgba(60, 30, 10, 0.25); }
.phone.mini .screen { display: flex; flex-direction: column; gap: 10px; padding: 64px 14px 20px; background: linear-gradient(180deg, #86a4c6, #d9c3b4 55%, #f4cf9f); }
.phone.mini .lock-time { text-align: center; font: 700 44px var(--heading); color: #fff; margin-bottom: 10px; }
.phone.mini .note { background: rgba(255, 250, 242, 0.94); border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.35; box-shadow: 0 4px 14px rgba(43, 29, 20, 0.12); }
.phone.mini .note b { display: block; font: 700 13px Figtree, system-ui, sans-serif; color: var(--muted); margin-bottom: 2px; }
.phone.mini .panel { background: #fff; border-radius: 18px; padding: 14px; font-size: 14px; line-height: 1.4; }
.phone.mini .panel h4 { margin: 0 0 8px; font: 800 17px var(--heading); }
.phone.mini .panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.phone.mini .stat { display: flex; justify-content: space-between; border-top: 1px solid #efe2cf; padding-top: 6px; }

/* ---------- Cards and grids ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border-radius: 18px; }
.card h3 { margin: 0; font-weight: 700; font-size: 22px; }
.card p { margin: 0; font-size: 18px; line-height: 1.55; color: #4a3729; }

.story { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.story.flip { flex-direction: row-reverse; }
.story-copy { flex: 1 1 460px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.story-q { display: flex; align-items: center; gap: 12px; font: 700 22px var(--heading); color: var(--rust); }
.num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 22px var(--heading); }
.story h3 { margin: 0; font-weight: 800; font-size: 34px; line-height: 1.15; }
.story p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--body); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 18px; color: var(--body); }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: none; margin-top: 2px; }
.story-phone { flex: 0 1 300px; min-width: 0; display: flex; justify-content: center; }

.features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 36px 56px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .ic { flex: none; width: 60px; height: 60px; border-radius: 16px; background: #dbe9e4; display: flex; align-items: center; justify-content: center; }
.features b { display: block; font: 700 24px var(--heading); margin-bottom: 4px; }
.features span span { font-size: 20px; line-height: 1.5; color: var(--body); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--card); border-radius: 18px; }
.steps .num { width: 40px; height: 40px; font-size: 21px; }
.steps b { display: block; font: 700 21px var(--heading); margin-bottom: 4px; }
.steps span span { font-size: 18px; line-height: 1.5; color: #4a3729; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 4px; font: 700 21px var(--heading); min-height: 44px; }
.faq p { margin: 0; padding: 0 4px 22px; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 44em; }

/* ---------- Teal panel ---------- */
.panel-teal { display: flex; flex-direction: column; gap: 32px; padding: 44px 40px; border-radius: 24px; background: var(--teal); color: var(--on-teal); }
.panel-teal .eyebrow { font-size: 15px; color: var(--on-teal-label); }
.panel-teal h2 { margin: 0; font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.panel-teal p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 36em; }
.panel-teal a { color: var(--on-teal); }
.see { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; border-top: 1px solid #3f7c79; padding-top: 28px; }
.see h3 { margin: 0 0 12px; font-weight: 700; font-size: 22px; }
.see ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.45; color: var(--on-teal-2); }
.see li { display: flex; gap: 12px; align-items: flex-start; }
.see svg { flex: none; margin-top: 2px; }

.banner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 40px; border-radius: 24px; background: #f2c08c; }
.banner h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.banner p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 34em; }
.btn { flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 16px Figtree, system-ui, sans-serif; text-decoration: none; }
.btn:hover { color: #fff; background: #000; }

.final { padding: 80px 24px 96px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.final p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--body); max-width: 32em; }
.final .stores { justify-content: center; }

.foot { border-top: 1px solid var(--line); padding: 28px 24px 36px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 16px; color: #6b5646; }
.foot .wordmark { font-size: 20px; }
.foot nav { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; }
.foot a { color: #6b5646; min-height: 44px; display: inline-flex; align-items: center; }
.promise { flex-basis: 100%; margin: 0; font-size: 15px; }
/* Guides row (docs/features/SEO.md): links to the search guide pages */
.foot .guides { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0 22px; align-items: center; margin: 0; font-size: 15px; }
.foot .guides b { font-weight: 700; }

/* Phone-width "Get the app" bar on the parents' page */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(43, 29, 20, 0.12); }
  .mbar .wordmark { font-size: 18px; display: block; }
  .mbar small { font-size: 14px; color: var(--muted); }
  .mbar a.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
  .has-mbar .foot { padding-bottom: 110px; }
}

@media (max-width: 760px) {
  /* Keep the sun out from behind the text: it sits low, behind the phone */
  .sun { top: auto; bottom: 240px; left: 58%; }
}

@media (max-width: 600px) {
  .hero { padding: 20px 16px 0; }
  .hero-body { padding: 32px 0 110px; gap: 36px; }
  .section { padding: 64px 16px 16px; }
  .panel-teal, .banner { padding: 32px 22px; }
  .card { padding: 22px; }
  .final { padding: 64px 16px 80px; }
  .foot { padding: 24px 16px 32px; }
  .story h3 { font-size: 28px; }
  .nav-links { gap: 4px 14px; font-size: 16px; }
  .wordmark { font-size: 24px; }
}

/* ---------- FAQ page (faq/, generated from docs/features/FAQ.md). Light and dark: the dark tokens apply here only. ---------- */
.faq-page [hidden] { display: none !important; }
.faq-hero { position: relative; background: linear-gradient(180deg, #86a4c6 0%, #d9c3b4 58%, #f4cf9f 100%); padding: 28px 24px 0; }
.faq-intro { display: flex; flex-direction: column; gap: 16px; max-width: 900px; padding: 40px 0 88px; }
.faq-intro > * { max-width: 760px; }
.faq-hero h1 { margin: 0; font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.faq-dune { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--sand); }
/* The header's desert: saguaro silhouettes behind the dune, stars at night and a shooting star now and then (faq.js;
   the app's DesertBackdrop: 1.2–1.8 s, never with reduced motion). */
.faq-hero > .nav, .faq-intro { position: relative; z-index: 1; }
.faq-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.faq-stars { display: none; width: 100%; height: 400px; fill: #fff; opacity: 0.8; }
.faq-shooting { position: absolute; width: 80px; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); transform-origin: 0 50%; opacity: 0; animation: faq-shoot 1.5s ease-out forwards; --peak: 0.85; }
@keyframes faq-shoot {
  from { transform: rotate(var(--tilt, -24deg)) translateX(0); opacity: 0; }
  12%, 70% { opacity: var(--peak); }
  to { transform: rotate(var(--tilt, -24deg)) translateX(calc(-1 * var(--run, 200px))); opacity: 0; }
}
.faq-land { position: absolute; inset: auto 0 0; height: 140px; pointer-events: none; }
.faq-cactus { position: absolute; bottom: 6px; height: 120px; width: auto; fill: none; stroke: #4b675f; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.faq-cactus.cactus-1 { left: 4%; height: 70px; }
.faq-cactus.cactus-2 { left: 68%; height: 86px; }
.faq-cactus.cactus-3 { left: 82%; height: 132px; }
.faq-cactus.cactus-4 { left: 93%; height: 62px; }
.faq-search { display: flex; flex-direction: column; gap: 8px; }
.faq-search label { font-weight: 700; font-size: 17px; }
.faq-search input { width: 100%; max-width: 520px; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 2px solid #8a7462; background: #fff; font: 500 18px Figtree, system-ui, sans-serif; color: var(--ink); }
.faq-search input:focus-visible { border-color: var(--teal); outline: 3px solid var(--teal); outline-offset: 2px; }
.faq-main { max-width: 900px; padding: 16px 24px 72px; }
.faq-cats ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-cats a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; }
.faq-cats a:hover { border-color: var(--teal); color: var(--ink); }
.faq-cats a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.faq-status { min-height: 1.5em; margin: 16px 0 0; font-size: 16px; color: var(--muted); }
.faq-cat { padding-top: 36px; scroll-margin-top: 16px; }
.faq-cat h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.faq-page .faq summary { display: flex; align-items: flex-start; gap: 16px; list-style: none; }
.faq-page .faq summary::-webkit-details-marker { display: none; }
.faq-page .faq summary::after { content: "+"; flex: none; margin-left: auto; font: 700 28px/1 var(--heading); color: var(--teal); }
.faq-page .faq details[open] > summary::after { content: "\2013"; }
.faq-page .faq summary h3 { margin: 0; font: inherit; }
.faq-page details { scroll-margin-top: 16px; }
.faq-page details:target { background: var(--card); border-radius: 12px; }
.faq-page .answer { padding: 0 4px 22px; }
.faq-page .faq .answer p { margin: 0 0 12px; padding: 0; }
.faq-page .answer ul { margin: 0 0 12px; padding-left: 24px; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 44em; }
.faq-page .answer li + li { margin-top: 4px; }
.qlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--muted); }
/* Screenshot slots: Otto adds the real screens near launch (FAQ.md "Screenshot:" lines). */
.shot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; max-width: 300px; min-height: 170px; margin: 4px 0 12px; padding: 20px; border: 2px dashed var(--muted); border-radius: 18px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--muted); }
.shot b { font: 700 16px var(--heading); color: var(--ink); }
.shot-img { display: block; width: 100%; max-width: 300px; height: auto; margin: 4px 0 12px; border-radius: 18px; }
.faq-more { margin: 48px 0 0; font-size: 19px; line-height: 1.55; color: var(--body); }
@media (max-width: 600px) {
  .faq-hero { padding: 20px 16px 0; }
  .faq-intro { padding: 28px 0 92px; }
  .faq-cactus.cactus-1, .faq-cactus.cactus-2 { display: none; }
  .faq-cactus.cactus-3 { left: auto; right: 6%; height: 80px; }
  .faq-cactus.cactus-4 { left: 6%; height: 54px; }
  .faq-main { padding: 8px 16px 56px; }
  .faq-page .faq summary { font-size: 19px; }
  .faq-page .answer ul { font-size: 18px; }
}
@media (prefers-color-scheme: dark) {
  .faq-page {
    --sand: #14182b; --ink: #f4ead9; --body: #e3d7c6; --muted: #c3b4a2; --card: #1f2540;
    --teal: #7fd0c9; --teal-dark: #a9e3de; --rust: #f2ad80; --line: #363d5c;
    color-scheme: dark;
  }
  .faq-page .faq-hero { background: linear-gradient(180deg, #0b0f22 0%, #1b2140 60%, #2c2b4a 100%); }
  .faq-page .faq-stars { display: block; }
  .faq-page .faq-shooting { --peak: 0.55; }
  .faq-page .faq-cactus { stroke: #0c1022; }
  .faq-page .nav-links .pill, .faq-page .nav-links .pill:hover { color: #14182b; }
  .faq-page .nav-links .pill:hover { background: var(--teal-dark); }
  .faq-page .faq-search input { background: #0f1326; border-color: #6d6480; }
  .faq-page .skip, .faq-page .skip:focus { background: var(--ink); color: var(--sand); }
  .faq-page .foot .wrap, .faq-page .foot a { color: var(--muted); }
}

/* ---------- Demo (/demo, password-locked; web/README.md → Demo) ---------- */
.demo-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero.demo-page { padding: 32px 16px 56px; }
.demo-page .sun { left: auto; right: 6%; bottom: 210px; width: 140px; height: 140px; }
.demo-gate { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 440px; padding: 32px 24px; border-radius: 24px; background: rgba(255, 250, 242, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-align: center; }
.demo-gate p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--body); }
.demo-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.demo-form input { min-height: 56px; padding: 0 18px; border-radius: 14px; border: 2px solid #8a7462; background: #fff; font: 500 18px Figtree, system-ui, sans-serif; color: var(--ink); }
.demo-form input:focus-visible { border-color: var(--teal); outline: 3px solid var(--teal); outline-offset: 2px; }
.demo-form button { min-height: 56px; border: 0; border-radius: 14px; background: var(--teal); color: #fff; font: 700 18px Figtree, system-ui, sans-serif; cursor: pointer; }
.demo-form button:hover { background: var(--teal-dark); }
.demo-gate .demo-error { min-height: 1.5em; font-size: 17px; font-weight: 600; color: #a5271b; }

.demo { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.demo[hidden], .demo-gate[hidden] { display: none; }
/* The phone: a screenshot (600 × 1304) in a dark frame, sized to fit the window with the card under it. */
.demo-phone { position: relative; height: clamp(420px, calc(100vh - 300px), 720px); height: clamp(420px, calc(100dvh - 300px), 720px); aspect-ratio: 600 / 1304; max-width: calc(100vw - 32px); padding: 10px; border-radius: 46px; background: #1d1612; box-shadow: 0 24px 60px rgba(43, 29, 20, 0.35); }
.demo-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #efe3d2; transition: opacity 0.12s ease; }
.demo-phone img.is-changing { opacity: 0.25; }
.demo-spots { position: absolute; inset: 10px; border-radius: 36px; overflow: hidden; cursor: default; }
.demo-spot { position: absolute; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease; }
.demo-spots.is-hinting .demo-spot, .demo-spot:focus-visible { background: rgba(31, 92, 90, 0.22); box-shadow: inset 0 0 0 3px rgba(31, 92, 90, 0.75); }
.demo-spot:focus-visible { outline: none; }
@media (hover: hover) { .demo-spot:hover { background: rgba(31, 92, 90, 0.12); } }
@media (prefers-reduced-motion: reduce) { .demo-phone img, .demo-spot { transition: none; } }

.demo-card { width: 100%; max-width: 520px; padding: 20px 22px 16px; border-radius: 22px; background: rgba(255, 250, 242, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(43, 29, 20, 0.15); }
.demo-step { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
.demo-card h2 { margin: 4px 0 6px; font-weight: 800; font-size: 26px; line-height: 1.15; color: var(--ink); }
.demo-card p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--body); }
.demo-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.demo-nav > button { min-height: 48px; min-width: 96px; padding: 0 20px; border-radius: 999px; font: 700 17px Figtree, system-ui, sans-serif; cursor: pointer; }
.demo-back { border: 2px solid var(--line); background: transparent; color: var(--ink); }
.demo-back:disabled { opacity: 0.4; cursor: default; }
.demo-next { border: 0; background: var(--teal); color: #fff; }
.demo-next:hover { background: var(--teal-dark); }
.demo-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.demo-dots button { width: 22px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.demo-dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; background: #c9b59d; }
.demo-dots button[aria-current]::before { background: var(--teal); transform: scale(1.25); }
.demo-card .demo-tip { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 600px) {
  .hero.demo-page { padding: 16px 16px 40px; }
  .hero.demo-page.is-open { justify-content: flex-start; }
  .demo-phone { height: clamp(400px, calc(100vh - 270px), 740px); height: clamp(400px, calc(100dvh - 270px), 740px); }
  .demo { gap: 14px; }
  .demo-card { padding: 16px 16px 12px; }
  .demo-card h2 { font-size: 22px; }
  .demo-nav > button { min-width: 80px; padding: 0 14px; }
}

/* Back link, top left of standalone pages (DR2 18) */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 8px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.back:hover { text-decoration: underline; }
.back span[aria-hidden] { font-size: 22px; line-height: 1; }
/* Join button in the guide hero (DR2 12) */
.hero-cta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--teal); color: #fff; font: 700 17px Figtree, system-ui, sans-serif; text-decoration: none; }
.hero-cta:hover { background: var(--teal-dark); color: #fff; }
.center-page { position: relative; }
.center-page .back { position: absolute; top: 16px; left: 16px; margin: 0; }

/* ---------- r/parenting ad page (/parenting, docs/features/REDDIT_PARENTING_LP.md): every visible line ≥16px ---------- */
.lp .signup-note { font-size: 16px; }
.lp .hero-body { padding-bottom: 150px; }
.offer { display: flex; flex-direction: column; gap: 6px; max-width: 520px; padding: 16px 20px; border-radius: 18px; background: var(--teal); color: var(--on-teal); text-align: left; }
.offer p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-teal); }
.offer a { color: #fff; font-weight: 700; }
.offer a:focus-visible { outline-color: var(--on-teal); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fbe3d6; border: 2px solid #b4532a; color: #6e2a0e; font-size: 17px; font-weight: 600; line-height: 1.45; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: var(--card); color: var(--ink); border: 2px solid var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.share-note { margin: 0; min-height: 1.5em; font-size: 17px; font-weight: 600; }
.share-note:empty { min-height: 0; }
.share-title { margin: 12px 0 0; font: 800 24px var(--heading); }
.center-page .offer { text-align: center; }
.center-page .share-row { justify-content: center; }
/* Demo decks: the confidentiality notice, the viewer's question, "Prepared for" (web/README.md → Demo). */
/* The happy path: a large moving arrow at the next tap, so whoever drives the demo always knows where to click.
   Wide screens put the words on the left and a large screenshot on the right (Otto, 2026-10-30). */
.demo-aim { position: absolute; inset: 10px; pointer-events: none; }
.demo-page { --demo-go: #e0592a; }
.demo-arrow { position: absolute; width: 88px; height: 110px; fill: var(--demo-go); stroke: #fff; stroke-width: 4; stroke-linejoin: round; filter: drop-shadow(0 6px 10px rgba(43, 29, 20, 0.45)); transform: translate(-50%, -100%); animation: demo-point 1s ease-in-out infinite; }
.demo-arrow.is-up { transform: translate(-50%, 0) rotate(180deg); animation-name: demo-point-up; }
.demo-arrow[hidden] { display: none; }
@keyframes demo-point { 50% { transform: translate(-50%, calc(-100% - 18px)); } }
@keyframes demo-point-up { 50% { transform: translate(-50%, 18px) rotate(180deg); } }
.demo-spot.is-go { box-shadow: 0 0 0 4px var(--demo-go); animation: demo-ring 1s ease-in-out infinite; }
@keyframes demo-ring { 50% { box-shadow: 0 0 0 8px rgba(224, 89, 42, 0.35); } }
.demo-next.is-go { box-shadow: 0 0 0 4px var(--demo-go); animation: demo-ring 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .demo-arrow, .demo-spot.is-go, .demo-next.is-go { animation: none; } }
@media (max-width: 599px) { .demo-arrow { width: 56px; height: 70px; } }
@media (min-width: 900px) {
  .hero.demo-page.is-open { padding: 24px 32px; }
  .demo { flex-direction: row-reverse; justify-content: center; align-items: center; gap: clamp(32px, 5vw, 72px); }
  .demo-phone { height: clamp(520px, calc(100vh - 48px), 960px); height: clamp(520px, calc(100dvh - 48px), 960px); }
  .demo-card { max-width: 460px; padding: 28px 28px 20px; }
  .demo-card h2 { font-size: 34px; }
  .demo-card > p:not(.demo-tip):not(.demo-for) { font-size: 21px; }
}
.demo-gate .demo-confidential { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.demo-question { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); text-align: left; }
.demo-for { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--teal); }
.demo-card .demo-confidential-line { margin-top: 6px; }

/* A one-day demo deck (web/demo-src/day) fills the window once it's open (assets/js/demo.js, startPage). */
.demo-day { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 20; background: #f3d9b1; }
body.is-day { overflow: hidden; }
