:root {
  --phi: 1.618;
  --ink: #2b2140;
  --night: #241535;
  --night-2: #321a48;
  --plum: #8a4b9b;
  --plum-soft: #aa66ac;
  --gold: #f0ca76;
  --gold-2: #d39a52;
  --cream: #fff8e7;
  --paper: #fffdf7;
  --lilac: #f6eff9;
  --muted: #6f647d;
  --line: rgba(43, 33, 64, .12);
  --shadow: 0 26px 80px rgba(52, 28, 67, .16);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, .28);
  --radius-s: 16px;
  --radius-m: 26px;
  --radius-l: 42px;
  --radius-xl: 68px;
  --space-1: .55rem;
  --space-2: .9rem;
  --space-3: 1.45rem;
  --space-4: 2.35rem;
  --space-5: 3.8rem;
  --space-6: 6.15rem;
  --max: 1180px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button,
input {
  font: inherit
}

button {
  color: inherit
}

::selection {
  background: var(--gold);
  color: var(--night)
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 1000;
  background: white;
  padding: .8rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow)
}

.skip-link:focus {
  top: 1rem
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  position: relative
}

.section-dark {
  background: var(--night);
  color: white
}

.section-cream {
  background: var(--cream)
}

.section-light {
  background: var(--paper)
}

section {
  position: relative
}

section:not(.hero) {
  padding: clamp(4.5rem, 9vw, 8rem) 0
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 500;
  background: transparent
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #fff2b8, var(--plum-soft));
  box-shadow: 0 0 18px rgba(240, 202, 118, .7)
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease
}

.site-header.scrolled {
  background: rgba(36, 21, 53, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .14)
}

.nav-shell {
  width: min(calc(100% - 1.5rem), 1240px);
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: white;
  min-width: max-content
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(240, 202, 118, .2)
}

.brand span {
  display: grid;
  line-height: 1.05
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -.02em
}

.brand small {
  font-size: .67rem;
  opacity: .66;
  margin-top: .24rem;
  letter-spacing: .04em
}

.site-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 1.6rem
}

.site-nav a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white
}

.nav-cta {
  display: none
}

.nav-toggle {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: white;
  display: block;
  transition: transform .25s ease
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg)
}

.site-nav.mobile-open {
  display: grid;
  position: absolute;
  top: 68px;
  left: .75rem;
  right: .75rem;
  background: rgba(36, 21, 53, .97);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  box-shadow: var(--shadow-dark)
}

.site-nav.mobile-open a {
  padding: .8rem .5rem
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: .92rem 1.25rem;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, border-color .2s ease
}

.button:hover {
  transform: translateY(-2px)
}

.button-small {
  padding: .68rem 1rem;
  font-size: .86rem
}

.button-primary {
  background: var(--plum);
  color: white;
  box-shadow: 0 12px 30px rgba(138, 75, 155, .25)
}

.button-primary:hover {
  background: #774187;
  box-shadow: 0 16px 36px rgba(138, 75, 155, .34)
}

.button-gold {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 13px 34px rgba(240, 202, 118, .25)
}

.button-gold:hover {
  background: #f5d78f
}

.button-ghost {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  color: white
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .1)
}

.button-outline-dark {
  border-color: rgba(43, 33, 64, .22);
  background: transparent;
  color: var(--ink)
}

.button-outline-dark:hover {
  border-color: var(--plum);
  background: rgba(138, 75, 155, .05)
}

.hero {
  min-height: 90svh;
  padding: clamp(7rem, 12vw, 9.5rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 15%, rgba(240, 202, 118, .13), transparent 26%),
    radial-gradient(circle at 10% 60%, rgba(170, 102, 172, .13), transparent 28%),
    linear-gradient(135deg, #20122f 0%, #29163c 48%, #21132f 100%)
}

.hero:after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 98px;
  background: var(--cream);
  clip-path: ellipse(58% 46% at 50% 100%)
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none
}

.hero-glow-one {
  width: 280px;
  height: 280px;
  right: -120px;
  top: 16%;
  background: rgba(240, 202, 118, .08)
}

.hero-glow-two {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: 25%;
  background: rgba(170, 102, 172, .1)
}

.stars {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.4px), radial-gradient(circle at 76% 18%, #f8d57e 0 1px, transparent 1.4px), radial-gradient(circle at 47% 66%, #fff 0 1px, transparent 1.4px);
  background-size: 110px 110px, 150px 150px, 190px 190px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%)
}

.hero-grid {
  display: grid;
  gap: 2.7rem;
  align-items: center;
  z-index: 2;
  position: relative;
  isolation: isolate
}

.hero-grid-media {
  position: absolute;
  inset: -1.15rem;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 44px;
  background: url("assets/images/optimized/hero-dreamscape.webp") center/cover no-repeat;
  clip-path: inset(0 round 44px)
}

.hero-grid-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: .78;
  filter: saturate(.92) contrast(1.04)
}

.hero-grid:before {
  content: "";
  position: absolute;
  inset: -1.15rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 44px;
  background: linear-gradient(90deg, rgba(32, 18, 47, .97) 0%, rgba(32, 18, 47, .9) 34%, rgba(32, 18, 47, .6) 59%, rgba(32, 18, 47, .28) 81%, rgba(32, 18, 47, .42) 100%), linear-gradient(180deg, rgba(20, 10, 31, .18), rgba(20, 10, 31, .32))
}

.hero-watch-button {
  position: absolute;
  right: -.25rem;
  bottom: -.35rem;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(20, 10, 31, .58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .72rem .42rem .45rem;
  border-radius: 999px;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(9, 4, 14, .28), inset 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease, box-shadow .22s ease
}

.hero-watch-button:hover {
  transform: translateY(-2px);
  background: rgba(31, 16, 45, .78);
  border-color: rgba(240, 202, 118, .42);
  box-shadow: 0 16px 38px rgba(9, 4, 14, .36), 0 0 0 1px rgba(240, 202, 118, .08)
}

.hero-watch-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, #f8dc98, var(--gold));
  color: var(--night);
  box-shadow: 0 5px 16px rgba(240, 202, 118, .24)
}

.hero-watch-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 800;
  color: var(--plum)
}

.eyebrow {
  color: var(--gold);
  margin-bottom: 1.3rem
}

.eyebrow span {
  font-size: 1rem
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance
}

h1 {
  font-size: clamp(3.25rem, 10vw, 6.3rem);
  max-width: 10.5ch;
  margin-bottom: 1.25rem
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -.055em
}

h2 {
  font-size: clamp(2.45rem, 6.6vw, 4.65rem);
  margin-bottom: 1.2rem
}

h2 span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--plum);
  font-style: italic
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2.1rem)
}

.hero-lede {
  font-size: clamp(1.03rem, 2.3vw, 1.23rem);
  color: rgba(255, 255, 255, .76);
  max-width: 58ch;
  margin-bottom: 1.65rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem
}

.store-button {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  color: #1b1324;
  border-radius: 16px;
  padding: .7rem 1rem;
  min-width: 178px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .16);
  transition: transform .2s var(--ease), box-shadow .2s ease
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24)
}

.store-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  flex: none
}

.store-button span {
  display: grid;
  line-height: 1.02
}

.store-button small {
  font-size: .58rem;
  letter-spacing: .02em;
  margin-bottom: .22rem
}

.store-button strong {
  font-size: 1rem;
  letter-spacing: -.025em
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem
}

.hero-proof span {
  display: flex;
  gap: .3rem;
  align-items: center
}

.hero-proof b {
  color: white
}

.hero-visual {
  position: relative
}

.dream-orbit {
  position: relative;
  max-width: 650px;
  margin: auto;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease)
}

.dreamscape {
  width: 100%;
  border-radius: 4px;
  background: none;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .1)
}

.float-card {
  position: absolute;
  display: grid;
  background: transparent;
  color: black;
  padding: .65rem .8rem .65rem 2.35rem;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(32, 14, 42, .22);
  backdrop-filter: blur(12px);
  font-size: .72rem;
  line-height: 1.16;
  min-width: 148px
}

.float-card b {
  font-size: .74rem
}

.float-card small {
  color: ghostwhite;
  font-size: .64rem;
  margin-top: .18rem
}

.mini-icon {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  font-size: .72rem
}

.float-card-a {
  left: -2%;
  top: 13%;
  animation: floaty 5s ease-in-out infinite
}

.float-card-b {
  right: -1%;
  top: 48%;
  animation: floaty 5.8s ease-in-out infinite .4s
}

.float-card-c {
  left: 11%;
  bottom: -4%;
  animation: floaty 6.5s ease-in-out infinite .8s
}

@keyframes floaty {
  50% {
    transform: translateY(-9px) rotate(.5deg)
  }
}

.hero-video {
  margin-top: 3.3rem;
  z-index: 4
}

.video-poster {
  border: 0;
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer
}

.video-poster-primary {
  width: 100%;
  min-height: 260px;
  border-radius: 32px;
  padding: 1.4rem;
  background:
    linear-gradient(90deg, rgba(17, 8, 27, .9), rgba(17, 8, 27, .28)),
    url("https://i.ytimg.com/vi/0OIMWyeC3Yo/maxresdefault.jpg") center/cover no-repeat;
  color: white;
  box-shadow: var(--shadow-dark);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "kicker play" "title play" "meta play";
  align-items: center
}

.video-poster-primary:after,
.video-poster-secondary:after,
.video-poster-tertiary:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: inherit;
  pointer-events: none
}

.video-kicker {
  grid-area: kicker;
  align-self: end;
  color: var(--gold);
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 800
}

.video-title {
  grid-area: title;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  max-width: 18ch;
  letter-spacing: -.04em;
  margin: .45rem 0
}

.video-meta {
  grid-area: meta;
  align-self: start;
  color: rgba(255, 255, 255, .7);
  font-size: .8rem
}

.play-button {
  grid-area: play;
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--night);
  box-shadow: 0 0 0 14px rgba(240, 202, 118, .13), 0 0 0 28px rgba(240, 202, 118, .06);
  transition: transform .2s var(--ease)
}

.video-poster:hover .play-button {
  transform: scale(1.07)
}

.play-button svg {
  width: 30px;
  fill: currentColor
}

.phi-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center
}

.why {
  padding-top: 7rem !important
}

.why-copy p {
  font-size: 1.07rem;
  color: #574d62;
  max-width: 57ch
}

.quiet-copy {
  color: #7a6e83 !important
}

.text-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: var(--plum);
  font-weight: 800;
  font-size: .9rem;
  margin-top: .4rem
}

.text-link span {
  transition: transform .2s ease
}

.text-link:hover span {
  transform: translateX(4px)
}

.signal-card {
  background: var(--night);
  color: white;
  border-radius: var(--radius-l);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.signal-card:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(240, 202, 118, .1);
  right: -70px;
  top: -80px
}

