/* famstarz.com: the shared styles for every page (taken out of index.html, 19 Nov 2026). */
/* Layout: one phone-width column of bands (day, then evening, then night), opening into two columns from 820px. */
:root {
  --bg: #FBF7EE; --card: #FFFFFF; --ink: #2B2A3A; --muted: #6B6680; --line: #E9E1CF;
  --gold: #E2A21B; --gold-deep: #9A6100; --plum: #6A2FC0; --on-plum: #FFFFFF; --coral: #D9533F; --leaf: #1A6B3C; --sky: #D9ECF8;
  --chip: #F3ECDC; --ad: #FFF3D6; --cost-ink: #7A4B00;
  --night: #12183A; --night-2: #1E2652; --night-ink: #EDE9F7; --night-muted: #A9A8CC; --moon: #F2D27A;
  --display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #161B3D; --card: #1F2650; --ink: #F1EDE2; --muted: #ABA8C7; --line: #2E3768;
  --gold: #F0B533; --gold-deep: #F7D27C; --plum: #B394F0; --on-plum: #1A1440; --coral: #F2826F; --leaf: #6CC48B; --sky: #26315F;
  --chip: #262E5C; --ad: #3A3420; --cost-ink: #F7D27C; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #161B3D; --card: #1F2650; --ink: #F1EDE2; --muted: #ABA8C7; --line: #2E3768;
  --gold: #F0B533; --gold-deep: #F7D27C; --plum: #B394F0; --on-plum: #1A1440; --coral: #F2826F; --leaf: #6CC48B; --sky: #26315F;
  --chip: #262E5C; --ad: #3A3420; --cost-ink: #F7D27C; color-scheme: dark }

* { box-sizing: border-box }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); margin: 0 }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg) }
img { max-width: 100%; display: block }
a { color: var(--plum); text-underline-offset: 3px }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0 }
h1 { font-size: clamp(2.1rem, 9vw, 3.6rem) }
h2 { font-size: clamp(1.7rem, 6.5vw, 2.5rem) }
h3 { font-size: 1.25rem }
p { margin: 0 }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.band { padding-block: 56px }
.stack { display: grid; gap: 14px }
.eyebrow { font: 800 0.78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep) }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px }

/* Header */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px }
/* The wordmark: FAMSTARZ in capitals, gold with a white surround and a fine gold-brown edge outside it (owner, 16 Oct). */
.mark { font: 700 clamp(1.3rem, 6.4vw, 1.6rem)/1 var(--display); white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; color: #E2A21B; -webkit-text-stroke: 6px #FFFFFF; paint-order: stroke fill; text-decoration: none; display: flex; align-items: center; gap: 6px; padding: 4px 2px;
  filter: drop-shadow(0 0 .6px #9A6100) drop-shadow(0 0 .6px #9A6100) drop-shadow(0 2px 2px rgba(43, 42, 58, .22)) }
.mark svg { width: 26px; height: 26px; overflow: visible }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 1rem/1 var(--body); border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; text-decoration: none; min-height: 48px }
.btn.primary { background: var(--plum); color: var(--on-plum) }
.btn.small { padding: 10px 16px; min-height: 40px; font-size: .92rem; white-space: nowrap; flex: none }
/* The header button says just "Join" on phones narrower than 420px, so it stays on one line beside the name. */
.narrow-only { display: none }
@media (max-width: 419px) { .wide-only { display: none } .narrow-only { display: inline } .bar .btn.small { padding-inline: 20px } }
.btn.ghost { background: var(--chip); color: var(--ink) }
/* Owner, 9 Nov 2026: the last shortcut was cut off. They used to scroll sideways (with no scrollbar) below 900px;
   now there are seven, in page order, and they wrap onto a second row on a phone so every one is always in view. */
nav.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-block: 0 10px }
nav.chips a { flex: none; font: 700 .9rem/1 var(--body); color: var(--ink); text-decoration: none; background: var(--chip); padding: 9px 14px; border-radius: 999px }
nav.chips a[aria-current="true"] { background: var(--plum); color: var(--on-plum) }
@media (max-width: 820px) { nav.chips { gap: 6px } nav.chips a { font-size: .8rem; padding: 7px 10px } }
@media (max-width: 380px) { nav.chips { gap: 5px } nav.chips a { font-size: .74rem; padding: 6px 8px } }

