/* Layout: the toy-box wall holds the promise and the TV; a shelf of hand-labelled tapes sits
   under it; then one section per reason a family switches, each a plain reading column; the home-lab
   facts are set like the back of a tape box; the price is the cassette's sticker label. */
:root {
  --paper: #f3f7f6;
  --card: #ffffff;
  --ink: #241f33;
  --ink-soft: #595470;
  --line: rgba(36, 31, 51, 0.13);
  --wall: #1f8d8f;
  --wall-deep: #13686c;
  --plum: #322c46;
  --plum-deep: #1d1a29;
  --label: #fff1d6;
  --label-ink: #2b2538;
  --tab: #ff7a59;
  --tab-ink: #c2452a;
  --sun: #ffc43d;
  --leaf: #6fc46f;
  --sky: #5aaaeb;
  --cheek: #ff8ca0;
  --display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, system-ui, sans-serif;
  --marker: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(1.9rem, 1.2rem + 2.6vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.3rem + 4.6vw, 4.4rem);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16131e; --card: #211d2c; --ink: #f2ebdc; --ink-soft: #b1abc0; --line: rgba(242, 235, 220, 0.13);
    --wall: #166b6d; --wall-deep: #0e4b4e; --tab: #ff8a6b; --tab-ink: #ff9c81;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16131e; --card: #211d2c; --ink: #f2ebdc; --ink-soft: #b1abc0; --line: rgba(242, 235, 220, 0.13);
  --wall: #166b6d; --wall-deep: #0e4b4e; --tab: #ff8a6b; --tab-ink: #ff9c81;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font: var(--step-0)/1.6 var(--body); }
.wrap {
  max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* Hero: the toy-box wall */
.hero {
  color: #fff;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 196, 61, 0.28) 0 7px, transparent 8px),
    radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.22) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 88%, rgba(255, 140, 160, 0.3) 0 8px, transparent 9px),
    radial-gradient(circle at 34% 76%, rgba(140, 220, 255, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 55% 8%, rgba(255, 140, 120, 0.26) 0 6px, transparent 7px),
    radial-gradient(ellipse at 50% 45%, var(--wall) 0%, var(--wall-deep) 95%);
}
.hero .wrap { padding-block: 28px 48px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.brand span { font: 900 1.6rem/1 var(--display); letter-spacing: -0.01em; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; font-weight: 700; font-size: var(--step--1); }
.nav a { text-decoration: none; opacity: 0.92; }
.nav a:hover { text-decoration: underline; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; margin-top: 44px; }
.hero .kicker { font: 800 var(--step--1)/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-bottom: 14px; }
.hero h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.025em; }
.hero .lede { font-size: var(--step-1); line-height: 1.5; margin-top: 18px; max-width: 36ch; opacity: 0.96; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 13px 22px; font: 800 1rem/1 var(--display); text-decoration: none; border: 0; cursor: pointer; }
.btn-store { background: var(--plum-deep); color: #fff; }
.btn-store small { display: block; font: 500 0.72rem/1.2 var(--body); opacity: 0.8; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.price-note { margin-top: 16px; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.price-note .chip { background: var(--label); color: var(--label-ink); border-radius: 999px; padding: 4px 12px; font-size: var(--step--1); }

/* The TV: a drawn frame round a real screenshot (the Blender demo library, never studio films) */
.tv { margin: 0; max-width: 100%; }
.tv-frame { background: #0b0a10; border-radius: 18px; padding: 12px; box-shadow: 0 28px 60px rgba(0, 20, 25, 0.45); }
.screen { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 6px; background: #141219; overflow: hidden; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: #0b0a10; border-radius: 0 0 10px 10px; }
/* The demo shelf's drawn posters */
.p { aspect-ratio: 2 / 3; border-radius: 5px; position: relative; overflow: hidden; }
.p.locked { filter: grayscale(1) brightness(0.45); }
.lock { position: absolute; inset: 0; display: grid; place-items: center; }
.lock svg { width: 34%; height: auto; }
.a1 { background: radial-gradient(circle at 70% 30%, #ffc43d 0 18%, transparent 19%), linear-gradient(180deg, #5aaaeb 0 62%, #6fc46f 62%); }
.a2 { background: radial-gradient(ellipse at 50% 110%, #322c46 0 45%, transparent 46%), linear-gradient(160deg, #ff7a59, #ff8ca0); }
.a3 { background: radial-gradient(circle at 35% 40%, #fff1d6 0 14%, transparent 15%), radial-gradient(circle at 62% 58%, #fff1d6 0 9%, transparent 10%), linear-gradient(180deg, #1d3d6b, #322c46); }
.a4 { background: linear-gradient(135deg, transparent 0 48%, #ffc43d 48% 56%, transparent 56%), linear-gradient(180deg, #6fc46f, #2f8a55); }
.a5 { background: radial-gradient(circle at 50% 42%, #ff8ca0 0 22%, transparent 23%), linear-gradient(180deg, #fff1d6, #ffc43d); }
.a6 { background: radial-gradient(ellipse at 30% 100%, #13686c 0 40%, transparent 41%), radial-gradient(ellipse at 80% 100%, #1f8d8f 0 36%, transparent 37%), linear-gradient(180deg, #8fd0f5, #5aaaeb); }
.a7 { background: repeating-linear-gradient(90deg, #ff7a59 0 12%, #ffc43d 12% 24%, #6fc46f 24% 36%, #5aaaeb 36% 48%); }
.a8 { background: radial-gradient(circle at 50% 50%, #ffc43d 0 26%, #ff7a59 27% 34%, transparent 35%), #322c46; }

/* The shelf of tapes: hand-labelled spines, the page's one flourish */
.shelf { background: var(--plum-deep); border-top: 10px solid #4a3b2c; }
.shelf .wrap { padding-block: 22px 0; overflow: hidden; }
.spines { display: flex; gap: 6px; align-items: flex-end; justify-content: center; min-width: 0; }
.spine {
  flex: 0 0 auto; width: clamp(38px, 5.4vw, 54px); height: clamp(150px, 19vw, 200px); border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #2a2438, #3b3452 40%, #2a2438); position: relative;
  display: flex; justify-content: center; padding-block: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.spine:nth-child(3n) { height: clamp(140px, 18vw, 190px); }
.spine:nth-child(4n + 1) { background: linear-gradient(90deg, #191622, #262132 40%, #191622); }
.spine .lab {
  writing-mode: vertical-rl; transform: rotate(180deg); background: var(--label); color: #2b2538;
  font: 400 clamp(0.72rem, 1.25vw, 0.95rem)/1 var(--marker); padding: 10px 5px; border-radius: 3px;
  white-space: nowrap; overflow: hidden; max-height: 100%;
}
.spine .dot { position: absolute; bottom: 10px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.shelf-plank { height: 14px; background: linear-gradient(180deg, #6b5440, #4a3b2c); }
@media (max-width: 620px) { .spine:nth-child(n + 9) { display: none; } }

/* Sections */
section { padding-block: 76px; }
section + section { border-top: 1px solid var(--line); }
.eyebrow { font: 800 var(--step--1)/1 var(--display); text-transform: uppercase; letter-spacing: 0.1em; color: var(--tab-ink); margin-bottom: 12px; }
.intro { max-width: 60ch; color: var(--ink-soft); margin-top: 16px; font-size: var(--step-1); line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 14px; }
.points li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; background: var(--c, var(--sky)); }
.points b { display: block; font: 700 1.12rem/1.3 var(--display); margin-bottom: 4px; }
.points span { color: var(--ink-soft); }
.points b { color: var(--ink); }
.fine { font-size: var(--step--1); color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side h3 { display: flex; align-items: center; gap: 10px; }
.side h3 .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.side ul, .side ol { margin: 16px 0 0; padding-left: 1.1em; display: grid; gap: 10px; }
.side ol { padding-left: 1.4em; }
.side ol b { color: var(--ink); }

/* The back of the tape box: facts for the person who runs the server */
.caseback { margin-top: 36px; background: var(--plum-deep); color: var(--label); border-radius: 18px; overflow: hidden; font-family: var(--mono); font-size: 0.92rem; }
.caseback-head { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid rgba(255, 241, 214, 0.18); }
.caseback-head strong { font: 800 1.05rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges span { border: 1.5px solid rgba(255, 241, 214, 0.6); border-radius: 4px; padding: 2px 7px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; }
.caseback dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.caseback .row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; padding: 13px 22px; border-bottom: 1px solid rgba(255, 241, 214, 0.1); }
.caseback .row:nth-child(odd) { border-right: 1px solid rgba(255, 241, 214, 0.1); }
.caseback dt { color: var(--sun); font-weight: 600; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.08em; padding-top: 2px; }
.caseback dd { margin: 0; line-height: 1.5; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 900 1.25rem/1 var(--display); background: var(--plum); color: var(--label); }
.steps p { color: var(--ink-soft); }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.platform { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 16px; display: grid; gap: 2px; }
.platform b { font-family: var(--display); font-size: 1.1rem; }
.platform span { color: var(--ink-soft); font-size: var(--step--1); font-variant-numeric: tabular-nums; }

/* The price, as the tape's sticker label */
.label-card { margin-top: 36px; background: var(--label); color: var(--label-ink); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 76px minmax(0, 1fr); box-shadow: 0 18px 40px rgba(20, 15, 30, 0.18); }
.label-tab { background: var(--tab); }
.label-body { padding: 32px clamp(20px, 4vw, 44px) 36px; display: grid; gap: 22px; }
.stripes { display: grid; gap: 6px; max-width: 520px; }
.stripes span { height: 9px; border-radius: 9px; }
.stripes span:nth-child(1) { background: var(--sun); }
.stripes span:nth-child(2) { background: var(--leaf); }
.stripes span:nth-child(3) { background: var(--sky); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.price .big { font: 900 clamp(2.4rem, 1.6rem + 3vw, 3.6rem)/1 var(--display); letter-spacing: -0.02em; }
.price .then { font: 700 var(--step-2)/1.2 var(--display); }
.label-body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; max-width: 62ch; }
.label-body .small { font-size: var(--step--1); opacity: 0.8; max-width: 62ch; }

.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font: 700 1.08rem/1.4 var(--display); padding-block: 14px; }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; max-width: 65ch; }
.faq details p + p { margin-top: -6px; }

.policy { max-width: 68ch; display: grid; gap: 14px; margin-top: 24px; color: var(--ink-soft); }
.policy strong { color: var(--ink); }
.support-box { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.email { font: 700 var(--step-1)/1 var(--display); user-select: all; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.copy { background: var(--plum); color: var(--label); }
.copied { color: var(--ink-soft); font-size: var(--step--1); }

footer { background: var(--plum-deep); color: rgba(255, 241, 214, 0.8); font-size: var(--step--1); }
footer .wrap { padding-block: 32px 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer p { max-width: 60ch; }

/* Age ratings: the badges big, and a shelf that follows the limit you pick */
.bdg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.p .rb { position: absolute; top: 5%; right: 5%; width: 32%; z-index: 1; }
.ratings-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; margin-top: 36px; }
.demo { background: var(--plum-deep); color: var(--label); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.demo-label { font: 800 0.78rem/1.3 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); }
.limits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.limit { width: 62px; padding: 8px; border: 2px solid transparent; border-radius: 14px; background: transparent; cursor: pointer; }
.limit .rb { display: block; width: 42px; margin-inline: auto; }
.limit[aria-pressed="true"] { border-color: var(--sun); background: rgba(255, 196, 61, 0.12); }
.limit.over .rb { opacity: 0.35; }
.above-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.above { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 241, 214, 0.1); }
.above button { border: 0; border-radius: 999px; padding: 7px 14px; font: 700 0.85rem/1 var(--body); background: transparent; color: var(--label); cursor: pointer; }
.above button[aria-pressed="true"] { background: var(--label); color: var(--label-ink); }
.mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 20px; min-height: 120px; align-content: start; }
.demo-status { margin-top: 14px; min-height: 3em; font-size: var(--step--1); opacity: 0.92; }

/* From your phone: two real screenshots of Grown-ups, in drawn iPhones, the second a step lower */
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; max-width: 560px; margin-inline: auto; }
.phones .phone:nth-child(2) { margin-top: 56px; }
.phone { margin: 0; background: #0b0a10; border-radius: 34px; padding: 8px; box-shadow: 0 28px 60px rgba(20, 15, 30, 0.3); }
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }

/* A look inside: Apple TV screenshots, each in a thin TV frame with a caption */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery .tv-frame { padding: 7px; border-radius: 12px; box-shadow: 0 16px 36px rgba(20, 15, 30, 0.22); }
.gallery img { display: block; width: 100%; height: auto; border-radius: 6px; }
.gallery figcaption { margin-top: 14px; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
.gallery figcaption b { display: block; color: var(--ink); font: 700 var(--step-0)/1.3 var(--display); margin-bottom: 2px; }

@media (max-width: 860px) {
  .ratings-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-grid { margin-top: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .caseback dl { grid-template-columns: minmax(0, 1fr); }
  .caseback .row:nth-child(odd) { border-right: 0; }
  section { padding-block: 56px; }
}
@media (max-width: 480px) {
  .label-card { grid-template-columns: 22px minmax(0, 1fr); }
  .tv-frame { padding: 7px; border-radius: 12px; }
  .phones { gap: 12px; }
  .phones .phone:nth-child(2) { margin-top: 32px; }
  .phone { border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 20px; }
  .caseback .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* The waitlist: an email box and a button, on the wall in the hero and on the label further down */
.join { margin-top: 28px; max-width: 520px; }
.join-label { display: block; font: 800 var(--step--1)/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.join-row { display: flex; flex-wrap: wrap; gap: 10px; }
.join input[type=email] { flex: 1 1 220px; min-width: 0; border: 0; border-radius: 999px; padding: 14px 20px; font: 400 1rem/1.2 var(--body); background: #fff; color: #241f33; box-shadow: inset 0 0 0 2px rgba(36, 31, 51, 0.12); }
.join input[type=email]:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.join .btn { flex: 0 0 auto; }
.join-note { margin-top: 10px; font-size: var(--step--1); opacity: 0.9; }
.join-note a { color: inherit; }
.join-status { margin-top: 8px; min-height: 1.5em; font-weight: 700; }
.join.done .join-row { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.cta { background: var(--label); color: var(--label-ink); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.cta h2 { color: var(--label-ink); }
.cta .intro { color: var(--label-ink); opacity: 0.85; }