.signal-number {
  font-size: clamp(4.8rem, 16vw, 8rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.08em;
  color: var(--gold);
  margin-bottom: 1.1rem
}

.signal-number span {
  font-size: .42em;
  vertical-align: top;
  margin-left: .1rem
}

.signal-card p {
  color: rgba(255, 255, 255, .74);
  font-size: .92rem
}

.signal-divider {
  height: 1px;
  background: rgba(255, 255, 255, .13);
  margin: 1.2rem 0
}

.signal-bottom b {
  color: white
}

.signal-card>a {
  font-size: .72rem;
  color: rgba(255, 255, 255, .48);
  text-decoration: underline;
  text-underline-offset: 3px
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.7rem
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 3.2rem
}

.section-heading p {
  font-size: 1.03rem;
  color: #6a5f73;
  max-width: 62ch;
  margin-bottom: 0
}

.section-heading.centered p {
  margin-inline: auto
}

.samples .section-heading p,
.premium p {
  color: rgba(255, 255, 255, .66)
}

.section-label {
  margin-bottom: .75rem
}

.section-label-light {
  color: var(--gold)
}

.two-clicks {
  display: grid;
  gap: 1rem;
  position: relative
}

.step-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.45rem;
  box-shadow: 0 18px 50px rgba(62, 42, 73, .06);
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease
}

.step-panel.active {
  border-color: rgba(138, 75, 155, .28);
  box-shadow: 0 24px 70px rgba(102, 59, 120, .1);
  transform: translateY(-3px)
}

.step-number {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--plum);
  margin-bottom: 1.1rem
}

.step-panel h3 {
  font-size: 1.5rem;
  margin-bottom: .6rem
}

.step-panel p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.1rem
}

.age-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.age-pill {
  border: 1px solid var(--line);
  background: var(--lilac);
  border-radius: 999px;
  padding: .62rem .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease
}

.age-pill:hover,
.age-pill.active {
  background: var(--plum);
  color: white;
  border-color: var(--plum)
}

.step-connector {
  display: none
}

.age-guide {
  display: grid;
  gap: .85rem;
  margin-top: 1.6rem
}

.age-guide article {
  border-radius: 26px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #fff7df, #f8effa);
  border: 1px solid rgba(138, 75, 155, .08)
}

.age-guide span {
  font-weight: 900;
  color: var(--plum);
  font-size: .75rem
}

.age-guide h3 {
  font-size: 1.15rem;
  margin: .25rem 0 .3rem
}

.age-guide p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0
}

.samples {
  overflow: hidden;
  background: linear-gradient(140deg, #20122f, #2b173e 55%, #241535)
}

.samples:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 202, 118, .13), transparent 68%);
  right: -220px;
  top: 2%
}

.sample-experience {
  display: grid;
  gap: 1rem
}

.sample-tabs {
  display: flex;
  gap: .5rem;
  overflow: auto;
  padding-bottom: .25rem;
  scrollbar-width: none
}

.sample-tabs::-webkit-scrollbar {
  display: none
}

.sample-tab {
  min-width: 110px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: white;
  border-radius: 18px;
  padding: .8rem 1rem;
  display: grid;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  font-size: 1.1rem;
  transition: .2s ease
}

.sample-tab span {
  font-size: .58rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .12em;
  text-transform: uppercase
}

.sample-tab.active {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
  transform: translateY(-2px)
}

.sample-tab.active span {
  color: rgba(36, 21, 53, .55)
}

.sample-panel {
  display: grid;
  gap: 2rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-l);
  padding: 1rem;
  overflow: hidden
}

.sample-cover-wrap {
  position: relative;
  max-width: 470px;
  margin: auto
}

.sample-cover-glow {
  position: absolute;
  inset: 8% -12% -5%;
  background: radial-gradient(circle, var(--gold), rgba(240, 202, 118, 0) 65%);
  filter: blur(40px);
  opacity: .25
}

.sample-cover-wrap img {
  position: relative;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top
}

.sample-age-badge {
  position: absolute;
  right: -6px;
  top: 16px;
  background: var(--gold);
  color: var(--night);
  padding: .46rem .72rem;
  border-radius: 999px;
  font-size: .65rem;
  letter-spacing: .1em;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18)
}

.sample-copy {
  align-self: center;
  padding: .5rem
}

.story-chip {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: .45rem .72rem;
  font-size: .65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin-bottom: 1rem
}

.sample-copy h3 {
  font-size: clamp(2rem, 6vw, 3.9rem);
  margin-bottom: .8rem;
  max-width: 12ch;
  color: white
}

.sample-copy>p {
  color: rgba(255, 255, 255, .69);
  font-size: 1rem;
  max-width: 52ch
}

blockquote {
  margin: 1.3rem 0;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 2px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: white;
  font-size: 1.05rem
}

.sample-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap
}

.sample-note {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, .48);
  font-size: .75rem
}

.sample-note span {
  color: var(--gold);
  margin-right: .3rem
}

.science-transform {
  display: grid;
  gap: 1.2rem;
  align-items: stretch
}

.paper-card,
.story-output-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.25rem;
  box-shadow: 0 24px 70px rgba(79, 59, 90, .08)
}

.paper-top {
  display: flex;
  justify-content: space-between;
  font-size: .6rem;
  letter-spacing: .12em;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 1rem
}

.paper-sheet {
  background: #faf9f5;
  border: 1px solid #e6e0da;
  border-radius: 12px;
  padding: 1.2rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  box-shadow: inset 0 0 0 6px white
}

.paper-line {
  height: 7px;
  width: 69%;
  border-radius: 99px;
  background: #cfc8c9
}

.paper-line.line-long {
  width: 92%
}

.paper-line.line-mid {
  width: 82%
}

.paper-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 76px;
  padding-top: .6rem
}

.paper-chart i {
  display: block;
  flex: 1;
  background: var(--plum);
  opacity: .25;
  border-radius: 5px 5px 1px 1px
}

.paper-chart i:nth-child(1) {
  height: 35%
}

.paper-chart i:nth-child(2) {
  height: 55%
}

.paper-chart i:nth-child(3) {
  height: 42%
}

.paper-chart i:nth-child(4) {
  height: 78%
}

.paper-chart i:nth-child(5) {
  height: 92%
}

.paper-card h3 {
  font-size: 1.6rem;
  margin: 1.1rem 0 .65rem
}

.paper-card p {
  font-size: .88rem;
  color: var(--muted)
}

.magic-arrow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .6rem;
  align-content: center;
  justify-content: center;
  padding: 1.2rem;
  color: var(--plum);
  text-align: left
}

.magic-arrow .magic-spark {
  grid-row: 1/9;
  font-size: 2rem;
  color: var(--gold);
  align-self: start
}

.magic-arrow b {
  font-size: .8rem;
  letter-spacing: .02em
}

.magic-arrow small {
  color: var(--muted);
  font-size: .66rem;
  margin-bottom: .25rem
}

.magic-arrow i {
  height: 24px;
  width: 1px;
  background: linear-gradient(var(--gold), var(--plum));
  margin-left: .2rem;
  opacity: .55
}

.story-output-card {
  background: var(--night);
  color: white;
  padding: 0;
  overflow: hidden
}

.story-output-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover
}

.story-output-copy {
  padding: 1.3rem
}

.story-output-copy>span {
  color: var(--gold);
  font-size: .6rem;
  letter-spacing: .12em;
  font-weight: 900
}

.story-output-copy h3 {
  font-size: 1.55rem;
  margin: .7rem 0
}

.story-output-copy p {
  color: rgba(255, 255, 255, .66);
  font-size: .86rem
}

.concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem
}

.concept-tags span {
  font-size: .66rem;
  padding: .4rem .58rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .74)
}

.depth-ladder {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem
}

.depth-ladder>div,
.depth-ladder article {
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55)
}

.depth-intro {
  display: grid;
  align-content: center
}

.depth-intro span {
  font-size: .68rem;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900
}

.depth-intro b {
  font-size: 1.25rem;
  letter-spacing: -.03em
}

.depth-ladder article strong {
  display: inline-block;
  color: var(--plum);
  font-size: .72rem;
  margin-bottom: .35rem
}

.depth-ladder p {
  margin: 0;
  font-size: .8rem;
  color: var(--muted)
}

.mission-grid {
  align-items: center
}

.mission-art {
  min-height: 380px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate
}

.mission-art:before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 47% 53% 58% 42%/52% 38% 62% 48%;
  background: linear-gradient(145deg, #f3d68c, #e7b65e);
  z-index: -2;
  animation: morph 9s ease-in-out infinite alternate
}

@keyframes morph {
  to {
    border-radius: 58% 42% 46% 54%/38% 56% 44% 62%;
    transform: rotate(5deg)
  }
}

.mission-art img {
  width: min(34vw, 170px);
  border-radius: 30%;
  box-shadow: 0 22px 60px rgba(96, 57, 108, .24)
}

.mission-rings i {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(138, 75, 155, .18);
  border-radius: 50%
}

.mission-rings i:nth-child(2) {
  inset: 18%;
  border-style: dashed;
  animation: spin 24s linear infinite
}

.mission-rings i:nth-child(3) {
  inset: 30%
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.orbit-word {
  position: absolute;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--plum);
  background: white;
  border: 1px solid rgba(138, 75, 155, .12);
  border-radius: 999px;
  padding: .45rem .66rem;
  box-shadow: 0 8px 24px rgba(52, 28, 67, .08)
}

.orbit-one {
  top: 17%;
  left: 7%
}

.orbit-two {
  right: 3%;
  top: 42%
}

.orbit-three {
  bottom: 14%;
  left: 18%
}

.mission-copy p {
  font-size: 1.03rem;
  color: #65596f;
  max-width: 56ch
}

.mission-statement {
  margin-top: 1.5rem;
  padding: 1.2rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, #fff4ce, rgba(255, 244, 206, 0));
  font-size: 1.15rem;
  font-weight: 800;
  max-width: 50ch
}

.mission-statement em {
  font-family: Georgia, serif;
  color: var(--plum)
}

.video-pair {
  display: grid;
  gap: 1rem
}

.video-poster-secondary,
.video-poster-tertiary {
  min-height: 245px;
  border-radius: 30px;
  padding: 1.2rem;
  color: white;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: end;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  isolation: isolate
}

.video-poster-secondary {
  background-image: linear-gradient(180deg, rgba(19, 10, 29, .08), rgba(19, 10, 29, .9)), url("https://i.ytimg.com/vi/zsom__-TBgk/maxresdefault.jpg")
}

.video-poster-tertiary {
  background-image: linear-gradient(180deg, rgba(19, 10, 29, .08), rgba(19, 10, 29, .9)), url("https://i.ytimg.com/vi/s7GZR53dulQ/maxresdefault.jpg")
}

.video-number {
  font-size: .65rem;
  color: var(--gold);
  font-weight: 900;
  align-self: start
}

.video-card-copy {
  display: grid
}

.video-card-copy b {
  font-size: 1.2rem;
  letter-spacing: -.02em
}

.video-card-copy small {
  color: rgba(255, 255, 255, .65);
  font-size: .76rem;
  margin-top: .25rem
}