/* Hero */
.hero { padding-block: 28px 8px }
.hero-grid { display: grid; gap: 22px; grid-template-areas: "pill" "head" "pic" "body" }
.hero-grid > .testing-pill { grid-area: pill }
.hero-head { grid-area: head }
.hero-body { grid-area: body }
.hero-grid > .stage { grid-area: pic }
.what-it-is { font: 500 clamp(1.02rem, 4.2vw, 1.15rem)/1.45 var(--body); color: var(--ink); margin: 0 }
.what-it-is b { display: block; font: 800 clamp(1.18rem, 5vw, 1.4rem)/1.3 var(--body); margin-bottom: 4px }
.device { margin: 0 }
.photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(20, 20, 40, .5) }
.photo > img { display: block; width: 100%; height: auto }
.device-cap { display: block; margin-top: 10px; font: 700 .8rem/1.3 var(--body); color: var(--muted) }
.hero-span { font: 600 clamp(1.15rem, 4.6vw, 1.45rem)/1.3 var(--display); color: var(--gold-deep); margin: 0 }
.hero h1 em { font-style: normal; color: var(--gold); -webkit-text-stroke: 1.5px var(--gold-deep); paint-order: stroke fill }
.stage { position: relative; padding-bottom: 8px }
.echo { background: #1B1B22; border-radius: 22px; padding: 10px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .45) }
.echo > img, .screen > .shot { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover }
/* As on the Echo: a peeking visitor slides in at a bottom corner, and the children stand on the path along the bottom. */
.screen { position: relative; overflow: hidden; border-radius: 12px }
.screen > .shot { transition: opacity .35s ease }
.screen > .shot.fading { opacity: .15 }
.scenes { display: grid; gap: 8px }
.scenes .label { font: 800 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep) }
.scenes .chips-row { gap: 6px }
.scenes .chip { min-height: 36px; padding: 8px 12px; font-size: .85rem }
.echo-cap { font: 700 .8rem/1.3 var(--body); color: var(--muted); text-align: center; margin-top: 8px }
.kids { position: absolute; right: 23%; bottom: 1.5%; height: 52%; display: flex; align-items: flex-end }
.kids img { height: 100%; width: auto; max-width: none; margin-left: -9% }
.peek { position: absolute; right: 0; bottom: 0; height: 38%; width: auto; max-width: none; transform: scaleX(-1) }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.small-note { font-size: .85rem; color: var(--muted) }

/* Outcomes */
.outcomes { display: grid; gap: 14px }
.out-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; align-content: start }
.out-col h3 { font-size: 1.3rem; color: var(--plum) }
.out { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--gold) }
.out b { font: 600 1.08rem/1.25 var(--display) }
.out p { color: var(--muted); font-size: .95rem }

/* Try it */
.try { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center }
.try-top { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.who { display: flex; align-items: center; gap: 10px; font: 600 1.6rem/1 var(--display); color: var(--leaf) }
.who img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--leaf) }
.pot { font: 700 1rem/1 var(--display); color: var(--gold-deep); text-align: right }
.pot b { font-size: 1.8rem; color: var(--gold); -webkit-text-stroke: 1px var(--gold-deep); paint-order: stroke fill; font-variant-numeric: tabular-nums }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.job { width: 100%; display: flex; align-items: center; gap: 12px; background: var(--chip); color: var(--ink); border: 0; border-radius: 14px; padding: 12px 14px; font: 700 1.15rem/1.2 var(--body); cursor: pointer; text-align: left; min-height: 52px }
.job .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); color: #fff; font: 800 .95rem/1 var(--body) }
.job[aria-pressed="true"] { color: var(--muted) }
.job[aria-pressed="true"] .t { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--leaf) }
.job[aria-pressed="true"] .n { background: var(--line); color: var(--muted) }
.echo { position: relative }
.echo video, .echo .board { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; background: #000; object-fit: cover }
.echo video[loop] { cursor: default }
.echo .board { position: absolute; left: 0; top: 0; transition: opacity .25s }
.echo.playing .board { opacity: 0 }
.echo .plus { position: absolute; left: 21%; top: 4%; font: 800 clamp(1rem, 4vw, 1.6rem)/1 var(--display); color: #fff; background: var(--leaf); padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: 0; transform: translateY(8px) scale(.8); pointer-events: none }
.echo .plus.go { animation: plus 1.6s ease-out forwards }
@keyframes plus { 0% { opacity: 0; transform: translateY(8px) scale(.8) } 15% { opacity: 1; transform: translateY(0) scale(1.1) } 25% { transform: scale(1) } 75% { opacity: 1 } 100% { opacity: 0; transform: translateY(-14px) } }
@media (prefers-reduced-motion: reduce) { .echo .plus.go { animation-duration: .01s } }
.try-echo { order: -1 }
.tick-kid { position: relative; height: 230px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; border-radius: 14px; background: #EFE6D2 url(img/path-morning.webp?v=2026102102) center bottom / cover no-repeat; padding-bottom: 8px }
.tick-kid img { height: 220px; width: auto }
.tick-kid img.talk { position: absolute; bottom: 8px; opacity: 0 }
.tick-kid.hop img { animation: hop .9s ease-out }
.tick-kid.hop img.talk { animation: hop .9s ease-out, talk .9s steps(1) }
.say { position: absolute; top: 12px; left: 12px; background: var(--card); border-radius: 12px; padding: 6px 10px; font: 800 .95rem/1.2 var(--body); opacity: 0; transition: opacity .25s }
.say.on { opacity: 1 }
@keyframes hop { 0% { transform: translateY(0) } 25% { transform: translateY(-34px) } 45% { transform: translateY(0) } 65% { transform: translateY(-18px) } 85%, 100% { transform: translateY(0) } }
@keyframes talk { 0%, 50% { opacity: 1 } 51%, 100% { opacity: 0 } }

/* A day */
.day { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin }
/* margin 0: a figure has default side margins, which pushed the second screen off the edge (owner, 21 Oct: "two full screens at any time") */
.slide { flex: 0 0 88%; margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; min-width: 0 }
.time { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 600 1.45rem/1.1 var(--display) }
.time span { font: 800 .85rem/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums }
.slide p { color: var(--muted) }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer }
.dots button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 6px }

/* Sky */
.moonbox { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; background: var(--night); border-radius: var(--r); padding: 22px 16px 18px; overflow: hidden }
.moonbox::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 78% 18%, #fff, transparent),
    radial-gradient(1px 1px at 88% 62%, #fff, transparent), radial-gradient(1px 1px at 55% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 8% 84%, #fff, transparent), radial-gradient(1px 1px at 66% 86%, #fff, transparent) }
/* One full-moon picture with the phase's shadow drawn over it (the eight phase pictures differed in size and some were
   cut off at the edge, which showed as a line when fading between them). The glow follows how much is lit. */
.moon-stage { position: relative; width: min(190px, 52vw); aspect-ratio: 1; --lit: 1;
  background: radial-gradient(circle at 50.6% 49.7%, rgba(255, 244, 200, calc(.26 * var(--lit))) 0 40%, transparent 64%) }
.moon-stage svg { display: block; width: 100%; height: 100% }
.moon-name { font: 700 1.25rem/1.2 var(--display); color: var(--moon) }
.moon-when { font: 600 .9rem/1.3 var(--body); color: var(--night-muted); min-height: 1.3em }
.moon-ctrl { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 320px }
.moon-ctrl button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--night-2); color: var(--moon); font: 800 1.3rem/1 var(--body); cursor: pointer }
.moon-ctrl input { flex: 1; accent-color: var(--moon); min-width: 0 }
.moonbox .chip { background: var(--night-2); color: var(--moon) }
@media (prefers-reduced-motion: reduce) { .moon-stage img { transition: none } }

