/* Self-hosted font licences: /assets/fonts/Fraunces-OFL.txt and /assets/fonts/DM-Sans-OFL.txt. */
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f7f4ef;
  --ink: #22283c;
  --muted: #454c68;
  --accent: #916019;
  --amber: #e8a13b;
  --midnight: #101830;
  --moon: #f5e7c8;
  --night-muted: #bfc9e6;
  --line: #e6dfcb;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #d8a94f;
  outline-offset: 5px;
}
::selection {
  background: #f5d79f;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 20;
  left: 20px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 10px 20px;
}
.skip-link:focus {
  top: 16px;
}
/* One drawing language for every pictogram, independent of font rendering. */
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}
.icon-constellation {
  width: calc(1em * 64 / 24); /* Preserve the constellation viewBox ratio. */
}
.benefit-art {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.benefit-art-adventure {
  padding: 3px;
}

/* Navigation and type */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
  gap: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -1.2px;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-dot {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 8px;
  padding: 16px 25px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-icon {
  font-size: 22px;
  line-height: 1;
}
.button-small {
  min-height: 45px;
  padding: 10px 18px;
  font-size: 12px;
  gap: 20px;
}
.button-outline {
  border-color: #a9abb8;
  background: transparent;
}
.button-outline:hover {
  background: #eee8da;
}
.button-amber {
  color: #2e2107;
  background: var(--amber);
  box-shadow: 0 4px 0 #b4761f20;
}
.button-amber:hover {
  background: #f0b64f;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 17px;
  align-items: center;
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link span {
  font-size: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.75px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 23px;
}
.eyebrow > span {
  color: var(--accent);
  font-size: 15px;
  margin-right: 8px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}
h1 {
  font-size: clamp(65px, 6.35vw, 89px);
  line-height: 1.06;
  letter-spacing: -4.5px;
  margin-bottom: 26px;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--accent);
}
h1 em {
  position: relative;
}
h1 em:after {
  content: "";
  position: absolute;
  height: 7px;
  bottom: -6px;
  left: 0;
  right: 4px;
  border-radius: 50%;
  border-top: 2px solid #d8a94f;
  transform: rotate(-2deg);
}
h2 {
  font-size: 48px;
  line-height: 1.17;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}
/* The page scroll drives one reversible scene; without JS it is fully open. */
.header-night,
.hero-section {
  background: var(--midnight);
  color: var(--moon);
}
.header-night .button-outline {
  border-color: #7982a0;
  color: var(--moon);
}
.header-night .button-outline:hover {
  background: #263354;
}
.hero-section {
  position: relative;
}
.hero {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  min-height: 680px;
  padding-block: 20px 65px;
}
.hero-copy {
  min-width: 0;
  z-index: 2;
  padding-bottom: 6px;
}
.hero-description {
  font-size: 16px;
  color: var(--night-muted);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 29px;
}
.hero-lead {
  display: block;
  margin-bottom: 5px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}
.hero-footnote {
  font-size: 12px;
  color: var(--night-muted);
  margin: 22px 0 0;
}
.tiny-heart {
  color: var(--amber);
  font-size: 20px;
  vertical-align: -2px;
  margin-right: 6px;
}
.hero h1 em,
.hero .eyebrow > span {
  color: var(--amber);
}
.hero h1 em:after {
  border-color: var(--amber);
  opacity: 0.6;
}
.hero .eyebrow {
  color: var(--night-muted);
}

.scene-scroll-track {
  min-width: 0;
}
.hero-art {
  position: relative;
  margin-left: -10px;
}
.scene {
  --open: 1;
  --owl: 1;
  --dragon: 1;
  --triceratops: 1;
  --fox: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  isolation: isolate;
}
.scene-halo {
  position: absolute;
  inset: 9% 3% 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e8a13b15, transparent 65%);
  z-index: -1;
}
.portal-art {
  display: block;
  width: 88%;
  height: 88%;
  position: absolute;
  left: 6%;
  top: 5%;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px #04081560);
}
.doorway {
  position: absolute;
  left: 34.5%;
  top: 18.5%;
  width: 31.8%;
  height: 61.4%;
  perspective: 1100px;
  perspective-origin: 50% 45%;
}
.door-leaf {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 2px 2px / 27% 27% 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 18%,
      #050d231f 18.5%,
      #7886a21f 19%,
      transparent 20%
    ),
    linear-gradient(95deg, #426892, #779bc0 48%, #4f75a0);
  box-shadow:
    inset 5px 2px 10px #f5e7c840,
    inset -5px -2px 8px #23395450,
    3px 0 0 #2c4f77;
  transform-origin: 0 50%;
  transform: rotateY(calc(-108deg * var(--open)));
  transform-style: preserve-3d;
}
.door-leaf > * {
  backface-visibility: hidden;
}
.door-back {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(95deg, #3d628c, #6688af);
  transform: translateZ(-6px) rotateY(180deg);
  box-shadow: inset 0 0 0 5px #54628340;
}
.door-leaf:after {
  content: "";
  position: absolute;
  top: 27%;
  bottom: 0;
  right: 0;
  width: 6px;
  background: #365b83;
  transform-origin: right;
  transform: rotateY(-90deg);
}
.door-inlay {
  position: absolute;
  inset: 6% 9% 5%;
  border: 2px solid #f3d38dcc;
  box-shadow:
    0 0 0 3px #07132930,
    inset 0 0 10px #07132920;
  border-radius: 50% 50% 3px 3px / 25% 25% 0 0;
  transform: translateZ(1px);
}
.door-star {
  position: absolute;
  top: 28%;
  left: 40%;
  color: var(--moon);
  font-size: 38px;
  filter: drop-shadow(0 0 5px #e8a13b);
  transform: translateZ(2px);
}
.door-knob {
  position: absolute;
  right: 12%;
  top: 62%;
  width: 13px;
  height: 13px;
  background: radial-gradient(circle at 35% 30%, #fff0a5, #d4a34e 50%, #865322);
  border-radius: 50%;
  box-shadow: 1px 3px 3px #04081570;
  transform: translateZ(7px);
}
.door-hinge {
  position: absolute;
  left: 0;
  width: 17%;
  height: 5px;
  background: #ba9554;
  border-radius: 0 3px 3px 0;
  transform: translateZ(2px);
}
.hinge-top {
  top: 42%;
}
.hinge-bottom {
  top: 83%;
}
.door-light {
  position: absolute;
  inset: -7% -25%;
  background: radial-gradient(ellipse, #ffe6a560, transparent 65%);
  opacity: var(--open);
  pointer-events: none;
}
.door-shadow {
  position: absolute;
  left: 0;
  bottom: -4%;
  width: 90%;
  height: 12%;
  border-radius: 50%;
  background: #04061160;
  filter: blur(7px);
  transform-origin: left;
  transform: translateX(calc(-48% * var(--open))) skewX(-28deg)
    scaleX(calc(1 + var(--open)));
  opacity: var(--open);
}
.scene-star {
  position: absolute;
  color: var(--amber);
}
.star-one {
  top: 9%;
  left: 14%;
  font-size: 27px;
  transform: rotate(10deg);
}
.star-two {
  top: 15%;
  right: 6%;
  font-size: 43px;
}
.star-three {
  top: 59%;
  left: 5%;
  font-size: 16px;
}

.creature {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 12px 9px #05091640);
}
.dragon {
  width: 34%;
  height: 34%;
  left: 65%;
  top: 14%;
  opacity: var(--dragon);
  transform: translate(
      calc(-95% * (1 - var(--dragon))),
      calc(75% * (1 - var(--dragon)))
    )
    scale(calc(0.12 + 0.88 * var(--dragon)))
    rotate(calc(-20deg + 29deg * var(--dragon)));
}
.owl {
  width: 28%;
  height: 28%;
  left: 5%;
  top: 12%;
  opacity: var(--owl);
  transform: translate(
      calc(115% * (1 - var(--owl))),
      calc(100% * (1 - var(--owl)))
    )
    scale(calc(0.1 + 0.9 * var(--owl))) rotate(calc(12deg - 24deg * var(--owl)));
}
.triceratops {
  width: 39%;
  height: 39%;
  left: 3%;
  top: 62%;
  opacity: var(--triceratops);
  transform: translate(
      calc(78% * (1 - var(--triceratops))),
      calc(-45% * (1 - var(--triceratops)))
    )
    scale(calc(0.1 + 0.9 * var(--triceratops))) rotate(-5deg);
}
.fox {
  width: 32%;
  height: 32%;
  left: 65%;
  top: 64%;
  opacity: var(--fox);
  transform: translate(
      calc(-95% * (1 - var(--fox))),
      calc(-50% * (1 - var(--fox)))
    )
    scale(calc(0.1 + 0.9 * var(--fox))) rotate(6deg);
}
.magic-spark {
  position: absolute;
  color: var(--amber);
  z-index: 6;
  opacity: var(--fox);
  transform: scale(var(--fox));
}
.spark-a {
  top: 45%;
  right: 3%;
  font-size: 23px;
}
.spark-b {
  top: 8%;
  right: 27%;
  font-size: 27px;
}
.spark-c {
  top: 70%;
  right: 5%;
  font-size: 17px;
}
.spark-d {
  top: 57%;
  left: 17%;
  font-size: 21px;
}
.hello-note {
  position: absolute;
  top: 1%;
  right: 20%;
  font-family: var(--serif);
  font-size: 17px;
  transform: rotate(7deg);
  opacity: var(--fox);
}

/* Product story */
.wonder-strip {
  border-block: 1px solid var(--line);
  background: #f0eee6;
}
.wonder-strip > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
}
.wonder-strip .wrap > span {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-space {
  padding-block: 103px;
}
.section-heading {
  text-align: center;
}
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.section-heading p:last-child {
  color: var(--muted);
  font-size: 14px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  max-width: 1060px;
  margin: 47px auto 0;
}
.step {
  text-align: center;
}
.step > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 280px;
  margin: 0 auto;
}
.step h3 {
  margin: 24px 0 12px;
}
.step-visual {
  height: 190px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.step-number {
  position: absolute;
  bottom: 0;
  left: calc(50% - 15px);
  width: 30px;
  height: 30px;
  background: var(--paper);
  border: 1px solid #d6cbb5;
  font-size: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.portrait {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 17px;
  justify-items: center;
  align-items: center;
  position: absolute;
  width: 90px;
  height: 110px;
  background: #e6d9bc;
  border: 6px solid #fffdf5;
  border-radius: 0;
  box-shadow: 0 3px 6px #25483414;
  transform: rotate(-12deg);
  left: calc(50% - 94px);
  top: 15px;
  overflow: hidden;
  color: #785235;
}
.portrait-owl {
  left: calc(50% + 4px);
  transform: rotate(12deg);
  background: #dbe0eb;
  color: #4b6654;
}
.portrait > img {
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.portrait > span {
  width: 100%;
  font: 600 10px/1.2 var(--sans);
  letter-spacing: 0.25px;
  white-space: nowrap;
  text-align: center;
  align-self: center;
}
.thought-bubble {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 24px;
}
.thought-bubble > img {
  display: block;
  width: 100%;
  height: 100%;
}
.thought-bubble > span {
  position: absolute;
  inset: 22% 10% 32%;
  display: grid;
  place-content: center;
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.3;
  text-align: center;
}
.step-together-art {
  display: block;
  width: 156px;
  height: 156px;
  object-fit: contain;
  margin-bottom: 28px;
}
.story-section {
  background: #eee8da;
  overflow: hidden;
}
.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 100px;
  align-items: center;
}
.story-copy {
  padding-left: 20px;
}
.story-copy h2 {
  font-size: 45px;
}
.story-copy > p:not(.eyebrow):not(.sample-note) {
  color: #454c68;
  font-size: 14px;
  max-width: 340px;
}
.storybook {
  min-width: 0;
  max-width: 100%;
  position: relative;
  display: flex;
  aspect-ratio: 1.46;
  transform: rotate(-5deg);
  filter: drop-shadow(2px 16px 13px #2d44332b);
  width: 95%;
}
.book-page {
  min-width: 0;
  width: 50%;
  position: relative;
  border: 1px solid #c5c6ad;
  border-bottom: 6px solid #d0cdb7;
}
.book-illustration {
  background: radial-gradient(ellipse at 60% 36%, #495c82, #182645 78%);
  border-radius: 12px 0 0 7px;
  overflow: hidden;
  box-shadow: inset -10px 0 20px #122f3530;
}
.book-illustration > img {
  width: 110%;
  height: 92%;
  object-fit: contain;
  position: absolute;
  top: 12%;
  left: -5%;
  filter: drop-shadow(0 10px 5px #122b3520);
}
.book-moon {
  position: absolute;
  font-size: 100px;
  right: 20px;
  top: -2%;
  color: #ead297;
  transform: rotate(-20deg);
}
.book-stars {
  position: absolute;
  color: #e9db9e;
  top: 13%;
  left: 10%;
  font-size: 24px;
}
.book-words {
  background: linear-gradient(90deg, #ded8bf, #fffbef 12%, #faf5e6);
  border-radius: 0 12px 7px 0;
  padding: 14% 6% 6%;
  text-align: center;
}
.book-chapter {
  font-size: 7px;
  letter-spacing: 2px;
  margin-bottom: 17px;
}
.book-words h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.3;
  margin-bottom: 17px;
}
.book-words > p:not(.book-chapter) {
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 1.8;
}
.book-words .book-ending {
  font-size: 10px !important;
  font-style: italic;
  margin-top: 18px;
  color: #636779;
}
.book-page-number {
  position: absolute;
  bottom: 10px;
  left: 50%;
  font-size: 9px;
  opacity: 0.65;
}
.book-illustration .book-page-number {
  color: #fff3cc;
}
.story-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 19px;
}
.story-choices button {
  border: 1px solid #a9abb8;
  padding: 9px 13px;
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  min-height: 44px;
}
.story-choices button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sample-note {
  font-size: 10px;
  color: #636779;
  line-height: 1.65;
  margin-bottom: 0;
}
.parents-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}
.parents-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 350px;
}
.parents-copy .text-link {
  margin-top: 5px;
}
.questions details {
  border-bottom: 1px solid var(--line);
  padding-block: 21px;
}
.questions details:first-child {
  padding-top: 0;
}
.questions summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 33px;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions .disclosure-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: transform 0.2s;
}
.questions details[open] .disclosure-icon {
  transform: rotate(180deg);
}
.questions details > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  padding-right: 25px;
  margin: 13px 0 0;
}
.join-section {
  text-align: center;
  background: #efe6d4;
  border-radius: 18px;
  padding: 70px 24px 53px;
  position: relative;
  overflow: hidden;
}
.join-section h2 {
  font-size: 53px;
}
.join-section > p:not(.eyebrow) {
  font-size: 14px;
  color: #454c68;
}
.join-section .eyebrow {
  font-size: 9px;
  margin-bottom: 17px;
}
.join-decoration {
  position: absolute;
  left: 7%;
  top: 19%;
  font-size: 90px;
  color: #b18b50;
  transform: rotate(12deg);
}
.join-spark {
  position: absolute;
  right: 9%;
  bottom: 18%;
  font-size: 47px;
  color: #ba9967;
  transform: rotate(12deg);
}
.join-form {
  max-width: 515px;
  margin: 30px auto 0;
  position: relative;
  z-index: 1;
}
.email-row {
  display: flex;
  gap: 9px;
}
.email-row > input {
  min-width: 0;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #c4c3ae;
  background: #fffcf5;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 16px;
}
.email-row > input::placeholder {
  color: #6f6b60;
}
.email-row .button {
  flex-shrink: 0;
  gap: 24px;
}
.consent {
  display: flex;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  color: #454c68;
  margin-top: 15px;
  align-items: flex-start;
}
.consent input {
  margin: calc((1.5em - 18px) / 2) 0 0;
  font: inherit;
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.join-status {
  font-size: 13px;
  min-height: 22px;
  margin: 10px 0 0;
}
.join-status.is-error {
  color: #a33420;
}
.join-section .join-footnote {
  font-size: 10px !important;
  margin: 11px 0 0;
}
.site-footer {
  padding-block: 50px 28px;
}
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-top {
  padding-bottom: 29px;
  border-bottom: 1px solid var(--line);
}
.footer-top .wordmark {
  font-size: 25px;
}
.footer-top > p {
  font-family: var(--serif);
  font-size: 16px;
  margin: 0;
}
.footer-top > a:last-child {
  font-size: 12px;
  text-decoration: none;
}
.footer-bottom {
  padding-top: 20px;
  font-size: 10px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom nav {
  display: flex;
  gap: 25px;
}
.footer-bottom nav a {
  text-decoration: none;
}
.operator {
  font-size: 9px;
  color: #62687c;
  line-height: 1.7;
  margin: 19px 0 0;
}
/* Responsive composition */
@media (min-width: 1550px) {
  .hero {
    min-height: 750px;
  }
  .hero-art {
    margin-right: -25px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header nav {
    gap: 18px;
  }
  .wordmark {
    font-size: 27px;
  }
  .hero {
    min-height: 610px;
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .hero h1 {
    font-size: 68px;
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero-actions {
    gap: 17px;
  }

  .hero-art {
    margin-right: -20px;
  }

  .hello-note {
    font-size: 14px;
  }
  .steps {
    gap: 30px;
  }
  .story-inner {
    gap: 16px;
    padding-block: 75px;
  }
  .story-copy {
    padding-left: 0;
  }
  .story-copy h2 {
    font-size: 38px;
  }
  .storybook {
    min-width: 0;
    max-width: 100%;
    width: 98%;
  }
  .book-words {
    padding: 11% 4% 5%;
  }
  .book-words > p:not(.book-chapter) {
    font-size: 10px;
  }
  .book-words h3 {
    font-size: 20px;
  }
  .book-words .book-ending {
    font-size: 9px !important;
  }
  .parents-section {
    gap: 60px;
  }
  h2 {
    font-size: 43px;
  }
  .section-space {
    padding-block: 80px;
  }
  .join-section h2 {
    font-size: 47px;
  }
}
@media (max-width: 800px) {
  .site-header nav {
    display: none;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 25px;
    padding-bottom: 33px;
    gap: 12px;
    text-align: center;
  }
  .hero h1 {
    font-size: 72px;
    letter-spacing: -3.5px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
    margin-inline: auto;
    text-wrap: pretty;
  }
  .hero-actions {
    justify-content: center;
    gap: 25px;
  }
  .hero-footnote {
    margin-top: 15px;
  }
  .hero-art {
    width: min(550px, 100%);
    justify-self: center;
    margin: 0;
  }
  .scene {
    margin-top: -2px;
  }

  .wonder-strip > .wrap {
    gap: 18px;
  }
  .wonder-strip .wrap > span {
    font-size: 12px;
    gap: 10px;
  }
  .wonder-strip .benefit-art {
    width: 62px;
    height: 62px;
  }
  .section-space {
    padding-block: 64px;
  }
  .steps {
    gap: 22px;
    margin-top: 30px;
  }
  .step h3 {
    font-size: 20px;
  }
  .step > p {
    font-size: 12px;
  }
  .story-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-block: 65px;
  }
  .storybook {
    min-width: 0;
    max-width: 100%;
    width: min(540px, 90%);
    justify-self: center;
  }
  .book-words {
    padding: 13% 6% 6%;
  }
  .book-words h3 {
    font-size: 24px;
  }
  .book-words > p:not(.book-chapter) {
    font-size: 12px;
  }
  .story-copy {
    text-align: center;
  }
  .story-copy > p:not(.eyebrow):not(.sample-note) {
    margin-inline: auto;
    max-width: 390px;
  }
  .story-choices {
    justify-content: center;
  }
  .parents-section {
    gap: 40px;
    grid-template-columns: 1fr;
  }
  .parents-copy {
    text-align: center;
  }
  .parents-copy > p:not(.eyebrow) {
    margin-inline: auto;
    max-width: 380px;
  }
  .questions {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .join-decoration {
    font-size: 65px;
    left: 1%;
    top: 8%;
  }
  .join-spark {
    font-size: 28px;
    right: 4%;
    bottom: 8%;
  }
  .footer-top > p {
    font-size: 13px;
  }
  .footer-top .wordmark {
    font-size: 23px;
  }
}
/* Keep all three illustrations legible before the columns become cramped. */
@media (max-width: 680px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step {
    max-width: 320px;
    width: 100%;
    margin-inline: auto;
  }
  .thought-bubble > span {
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .site-header .wordmark {
    font-size: 25px;
    gap: 5px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .site-header .button {
    padding: 9px 12px;
    gap: 8px;
    font-size: 10px;
    min-height: 44px;
  }
  .wordmark-dot {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(50px, 16.2vw, 63px);
    letter-spacing: -3px;
    line-height: 1.08;
  }
  .hero .eyebrow {
    font-size: 7.7px;
    letter-spacing: 1.15px;
    white-space: nowrap;
    margin-bottom: 18px;
  }
  .hero .eyebrow > span {
    font-size: 11px;
    margin-right: 3px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.85;
  }
  .hero-actions {
    gap: 20px;
  }

  .hero-actions .text-link {
    font-size: 11px;
    gap: 10px;
  }
  .hero-footnote {
    font-size: 9px;
  }
  .hero-art {
    width: calc(100% + 12px);
  }
  .door-star {
    font-size: 23px;
  }
  .door-knob {
    width: 9px;
    height: 9px;
  }
  .door-inlay {
    border-width: 1px;
  }
  .door-hinge {
    height: 3px;
  }
  .star-one {
    font-size: 22px;
  }
  .star-two {
    font-size: 36px;
  }
  .star-three {
    font-size: 15px;
  }

  .hello-note {
    font-size: 13px;
  }
  .wonder-strip > .wrap {
    display: grid;
    justify-content: center;
    gap: 12px;
    padding-block: 22px;
  }
  .wonder-strip .wrap > span {
    font-size: 13px;
    line-height: 1.4;
    gap: 14px;
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .section-heading .eyebrow,
  .parents-copy .eyebrow,
  .story-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .section-heading p:last-child {
    font-size: 12px;
    max-width: 260px;
    margin-inline: auto;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 27px;
  }
  .step h3 {
    margin-top: 18px;
    font-size: 22px;
  }
  .step > p {
    max-width: 280px;
    font-size: 13px;
  }
  .step {
    max-width: 320px;
    margin: auto;
    width: 100%;
  }
  .storybook {
    min-width: 0;
    max-width: 100%;
    width: 99%;
    aspect-ratio: 1.05;
    min-height: 340px;
    transform: rotate(-4deg);
  }
  .book-words {
    padding: 12% 4% 4%;
  }
  .book-chapter {
    font-size: 6px;
    margin-bottom: 12px;
  }
  .book-words h3 {
    font-size: 16px;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
  }
  .book-words > p:not(.book-chapter) {
    font-size: 11px;
    line-height: 1.7;
  }
  .book-words .book-ending {
    font-size: 10px !important;
    margin-top: 12px;
  }
  .book-moon {
    font-size: 70px;
  }
  .book-stars {
    font-size: 17px;
  }
  .story-inner {
    gap: 44px;
  }
  .story-copy h2 {
    font-size: 36px;
  }
  .story-copy > p:not(.eyebrow):not(.sample-note) {
    font-size: 13px;
    max-width: 290px;
  }
  .parents-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .questions summary {
    font-size: 13px;
    gap: 10px;
  }
  .questions details > p {
    font-size: 12px;
    padding-right: 17px;
  }
  .join-section {
    padding: 56px 22px 38px;
    border-radius: 12px;
  }
  .join-section h2 {
    font-size: 37px;
    max-width: 250px;
    margin-inline: auto;
  }
  .join-section .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    max-width: 230px;
    margin-inline: auto;
  }
  .join-section > p:not(.eyebrow) {
    font-size: 12px;
  }
  .join-decoration {
    font-size: 43px;
    left: 4%;
    top: 20%;
  }
  .join-spark {
    display: none;
  }
  .email-row {
    flex-direction: column;
  }
  .email-row input {
    min-height: 52px;
  }
  .email-row .button {
    min-height: 51px;
  }
  .consent {
    font-size: 12px;
  }
  .join-form {
    margin-top: 25px;
  }
  .desktop-break {
    display: none;
  }
  .hero .desktop-break {
    display: block;
  }
  .footer-top {
    flex-wrap: wrap;
    row-gap: 12px;
    padding-bottom: 23px;
  }
  .footer-top > p {
    order: 3;
    width: 100%;
    font-size: 13px;
  }
  .footer-bottom {
    align-items: flex-start;
    font-size: 9px;
    gap: 10px;
  }
  .footer-bottom nav {
    gap: 13px;
  }
  .operator {
    font-size: 8px;
  }
  .site-footer {
    padding-top: 37px;
  }
  .section-space {
    padding-block: 59px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover {
    transform: none;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 8px;
  }
  .site-header .wordmark {
    font-size: 21px;
  }
  .site-header .brand-mark {
    width: 30px;
    height: 30px;
  }
  .site-header .button {
    padding-inline: 8px;
    font-size: 9px;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .storybook {
    min-height: 380px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.3px;
  }
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Scroll staging is only present when enhancement is available. */
.js-ready .hero-section {
  height: calc(min(100svh, 900px) + 420px);
}
.js-ready .hero {
  position: sticky;
  top: 0;
  height: min(100svh, 900px);
  min-height: 0;
  padding-block: 24px 45px;
}
.js-ready .hero-art {
  width: min(100%, calc(100svh - 100px));
  margin-inline: auto;
}
.app-section {
  background: #101830;
  color: #f5e7c8;
  overflow: hidden;
}
.app-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  padding-block: 100px 90px;
  align-items: center;
}
.app-copy h2 em {
  color: var(--amber);
}
.app-copy > p:not(.eyebrow) {
  max-width: 395px;
  color: var(--night-muted);
  font-size: 15px;
  line-height: 1.85;
}
.app-copy .eyebrow {
  color: var(--night-muted);
}
.app-details {
  padding: 0;
  margin: 30px 0;
  list-style: none;
  display: grid;
  gap: 22px;
}
.app-details li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.app-details .benefit-art {
  width: 64px;
  height: 64px;
}
.app-details strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.app-details div > span {
  display: block;
  color: var(--night-muted);
  font-size: 12px;
  margin-top: 3px;
}
.app-copy .button {
  font-size: 13px;
}
.phone-world {
  position: relative;
  width: min(520px, 100%);
  height: 720px;
  justify-self: center;
  margin: 0;
  isolation: isolate;
}
.phone-orbit {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid #e8a13b35;
  border-radius: 50%;
  left: 3%;
  top: 11%;
  transform: rotate(-20deg) scaleY(0.7);
}
.phone {
  width: 47%;
  position: absolute;
  padding: 8px 7px 17px;
  border-radius: 35px;
  border: 1px solid #8490a9;
  background: linear-gradient(
    130deg,
    #354057,
    #080e1d 20%,
    #172138 90%,
    #798093
  );
  box-shadow:
    0 25px 45px #00000060,
    inset 0 0 0 3px #080e1d;
}
.phone:after {
  content: "";
  position: absolute;
  bottom: 7px;
  height: 3px;
  width: 25%;
  left: 37.5%;
  border-radius: 8px;
  background: #8a91a4;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.phone-camera {
  position: absolute;
  top: 13px;
  width: 25%;
  height: 8px;
  background: #030611;
  border-radius: 9px;
  left: 37.5%;
}
.phone-camera:after {
  content: "";
  position: absolute;
  right: 5px;
  top: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #354e6e;
}
.phone-library {
  top: 25px;
  left: 1%;
  transform: perspective(1400px) rotateY(12deg) rotate(-11deg);
}
.phone-feature {
  top: 86px;
  right: 0;
  transform: perspective(1400px) rotateY(-12deg) rotate(8deg);
  z-index: 2;
}
.phone-owl {
  position: absolute;
  width: 28%;
  height: 28%;
  object-fit: contain;
  left: 30%;
  top: -25px;
  z-index: 3;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 10px #00000040);
}
.phone-star {
  position: absolute;
  color: var(--amber);
}
.phone-star-one {
  right: 0;
  top: 5px;
  font-size: 40px;
}
.phone-star-two {
  left: -2%;
  bottom: 80px;
  font-size: 60px;
}
.phone-world figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--night-muted);
}
.app-screen-choices {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}
.app-screen-choices button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #7784a2;
  border-radius: 99px;
  background: #1e2a47;
  color: var(--moon);
  font-size: 11px;
}
.app-screen-choices button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--moon);
  color: var(--ink);
}
@media (min-width: 801px) and (max-height: 760px) {
  .hero h1 {
    font-size: clamp(46px, 9svh, 70px);
  }
  .hero .eyebrow {
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
@media (max-width: 1100px) {
  .app-inner {
    gap: 36px;
    padding-block: 80px;
  }
  .phone-world {
    height: 640px;
  }
  .app-copy h2 {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  .js-ready .hero-section {
    height: auto;
  }
  .js-ready .hero {
    position: relative;
    height: auto;
    min-height: 0;
    padding-bottom: 0;
    display: block;
  }
  .hero-copy {
    padding-bottom: 25px;
  }
  .js-ready .scene-scroll-track {
    height: calc(min(550px, 100vw - 40px) + 430px);
  }
  .js-ready .hero-art {
    position: sticky;
    top: max(24px, calc((100svh - min(550px, 100vw - 40px)) / 2 - 35px));
    width: min(550px, 100%);
    margin: 0 auto;
  }

  .app-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 70px;
  }
  .app-copy {
    text-align: center;
  }
  .app-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }
  .app-details {
    max-width: 370px;
    margin: 30px auto;
    text-align: left;
  }
  .phone-world {
    width: min(450px, 100%);
    height: 640px;
    margin: 10px auto 0;
  }
}
@media (max-width: 520px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .hero .eyebrow {
    white-space: normal;
    font-size: 9px;
  }
  .hero-description {
    max-width: 340px;
    margin-inline: auto;
    font-size: 14px;
  }
  .hello-note {
    font-size: 12px;
  }
  .phone-world {
    height: calc(100vw * 1.18 + 100px);
  }
  .phone {
    border-radius: 25px;
    padding: 6px 5px 13px;
  }
  .phone-camera {
    top: 9px;
    height: 6px;
  }
  .phone-library {
    left: 3%;
    transform: perspective(1400px) rotateY(12deg) rotate(-7deg);
  }
  .phone-feature {
    top: 65px;
    transform: perspective(1400px) rotateY(-12deg) rotate(6deg);
  }
  .phone-owl {
    top: -27px;
  }
  .phone-world figcaption {
    font-size: 10px;
  }
  .app-copy h2 {
    font-size: 36px;
  }
  .app-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .app-copy .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .site-header .brand-mark {
    width: 30px;
    height: 30px;
  }
  .site-header .wordmark {
    font-size: 20px;
  }
  .hero-actions {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .hero-section {
    height: auto;
  }
  .js-ready .hero {
    position: relative;
    height: auto;
    min-height: 0;
    padding-block: 35px 55px;
  }
  .js-ready .scene-scroll-track {
    height: auto;
  }
  .js-ready .hero-art {
    position: relative;
    top: auto;
    width: min(550px, 100%);
  }
  .scene {
    --open: 1 !important;
    --owl: 1 !important;
    --dragon: 1 !important;
    --triceratops: 1 !important;
    --fox: 1 !important;
  }
}