.play-button.small {
  width: 48px;
  height: 48px;
  font-size: .8rem;
  box-shadow: none
}

.premium {
  overflow: hidden
}

.premium-blob {
  position: absolute;
  left: -15%;
  top: -40%;
  width: 600px;
  height: 600px;
  border-radius: 44% 56% 60% 40%;
  background: rgba(240, 202, 118, .08);
  filter: blur(1px);
  transform: rotate(30deg)
}

.premium-card {
  display: grid;
  gap: 1.7rem;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px)
}

.premium-card h2 {
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  max-width: 14ch
}

.premium-card h2 span {
  color: var(--gold)
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
  color: rgba(255, 255, 255, .78)
}

.premium-list li {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.premium-list li span {
  color: var(--gold)
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: end
}

.final-cta {
  overflow: hidden
}

.final-cta:before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 202, 118, .22), transparent 68%);
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%)
}

.final-card {
  text-align: center;
  display: grid;
  justify-items: center
}

.final-card img {
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(90, 54, 103, .2);
  margin-bottom: 1.25rem
}

.final-card h2 {
  max-width: 16ch
}

.final-card p {
  color: var(--muted);
  font-size: 1.05rem
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: .7rem
}

.site-footer {
  background: #171020;
  color: rgba(255, 255, 255, .58);
  padding: 2rem 0
}

.footer-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
  font-size: .76rem
}

.brand-footer {
  color: white
}

.brand-footer img {
  width: 42px;
  height: 42px;
  border-radius: 13px
}

.footer-grid p {
  margin: 0
}

.media-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(96vw, 1100px);
  max-width: none;
  overflow: visible
}

.media-modal::backdrop {
  background: rgba(15, 8, 22, .8);
  backdrop-filter: blur(12px)
}

.modal-shell {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45)
}

.video-modal-shell {
  background: #0f0915
}

.modal-topbar {
  min-height: 58px;
  padding: .7rem .9rem .7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
  color: var(--ink)
}

.modal-topbar>div {
  display: grid
}

.modal-topbar small {
  font-size: .68rem;
  color: var(--muted);
  margin-top: .15rem
}

.modal-close {
  border: 0;
  background: #f2edf4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer
}

.video-frame {
  aspect-ratio: 16/9;
  background: black
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.book-frame {
  width: 100%;
  height: min(72vh, 820px);
  border: 0;
  background: #eee;
  display: block
}

.book-modal-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .8rem 1rem 1rem;
  background: white
}

.hero-local-video-modal {
  width: min(92vw, 980px)
}

.hero-local-video-modal::backdrop {
  background: rgba(13, 6, 20, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px)
}

.hero-local-video-modal-shell {
  position: relative;
  background: linear-gradient(145deg, #20122f, #120a1b);
  border: 1px solid rgba(240, 202, 118, .2);
  border-radius: 30px;
  box-shadow: 0 38px 120px rgba(0, 0, 0, .56), 0 0 80px rgba(138, 75, 155, .12)
}

.hero-local-video-topbar {
  min-height: 70px;
  padding: .85rem .9rem .8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.hero-local-video-topbar>div {
  display: grid;
  gap: .15rem
}

.hero-local-video-topbar small {
  color: var(--gold);
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800
}

.hero-local-video-topbar strong {
  font-size: clamp(.92rem, 2vw, 1.12rem);
  letter-spacing: -.02em
}

.hero-local-video-close {
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease
}

.hero-local-video-close:hover {
  transform: rotate(5deg) scale(1.05);
  background: rgba(240, 202, 118, .14);
  border-color: rgba(240, 202, 118, .3)
}

.hero-local-video-frame {
  aspect-ratio: 16/9;
  background: #08050b;
  overflow: hidden
}

.hero-local-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #08050b
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.in-view {
  opacity: 1;
  transform: none
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px
}

@media(min-width:700px) {
  .shell {
    width: min(calc(100% - 3rem), var(--max))
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 3rem
  }

  .hero-copy {
    padding-top: 1rem
  }

  .video-poster-primary {
    min-height: 340px;
    padding: 2rem
  }

  .two-clicks {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem
  }

  .step-connector {
    display: grid;
    place-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 10px 30px rgba(240, 202, 118, .35);
    color: var(--night)
  }

  .step-panel {
    padding: 1.8rem
  }

  .age-guide {
    grid-template-columns: repeat(3, 1fr)
  }

  .sample-panel {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    padding: 1.5rem;
    gap: 3rem
  }

  .science-transform {
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr)
  }

  .magic-arrow {
    grid-template-columns: auto 1fr;
    padding: .3rem
  }

  .depth-ladder {
    grid-template-columns: .75fr repeat(3, 1fr)
  }

  .video-pair {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto
  }

  .footer-grid p:nth-child(2) {
    text-align: center
  }

  .footer-grid p:last-child {
    text-align: right
  }
}

@media(min-width:920px) {
  .nav-toggle {
    display: none
  }

  .site-nav {
    display: flex
  }

  .nav-cta {
    display: inline-flex;
    margin-left: .4rem;
    background: var(--gold);
    color: var(--night)
  }

  .phi-grid {
    grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 6.2rem)
  }

  .why-copy {
    padding-right: 1rem
  }

  .signal-card {
    padding: 2.5rem
  }

  .mission-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr)
  }

  .premium-card {
    grid-template-columns: 1.45fr .9fr;
    grid-template-areas: "copy list" "actions list";
    align-items: center
  }

  .premium-card>div:first-child {
    grid-area: copy
  }

  .premium-list {
    grid-area: list
  }

  .premium-actions {
    grid-area: actions
  }
}

@media(max-width:699px) {
  .hero {
    padding-top: 6.3rem;
    padding-bottom: 3rem
  }

  .hero-grid-media,
  .hero-grid:before {
    inset: -.6rem;
    border-radius: 34px
  }

  .hero-grid-media {
    clip-path: inset(0 round 34px)
  }

  .hero-grid:before {
    background: linear-gradient(180deg, rgba(32, 18, 47, .94) 0%, rgba(32, 18, 47, .86) 42%, rgba(32, 18, 47, .5) 72%, rgba(32, 18, 47, .4) 100%)
  }

  .hero-watch-button {
    left: .1rem;
    bottom: -1.55rem;
    font-size: .68rem;
    padding: .38rem .65rem .38rem .4rem
  }

  .hero-watch-icon {
    width: 26px;
    height: 26px
  }

  .hero-local-video-modal {
    width: min(94vw, 980px)
  }

  .hero-local-video-modal-shell {
    border-radius: 22px
  }

  .hero-local-video-topbar {
    min-height: 62px;
    padding: .72rem .7rem .68rem .9rem
  }

  .hero-copy {
    text-align: center
  }

  .hero-lede {
    margin-inline: auto
  }

  .hero-actions,
  .hero-proof {
    justify-content: center
  }

  .eyebrow {
    justify-content: center
  }

  h1 {
    margin-inline: auto
  }

  .hero-visual {
    margin-top: .6rem
  }

  .float-card {
    min-width: 132px
  }

  .float-card-a {
    left: -1%;
    top: 10%
  }

  .float-card-b {
    right: -2%;
    top: 48%
  }

  .float-card-c {
    left: 7%;
    bottom: -5%
  }

  .video-poster-primary {
    grid-template-columns: 1fr auto;
    padding: 1.1rem
  }

  .video-title {
    font-size: 1.5rem
  }

  .play-button {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 10px rgba(240, 202, 118, .11)
  }

  .section-heading.centered {
    text-align: left
  }

  .sample-cover-wrap {
    max-width: 330px
  }

  .sample-copy {
    text-align: left
  }

  .sample-copy h3 {
    font-size: 2rem
  }

  .mission-art {
    min-height: 310px
  }

  .mission-art img {
    width: 124px
  }

  .premium-card {
    border-radius: 38px
  }

  .final-card h2 br {
    display: none
  }

  .store-button {
    min-width: 156px;
    flex: 1
  }

  .hero-actions {
    width: 100%
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important
  }

  .hero-grid-media video {
    display: none
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}


/* Floating app download icons */
.floating-store-links {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.floating-store-link {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease, opacity .22s ease;
  opacity: .92
}

.floating-store-link:hover,
.floating-store-link:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border: 1px solid rgba(24, 13, 35, .08);
  box-shadow: 0 10px 24px rgba(24, 13, 35, .18);
  opacity: 1
}

.floating-store-link img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  opacity: 0.9;
}

.floating-store-link:first-child img {
  width: 30px;
  height: 30px;
  border-radius: 8px
}

.floating-store-link::before {
  content: attr(data-store);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(7px, -50%);
  white-space: nowrap;
  background: var(--night);
  color: #fff;
  border: 1px solid rgba(240, 202, 118, .28);
  border-radius: 999px;
  padding: .42rem .64rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(24, 13, 35, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease
}

.floating-store-link:hover::before,
.floating-store-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%)
}

@media(max-width:699px) {
  .floating-store-links {
    right: 11px;
    bottom: max(11px, env(safe-area-inset-bottom));
    gap: 7px
  }

  .floating-store-link {
    width: 38px;
    height: 38px;
    box-shadow: 0 6px 16px rgba(24, 13, 35, .12)
  }

  .floating-store-link img {
    width: 24px;
    height: 24px
  }

  .floating-store-link:first-child img {
    width: 27px;
    height: 27px
  }

  .floating-store-link::before {
    display: none
  }
}

/* --------------------------------------------------------------------------
   Kids-at-the-heart value bridge
   -------------------------------------------------------------------------- */
.value-bridge {
  z-index: 4;
  margin-top: clamp(4.8rem, 9vw, 7.4rem);
  padding: clamp(1.15rem, 2.8vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: clamp(30px, 5vw, 54px);
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: 0 30px 90px rgba(6, 2, 10, .2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow: hidden;
  isolation: isolate
}

.value-bridge:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -150px;
  top: -185px;
  background: radial-gradient(circle, rgba(240, 202, 118, .18), rgba(240, 202, 118, 0) 70%);
  z-index: -1;
  pointer-events: none
}

.value-bridge:after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: -170px;
  bottom: -190px;
  background: radial-gradient(circle, rgba(170, 102, 172, .2), rgba(170, 102, 172, 0) 70%);
  z-index: -1;
  pointer-events: none
}

.value-bridge-head {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem
}

.value-bridge-copy {
  max-width: 790px
}

.value-eyebrow {
  margin-bottom: .85rem
}

.value-bridge h2 {
  font-size: clamp(2.1rem, 5.6vw, 4.35rem);
  max-width: 15ch;
  margin-bottom: .9rem
}

.value-bridge h2 span {
  color: var(--gold)
}

.value-bridge-copy>p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(.94rem, 1.7vw, 1.08rem);
  max-width: 65ch
}

.value-heart {
  position: relative;
  justify-self: start;
  min-width: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon title" "icon copy";
  gap: .05rem .7rem;
  align-items: center;
  padding: .78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 202, 118, .22);
  background: rgba(18, 8, 28, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07)
}