/* Phone */
.phone { display: grid; place-items: center; padding-block: 10px }
.phone-body { position: relative; width: 100%; max-width: 520px; background: #1B1B22; border-radius: 28px; padding: 12px 18px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .45) }
.phone-body img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.mic { position: absolute; right: 28px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--plum); display: grid; place-items: center; box-shadow: 0 0 0 8px color-mix(in srgb, var(--plum) 30%, transparent) }
.mic svg { width: 26px; height: 26px }
.bubble { position: absolute; right: 90px; bottom: 30px; background: #fff; color: #2B2A3A; border-radius: 14px 14px 4px 14px; padding: 8px 12px; font: 800 .9rem/1.2 var(--body); max-width: 60% }

/* Build */
.build-grid { display: grid; gap: 22px }
.builder-phone { justify-self: center; width: min(100%, 290px); background: #1B1B22; border-radius: 34px; padding: 10px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .45) }
.builder-phone img { border-radius: 26px; width: 100%; height: auto }
.dress { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px }
.dress-stage { height: 260px; border-radius: 14px; display: flex; align-items: flex-end; justify-content: center; background: #EFE6D2 url(img/path-morning.webp?v=2026102102) center bottom / cover no-repeat; padding-bottom: 8px; overflow: hidden }
.dress-stage img { height: 230px; width: auto }
.dress-stage.night { background: var(--night) }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px }
.chip { font: 800 .9rem/1 var(--body); background: var(--chip); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; min-height: 40px }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--on-plum) }
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.choose div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0 }
.choose b { font: 600 1.05rem/1.2 var(--display) }
.choose span { font-size: .88rem; color: var(--muted) }
.everywhere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.everywhere figure { margin: 0; display: grid; gap: 6px; justify-items: center; text-align: center; font: 700 .8rem/1.25 var(--body); color: var(--muted); min-width: 0 }
.everywhere .pic { width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; background: var(--chip); display: flex; align-items: flex-end; justify-content: center; overflow: hidden }
.everywhere .pic.dark { background: var(--night) }
.everywhere .pic img { height: 92%; width: auto; max-width: none }
.everywhere .pic.face { align-items: center }
.everywhere .pic.face img { height: auto; width: 70%; border-radius: 50%; border: 3px solid var(--leaf) }

