:root {
  --ink: #4a3024;
  --muted: #80685c;
  --paper: #fff9f1;
  --white: #fff;
  --orange: #f58a2a;
  --orange-dark: #b64e08;
  --sun: #ffd86a;
  --blue: #7bcfe1;
  --mint: #a9d8ae;
  --coral: #fa8f78;
  --line: #eaded2;
  --shadow: 0 24px 70px rgb(94 55 31 / 13%);
  color-scheme: light;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, button, a { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 99; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(234 222 210 / 75%);
  background: rgb(255 249 241 / 90%);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; text-decoration: none; font-weight: 850; font-size: 22px; letter-spacing: -.03em; }
.brand img { width: 48px; height: 48px; border-radius: 15px; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a, .footer-links a { color: #6e574b; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--orange-dark); }
.site-header > .button { justify-self: end; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 23px; border: 0; border-radius: 17px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 22px; height: 22px; fill: currentColor; }
.button-small { min-height: 44px; padding-inline: 18px; border-radius: 14px; }
.button-primary { background: var(--orange); color: var(--ink); box-shadow: 0 12px 24px rgb(220 103 21 / 24%); }
.button-primary:hover { background: #f58a2a; box-shadow: 0 15px 30px rgb(220 103 21 / 30%); }
.button-secondary { border: 1px solid var(--line); background: white; box-shadow: 0 8px 20px rgb(74 48 36 / 7%); }
.button-quiet { background: #f7e8d8; color: #6b4330; }

.hero { min-height: 695px; display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 72px; padding-block: 72px 92px; }
.eyebrow { margin: 0 0 19px; color: var(--orange-dark); font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { margin-right: 6px; }
.hero h1, .section-heading h2, .worlds-copy h2, .parents-copy h2, .download-copy h2 { margin: 0; font-size: clamp(49px, 5.5vw, 78px); line-height: .99; letter-spacing: -.058em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 590px; margin: 28px 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }

.hero-art { position: relative; min-height: 525px; display: grid; place-items: center; }
.art-card { position: relative; z-index: 2; width: min(470px, 84%); padding: 18px; border: 1px solid rgb(255 255 255 / 86%); border-radius: 34px; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.art-card-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; }
.mini-brand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 850; }
.mini-brand img { width: 28px; height: 28px; border-radius: 8px; }
.age-pill { padding: 7px 11px; border-radius: 999px; background: #f4eee7; color: #7d6659; font-size: 10px; font-weight: 800; }
.art-canvas { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.19; border-radius: 24px; background: #e6f5fb; }
.art-canvas img { width: 86%; height: 86%; object-fit: contain; }
.stroke-dot { position: absolute; width: 19px; height: 19px; border: 5px solid white; border-radius: 50%; box-shadow: 0 4px 12px rgb(74 48 36 / 19%); }
.dot-coral { left: 17%; top: 24%; background: var(--coral); }
.dot-sun { right: 17%; top: 49%; background: var(--sun); }
.dot-mint { left: 33%; bottom: 14%; background: var(--mint); }
.replay-row { display: grid; grid-template-columns: 42px auto 1fr; align-items: center; gap: 11px; padding: 16px 5px 1px; }
.replay-play { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #ffedd9; color: var(--orange-dark); }
.replay-play svg { width: 22px; fill: currentColor; }
.replay-row strong, .replay-row small { display: block; }
.replay-row strong { font-size: 12px; }
.replay-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.replay-line { position: relative; height: 5px; border-radius: 8px; background: #efe5db; }
.replay-line i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--orange); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 18px; background: rgb(255 255 255 / 94%); box-shadow: 0 16px 36px rgb(75 50 35 / 14%); }
.floating-card strong, .floating-card span, .floating-card small { display: block; }
.floating-card strong { font-size: 14px; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.floating-pages { right: -4px; top: 52px; display: block; transform: rotate(4deg); }
.floating-pages strong { color: var(--orange); font-size: 24px; line-height: 1; }
.floating-pages span { margin-top: 4px; color: #80685c; font-size: 10px; font-weight: 750; }
.floating-local { left: -16px; bottom: 72px; transform: rotate(-4deg); }
.floating-local svg { width: 31px; fill: #67aa76; }
.spark { position: absolute; font-weight: 900; }
.spark-one { left: 2%; top: 15%; color: var(--sun); font-size: 36px; transform: rotate(-12deg); }
.spark-two { right: 3%; bottom: 20%; color: var(--blue); font-size: 19px; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; padding: 27px 32px; border-block: 1px solid var(--line); }
.trust-strip div { display: flex; flex-direction: column; align-items: center; gap: 3px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { color: var(--orange-dark); font-size: 25px; letter-spacing: -.04em; }
.trust-strip span { color: var(--muted); font-size: 11px; font-weight: 750; }

.feature-section { padding-block: 120px; }
.section-heading { max-width: 800px; margin: 0 auto 54px; text-align: center; }
.section-heading h2, .worlds-copy h2, .parents-copy h2, .download-copy h2 { font-size: clamp(40px, 4.2vw, 62px); line-height: 1.06; }
.section-heading > p:last-child, .worlds-copy > p, .download-copy > p { max-width: 650px; margin: 23px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 310px; padding: 34px; border: 1px solid rgb(255 255 255 / 70%); border-radius: 28px; }
.feature-orange { background: #fff0df; }
.feature-blue { background: #e7f6fa; }
.feature-green { background: #eaf5e7; }
.feature-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 38px; border-radius: 18px; background: white; box-shadow: 0 9px 23px rgb(74 48 36 / 8%); }
.feature-icon svg { width: 28px; fill: var(--orange-dark); }
.feature-blue .feature-icon svg { fill: #378ba1; }
.feature-green .feature-icon svg { fill: #5b9a65; }
.feature-card h3 { margin: 0 0 13px; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.worlds-section { padding-block: 105px; overflow: hidden; background: #f7eadc; }
.worlds-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.worlds-copy > p { margin-inline: 0; }
.text-link { display: inline-flex; gap: 8px; margin-top: 22px; color: var(--orange-dark); font-size: 14px; font-weight: 850; text-decoration: none; }
.world-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 16px; transform: rotate(1.5deg); }
.world-card { overflow: hidden; position: relative; min-height: 190px; margin: 0; border: 8px solid white; border-radius: 25px; background: white; box-shadow: 0 18px 45px rgb(75 50 35 / 12%); }
.world-main { grid-row: span 2; }
.world-card img { width: 100%; height: 100%; object-fit: contain; background: white; }
.world-card figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 12px; background: rgb(255 255 255 / 93%); font-size: 11px; font-weight: 850; box-shadow: 0 7px 18px rgb(74 48 36 / 11%); }

.parents-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding-block: 130px; }
.parent-visual { position: relative; min-height: 495px; }
.memory-card { position: absolute; width: 340px; padding: 17px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.memory-card img { aspect-ratio: 1.18; border-radius: 20px; object-fit: contain; background: #f0f8ec; }
.memory-card p { display: flex; justify-content: space-between; align-items: end; margin: 15px 4px 2px; }
.memory-card strong, .memory-card span { display: block; }
.memory-card strong { font-size: 14px; }
.memory-card p span { color: var(--muted); font-size: 10px; }
.memory-back { left: 50px; top: 12px; height: 385px; padding: 25px; background: #ffd98c; transform: rotate(-8deg); }
.memory-back span { font-size: 12px; font-weight: 800; }
.memory-front { right: 35px; bottom: 20px; transform: rotate(5deg); }
.heart-bubble { position: absolute; right: 10px; top: 60px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 27px; box-shadow: 0 14px 32px rgb(219 95 77 / 24%); }
.parents-copy ul { display: grid; gap: 22px; margin: 32px 0 5px; padding: 0; list-style: none; }
.parents-copy li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.parents-copy li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e3f2df; color: #4f945d; font-weight: 900; }
.parents-copy li strong { font-size: 15px; }
.parents-copy li p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.download-section { padding-block: 40px 100px; }
.download-inner { overflow: hidden; position: relative; min-height: 420px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; padding: 64px 72px; border-radius: 38px; background: var(--ink); color: white; }
.download-copy { position: relative; z-index: 2; }
.download-copy .eyebrow { color: #ffbf74; }
.download-copy > p { margin-inline: 0; color: #d9c8bd; }
.download-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button-light { background: var(--orange); }
.store-button { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 16px; color: white; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
a.store-button:hover { background: rgb(255 255 255 / 10%); transform: translateY(-2px); }
.store-button svg { width: 27px; fill: currentColor; }
.store-button small, .store-button strong { display: block; }
.store-button small { color: #d8c8be; font-size: 9px; }
.store-button strong { margin-top: 2px; font-size: 13px; }
.store-coming { opacity: .66; cursor: default; }
.download-mark { justify-self: end; width: min(285px, 95%); border-radius: 56px; box-shadow: 0 24px 70px rgb(0 0 0 / 25%); transform: rotate(5deg); }

footer { border-top: 1px solid var(--line); background: #fffdf9; }
.footer-inner { min-height: 210px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding-block: 42px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-inner > div:first-child p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 70px; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 555px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .worlds-inner, .parents-section { grid-template-columns: 1fr; }
  .worlds-copy { text-align: center; }
  .worlds-copy > p { margin-inline: auto; }
  .parents-copy { max-width: 650px; margin-inline: auto; }
  .parent-visual { width: min(600px, 100%); margin-inline: auto; }
  .download-inner { grid-template-columns: 1fr; text-align: center; }
  .download-copy > p { margin-inline: auto; }
  .download-actions { justify-content: center; }
  .download-mark { display: none; }
}

@media (max-width: 650px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 66px; padding: 9px 15px; }
  .brand { font-size: 19px; }
  .brand img { width: 42px; height: 42px; border-radius: 13px; }
  .site-header .button { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: auto; padding-block: 58px 64px; }
  .hero h1 { font-size: 48px; }
  .hero-lede { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 430px; margin-top: 14px; }
  .art-card { width: 92%; padding: 12px; border-radius: 26px; }
  .art-canvas { border-radius: 19px; }
  .floating-pages { right: -5px; top: 20px; }
  .floating-local { left: -4px; bottom: 27px; }
  .spark { display: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; margin-inline: 15px; padding: 0; }
  .trust-strip div { padding: 20px 8px; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-section, .parents-section { padding-block: 85px; }
  .feature-card { padding: 28px; }
  .worlds-section { padding-block: 80px; }
  .worlds-inner { gap: 50px; }
  .world-gallery { grid-template-columns: 1fr 1fr; }
  .world-main { grid-column: span 2; grid-row: auto; min-height: 300px; }
  .world-card { min-height: 145px; }
  .parent-visual { min-height: 395px; }
  .memory-card { width: 270px; }
  .memory-back { left: 5px; height: 310px; }
  .memory-front { right: 4px; }
  .heart-bubble { right: 0; top: 40px; }
  .download-section { padding-bottom: 70px; }
  .download-inner { padding: 50px 22px; border-radius: 28px; }
  .download-actions { flex-direction: column; }
  .store-button, .download-actions .button { width: 100%; }
  .store-button { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin-inline: auto; }
  .footer-links { justify-content: center; }
  .copyright { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