.value-heart-icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe7a9, var(--gold));
  color: var(--night);
  box-shadow: 0 0 0 7px rgba(240, 202, 118, .08)
}

.value-heart strong {
  grid-area: title;
  font-size: .68rem;
  letter-spacing: .13em;
  color: white
}

.value-heart small {
  grid-area: copy;
  color: rgba(255, 255, 255, .56);
  font-size: .65rem;
  white-space: nowrap
}

.value-heart-orbit {
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(240, 202, 118, .22);
  border-radius: 999px;
  pointer-events: none
}

.value-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem
}

.value-card {
  appearance: none;
  width: 100%;
  min-width: 0;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 28px;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  color: white;
  cursor: pointer;
  display: grid;
  gap: .66rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(6, 2, 10, .11);
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease, box-shadow .28s ease
}

.value-card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -52px;
  top: -52px;
  background: radial-gradient(circle, rgba(240, 202, 118, .16), rgba(240, 202, 118, 0) 70%);
  transition: transform .35s var(--ease)
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 202, 118, .3);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
  box-shadow: 0 23px 58px rgba(6, 2, 10, .2)
}

.value-card:hover:before {
  transform: scale(1.2)
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.value-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 850;
  font-size: .6rem;
  color: var(--gold)
}

.value-card-accent {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: rgba(240, 202, 118, .1);
  border: 1px solid rgba(240, 202, 118, .16);
  color: var(--gold);
  font-size: .86rem
}

.value-card-audience {
  font-size: .83rem;
  color: rgba(255, 255, 255, .72);
  letter-spacing: -.01em
}

.value-card-title {
  display: block;
  max-width: 22ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.34rem, 2.8vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: white
}

.value-card-copy {
  font-size: .79rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, .59);
  max-width: 43ch
}

.value-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: .72rem;
  margin-top: .12rem;
  color: var(--gold);
  font-weight: 850;
  font-size: .72rem
}

.value-card-action i {
  font-style: normal;
  font-size: 1rem;
  transition: transform .2s var(--ease)
}

.value-card:hover .value-card-action i {
  transform: translate(2px, -2px)
}

.value-card-kids {
  --value-accent: #f0ca76
}

.value-card-parents {
  --value-accent: #aa66ac
}

.value-card-teachers {
  --value-accent: #8dc9bf
}

.value-bridge-note {
  margin: 1rem .2rem 0;
  color: rgba(255, 255, 255, .48);
  font-size: .72rem;
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  max-width: 84ch
}

.value-bridge-note span {
  color: var(--gold);
  font-weight: 900
}

.hero .value-bridge+.hero-video {
  margin-top: 1.7rem
}

/* Value detail dialog */
.value-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(96vw, 1180px);
  max-width: none;
  max-height: 94dvh;
  overflow: visible;
  color: var(--ink)
}

.value-modal::backdrop {
  background: rgba(13, 6, 20, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px)
}

.value-modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  height: min(88dvh, 820px);
  max-height: 88dvh;
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 38px 130px rgba(0, 0, 0, .54);
  border: 1px solid rgba(240, 202, 118, .18)
}

.value-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(20, 10, 31, .56);
  color: white;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .2s var(--ease), background .2s ease
}

.value-modal-close:hover {
  transform: rotate(5deg) scale(1.04);
  background: rgba(36, 21, 53, .86)
}

.value-modal-visual {
  position: relative;
  min-height: 0;
  background: var(--night);
  overflow: hidden
}

.value-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.value-modal-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 8, 27, .04) 30%, rgba(17, 8, 27, .84) 100%);
  pointer-events: none
}

.value-modal-image-copy {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: grid;
  gap: .4rem;
  color: white
}

.value-modal-image-copy span {
  font-size: .61rem;
  letter-spacing: .15em;
  font-weight: 900;
  color: var(--gold)
}

.value-modal-image-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  max-width: 16ch
}

.value-modal-content {
  min-width: 0;
  overflow: auto;
  padding: clamp(1.45rem, 4vw, 3.2rem);
  padding-top: clamp(2.4rem, 5vw, 3.8rem);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 75, 155, .32) transparent
}

.value-modal-kicker {
  color: var(--plum);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .65rem
}

.value-modal-content h2 {
  font-size: clamp(2.05rem, 4.3vw, 3.7rem);
  line-height: .98;
  margin: 0 0 .9rem;
  max-width: 14ch;
  color: var(--ink)
}

.value-modal-intro {
  font-size: clamp(.94rem, 1.55vw, 1.08rem);
  color: #675c71;
  max-width: 61ch;
  margin-bottom: .8rem
}

.value-modal-caption {
  display: inline-block;
  margin: 0 0 1.6rem;
  padding: .62rem .78rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, #fff3ca, rgba(255, 243, 202, 0));
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: .88rem;
  line-height: 1.45
}

.value-modal-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem
}

.value-modal-outcomes article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  box-shadow: 0 10px 28px rgba(62, 42, 73, .045)
}

.value-outcome-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lilac);
  color: var(--plum);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .06em
}

.value-modal-outcomes strong {
  font-size: .78rem;
  line-height: 1.3;
  display: block;
  margin: .08rem 0 .28rem
}

.value-modal-outcomes p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5
}

.value-modal-journey-wrap {
  margin-top: 1.65rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line)
}

.value-modal-mini-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--plum);
  font-size: .58rem;
  font-weight: 900;
  margin-bottom: .75rem
}

.value-modal-journey {
  display: grid;
  gap: .55rem
}

.value-modal-journey article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
  padding: .68rem 0
}

.value-modal-journey article+article {
  border-top: 1px solid rgba(43, 33, 64, .075)
}

.value-modal-journey article>span {
  width: 34px;
  height: 25px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--gold);
  font-size: .56rem;
  font-weight: 900
}

.value-modal-journey strong {
  font-size: .78rem;
  display: block;
  margin-bottom: .13rem
}

.value-modal-journey p {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0
}

.value-modal-closing {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--night), var(--night-2));
  color: white
}

.value-modal-closing>span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--night);
  font-size: .75rem
}

.value-modal-closing strong {
  display: block;
  font-size: .8rem;
  margin: .04rem 0 .25rem;
  color: white
}

.value-modal-closing p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  line-height: 1.5
}

.value-modal-closing small {
  display: block;
  margin-top: .6rem;
  padding-top: .58rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .48);
  font-size: .62rem;
  line-height: 1.5
}

@media(min-width:760px) {
  .value-bridge-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem
  }

  .value-heart {
    justify-self: end
  }

  .value-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem
  }

  .value-card {
    min-height: 285px;
    padding: 1.3rem
  }
}

@media(max-width:759px) {
  .value-bridge {
    margin-top: 4.8rem;
    padding: 1rem;
    border-radius: 30px
  }

  .value-bridge-head {
    margin-bottom: 1rem
  }

  .value-bridge h2 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
    max-width: 12ch
  }

  .value-heart {
    min-width: 0;
    width: 100%;
    max-width: 340px
  }

  .value-heart small {
    white-space: normal
  }

  .value-card {
    border-radius: 23px;
    padding: 1rem;
    gap: .58rem
  }

  .value-card-title {
    font-size: 1.38rem;
    max-width: none
  }

  .value-card-copy {
    font-size: .76rem
  }

  .value-bridge-note {
    font-size: .68rem;
    margin-top: .8rem
  }

  .hero .value-bridge+.hero-video {
    margin-top: 1.2rem
  }

  .value-modal {
    width: calc(100vw - .8rem);
    max-height: calc(100dvh - .8rem)
  }

  .value-modal-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 31dvh) minmax(0, 1fr);
    height: calc(100dvh - .8rem);
    max-height: calc(100dvh - .8rem);
    border-radius: 25px
  }

  .value-modal-close {
    width: 40px;
    height: 40px;
    right: 11px;
    top: 11px;
    background: rgba(20, 10, 31, .66)
  }

  .value-modal-visual img {
    object-position: center 46%
  }

  .value-modal-image-copy {
    left: 1rem;
    right: 4.2rem;
    bottom: .9rem
  }

  .value-modal-image-copy strong {
    font-size: 1.35rem;
    max-width: none
  }

  .value-modal-content {
    padding: 1.2rem 1rem max(1.3rem, env(safe-area-inset-bottom))
  }

  .value-modal-content h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.75rem);
    max-width: 15ch;
    margin-bottom: .72rem
  }

  .value-modal-intro {
    font-size: .91rem;
    margin-bottom: .7rem
  }

  .value-modal-caption {
    font-size: .79rem;
    margin-bottom: 1.15rem
  }

  .value-modal-outcomes {
    grid-template-columns: 1fr;
    gap: .55rem
  }

  .value-modal-outcomes article {
    padding: .82rem;
    border-radius: 17px
  }

  .value-modal-outcomes p,
  .value-modal-journey p,
  .value-modal-closing p {
    font-size: .71rem
  }

  .value-modal-journey-wrap {
    margin-top: 1.25rem
  }
}

@media(max-width:390px) {
  .value-bridge {
    width: calc(100% - 1rem)
  }

  .value-card {
    padding: .9rem
  }

  .value-modal-shell {
    grid-template-rows: minmax(195px, 29dvh) minmax(0, 1fr)
  }

  .value-modal-image-copy span {
    font-size: .56rem
  }

  .value-modal-image-copy strong {
    font-size: 1.2rem
  }

  .value-modal-content {
    padding-inline: .86rem
  }

  .value-modal-outcomes article {
    grid-template-columns: 26px 1fr;
    gap: .58rem;
    padding: .75rem
  }

  .value-outcome-number {
    width: 26px;
    height: 26px
  }
}

@media(prefers-reduced-motion:reduce) {

  .value-card,
  .value-card:before,
  .value-card-action i,
  .value-modal-close {
    transition: none !important
  }
}

/* Anchor-safe spacing for the fixed header. */
.value-bridge {
  scroll-margin-top: 96px
}


/* =========================================================
   Redesigned conversion section inserted beneath .hero-grid
   ========================================================= */
.redesigned-hero {
  min-height: 0;
  margin: clamp(4rem, 7vw, 6.5rem) auto 0;
  padding: 0 0 clamp(2.6rem, 4.5vw, 4.2rem);
  width: 100%;
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.redesigned-hero:after {
  display: none
}

.redesigned-hero>.hero-glow,
.redesigned-hero>.stars {
  pointer-events: none
}

.redesigned-hero .hero-glow-one {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 3%;
  background: rgba(240, 202, 118, .09);
  filter: blur(12px)
}

.redesigned-hero .hero-glow-two {
  width: 390px;
  height: 390px;
  left: -180px;
  bottom: 18%;
  background: rgba(170, 102, 172, .13);
  filter: blur(14px)
}

.redesigned-hero .stars {
  opacity: .34;
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%)
}

.redesigned-hero .hero-top-shell,
.redesigned-hero .mini-how-shell {
  z-index: 2
}

.hero-stage {
  position: relative;
  min-height: clamp(500px, 61vw, 660px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: clamp(28px, 4.5vw, 52px);
  box-shadow: 0 36px 100px rgba(6, 2, 11, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
  background: #160d23;
}

.hero-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.005)
}