/* The builder, live on the page */
.fb { display: grid; gap: 12px; min-width: 0 }
.fb-ages { display: grid; gap: 6px }
.fb-label { font: 800 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep) }
.fb-age-row { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px }
.fb-age-row::-webkit-scrollbar { display: none }
.fb-age-row button { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 700 1rem/1 var(--body); cursor: pointer }
.fb-age-row button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--on-plum); transform: scale(1.08) }
.fb-box { position: relative; min-width: 0 }
.fb-host { min-height: 200px }
.fb-loading { padding: 40px; text-align: center; color: var(--muted) }
.fb-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px }
/* The builder is now its full height, so the cheer sits at its top (the page scrolls there) at a fixed size */
.fb-cheer { position: absolute; inset: 0; z-index: 10; border-radius: 22px; overflow: hidden; background: #EFE6D2 url(img/path-morning.webp?v=2026102102) center bottom / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 24px; gap: 8px }
[hidden] { display: none !important }
.fb-cheer[hidden] { display: none }
.fb-cheer img { height: min(360px, 52vh); width: auto; animation: fbhop 1.1s ease-out 3 }
.fb-hooray { font: 700 2.2rem/1 var(--display); color: #E2A21B; -webkit-text-stroke: 5px #fff; paint-order: stroke fill; filter: drop-shadow(0 0 .6px #9A6100) }
.fb-confetti { position: absolute; inset: 0; pointer-events: none }
.fb-confetti i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: fbfall 2.2s cubic-bezier(.3,.6,.6,1) forwards }
@keyframes fbhop { 0%, 100% { transform: translateY(0) } 25% { transform: translateY(-34px) } 45% { transform: translateY(0) } 65% { transform: translateY(-16px) } }
@keyframes fbfall { to { transform: translateY(1400px) rotate(720deg) } }   /* the full height of the builder */
@media (prefers-reduced-motion: reduce) { .fb-cheer img, .fb-confetti i { animation: none } }

/* Your family, your rules */
.editor { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.editor-head { padding: 14px 16px; display: grid; gap: 8px; border-bottom: 1px solid var(--line) }
.editor-head b { font: 600 1.25rem/1.1 var(--display) }
.pill { font: 800 .78rem/1 var(--body); background: var(--chip); color: var(--muted); padding: 6px 9px; border-radius: 999px }
.editor ol { list-style: none; margin: 0; padding: 6px 0 }
.editor li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 16px; font-weight: 700 }
.editor li img { width: 44px; height: 44px; border-radius: 10px }
.pts { font: 800 .85rem/1 var(--body); color: var(--gold-deep); background: var(--ad); padding: 6px 9px; border-radius: 999px; font-variant-numeric: tabular-nums }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
/* beside "Routines you set", the list starts level with the top of the white box: the heading's line plus the gap */
@media (min-width: 820px) { .values-two > .stack:last-child { padding-top: calc(1.25rem * 1.12 + 14px) } }
/* a list item reads as normal sentences, bold lead-in and all (19 Nov: a grid put each word on its own line) */
.ticks li { display: block; position: relative; padding-left: 30px; color: var(--muted) }
.ticks li::before { content: "★"; color: var(--gold); position: absolute; left: 0; top: 0 }
.valcards { display: grid; gap: 12px }
.valcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 10px }
.valcard h3 { font-size: 1.15rem }
.valcard p { color: var(--muted); font-size: .95rem }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.trio figure { margin: 0; display: grid; gap: 4px; font: 700 .78rem/1.2 var(--body); min-width: 0 }
.trio img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px }
.notice { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; background: var(--ad); border-radius: var(--r); padding: 14px 16px }
.notice img { width: 56px; height: 56px; border-radius: 12px }
.notice q { font: 600 1.05rem/1.3 var(--display); quotes: "\201C" "\201D" }

/* Evidence */
.claims { display: grid; gap: 12px }
/* Price */
.plans { display: grid; gap: 14px }
@media (min-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr) } }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px }
.plan.main { border: 2px solid var(--plum) }
.plan .amount { font: 600 1.1rem/1.1 var(--display) }
.plan .amount b { font-size: 2.6rem; color: var(--plum) }
.plan .alt { color: var(--muted) }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 4px }
.plan .btn { justify-self: start }
.plan.soon { border-style: dashed }
.soon-tag { justify-self: start; background: var(--gold); color: #2B2A3A; border-radius: 999px; padding: 3px 10px; font: 800 .75rem/1.3 var(--body); letter-spacing: .04em; text-transform: uppercase }
.claim { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 8px }
.claim .topic { font: 800 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--plum) }
.claim p.q { font: 600 1.18rem/1.35 var(--display) }
.src { font-size: .85rem; color: var(--muted) }
.honest { border: 2px dashed var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 8px }
.honest ul { margin: 0; padding-left: 20px; color: var(--muted) }

/* Values */
.values { display: grid; gap: 12px }
.value { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start }
.value .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--chip); font: 700 1.5rem/1 var(--display); color: var(--gold-deep) }
.value p { color: var(--muted) }
.rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.reward { display: grid; gap: 6px; font: 700 .85rem/1.25 var(--body); min-width: 0 }
.reward img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100% }
.tag { display: inline-block; font: 800 .68rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--chip); color: var(--leaf); justify-self: start }
.tag.local { color: var(--plum) }

/* Partners */
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 96px 1fr }
.offer img { width: 96px; height: 100%; object-fit: cover }
.offer div { padding: 14px; display: grid; gap: 4px; min-width: 0 }
.ad { font: 800 .72rem/1 var(--body); letter-spacing: .08em; background: var(--ad); color: var(--gold-deep); padding: 4px 7px; border-radius: 6px; justify-self: start }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.rules li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start }
.rules li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--leaf); font-weight: 800 }

/* Schools */
.school { background: var(--sky); border-radius: 26px; padding: 22px; display: grid; gap: 14px }
.school-list { display: grid; gap: 10px; grid-template-columns: 1fr }
.school-list div { background: var(--card); border-radius: 14px; padding: 14px; display: grid; gap: 4px }
.school-list b { font-family: var(--display); font-weight: 600; font-size: 1.08rem }
.school-list span { color: var(--muted); font-size: .95rem }

