:root {
  color-scheme: light;
  --ink: #182b36;
  --muted: #465761;
  --night: #111c29;
  --night-raised: #1b2b3a;
  --paper: #fcf8ee;
  --gold: #f9d88d;
  --ivory: #fff5df;
  --border: #c9c4b5;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-block-start: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .14em; }
button, audio { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ae6915; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6.6vw, 6.25rem); letter-spacing: -.056em; }
h2 { font-size: clamp(2.5rem, 5.3vw, 4.65rem); letter-spacing: -.053em; text-wrap: balance; }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); letter-spacing: -.038em; }
p { margin: 1rem 0 0; }
.wrap { width: min(100% - var(--gutter) * 2, 73rem); margin-inline: auto; }
.section-pad { padding-block: clamp(3.8rem, 9vw, 7rem); }
.eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lede { max-width: 46ch; font-size: clamp(1.04rem, 1.7vw, 1.24rem); color: var(--muted); }
.skip { position: absolute; z-index: 4; left: 1rem; top: .7rem; color: var(--night); background: white; padding: .7rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header, .site-footer { color: #f9efdc; background: var(--night); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.header-inner { min-height: 4.5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-weight: 730; text-decoration: none; }
.brand img { border-radius: .55rem; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: .35rem clamp(.8rem, 3vw, 2rem); flex-wrap: wrap; font-size: .91rem; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.header-inner nav a, .footer-inner nav a { display: inline-block; padding-block: .4rem; }
.footer-inner { min-height: 5rem; font-size: .89rem; flex-wrap: wrap; padding-block: 1rem; }
.footer-family { padding-block-start: clamp(2.5rem, 6vw, 4.5rem); }
.footer-family h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-wrap: initial; }
.footer-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 5vw, 4rem);
  margin-block: 1.5rem 1rem;
  padding: 0;
  list-style: none;
}
.footer-offers li { border-top: 1px solid #536171; }
.footer-offers a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: clamp(.7rem, 2vw, 1rem);
  align-items: center;
  min-height: 5.5rem;
  padding-block: .9rem;
  text-decoration: none;
}
.footer-offers img { border-radius: .7rem; object-fit: contain; }
.footer-logo-light { background: white; }
.footer-offers strong { display: block; font-size: 1.05rem; }
.footer-offers small { display: block; color: #d3dae0; font-size: .88rem; line-height: 1.45; }
.footer-offers a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.footer-arrow { color: var(--gold); }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-family + .footer-inner { border-top: 1px solid #536171; }
.footer-brand { font-size: 1rem; line-height: 1.25; }
.footer-brand small { display: block; margin-top: .2rem; color: #d3dae0; font-size: .78rem; font-weight: 400; }

.hero { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--ivory); }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; background: linear-gradient(90deg, #101c2a 0%, #101c2ae3 27%, #101c2a60 61%, #101c2a0a 100%), linear-gradient(0deg,#101c2a94,transparent 55%); }
.hero-inner { min-height: min(43rem, 85svh); display: flex; align-items: center; padding-block: clamp(4rem, 9vw, 8rem); }
.hero-copy { max-width: 43rem; }
.hero-copy p:not(.eyebrow) { max-width: 41ch; font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: #f4e9d8; }
.hero .eyebrow, .platforms .eyebrow { color: var(--gold); }
.hero-actions { display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; gap: 1.05rem; min-height: 3rem; padding: .65rem 1.15rem; text-decoration: none; font-weight: 720; border: 1px solid transparent; }
.button-gold { color: var(--night); background: var(--gold); }
.button-gold:hover { background: #ffe5ad; }
.underlined { font-weight: 650; }

.sample { background: #e8eee8; }
.sample-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: clamp(1.3rem, 4vw, 3.2rem); margin-top: 2rem; }
.scene-image { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.scene-controls h3 { margin: 0 0 .85rem; }
.scene-controls audio { display: block; width: 100%; height: 3.4rem; }
.voice-disclosure { display: block; margin-bottom: .35rem; color: var(--muted); }
.paths { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; align-items: center; }
.paths button { min-height: 2.85rem; padding: .5rem .85rem; background: transparent; color: var(--ink); border: 1px solid #9faeaa; font-weight: 630; }
.paths button:hover { border-color: var(--ink); background: #f4f7f3; }
.paths button[aria-pressed="true"] { background: #253e42; color: #fffdf6; border-color: #253e42; }
.paths .restart { text-decoration: underline; text-underline-offset: .2em; border-color: transparent; padding-left: 0; }
.transcript { margin-top: 1rem; }
.transcript summary, .questions summary { cursor: pointer; font-weight: 680; padding-block: .5rem; }
#scene-text { color: var(--muted); }

.stories { background: var(--paper); }
.story-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.1rem, 3vw, 2.4rem); margin-top: 2.2rem; }
.story-grid img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.story-grid h3 { margin-top: .35rem; font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
.story-grid p { color: var(--muted); }
.story-grid .story-meta { font-size: .82rem; font-weight: 700; min-height: 2.75em; line-height: 1.4; }

.app-view { background: #e6d9ba; }
.app-grid, .parents-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.app-grid > div:first-child > p:last-child { max-width: 48ch; }
.screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.55rem, 2.5vw, 1.4rem); align-items: start; }
.screen-pair img { width: 100%; height: auto; border: 4px solid #1b2530; border-radius: clamp(.65rem, 2.4vw, 1.55rem); box-shadow: 0 14px 32px #16233031; }
.screen-pair figcaption { margin-top: .5rem; font-size: .82rem; text-align: center; }

.parents { background: var(--paper); }
.parents-grid { align-items: start; }
.questions details { border-top: 1px solid var(--border); }
.questions details:last-child { border-bottom: 1px solid var(--border); }
.questions summary { padding-block: .85rem; }
.questions details p { margin: 0 0 1rem; color: var(--muted); }

.platforms { background: var(--night-raised); color: var(--ivory); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(2rem, 7vw, 6rem); margin-top: 2.3rem; }
.platform-grid article { border-top: 1px solid #657271; padding-top: 1.15rem; }
.platform-grid article > p:not(.platform-state) { max-width: 40ch; color: #e0ddd4; }
.platform-grid article > a { display: inline-block; margin-top: .75rem; }
.platform-state { margin: 0 0 .55rem; color: var(--gold); font-weight: 670; }

.document { width: min(100% - var(--gutter) * 2, 48rem); margin-inline: auto; padding-block: clamp(2.5rem, 8vw, 5.8rem); }
.document h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); }
.document h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); margin-top: 2.2rem; }
.document .eyebrow { margin-top: 2.2rem; }
.document address { margin-top: 1rem; font-style: normal; }
.document ul { margin-top: .75rem; padding-left: 1.35rem; }
.document li + li { margin-top: .45rem; }
.document a { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .hero-image { object-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, #101c2aed, #101c2aa0 51%, #101c2a26), linear-gradient(0deg,#101c2ac4,transparent 62%); }
  .story-grid .story-meta { min-height: 0; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: .75rem .45rem; gap: .35rem; }
  .header-inner nav { gap: .2rem 1.5rem; }
  .hero-inner { min-height: 0; padding-block: clamp(12.5rem, 57vw, 18rem) 2.6rem; }
  .hero-image { object-position: 62% 15%; height: 72%; }
  .hero::after { background: linear-gradient(0deg, #101c2a 23%, #101c2ae9 37%, #101c2a38 78%, #101c2a00 100%); }
  .sample-grid, .story-grid, .app-grid, .parents-grid, .platform-grid { grid-template-columns: 1fr; }
  .screen-pair { max-width: 29rem; }
  .story-grid { gap: 2.2rem; }
  .footer-offers { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .paths button { transition: background-color .18s ease, color .18s ease; }
  .hero-copy { animation: enter .5s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
}