.hero-stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 9, 30, .96) 0%, rgba(22, 11, 35, .87) 34%, rgba(22, 11, 35, .54) 58%, rgba(22, 11, 35, .2) 79%, rgba(22, 11, 35, .14) 100%), linear-gradient(180deg, rgba(18, 8, 29, .04), rgba(18, 8, 29, .38));
}

.hero-stage-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(640px, 63%);
  padding: clamp(2rem, 5vw, 4.8rem)
}

.redesigned-hero .hero-eyebrow {
  margin-bottom: 1rem;
  color: #f6d88d;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28)
}

.redesigned-hero .hero-stage h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: .91;
  max-width: 9.8ch;
  margin-bottom: 1.15rem;
  text-shadow: 0 4px 34px rgba(10, 3, 16, .38)
}

.redesigned-hero .hero-stage h1 span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -.055em
}

.redesigned-hero .hero-stage .hero-lede {
  font-size: clamp(1.04rem, 1.75vw, 1.22rem);
  max-width: 46ch;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1.35rem
}

.hero-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem
}

.hero-primary-cta {
  min-height: 52px;
  padding-inline: 1.4rem;
  font-size: .98rem;
  box-shadow: 0 14px 36px rgba(240, 202, 118, .28)
}

.hero-meta-line {
  margin: .88rem 0 .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .015em;
  color: rgba(255, 255, 255, .58)
}

.hero-meta-line span {
  color: rgba(240, 202, 118, .78);
  padding: 0 .3rem
}

.hero-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem
}

.redesigned-hero .hero-store-buttons .store-button {
  min-width: 166px;
  padding: .62rem .88rem;
  border: 1px solid rgba(255, 255, 255, .52);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18)
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.7vw, 1.3rem);
  margin-top: clamp(1rem, 2.3vw, 1.5rem)
}

.hero-feature-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  box-shadow: 0 22px 54px rgba(8, 3, 13, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px)
}

.hero-feature-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 202, 118, .48), transparent);
  opacity: .7
}

.feature-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  padding: 1.2rem 1.15rem .75rem
}

.feature-step,
.mini-step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7db94, var(--gold));
  color: var(--night);
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(240, 202, 118, .18)
}

.feature-card-head h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  margin: .1rem 0 .3rem;
  letter-spacing: -.025em
}

.feature-card-head p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  line-height: 1.45
}

.feature-phone-preview,
.feature-print-preview {
  position: relative;
  display: grid;
  place-items: stretch;
  min-height: 330px;
  overflow: hidden;
  margin: 0 .8rem .8rem;
  border-radius: 23px;
  background: radial-gradient(circle at 50% 100%, rgba(170, 102, 172, .23), transparent 52%), linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(11, 5, 18, .3));
}

.feature-phone-preview {
  padding: 14px 16px 16px;
}

.feature-phone-preview img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 23px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .32));
  transform: none
}

.age-chip-row {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: center;
  gap: .28rem
}

.age-chip-row span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .68);
  font-size: .64rem;
  font-weight: 850
}

.age-chip-row span.active {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 202, 118, .1)
}

.feature-print-preview {
  place-items: stretch;
  margin: 0 .8rem .8rem
}

.feature-print-preview img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
  border-radius: 23px;
  filter: saturate(.98)
}

.hero-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1rem
}

.hero-benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .78rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .045)
}

.hero-benefit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(240, 202, 118, .12);
  font-size: 1.05rem
}

.hero-benefit-card h3 {
  font-size: .94rem;
  margin: .12rem 0 .3rem;
  letter-spacing: -.02em
}

.hero-benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: .7rem;
  line-height: 1.48
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: .85rem;
  padding: .75rem 1rem;
  color: rgba(255, 255, 255, .52);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .02em
}

.hero-trust-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .72
}

.mini-how-shell {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.7rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.mini-how-heading {
  text-align: center;
  display: grid;
  justify-items: center;
  margin-bottom: 1.15rem
}

.mini-how-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  margin-bottom: .45rem
}

.mini-how-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .86rem
}

.mini-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem
}

.mini-how-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto minmax(3.2rem, 1fr);
  gap: .7rem .8rem;
  min-height: 450px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025))
}

.mini-how-copy h3 {
  font-size: 1rem;
  margin: .12rem 0 .3rem;
  letter-spacing: -.02em
}

.mini-how-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: .71rem;
  line-height: 1.5
}

.mini-how-art {
  grid-column: 1/-1;
  align-self: stretch;
  display: grid;
  place-items: stretch;
  min-height: 0;
  padding: .75rem;
  overflow: hidden;
  border-radius: 23px;
  background: radial-gradient(circle at 50% 100%, rgba(170, 102, 172, .2), transparent 55%), rgba(8, 4, 13, .2)
}

.mini-how-art>img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .28));
  transform: none;
  border-radius: 23px;
}

.mini-how-store-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem
}

.mini-how-store-art>img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .22));
  border-radius: 18px
}

.why-youdream-heading {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: clamp(1.2rem, 2.7vw, 2.2rem);
}

.why-youdream-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.why-youdream-heading+.value-bridge {
  margin-top: clamp(1.3rem, 2.8vw, 2.2rem);
}

.mobile-sticky-cta {
  display: none
}

@media(max-width:980px) {
  .hero-stage {
    min-height: 590px
  }

  .hero-stage-copy {
    width: min(680px, 76%)
  }

  .hero-stage-scrim {
    background: linear-gradient(90deg, rgba(19, 9, 30, .96), rgba(22, 11, 35, .78) 52%, rgba(22, 11, 35, .3) 100%), linear-gradient(180deg, rgba(18, 8, 29, .04), rgba(18, 8, 29, .43))
  }

  .hero-feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .feature-card-one {
    grid-column: 1/-1;
    min-height: 390px
  }

  .feature-card-one .feature-print-preview {
    min-height: 290px
  }

  .feature-card-one .feature-print-preview img {
    min-height: 290px;
    max-height: 390px
  }


  .feature-card-two {
    grid-column: 1/-1;
    min-height: 390px
  }

  .feature-card-two .feature-print-preview {
    min-height: 290px
  }

  .feature-card-two .feature-print-preview img {
    min-height: 290px;
    max-height: 390px
  }


  .feature-card-three {
    grid-column: 1/-1;
    min-height: 390px
  }

  .feature-card-three .feature-print-preview {
    min-height: 290px
  }

  .feature-card-three .feature-print-preview img {
    min-height: 290px;
    max-height: 390px
  }

  .hero-benefit-grid,
  .mini-how-grid {
    grid-template-columns: 1fr 1fr
  }

  .hero-benefit-card:last-child,
  .mini-how-card:last-child {
    grid-column: 1/-1
  }
}

@media(max-width:699px) {
  .redesigned-hero {
    margin-top: 3rem;
    padding-bottom: 4rem
  }

  .hero-stage {
    min-height: 700px;
    border-radius: 30px
  }

  .hero-stage-image {
    object-position: 63% center
  }

  .hero-stage-scrim {
    background: linear-gradient(180deg, rgba(16, 8, 26, .25) 0%, rgba(18, 9, 29, .42) 30%, rgba(18, 9, 29, .94) 67%, rgba(18, 9, 29, .99) 100%)
  }

  .hero-stage-copy {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 1.25rem 1.15rem 1.45rem
  }

  .redesigned-hero .hero-stage h1 {
    font-size: clamp(2.7rem, 13.5vw, 4.4rem);
    max-width: 9ch;
    margin-bottom: .9rem
  }

  .redesigned-hero .hero-stage .hero-lede {
    font-size: .96rem;
    max-width: 34ch;
    margin-bottom: 1rem
  }

  .redesigned-hero .hero-eyebrow {
    font-size: .6rem;
    margin-bottom: .75rem
  }

  .hero-meta-line {
    font-size: .62rem
  }

  .hero-store-buttons {
    width: 100%
  }

  .redesigned-hero .hero-store-buttons .store-button {
    flex: 1 1 145px;
    min-width: 0
  }

  .hero-feature-grid,
  .hero-benefit-grid,
  .mini-how-grid {
    grid-template-columns: 1fr
  }

  .feature-card-three,
  .hero-benefit-card:last-child,
  .mini-how-card:last-child {
    grid-column: auto
  }

  .hero-feature-card {
    min-height: 430px;
    border-radius: 23px;
    place-items: stretch;
  }

  .feature-phone-preview,
  .feature-print-preview {
    min-height: 430px;
    border-radius: 23px;
    place-items: stretch;
  }

  .feature-phone-preview img {
    max-height: 310px;
    border-radius: 23px;
  }

  .feature-print-preview img {
    min-height: 310px;
    border-radius: 23px;
  }

  .hero-benefit-card {
    border-radius: 18px
  }

  .hero-trust-strip {
    gap: .52rem .7rem;
    padding-inline: .25rem
  }

  .mini-how-card {
    min-height: 300px;
    border-radius: 22px
  }

  .mini-how-card:nth-child(2),
  .mini-how-card:nth-child(3) {
    min-height: 430px
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 96;
    left: 50%;
    bottom: max(.75rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: min(calc(100% - 1.5rem), 420px);
    padding: .85rem 1rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: linear-gradient(135deg, #f6d98e, var(--gold));
    color: var(--night);
    font-size: .84rem;
    font-weight: 900;
    box-shadow: 0 14px 38px rgba(17, 8, 27, .38), 0 0 0 5px rgba(36, 21, 53, .18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
  }
}

@media(max-width:430px) {
  .hero-stage {
    min-height: 650px
  }

  .hero-stage-copy {
    padding-inline: 1rem
  }

  .hero-primary-cta {
    width: 100%
  }

  .hero-meta-line {
    font-size: .58rem
  }

  .redesigned-hero .hero-store-buttons .store-button {
    padding: .58rem .65rem
  }

  .redesigned-hero .hero-store-buttons .store-button strong {
    font-size: .87rem
  }

  .age-chip-row {
    gap: .2rem
  }

  .age-chip-row span {
    width: 25px;
    height: 25px;
    font-size: .58rem
  }

  .hero-trust-strip i {
    display: none
  }

  .hero-trust-strip span {
    width: 100%;
    text-align: center
  }
}

@media(prefers-reduced-motion:reduce) {

  .redesigned-hero .hero-stage-image,
  .redesigned-hero .hero-feature-card,
  .redesigned-hero .store-button {
    transition: none !important
  }
}

/* Ensure the science headline stays readable when the section is placed inside the dark hero wrapper. */
#science-title {
  color: var(--ink);
}

/* ------------------------------------------------------------------
   Immersive in-site sample-book reader
   Keeps PDF reading inside YouDream on desktop and mobile.
------------------------------------------------------------------ */
html.book-reader-open {
  overflow: hidden;
}

.book-reader-modal {
  width: min(96vw, 1240px);
  height: min(94vh, 940px);
  height: min(94dvh, 940px);
  max-width: none;
  max-height: none;
  margin: auto;
}

.book-reader-modal::backdrop {
  background:
    radial-gradient(circle at 22% 16%, rgba(162, 95, 190, .22), transparent 34%),
    rgba(15, 8, 22, .88);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.book-modal-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #160d20;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  box-shadow:
    0 38px 120px rgba(0, 0, 0, .58),
    0 0 90px rgba(137, 73, 164, .12);
}

.book-reader-header {
  min-height: 78px;
  padding: .75rem .82rem .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(92, 48, 111, .98), rgba(48, 25, 61, .98) 62%, rgba(31, 17, 42, .98));
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.book-reader-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .78rem;
}

.book-reader-identity img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.book-reader-identity>div {
  min-width: 0;
  display: grid;
  gap: .17rem;
}

.book-reader-identity small {
  display: flex;
  align-items: center;
  gap: .42rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .67);
}