/* Night band: the screen's own night colours in either theme. */
.night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden }
.night .lede, .night p { color: var(--night-muted) }
.night .eyebrow { color: var(--moon) }
.night h2 em { font-style: normal; color: var(--moon) }
.stars-bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff8, transparent), radial-gradient(1px 1px at 72% 12%, #fff9, transparent), radial-gradient(1.5px 1.5px at 40% 30%, #fff6, transparent), radial-gradient(1px 1px at 88% 40%, #fff8, transparent), radial-gradient(1px 1px at 22% 60%, #fff5, transparent) }
.cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; align-items: end }
.cast figure { margin: 0; display: grid; gap: 6px; justify-items: center; min-width: 0 }
.cast img { width: 100%; height: auto }
.cast figcaption { font: 600 1.05rem/1 var(--display) }
.visitors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.visitor { background: var(--night-2); border-radius: 16px; padding: 12px; display: grid; gap: 6px; justify-items: center; text-align: center; font: 700 .85rem/1.25 var(--body); color: var(--night-ink); min-width: 0 }
.visitor img { height: 74px; width: auto; object-fit: contain }
.trust { display: grid; gap: 10px }
.trust div { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px }
.trust b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink) }
.trust p { color: var(--ink); margin: 0 }

/* Join */
.join { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 14px }
.field { display: grid; gap: 6px }
.field label { font-weight: 800; font-size: .9rem }
.field input, .field select { font: 600 1rem var(--body); padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); min-height: 48px; width: 100% }
.done { background: var(--chip); border-radius: 12px; padding: 12px 14px; font-weight: 700 }
.done p { margin: 0 0 6px } .done .small-note { font-weight: 600 } .done .chip { background: var(--card) }
.opt { font-weight: 600; color: var(--muted) }
.testing-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; align-self: start; padding: 8px 12px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); font: 600 .85rem/1.3 var(--body); text-decoration: none }
.testing-pill b { background: var(--plum); color: var(--on-plum); border-radius: 999px; padding: 2px 8px; font-weight: 800; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase }
.want { border: 0; margin: 0; padding: 0; display: grid; gap: 8px }
.want legend { font-weight: 700; margin-bottom: 6px }
.want label { display: flex; align-items: center; gap: 10px; background: var(--chip); border-radius: 12px; padding: 10px 12px; font-weight: 700; cursor: pointer }
.want input { width: 20px; height: 20px; accent-color: var(--plum) }
.join.interest .slot-only { display: none }
.site-settings { margin-top: 14px; border: 2px dashed var(--line); background: transparent }
footer { padding-block: 32px 48px; color: var(--muted); font-size: .85rem; display: grid; gap: 8px }
.sources { font-size: .82rem; color: var(--muted); display: grid; gap: 4px }
.sources a { color: var(--muted) }

@media (min-width: 820px) {
  .band { padding-block: 80px }
  .build-grid { grid-template-columns: minmax(0, 440px) 1fr; align-items: start }
  .outcomes { grid-template-columns: 1fr 1fr }
  .choose { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .valcards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  /* The headline runs across the page on two lines ("Good routines, healthy habits," / "family rewards."); the photo
     starts level with the paragraph under it (owner, 21 Oct). */
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: start; grid-template-areas: "pill pill" "title title" "what pic" "body pic"; grid-template-rows: auto auto auto 1fr }
  .hero-grid > .hero-head { display: contents }
  .hero-head > h1 { grid-area: title }
  .hero-head > .what-it-is { grid-area: what }
  .hero-grid > .testing-pill { justify-self: start }
  .hero .stage { margin-top: 0 }
  .try { grid-template-columns: 1fr 1.3fr }
  .try-echo { order: 0 }
  .slide { flex-basis: calc((100% - 14px) / 2) }
  .claims { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start }
  .rewards { grid-template-columns: repeat(6, minmax(0, 1fr)) }
  .school-list { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .visitors { grid-template-columns: repeat(6, minmax(0, 1fr)) }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (prefers-reduced-motion: reduce) { .tick-kid.hop img { animation: none } html { scroll-behavior: auto } }
html { scroll-behavior: smooth; scroll-padding-top: 120px }
/* How it works: jobs and rewards as cards with the children's characters on them (owner, 17 Oct). */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px }
.step { display: grid; gap: 14px }
.step-head { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start }
.step-head p { color: var(--muted) }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2B2A3A; font: 700 1.3rem/1 var(--display) }
.deck { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)) }
.fcard { position: relative; display: grid; grid-template-rows: auto auto auto; gap: 6px; padding: 8px 8px 12px; text-align: left; color: var(--ink);
  background: var(--card); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 6px 16px rgba(43, 42, 58, .08); font: inherit; min-width: 0 }
button.fcard { cursor: pointer; transition: transform .15s ease, border-color .15s ease }
button.fcard:hover { transform: translateY(-2px) }
button.fcard:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px }
.fc-pic { display: block; border-radius: 14px; background: var(--tint, var(--chip)); aspect-ratio: 1; overflow: hidden }
.fc-pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply }
.fc-who { position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px;
  background: #FFFFFF; color: #2B2A3A; font: 800 .82rem/1 var(--body); box-shadow: 0 2px 6px rgba(0, 0, 0, .12) }
.fc-who img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--leaf) }
.fc-title { font: 600 1.12rem/1.15 var(--display); padding-inline: 4px }
.fc-pts, .fc-cost { justify-self: start; margin-left: 4px; font: 800 .85rem/1 var(--body); padding: 6px 10px; border-radius: 999px; background: var(--chip); color: var(--cost-ink) }
.fc-stamp { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg) scale(.6); opacity: 0; pointer-events: none;
  font: 700 1.5rem/1 var(--display); color: #FFFFFF; background: var(--leaf); padding: 8px 16px; border-radius: 12px; border: 3px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2); transition: opacity .15s ease, transform .2s cubic-bezier(.3, 1.6, .5, 1) }
.job-card[aria-pressed="true"] { border-color: var(--leaf) }
.job-card[aria-pressed="true"] .fc-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1) }
.job-card[aria-pressed="true"] .fc-pts { background: var(--leaf); color: #FFFFFF }
.potbox { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 12px 16px }
.pot-team { display: flex; align-items: flex-end; height: 110px }
.pot-team img { height: 100%; width: auto; margin-right: -18px }
.pot-meter { height: 22px; border-radius: 999px; background: var(--chip); overflow: hidden }
.pot-fill { display: block; height: 100%; width: 92.5%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #F5C95A); transition: width .5s ease }
.pot-line { color: var(--muted) }
.pot-line b { color: var(--ink) }
/* Owner, 9 Nov 2026 ("you need to create continuity"): rewards use the jobs' grid, four across, and the pot is as wide as both. */
.rewards-deck { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.reward-card .fc-pic img { filter: saturate(.35); opacity: .75; transition: filter .4s ease, opacity .4s ease }
.reward-card.open .fc-pic img { filter: none; opacity: 1 }
.fc-team { position: absolute; top: 14px; left: 14px; display: flex }
.fc-team img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #FFFFFF; margin-right: -8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12) }
.fc-lock { margin-left: 4px; font: 700 .8rem/1.2 var(--body); color: var(--muted) }
.reward-card.open { border-color: var(--gold) }
.reward-card.open .fc-lock { color: var(--leaf) }
.fc-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px }
.fc-confetti i { position: absolute; top: 40%; left: 50%; width: 8px; height: 12px; border-radius: 2px; animation: burst 1.1s ease-out forwards }
@keyframes burst { from { transform: translate(-50%, 0) rotate(0) } to { transform: translate(var(--x), var(--y)) rotate(540deg); opacity: 0 } }
.reward-card.pop { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) }
@keyframes pop { 0% { transform: scale(1) } 40% { transform: scale(1.08) } 100% { transform: scale(1) } }
@media (prefers-reduced-motion: reduce) { .fc-confetti i, .reward-card.pop { animation: none } .fc-stamp, button.fcard { transition: none } }
@media (max-width: 479px) { .fc-title { font-size: 1rem } }
/* Every kind of family */
.fams { display: grid; gap: 12px }
.fam { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; align-content: start; border-top: 4px solid var(--plum) }
.fam b { font: 600 1.1rem/1.2 var(--display) }
.fam p { color: var(--muted); font-size: .95rem }
@media (min-width: 640px) { .fams { grid-template-columns: repeat(2, minmax(0, 1fr)) } .jobs-deck, .rewards-deck { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
@media (min-width: 820px) {
  .steps { gap: 40px }
  .fams { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .potbox { grid-template-columns: 160px 1fr }
  .pot-team { height: 140px }
}
.trio figure { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 6px 6px 8px; gap: 5px }
.trio .cost { justify-self: start; font: 800 .74rem/1 var(--body); color: var(--cost-ink); background: var(--chip); padding: 4px 7px; border-radius: 999px }
/* The timer that teaches the clock, star badges, app screenshots */
.timer-learn { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-top: 8px; align-items: start }
.timer-learn img { width: 132px; height: 132px; border-radius: 22px }
.timer-learn h3 { margin: 0 0 6px }
.timer-learn p { margin: 0 }
.badge-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end }
.badge-row figure { margin: 0; display: grid; gap: 4px; justify-items: center; min-width: 0; text-align: center }
.badge-row img { width: 100%; height: auto; border-radius: 14px }
.badge-row figcaption { font: 700 .9rem/1.2 var(--body); color: var(--night-ink) }
.badge-row figcaption span { display: block; font-weight: 600; font-size: .8rem; color: var(--night-muted) }
.appshot { width: min(300px, 78vw); height: auto; border-radius: 26px; border: 8px solid #1B1B22; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .55); justify-self: center }
.badges-two { display: grid; gap: 26px; align-items: start }
@media (max-width: 560px) { .badge-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px } .timer-learn { grid-template-columns: 96px 1fr; gap: 14px } .timer-learn img { width: 96px; height: 96px } }
@media (min-width: 900px) { .badges-two { grid-template-columns: 1fr 320px } .badges-two .appshot { justify-self: end } }
/* Weather and scene side by side; the two screens line up because both columns open with a heading and one line */
.sky-pair > .stack { align-content: start }
/* Heading, line, buttons and screen share rows across the two columns, so the screens stay level however the buttons wrap */
@media (min-width: 820px) { .sky-pair { grid-template-rows: repeat(5, auto); row-gap: 14px } .sky-pair > .stack { grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px } }
/* buttons keep their own size when their row is taller than they need (one row of weather beside two rows of scenes) */
.sky-pair .scenes { align-content: start } .sky-pair .chips-row { align-items: flex-start; align-content: flex-start }
.moon-row, .season-row { align-items: center }
.honest .disclaimer { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--chip); line-height: 1.5 }
/* The partner scan still (from the onboarding video) fills the space under "Become a partner" (owner, 21 Oct). */
.scan-still { margin: 18px 0 22px; max-width: 300px; display: grid; gap: 8px }
@media (min-width: 820px) { .scan-still { max-width: 272px; margin-bottom: 0 } }
.scan-still img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow) }
.faq { display: grid; gap: 10px }   /* full width, like every other row (owner, 9 Nov 2026: continuity) */
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px }
.faq summary { cursor: pointer; font: 700 1.08rem/1.35 var(--body); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--display); color: var(--gold-deep); flex: none }
.faq details[open] summary::after { content: "–" }
.faq details p { padding: 0 0 16px; color: var(--muted) }