.book-reader-identity small span:first-child {
  color: #f1cf79;
}

.book-reader-identity small i {
  font-style: normal;
  opacity: .42;
}

.book-reader-identity strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(.98rem, 1.6vw, 1.3rem);
  line-height: 1.2;
  color: #fff;
}

.book-reader-controls {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.book-reader-print {
  min-height: 42px;
  padding: 0 .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.book-reader-print:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .15);
  border-color: rgba(241, 207, 121, .42);
}

.book-reader-print span {
  color: #f1cf79;
  font-size: 1rem;
}

.book-reader-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .2s ease, background .2s ease;
}

.book-reader-close:hover {
  transform: rotate(4deg) scale(1.03);
  background: rgba(255, 255, 255, .17);
}

.book-reader-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .08), transparent 28%),
    #2a2430;
}

.book-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #f4f1f5;
  display: block;
}

.book-reader-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .85rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(135, 76, 158, .18), transparent 30%),
    #f8f6f9;
  color: #5b4864;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: opacity .26s ease, visibility .26s ease;
}

.book-reader-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.book-reader-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(101, 55, 120, .16);
  border-top-color: #6f3d82;
  animation: book-reader-spin .8s linear infinite;
}

@keyframes book-reader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 700px) {
  .book-reader-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
  }

  .book-modal-shell {
    border: 0;
    border-radius: 0;
  }

  .book-reader-header {
    min-height: 66px;
    padding: max(.55rem, env(safe-area-inset-top)) .62rem .55rem .7rem;
    gap: .5rem;
  }

  .book-reader-identity {
    gap: .55rem;
  }

  .book-reader-identity img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
  }

  .book-reader-identity small {
    gap: .3rem;
    font-size: .55rem;
    letter-spacing: .08em;
  }

  .book-reader-identity strong {
    max-width: 56vw;
    font-size: .9rem;
  }

  .book-reader-print {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .book-reader-print b {
    display: none;
  }

  .book-reader-close {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 390px) {

  .book-reader-identity small span:first-child,
  .book-reader-identity small i {
    display: none;
  }

  .book-reader-identity strong {
    max-width: 49vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-reader-spinner {
    animation-duration: 1.8s;
  }
}


/* ------------------------------------------------------------------
   Conversion clarity: price, free sample, Premium value and trust
   Added from parent-conversion evaluation without changing core flow.
------------------------------------------------------------------ */
.hero-conversion-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}

.hero-read-free {
  min-height: 50px;
  padding-inline: 1.15rem;
  box-shadow: 0 16px 34px rgba(240, 202, 118, .2);
}

.hero-offer-note {
  display: grid;
  gap: .13rem;
  margin-top: .72rem;
  max-width: 640px;
  color: rgba(255, 255, 255, .62);
}

.hero-offer-note strong {
  color: #fff;
  font-size: .9rem;
  letter-spacing: -.01em;
}

.hero-offer-note span {
  color: #f1cf79;
  font-size: .73rem;
  font-weight: 750;
}

.hero-offer-note small {
  font-size: .62rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .48);
}

.sample-premium-bridge {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.15rem, 2.4vw, 1.65rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 1rem 1.3rem;
  align-items: center;
  border: 1px solid rgba(240, 202, 118, .24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 30%, rgba(151, 83, 176, .16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 48px rgba(7, 3, 12, .18);
}

.sample-premium-copy {
  min-width: 0;
}

.sample-premium-kicker {
  display: block;
  margin-bottom: .35rem;
  color: #f1cf79;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.sample-premium-copy h3 {
  margin: 0 0 .35rem;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  color: #fff;
}

.sample-premium-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .8rem;
  line-height: 1.55;
}

.sample-premium-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.sample-premium-facts span {
  min-width: 0;
  padding: .72rem .65rem;
  display: grid;
  gap: .12rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.sample-premium-facts b {
  color: #fff;
  font-size: .75rem;
}

.sample-premium-facts small {
  color: rgba(255, 255, 255, .5);
  font-size: .6rem;
  line-height: 1.35;
}

.sample-premium-action {
  min-width: 210px;
  display: grid;
  justify-items: stretch;
  gap: .42rem;
}

.sample-premium-action>strong {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.sample-premium-action>strong small {
  font-size: .68rem;
  color: rgba(255, 255, 255, .52);
  font-weight: 700;
  letter-spacing: 0;
}

.sample-premium-action>small {
  color: rgba(255, 255, 255, .45);
  font-size: .58rem;
  text-align: center;
}

.story-trust-panel {
  margin-top: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(47, 30, 54, .11);
  border-radius: 30px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 20px 55px rgba(44, 29, 47, .08);
}

.story-trust-intro h3 {
  margin: .35rem 0 .6rem;
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  line-height: 1.03;
  color: #25162f;
  letter-spacing: -.045em;
}

.story-trust-intro>p {
  margin: 0;
  color: #665b6b;
  font-size: .9rem;
  line-height: 1.65;
}

.story-trust-proof {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  padding: .85rem;
  border-radius: 18px;
  background: #f3eaf6;
  color: #4f3c56;
}

.story-trust-proof>span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6c397d;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.story-trust-proof p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.52;
}

.story-trust-proof b {
  color: #2f1c39;
}

.story-trust-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.story-trust-steps article {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  padding: .9rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(73, 49, 81, .09);
}

.story-trust-steps article>span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #2c1935;
  color: #f1cf79;
  font-size: .64rem;
  font-weight: 850;
}

.story-trust-steps b {
  display: block;
  margin-bottom: .2rem;
  color: #2c1935;
  font-size: .8rem;
}

.story-trust-steps p {
  margin: 0;
  color: #746a78;
  font-size: .69rem;
  line-height: 1.5;
}

.premium-price-lockup {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  margin: .75rem 0 .35rem;
}

.premium-price-lockup strong {
  color: #f1cf79;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.premium-price-lockup span {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  font-weight: 750;
}

.premium-renewal {
  margin-top: .55rem !important;
  max-width: 60ch;
  color: rgba(255, 255, 255, .47) !important;
  font-size: .65rem !important;
  line-height: 1.5;
}

/* Reader now includes a gentle next step without taking the user off-site. */
.book-modal-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.book-reader-offer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem .72rem 1rem;
  color: #fff;
  background: linear-gradient(100deg, #2d1838, #432451 58%, #2a1734);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.book-reader-offer>div {
  min-width: 0;
  display: grid;
  gap: .08rem;
}

.book-reader-offer small {
  color: #f1cf79;
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.book-reader-offer strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
  color: #fff;
}

.book-reader-offer span {
  color: rgba(255, 255, 255, .53);
  font-size: .62rem;
}

.book-reader-offer .button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: .65rem 1rem;
  font-size: .72rem;
}

@media (max-width: 980px) {
  .sample-premium-bridge {
    grid-template-columns: 1fr;
  }

  .sample-premium-action {
    min-width: 0;
    grid-template-columns: auto minmax(180px, auto) 1fr;
    align-items: center;
  }

  .sample-premium-action>small {
    text-align: left;
  }

  .story-trust-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-conversion-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-read-free {
    width: 100%;
  }

  .hero-store-buttons {
    width: 100%;
  }

  .redesigned-hero .hero-store-buttons .store-button {
    flex: 1 1 145px;
    min-width: 0;
  }

  .hero-offer-note {
    margin-top: .62rem;
  }

  .hero-offer-note span {
    line-height: 1.4;
  }

  .sample-premium-facts {
    grid-template-columns: 1fr;
  }

  .sample-premium-facts span {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: .5rem;
  }

  .sample-premium-action {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .sample-premium-action>strong,
  .sample-premium-action>small {
    text-align: center;
  }

  .story-trust-steps {
    grid-template-columns: 1fr;
  }

  .book-reader-offer {
    min-height: 84px;
    padding: .58rem .65rem max(.58rem, env(safe-area-inset-bottom));
    gap: .55rem;
  }

  .book-reader-offer>div {
    gap: .05rem;
  }

  .book-reader-offer small {
    font-size: .48rem;
  }

  .book-reader-offer strong {
    max-width: 56vw;
    font-size: .72rem;
  }

  .book-reader-offer>div>span {
    max-width: 56vw;
    font-size: .52rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .book-reader-offer .button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .book-reader-offer .button span {
    font-size: 1.15rem;
    color: #25162f;
  }
}

@media (max-width: 390px) {

  .book-reader-offer strong,
  .book-reader-offer>div>span {
    max-width: 62vw;
  }
}

.hero-actions .hero-read-free-top {
  min-width: 178px;
}

.hero-offer-note-top {
  margin-top: .7rem;
}

@media (max-width: 699px) {
  .hero-actions .hero-read-free-top {
    flex: 1 1 100%;
    width: 100%;
  }
}


/* ------------------------------------------------------------------
   Hero free-story age picker
   Keeps the main CTA relevant to the child's age before opening PDF.
------------------------------------------------------------------ */
.sample-age-picker-modal {
  width: min(94vw, 900px);
  max-width: none;
}

.sample-age-picker-modal::backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 96, 192, .22), transparent 34%),
    rgba(15, 8, 22, .86);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.sample-age-picker-shell {
  position: relative;
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 4%, rgba(240, 202, 118, .13), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(161, 94, 185, .18), transparent 30%),
    linear-gradient(145deg, #241530, #140b1d 72%);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .55);
  overflow: hidden;
}

.sample-age-picker-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 32%, rgba(255, 255, 255, .55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 69% 78%, rgba(255, 255, 255, .45) 0 1px, transparent 1.5px);
  background-size: 170px 170px, 220px 220px, 190px 190px;
}

.sample-age-picker-close {
  position: absolute;
  z-index: 3;
  top: .9rem;
  right: .9rem;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .1);
}

.sample-age-picker-close:hover {
  background: rgba(255, 255, 255, .15);
}

.sample-age-picker-heading {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto clamp(1.25rem, 3vw, 1.8rem);
  padding-inline: 2rem;
  text-align: center;
}