/* Restructure (owner, 7 Nov 2026) */
.outcomes-strip { margin-top: 22px }
.chal { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) }
.chal figure, .screens3 figure { margin: 0; display: grid; gap: 10px; align-content: start }
/* Which screen? (19 Nov): every picture the same size, captions in line, the phone in a real phone frame */
.screens3 .sc-media { aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: #EFE4D2; display: grid; place-items: center }
.screens3 .sc-media > img { width: 100%; height: 100%; object-fit: cover; display: block }
.sc-phone { width: 88% }
.sc-phone .dev-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block }
.chal img, .price-pic img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block }
.chal figcaption, .screens3 figcaption { font-size: .98rem; line-height: 1.45 }
.screens3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) }
.screens3 figcaption b { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px }
.screens3 .phone.mini { max-width: 100%; margin: 0 }
.why-kids { display: flex; gap: 6px; align-items: flex-end }
.why-kids img { height: 150px; width: auto }
/* Two equal boxes side by side, the same width and height (owner, 9 Nov 2026: continuity) */
@media (min-width: 900px) { .price-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch } .price-row .plans, .price-row .plan { height: 100% } .price-row .plan { align-content: start } }
.price-row { display: grid; gap: 22px }
.price-pic { margin: 0; display: grid; gap: 10px; align-content: start; background: var(--bg); border: 2px solid var(--line); border-radius: var(--r); padding: 20px }
.price-pic figcaption { font-size: .95rem; color: var(--muted) }
.trial-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)) }
.trial-steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 4px; align-content: start }
.trial-steps b { font-family: var(--display); font-weight: 600; color: var(--plum) }
.trial-steps span { font-size: .92rem; line-height: 1.4 }
@media (max-width: 479px) { .trial-steps { grid-template-columns: 1fr } }
/* Try it (19 Nov 2026, round 4): the Echo Show on the left with the demo controls under it, the Famstarz parent app on
   the right in a phone. The app's screens are the app's own look, in try/app.css. On a phone: the Echo, then the app. */
.play-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start }
.fz-phone { justify-self: center; width: 100%; max-width: 414px; background: #17171C; border-radius: 46px; padding: 12px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
.fz-phone .phone-screen { position: relative; border-radius: 36px; height: 844px; overflow: hidden; background: #F3E3D3 }
/* Chris, 19 Nov 14:3x: the whole phone fits on screen without scrolling the page; the app still scrolls inside it */
.fz-phone { zoom: .72; align-self: start }
@media (max-height: 820px) { .fz-phone { zoom: .64 } }
@media (max-width: 700px) { .fz-phone { zoom: .7 } }
.fza-loading { margin: 0; padding: 80px 20px; text-align: center; color: #625F78; font-family: "Nunito", sans-serif }
.play-echo { gap: 14px; min-width: 0 }
.dev { margin: 0; display: grid; gap: 8px; min-width: 0 }
.dev figcaption { font: 700 .85rem/1.3 var(--body); color: var(--muted); text-align: center }
.dev-screen { position: relative; background: #000; overflow: hidden }
.dev-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000 }
.dev-echo .dev-screen { aspect-ratio: 16 / 10; border: 12px solid #17171C; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
/* The family screen's devices (19 Nov 2026): a phone on its side (844 x 390), an iPad on its side (1180 x 820) and an
   Echo Show (16:10). On a phone or iPad the app's own ✕ and 🎤 sit over the board, at the app's sizes for that screen. */
.dev-phone .dev-screen { aspect-ratio: 844 / 390; border: 10px solid #17171C; border-radius: 40px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
.dev-ipad .dev-screen { aspect-ratio: 1180 / 820; border: 18px solid #1D1D22; border-radius: 30px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
.dev-screen { container-type: size }
.dev-x, .dev-mic { position: absolute; display: grid; place-items: center; border-radius: 50%; pointer-events: none; line-height: 1 }
.dev-phone .dev-x { left: calc(10 / 844 * 100cqw); top: calc(10 / 390 * 100cqh); width: calc(34 / 390 * 100cqh); height: calc(34 / 390 * 100cqh);
  background: #FFFFFF22; color: #FFFFFFAA; font-size: calc(18 / 390 * 100cqh) }
.dev-phone .dev-mic { right: calc(14 / 844 * 100cqw); bottom: calc(14 / 390 * 100cqh); width: calc(58 / 390 * 100cqh); height: calc(58 / 390 * 100cqh);
  background: #FFFFFF2E; font-size: calc(26 / 390 * 100cqh) }
.dev-ipad .dev-x { left: calc(10 / 1180 * 100cqw); top: calc(10 / 820 * 100cqh); width: calc(34 / 820 * 100cqh); height: calc(34 / 820 * 100cqh);
  background: #FFFFFF22; color: #FFFFFFAA; font-size: calc(18 / 820 * 100cqh) }
.dev-ipad .dev-mic { right: calc(14 / 1180 * 100cqw); bottom: calc(14 / 820 * 100cqh); width: calc(58 / 820 * 100cqh); height: calc(58 / 820 * 100cqh);
  background: #FFFFFF2E; font-size: calc(26 / 820 * 100cqh) }
.dev-echo .dev-x, .dev-echo .dev-mic { display: none }
.dev-pick { justify-items: start }
/* the demo controls: plainly the website's, not part of either device */
.demo-bar { display: grid; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px dashed var(--line) }
.demo-label { font: 800 .75rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
/* every row the same (Chris, 19 Nov round 5): the name on its own line, the choices underneath */
.demo-row { display: grid; justify-items: start; gap: 6px }
.demo-name { font: 700 .9rem/1 var(--body); min-width: 6.5em }
.demo-seg { display: inline-flex; flex-wrap: wrap; padding: 3px; gap: 3px; border-radius: 22px; background: var(--chip) }
.demo-seg button { font: 800 .85rem/1 var(--body); border: 0; border-radius: 999px; padding: 9px 12px; min-height: 38px; background: transparent; color: var(--ink); cursor: pointer }
.demo-seg button[aria-pressed="true"] { background: var(--plum); color: var(--on-plum) }
.demo-again { justify-self: start; font: 700 .85rem/1 var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: transparent; color: var(--ink); cursor: pointer }
.play-said { margin: 0; min-height: 1.4em; font: 700 1rem/1.4 var(--body); color: var(--plum) }
.play-said:empty::before { content: "Tap a job on the family screen, or tick one in the app."; color: var(--muted); font-weight: 600 }
@media (min-width: 900px) {
  .play-grid { grid-template-columns: minmax(0, 1fr) 414px }
  .play-echo { position: sticky; top: 140px }
}
/* For schools */
.schools { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) }
.school-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 10px; align-content: start }
.school-card h3 { margin: 0 }
.school-card p { margin: 0 }
.school-card .cite { font-size: .8rem; color: var(--muted) }
.school-card .ticks { margin: 0; padding-left: 1.2em; display: grid; gap: 6px }
.schools-cta { display: grid; gap: 10px; justify-items: start }
.schools-cta p { margin: 0 }
@media (min-width: 820px) { .schools { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* The parent app's real screens, in a phone (Mia's day, Rewards, a reward's page) */
.app-shot { margin: 0; display: grid; gap: 10px; justify-items: center; align-content: start }
.app-phone { width: 100%; max-width: 290px; background: #17171C; border-radius: 40px; padding: 10px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
.app-phone img { display: block; width: 100%; height: auto; border-radius: 31px }
.app-shot figcaption { font: 700 .9rem/1.35 var(--body); color: var(--muted); text-align: center; max-width: 290px }
.app-pair { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: start }
/* a family-screen picture on a page (how it works, the reward bar) */
.board-shot { margin: 0; display: grid; gap: 8px }
.board-shot img { width: 100%; height: auto; display: block; border: 12px solid #17171C; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(20, 20, 40, .5) }
.board-shot figcaption { font: 700 .9rem/1.35 var(--body); color: var(--muted); text-align: center }
.more-link { font-weight: 800 }

/* the builder's right-hand column (19 Nov): age, what you can choose, then a compact row of how they're part of the day */
.build-side .fb-ages { margin: 0 }
.everywhere.compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.everywhere.compact figure { font-size: .8rem; line-height: 1.25 }
.everywhere.compact .pic { width: 100%; height: auto; aspect-ratio: 1 }
/* the family cards sit in the builder's right column on a wide screen, two to a row, so the two columns balance */
.fits-side .fams { grid-template-columns: repeat(2, minmax(0, 1fr)) }
@media (max-width: 899px) { .fits-side .fams { grid-template-columns: minmax(0, 1fr) } }
.fits-side .fams { gap: 8px }
.fits-side .fam { padding: 10px 12px; gap: 2px }
.fits-side .fam b { font-size: 1rem }
.fits-side .fam p { font-size: .85rem; line-height: 1.35 }

/* The home page's story beats (Chris, 28 Nov 2026): the words beside the real screen on a computer (alternating sides),
   the words then the picture on a phone. */
.beat { display: grid; gap: 22px; align-items: center }
.beat-words { gap: 12px }
.beat-pic { margin: 0; min-width: 0 }
.beat .app-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
@media (min-width: 820px) {
  .beat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px }
  .beat-flip > .beat-words { order: 2 }
}
.chal-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) }
.beat .app-pair { align-items: start }
.beat .app-phone img { aspect-ratio: 390 / 740; object-fit: cover; object-position: top }   /* both phones the same shape */
.echo .device-cap { color: #C9C8D8; padding: 0 4px }