.sample-age-picker-kicker {
  display: inline-block;
  margin-bottom: .55rem;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.sample-age-picker-heading h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.sample-age-picker-heading p {
  margin: .72rem auto 0;
  max-width: 55ch;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(.78rem, 1.6vw, .92rem);
  line-height: 1.6;
}

.sample-age-picker-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.sample-age-choice {
  appearance: none;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: .72rem;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 30px;
  align-items: center;
  gap: .75rem;
  text-align: left;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .045));
  cursor: pointer;
  box-shadow: 0 15px 36px rgba(0, 0, 0, .16);
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.sample-age-choice:hover,
.sample-age-choice:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(240, 202, 118, .55);
  background: linear-gradient(145deg, rgba(240, 202, 118, .14), rgba(255, 255, 255, .065));
  box-shadow: 0 22px 48px rgba(0, 0, 0, .24), 0 0 0 1px rgba(240, 202, 118, .08);
  outline: none;
}

.sample-age-choice-image {
  width: 72px;
  aspect-ratio: 3/4;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.sample-age-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-age-choice-copy {
  min-width: 0;
  display: grid;
  gap: .1rem;
}

.sample-age-choice-copy small {
  color: rgba(255, 255, 255, .5);
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.sample-age-choice-copy strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1;
}

.sample-age-choice-copy span {
  margin-top: .22rem;
  color: rgba(255, 255, 255, .72);
  font-size: .69rem;
  line-height: 1.35;
}

.sample-age-choice-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: linear-gradient(145deg, #ffe6a3, var(--gold));
  font-weight: 900;
  transition: transform .22s var(--ease);
}

.sample-age-choice:hover .sample-age-choice-arrow,
.sample-age-choice:focus-visible .sample-age-choice-arrow {
  transform: translateX(3px);
}

.sample-age-picker-note {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, .48);
  font-size: .65rem;
}

.sample-age-picker-note span {
  color: var(--gold);
  margin-right: .25rem;
}

@media (max-width: 760px) {
  .sample-age-picker-modal {
    width: min(94vw, 560px);
  }

  .sample-age-picker-shell {
    padding: 1.35rem 1rem 1.1rem;
    border-radius: 24px;
  }

  .sample-age-picker-heading {
    padding-inline: 1.9rem;
    margin-bottom: 1rem;
  }

  .sample-age-picker-grid {
    grid-template-columns: 1fr;
    gap: .58rem;
  }

  .sample-age-choice {
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    padding: .58rem;
    border-radius: 18px;
  }

  .sample-age-choice-image {
    width: 58px;
    border-radius: 12px;
  }

  .sample-age-choice-copy strong {
    font-size: 1.55rem;
  }

  .sample-age-choice-copy span {
    font-size: .66rem;
  }

  .sample-age-picker-note {
    margin-top: .8rem;
  }
}

@media (max-width: 390px) {
  .sample-age-picker-shell {
    padding-top: 1.15rem;
  }

  .sample-age-picker-heading h2 {
    font-size: 1.85rem;
  }

  .sample-age-picker-heading p {
    font-size: .72rem;
    line-height: 1.48;
  }

  .sample-age-picker-close {
    width: 36px;
    height: 36px;
    top: .65rem;
    right: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .sample-age-choice,
  .sample-age-choice-arrow {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Kindle individual-book option
   A secondary purchase path beneath Premium, deliberately quieter than
   the app-store CTAs so the subscription remains the primary offer.
------------------------------------------------------------------- */
.kindle-book-option {
  display: grid;
  gap: .42rem;
  width: min(100%, 390px);
  margin-top: .9rem;
}

.kindle-book-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: .72rem;
  min-height: 58px;
  padding: .58rem .72rem;
  border: 1px solid rgba(240, 202, 118, .32);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 30px rgba(8, 3, 13, .2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s var(--ease), border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.kindle-book-button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 202, 118, .62);
  background: linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 36px rgba(8, 3, 13, .28);
}

.kindle-book-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f1cf79;
  color: #24142f;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: Georgia, serif;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(240, 202, 118, .18);
}

.kindle-book-label {
  display: grid;
  gap: .08rem;
  min-width: 0;
  line-height: 1.08;
}

.kindle-book-label small {
  color: rgba(255, 255, 255, .56);
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.kindle-book-label strong {
  color: #fff;
  font-size: .96rem;
  letter-spacing: -.015em;
}

.kindle-book-arrow {
  color: #f1cf79;
  font-size: 1.08rem;
  transition: transform .2s var(--ease);
}

.kindle-book-button:hover .kindle-book-arrow {
  transform: translateX(3px);
}

.kindle-book-note {
  padding-left: .1rem;
  color: rgba(255, 255, 255, .54);
  font-size: .61rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .kindle-book-option {
    width: 100%;
    margin-top: .76rem;
  }

  .kindle-book-button {
    min-height: 56px;
  }

  .kindle-book-note {
    font-size: .59rem;
  }
}

/* ================================================================
   Recently added story bookshelf, isolated to the redesigned hero.
   To change book data, edit assets/recently-added-books.js.
   ================================================================ */
.redesigned-hero .hero-stage-copy:has(.recent-shelf) {
  width: min(760px, 70%);
  padding-block: clamp(1.65rem, 3vw, 2.8rem);
}

.redesigned-hero .hero-stage:has(.recent-shelf) {
  min-height: clamp(680px, 61vw, 755px);
}

.redesigned-hero .hero-stage:has(.recent-shelf) .hero-stage-scrim {
  background: linear-gradient(90deg, rgba(19, 9, 30, .97) 0%, rgba(22, 11, 35, .92) 35%, rgba(22, 11, 35, .65) 60%, rgba(22, 11, 35, .14) 100%), linear-gradient(0deg, rgba(10, 5, 19, .30), transparent 55%);
}

.recent-shelf {
  width: 100%;
  min-width: 0;
  max-width: 615px;
  margin-top: .3rem;
  padding: clamp(.85rem, 1.5vw, 1.2rem);
  border: 1px solid rgba(255, 232, 175, .29);
  border-radius: 24px;
  color: white;
  background: linear-gradient(140deg, rgba(77, 45, 87, .88), rgba(26, 15, 38, .94));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 55px rgba(9, 3, 16, .29), inset 0 1px rgba(255, 255, 255, .11);
  opacity: 0.7;
}

.recent-shelf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .82rem;
}

.recent-shelf-heading {
  min-width: 0;
}

.recent-shelf-kicker {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #f9d988;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
}

.recent-shelf-kicker span {
  font-size: .88rem;
}

.recent-shelf h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #fff9eb;
  font-size: clamp(1.35rem, 2.15vw, 1.75rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  margin: .24rem 0 .24rem;
}

.recent-shelf-heading p {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  line-height: 1.35;
  margin: 0;
}

.recent-shelf-arrows {
  display: flex;
  flex: 0 0 auto;
  gap: .4rem;
  padding-bottom: .13rem;
}

.recent-shelf-arrow {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: #fff9ee;
  background: rgba(255, 255, 255, .11);
  font-size: 1.18rem;
  cursor: pointer;
  transition: transform .23s ease, background .23s ease, border-color .23s ease;
}

.recent-shelf-arrow:hover:not(:disabled) {
  background: rgba(242, 203, 122, .23);
  border-color: #f0ca76;
  transform: translateY(-2px);
}

.recent-shelf-arrow:disabled {
  opacity: .32;
  cursor: not-allowed;
}

.recent-shelf-track {
  --recent-gap: .72rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--recent-gap)) / 2);
  gap: var(--recent-gap);
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .15rem .1rem .36rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.recent-shelf-track::-webkit-scrollbar {
  display: none;
}

.recent-book-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .48rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: .55rem .65rem .68rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .082);
  color: white;
  text-align: left;
  cursor: pointer;
  transition: background .24s ease, transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  opacity: 1;
}

.recent-book-card:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(250, 223, 163, .65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .19);
  transform: translateY(-3px);
}

.recent-book-image-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(139px, 14vw, 165px);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 65%, rgba(243, 193, 118, .17), transparent 66%);
}

.recent-book-cover {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
  transition: transform .25s ease;
}

.recent-book-card:hover .recent-book-cover {
  transform: scale(1.045) rotate(-1deg);
}

.recent-book-image-wrap.no-image {
  background: radial-gradient(circle, #665070, #2e1a40);
}

.recent-book-play {
  position: absolute;
  right: .48rem;
  bottom: .35rem;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border-radius: 50%;
  color: #30203c;
  background: #f5d48b;
  font-size: .7rem;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .25);
}

.recent-book-bottom {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  min-width: 0;
}

.recent-book-label {
  color: #f4d68f;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
}

.recent-book-title {
  color: #fff;
  font-size: clamp(.78rem, 1.3vw, .93rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.016em;
  min-height: 2.4em;
}

.recent-book-cta {
  color: rgba(255, 255, 255, .68);
  font-size: .66rem;
  line-height: 1.4;
  margin-top: .13rem;
}

.recent-book-card.is-preview .recent-book-cover {
  opacity: .92;
}

.recent-shelf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-top: .48rem;
}

.recent-shelf-pages {
  display: flex;
  gap: .38rem;
  align-items: center;
}

.recent-shelf-page {
  padding: 0;
  width: 19px;
  height: 7px;
  border: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, .27);
  cursor: pointer;
  transition: background .22s ease, width .22s ease;
}

.recent-shelf-page.is-active {
  width: 30px;
  background: #f0ca76;
}

.recent-shelf-hint {
  font-size: .65rem;
  color: rgba(255, 255, 255, .61);
  white-space: nowrap;
}

.recent-shelf-hint>span {
  color: #f0ca76;
  font-size: .9rem;
  padding-right: .18rem;
}

.recent-shelf-empty {
  font-size: .9rem;
  color: #fff;
}

.recent-shelf :focus-visible {
  outline: 3px solid #ffda8b;
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Accessible, scrollable details dialog: paper + real YouTube Shorts iframe. */
.recent-book-modal {
  width: min(960px, calc(100% - 28px));
  max-width: none;
  max-height: min(92dvh, 930px);
  padding: 0;
  border: 1px solid rgba(250, 225, 164, .24);
  border-radius: 26px;
  background: #fffaf3;
  color: #2e213e;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .49);
  overflow: auto;
  overscroll-behavior: contain;
}

.recent-book-modal::backdrop {
  background: rgba(13, 7, 22, .84);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.recent-modal-shell {
  overflow: hidden;
}

.recent-modal-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem clamp(1rem, 3vw, 2rem);
  background: #241535;
  color: #fff;
}

.recent-modal-brand {
  display: flex;
  align-items: center;
  gap: .58rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .105em;
}

.recent-modal-brand span span {
  color: rgba(255, 255, 255, .4);
  margin-inline: .25rem;
}

.recent-modal-star {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #402548;
  background: #f0ca76;
  font-size: 1rem;
}

.recent-modal-close {
  display: grid;
  place-items: center;
  height: 39px;
  width: 39px;
  min-width: 39px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .27);
  background: rgba(255, 255, 255, .12);
  color: white;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.recent-modal-close:hover {
  background: rgba(255, 255, 255, .24);
}

.recent-modal-heading {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem clamp(1.15rem, 3.5vw, 2.4rem);
  background: radial-gradient(circle at 5% 15%, #f3dfb8, transparent 44%), #fff7e9;
  border-bottom: 1px solid #eadccc;
}

.recent-modal-heading img {
  width: 78px;
  height: 113px;
  flex: 0 0 78px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 9px 24px rgba(54, 36, 49, .27);
}

.recent-modal-tag {
  display: inline-block;
  color: #744878;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.recent-modal-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: .3rem 0;
  color: #2d2039;
}

.recent-modal-heading p {
  color: #736479;
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
}

.recent-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.25rem;
  padding: clamp(1.15rem, 3vw, 2.1rem);
}

.recent-modal-paper,
.recent-modal-story {
  min-width: 0;
}

.recent-modal-paper {
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border-radius: 20px;
  background: #f6f0ed;
  border: 1px solid #eee2da;
}

.recent-modal-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(150deg, #442453, #21132f);
}

.recent-modal-section-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .68rem;
  letter-spacing: .11em;
  font-weight: 850;
  color: #94558a;
  line-height: 1.2;
}

.recent-modal-story .recent-modal-section-kicker {
  color: #f0ca76;
}

.recent-modal-section-kicker>span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  letter-spacing: 0;
  font-size: .65rem;
}

.recent-modal-paper h3 {
  margin: 1rem 0 .66rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: #342443;
  font-size: 1.38rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.recent-modal-paper-summary {
  margin: 0 0 1rem;
  color: #4c4157;
  white-space: pre-line;
  font-size: .91rem;
  line-height: 1.7;
}

.recent-modal-source,
.recent-modal-youtube {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.4;
}

.recent-modal-source {
  color: #693d77;
  border-bottom: 1px solid currentColor;
  padding-bottom: .12rem;
}

.recent-modal-youtube {
  color: #f7d692;
  margin-top: .9rem;
  border-bottom: 1px solid rgba(247, 214, 146, .7);
  padding-bottom: .12rem;
}

.recent-modal-preview-note {
  margin: 1.2rem 0 0;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: #e8d8ea;
  color: #5f336b;
  font-size: .77rem;
}

.recent-modal-video-copy {
  color: rgba(255, 255, 255, .76);
  font-size: .89rem;
  line-height: 1.5;
  margin: 1rem 0 1.15rem;
}

.recent-modal-video-wrap {
  position: relative;
  align-self: center;
  width: min(100%, 250px);
  aspect-ratio: 9/16;
  max-height: 440px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #100c17;
  box-shadow: 0 13px 31px rgba(0, 0, 0, .33);
}

.recent-modal-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.recent-modal-video-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  height: 100%;
  color: #e9d9ed;
  font-size: .83rem;
  line-height: 1.5;
}

.recent-book-modal [hidden] {
  display: none !important;
}

.recent-book-modal :focus-visible {
  outline: 3px solid #be84dc;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .redesigned-hero .hero-stage-copy:has(.recent-shelf) {
    width: 78%;
  }
}

@media (max-width: 699px) {
  .redesigned-hero .hero-stage:has(.recent-shelf) {
    min-height: 760px;
  }

  .redesigned-hero .hero-stage:has(.recent-shelf) .hero-stage-image {
    object-position: 60% top;
  }

  .redesigned-hero .hero-stage:has(.recent-shelf) .hero-stage-scrim {
    background: linear-gradient(180deg, rgba(15, 7, 24, .10) 0%, rgba(21, 10, 32, .45) 23%, rgba(21, 10, 32, .94) 48%, rgba(15, 7, 24, .99) 100%);
  }

  .redesigned-hero .hero-stage-copy:has(.recent-shelf) {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 1.2rem 1rem 1.25rem;
  }

  .redesigned-hero .hero-stage:has(.recent-shelf) h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    margin-bottom: .7rem;
  }

  .redesigned-hero .hero-stage:has(.recent-shelf) .hero-lede {
    font-size: .85rem;
    margin-bottom: .72rem;
    line-height: 1.45;
  }

  .recent-shelf {
    border-radius: 19px;
    padding: .7rem;
    margin-top: .12rem;
  }

  .recent-shelf-header {
    margin-bottom: .55rem;
  }

  .recent-shelf h2 {
    font-size: 1.37rem;
  }

  .recent-shelf-heading p {
    font-size: .69rem;
    max-width: 29ch;
  }

  .recent-shelf-arrows {
    gap: .27rem;
  }

  .recent-shelf-arrow {
    width: 33px;
    height: 33px;
  }

  .recent-shelf-track {
    --recent-gap: .46rem;
  }

  .recent-book-card {
    padding: .4rem .42rem .55rem;
    border-radius: 13px;
    gap: .38rem;
  }

  .recent-book-image-wrap {
    height: clamp(118px, 35vw, 153px);
  }

  .recent-book-title {
    font-size: .79rem;
  }

  .recent-book-cta {
    font-size: .59rem;
  }

  .recent-book-play {
    right: .22rem;
    bottom: .22rem;
    width: 25px;
    height: 25px;
  }

  .recent-shelf-hint {
    font-size: .58rem;
  }

  .recent-modal-body {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: .85rem;
  }

  .recent-modal-heading {
    padding: 1rem;
  }

  .recent-modal-heading img {
    width: 68px;
    height: 99px;
    flex-basis: 68px;
  }

  .recent-modal-paper,
  .recent-modal-story {
    padding: 1.1rem;
  }

  .recent-modal-video-wrap {
    width: min(100%, 224px);
    max-height: none;
  }

  .recent-book-modal {
    max-height: 92dvh;
    border-radius: 18px;
  }
}

@media (max-width: 370px) {
  .redesigned-hero .hero-stage:has(.recent-shelf) {
    min-height: 740px;
  }

  .recent-shelf-kicker {
    font-size: .55rem;
  }

  .recent-shelf h2 {
    font-size: 1.19rem;
  }

  .recent-shelf-heading p {
    font-size: .64rem;
  }

  .recent-shelf-hint {
    font-size: .5rem;
  }

  .recent-book-image-wrap {
    height: 115px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recent-shelf-track {
    scroll-behavior: auto;
  }

  .recent-shelf-arrow,
  .recent-book-card,
  .recent-book-cover,
  .recent-shelf-page {
    transition: none !important;
  }
}

/* Override the site's generic section:not(.hero) vertical spacing. */
.hero-stage section.recent-shelf {
  padding: clamp(.85rem, 1.5vw, 1.2rem);
}

@media (max-width: 699px) {
  .hero-stage section.recent-shelf {
    padding: .7rem;
  }
}

/* Lead with the playful video on small screens, then let parents read the paper. */
@media (max-width: 699px) {
  .recent-modal-story {
    order: -1;
  }
}


/* ================================================================
   Mobile polish — 12 October 2026
   Two-cover swipe behaviour, accessible touch targets, safe areas,
   legible copy, no zooming/sideways clipping on small phones.
   ================================================================ */
/* Snap per PAIR, never strand one card from the next pair. */
.recent-book-card {
  scroll-snap-align: none;
}

.recent-book-card:nth-child(odd) {
  scroll-snap-align: start;
}

.recent-shelf-track {
  scroll-padding-inline: .1rem;
}

/* Generous arrow targets even when the visible arrow stays delicate. */
.recent-shelf-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

/* Use a large invisible hit area around compact visual pagination pills. */
.recent-shelf-page {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 12px;
}

.recent-shelf-page::before {
  content: '';
  display: block;
  width: 22px;
  height: 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .35);
  transition: width .2s ease, background .2s ease;
}

.recent-shelf-page.is-active {
  width: 44px;
  background: transparent;
}

.recent-shelf-page.is-active::before {
  width: 29px;
  background: #f0ca76;
}

.recent-shelf-page:hover::before {
  background: #ffe3a1;
}

.recent-shelf-pages {
  gap: 0;
}

.recent-modal-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
}

.recent-shelf-track {
  touch-action: auto;
}

@media (hover: none) {
  .recent-book-card:hover {
    transform: none;
  }

  .recent-book-card:hover .recent-book-cover {
    transform: none;
  }
}

@media (max-width: 699px) {
  .redesigned-hero .hero-stage:has(.recent-shelf) {
    height: auto;
    min-height: 755px;
  }

  .recent-shelf-header {
    align-items: flex-end;
  }

  .recent-shelf-arrow {
    width: 44px;
    height: 44px;
  }

  .recent-shelf {
    padding: .85rem;
  }

  .hero-stage section.recent-shelf {
    padding: .85rem;
  }

  .recent-shelf-bottom {
    flex-wrap: wrap;
    gap: 0 .5rem;
    margin-top: .26rem;
  }

  .recent-shelf-pages {
    flex: 0 0 100%;
    justify-content: center;
  }

  .recent-shelf-hint {
    flex: 1 1 100%;
    text-align: center;
    font-size: .72rem;
    white-space: normal;
    line-height: 1.35;
    margin: -.12rem 0 .15rem;
  }

  .recent-shelf h2 {
    font-size: clamp(1.25rem, 5.4vw, 1.48rem);
  }

  .recent-shelf-heading p {
    font-size: .75rem;
    line-height: 1.45;
  }

  .recent-book-cta {
    font-size: .69rem;
    line-height: 1.4;
  }

  .recent-book-label {
    font-size: .61rem;
  }

  .recent-book-title {
    font-size: clamp(.78rem, 3.3vw, .91rem);
  }

  .recent-modal-topbar {
    padding: .55rem .8rem;
  }

  .recent-book-modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .recent-modal-paper-summary {
    font-size: .95rem;
    line-height: 1.65;
  }

  .recent-modal-video-copy {
    font-size: .93rem;
  }

  .recent-modal-source,
  .recent-modal-youtube {
    min-height: 44px;
    align-items: center;
  }

  .recent-modal-video-wrap {
    width: min(100%, 230px);
  }

  /* Keep the overlay underneath the home indicator, and avoid background scroll. */
  body:has(dialog[open]) {
    overflow: hidden;
  }
}

@media (max-width: 370px) {
  .recent-shelf-arrow {
    width: 44px;
    height: 44px;
  }

  .recent-shelf h2 {
    font-size: 1.2rem;
  }

  .recent-shelf-heading p {
    font-size: .72rem;
  }

  .recent-shelf-kicker {
    font-size: .56rem;
    letter-spacing: .1em;
  }

  .recent-shelf-header {
    gap: .2rem;
  }

  .recent-shelf-arrows {
    gap: .2rem;
  }

  .recent-book-image-wrap {
    height: 115px;
  }

  .recent-book-card {
    padding: .4rem .35rem .52rem;
  }

  .recent-shelf {
    padding: .7rem;
  }

  .hero-stage section.recent-shelf {
    padding: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recent-shelf-page::before {
    transition: none;
  }
}

/* The normal app-store CTAs remain near the top and in Premium.
   Avoid floating duplicate icons obscuring cards on small touchscreens. */
@media (max-width: 699px) {
  .floating-store-links {
    display: none;
  }
}