:root {
  color-scheme: light;
  --gold: #ffc629;
  --crimson: #9b0b24;
  --cream: #fff6e3;
  --ink: #183b30;
  --muted: #58635b;
  --line: #d9ddcc;
  --paper: #faf8ee;
  --forest: #153c30;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; min-width: 0; font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--crimson); outline-offset: 5px; }
p { margin: 0 0 1.2rem; }
em { font-weight: inherit; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.055em; line-height: 1.04; font-weight: 700; margin: 0; }
h1 { font-size: clamp(3.4rem, 6.4vw, 6.4rem); }
h2 { font-size: clamp(2.7rem, 4.1vw, 4.35rem); }
h1 em, h2 em { color: var(--crimson); }
h3 { margin: 0 0 .55rem; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
.site-header, main, footer { width: min(100% - 3.5rem, 78rem); margin-inline: auto; }
.site-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; font-weight: 800; text-decoration: none; line-height: 1.1; font-size: 1.1rem; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand-second { display: block; margin-top: .22rem; font-size: .88rem; color: var(--crimson); letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 1.65rem; }
.main-nav a, .header-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .94rem; font-weight: 700; }
.main-nav a:hover, .header-link:hover { color: var(--crimson); }
.main-nav .nav-download { border: 1px solid var(--ink); border-radius: 7px; padding: .75rem 1rem; gap: 1.2rem; transition: background .2s, color .2s; }
.main-nav .nav-download:hover { background: var(--ink); color: white; }
.nav-toggle { display: none; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; padding: .8rem 1rem; color: white; background: var(--crimson); }
.skip-link:focus { top: 1rem; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 1.5rem; padding: 3.8rem 0 4.5rem; position: relative; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; margin: 0 0 1.65rem; color: var(--crimson); }
.hero .eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 1.8rem; height: 2px; margin-right: .7rem; background: currentColor; }
.hero-copy { position: relative; z-index: 2; padding-block: 1rem; }
.hero h1 { margin-bottom: 1.55rem; }
.lead { font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.5; }
.hero-description { max-width: 29rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.store-cta { min-width: 11.6rem; min-height: 68px; padding: .7rem 1rem; background: var(--ink); border: 1px solid var(--ink); color: white; border-radius: 7px; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-decoration: none; line-height: 1.2; transition: transform .2s, background .2s, box-shadow .2s; }
.store-cta > span:first-child { font-size: .8rem; }
.store-cta strong { display: block; font-size: 1.28rem; margin-top: .3rem; letter-spacing: -.02em; }
.cta-arrow { font-size: 1.4rem; }
.store-cta:hover { background: var(--crimson); border-color: var(--crimson); transform: translateY(-3px); box-shadow: 0 6px 0 #17392e18; }
.store-cta-secondary { background: transparent; color: var(--ink); }
.store-cta-secondary:hover { color: white; }
.download-note { font-size: .84rem; margin: 1.1rem 0 0; color: var(--muted); }
.download-note span { color: var(--crimson); margin-right: .4rem; }
.hero-character { position: relative; align-self: stretch; min-height: 520px; isolation: isolate; }
.hero-landscape { position: absolute; inset: 1.5rem 0 1rem; background: url("/assets/forest-sky.png") 58% center / cover; border-radius: 48% 48% 3% 3%; box-shadow: inset 0 0 0 1px #17392e10; z-index: -2; }
.hero-landscape::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #fff8df22 0%, transparent 50%, #15422d50); }
.hero-wukong { position: absolute; width: 108%; max-width: none; height: auto; left: -8%; bottom: 0; filter: drop-shadow(0 20px 16px #17392e26); animation: hero-bob 7s ease-in-out infinite; }
.hero-signature { position: absolute; top: 7rem; right: 1.4rem; writing-mode: vertical-rl; font-family: Georgia, serif; font-size: 3.1rem; letter-spacing: .15em; color: #244c3573; z-index: -1; }
.adventure-tag { position: absolute; display: flex; align-items: center; gap: .8rem; bottom: 2.5rem; right: -.7rem; background: var(--paper); border: 1px solid #17392e19; box-shadow: 0 10px 32px #122e2524; border-radius: 7px; padding: .9rem 1.25rem; font-size: .86rem; line-height: 1.45; transform: rotate(3deg); }
.tag-star { color: var(--crimson); font-size: 2rem; }
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1.3fr; padding: 1.4rem 0; margin-bottom: 6rem; }
.stat-strip p { display: flex; gap: .85rem; align-items: center; justify-content: center; margin: 0; }
.stat-strip p + p { border-left: 1px solid var(--line); }
.stat-strip strong { font-family: Georgia, serif; font-size: 2.65rem; line-height: 1; letter-spacing: -.065em; }
.stat-strip span { font-size: .86rem; line-height: 1.35; max-width: 11rem; color: var(--muted); }
.content-section { margin-bottom: 7rem; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { margin-bottom: 1.1rem; }
.section-intro { max-width: 27rem; margin: 0 0 .15rem; color: var(--muted); font-size: 1.05rem; }
#how-it-works { background: var(--forest); color: var(--paper); border-radius: 18px; padding: 3.8rem; }
#how-it-works .eyebrow { color: var(--gold); }
#how-it-works h2 em { color: var(--gold); }
#how-it-works .section-intro { color: #d3e2d6; }
#how-it-works :focus-visible { outline-color: var(--gold); }
.gameplay-feature { margin: 0; }
.gameplay-frame { padding: .7rem; background: #0c261d; border: 1px solid #e3eec133; border-radius: 17px; box-shadow: 0 24px 50px #00190e45; }
.gameplay-feature img { display: block; width: 100%; height: auto; border-radius: 9px; }
figcaption { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.gameplay-feature figcaption { color: #cfdfd3; margin: 1rem 0 2.6rem; display: flex; align-items: center; gap: .5rem; }
.caption-marker { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.card-grid article { display: flex; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #d5e5d438; }
.card-grid p { color: #ccded2; font-size: .94rem; margin: 0; }
.step-number { font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; color: var(--gold); }
.card-grid h3 { color: var(--paper); font-size: 1.3rem; }
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.world-card { min-width: 0; }
.world-art { position: relative; overflow: hidden; border-radius: 12px; background: #e1e8d7; }
.world-art img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s ease; }
.world-card:hover .world-art img { transform: scale(1.035); }
.world-number { position: absolute; left: 1rem; top: .8rem; font-family: Georgia, serif; font-size: 2rem; line-height: 1.2; color: var(--ink); background: #faf8eee8; border-radius: 5px; padding: .15rem .4rem; }
.world-badge { position: absolute; left: .8rem; bottom: .8rem; background: var(--forest); color: white; padding: .35rem .65rem; border-radius: 4px; font-size: .75rem; }
.world-copy { padding: 1.4rem .15rem .5rem; }
.world-label { font-size: .79rem; letter-spacing: .04em; color: var(--crimson); margin: 0 0 .6rem; font-weight: 800; }
.world-copy h3 { font-size: 1.6rem; }
.world-copy > p:last-child { color: var(--muted); font-size: .97rem; }
.gameplay-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.4rem; padding-top: 2.8rem; border-top: 1px solid var(--line); }
.gameplay-gallery figure { margin: 0; min-width: 0; }
.gameplay-gallery img { display: block; width: 100%; height: auto; border-radius: 9px; border: 1px solid #17392e24; }
.gameplay-gallery figcaption { margin-top: .9rem; }
.gameplay-gallery strong { color: var(--ink); }
.family-section { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-block: 4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.family-copy > p:not(.lead):not(.family-promise) { color: var(--muted); }
.family-copy .lead { font-weight: 700; }
.family-promise { font-weight: 800; padding-top: 1rem; color: var(--crimson); }
.fine-print { font-size: .86rem; }
.family-copy > :last-child { margin-bottom: 0; }
.faq-section { display: grid; grid-template-columns: .85fr 1.3fr; gap: 5rem; }
.faq-heading > p:last-child { color: var(--muted); margin-top: 2rem; }
.faq-heading a { color: var(--ink); font-weight: 700; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; font-size: 1.05rem; line-height: 1.5; font-weight: 700; cursor: pointer; padding: 1.5rem 2rem 1.5rem 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; top: 1.35rem; font-size: 1.6rem; font-weight: 400; color: var(--crimson); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 40rem; color: var(--muted); margin: 0 0 1.5rem; padding-right: 1.2rem; }
.closing-cta { text-align: center; padding: 4.8rem 2rem; border-radius: 18px; background: var(--crimson); color: var(--cream); margin-bottom: 4rem; }
.closing-cta .eyebrow, .closing-cta h2 em { color: var(--gold); }
.closing-cta h2 { font-size: clamp(3rem, 5.4vw, 5.8rem); }
.closing-cta > p:not(.eyebrow) { margin: 1.6rem 0 0; color: #ffedde; }
.closing-cta .cta-row { justify-content: center; margin-top: 2rem; }
.closing-cta .store-cta { text-align: left; background: var(--cream); color: var(--crimson); border-color: var(--cream); }
.closing-cta .store-cta-secondary { color: var(--cream); background: transparent; }
.closing-cta .store-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.closing-cta :focus-visible { outline-color: var(--gold); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; border-top: 1px solid var(--line); padding: 1.8rem 0 2rem; font-size: .83rem; color: var(--muted); }
footer p { margin: 0; }
footer > a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-nav a:hover { color: var(--crimson); }
.reading { max-width: 52rem; margin-block: 4rem 6rem; }
.reading h1 { font-size: clamp(3rem, 6vw, 5rem); padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.reading h2 { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.6rem; letter-spacing: -.025em; margin: 2.5rem 0 1rem; }
.reading h3 { font-size: 1.15rem; margin: 1.6rem 0 .65rem; }
.reading p, .reading li { color: #3d5148; }
.reading li + li { margin-top: .6rem; }
.reading a { color: var(--crimson); }
@keyframes hero-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (max-width: 1050px) {
  .main-nav { gap: 1rem; }
  .main-nav .nav-download { gap: .7rem; }
  .hero { grid-template-columns: 1.05fr 1fr; padding-top: 2.5rem; }
  .hero-character { min-height: 480px; }
  .hero-wukong { width: 118%; left: -14%; bottom: 2rem; }
  .adventure-tag { right: -.5rem; bottom: 1.5rem; }
  #how-it-works { padding: 2.5rem; }
  .card-grid { gap: 1.4rem; }
  .card-grid article { display: block; }
  .step-number { display: block; margin-bottom: .7rem; }
  .faq-section { gap: 3rem; }
}
@media (max-width: 800px) {
  .site-header, main, footer { width: min(100% - 2.5rem, 78rem); }
  .site-header { min-height: 88px; flex-wrap: wrap; gap: 0 1rem; padding-block: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--ink); font-weight: 700; }
  .main-nav { display: none; flex-basis: 100%; padding-top: 1rem; align-items: stretch; gap: .2rem; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: .6rem .3rem; }
  .main-nav .nav-download { margin-top: .5rem; justify-content: space-between; padding: .65rem .8rem; }
  .hero { grid-template-columns: 1fr 1fr; gap: .5rem; }
  h1 { font-size: clamp(3.1rem, 6.8vw, 5rem); }
  .hero-character { min-height: 465px; }
  .hero-landscape { inset: 2rem 0 2rem; }
  .hero-wukong { width: 125%; left: -24%; bottom: 3rem; }
  .adventure-tag { right: -.2rem; padding: .75rem; bottom: 2rem; font-size: .76rem; }
  .hero-signature { right: .8rem; top: 7rem; font-size: 2.4rem; }
  .hero-description { font-size: .95rem; }
  .hero .cta-row { gap: .6rem; }
  .hero .store-cta { min-width: 0; gap: .8rem; flex: 1 1 auto; }
  .hero .store-cta strong { font-size: 1.13rem; }
  .hero .cta-arrow { display: none; }
  .stat-strip { margin-bottom: 4.5rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-intro { max-width: 38rem; }
  #how-it-works { padding: 2rem; }
  .content-section { margin-bottom: 4.5rem; }
  .world-grid { gap: 1rem; }
  .world-copy h3 { font-size: 1.3rem; }
  .world-badge { font-size: .75rem; left: .5rem; bottom: .5rem; padding: .25rem .4rem; }
  .world-number { font-size: 1.65rem; }
  .family-section { gap: 2rem; padding-block: 3rem; }
  .faq-section { gap: 2rem; }
}
@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 2rem); }
  .brand { font-size: .98rem; gap: .6rem; }
  .brand img { width: 42px; height: 42px; }
  .brand-second { font-size: .76rem; }
  .hero { grid-template-columns: 1fr; padding: 2.2rem 0 2rem; gap: .5rem; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; margin-bottom: 1.2rem; }
  .hero .eyebrow::before { width: 1rem; margin-right: .45rem; }
  h1 { font-size: clamp(3.1rem, 10.4vw, 4.8rem); }
  .hero h1 { margin-bottom: 1.3rem; }
  .hero .lead { font-size: 1.17rem; }
  .hero-description { max-width: 30rem; font-size: 1rem; }
  .hero .cta-row { margin-top: 1.5rem; }
  .hero .store-cta { flex: 1; padding-inline: .85rem; min-height: 65px; }
  .hero .store-cta strong { font-size: 1.2rem; }
  .download-note { font-size: .8rem; }
  .hero-character { min-height: 350px; max-width: 430px; width: 100%; justify-self: center; margin-top: 1.1rem; }
  .hero-landscape { inset: 1rem 1rem 0; }
  .hero-wukong { width: 103%; left: -3%; bottom: -.2rem; }
  .hero-signature { top: 3.5rem; right: 2.5rem; }
  .adventure-tag { right: .5rem; bottom: 1rem; }
  .stat-strip { grid-template-columns: 1fr 1fr 1.2fr; padding: 1.25rem 0; margin-bottom: 3.5rem; }
  .stat-strip p { flex-direction: column; gap: .5rem; text-align: center; padding-inline: .4rem; }
  .stat-strip strong { font-size: 2.2rem; }
  .stat-strip span { font-size: .75rem; }
  h2 { font-size: clamp(2.55rem, 8.4vw, 3.4rem); }
  .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  #how-it-works { margin-inline: -.25rem; padding: 2rem 1.25rem; border-radius: 12px; }
  #how-it-works .eyebrow { font-size: .75rem; }
  .section-heading { margin-bottom: 2rem; gap: 1.4rem; }
  .section-intro { font-size: 1rem; }
  .gameplay-frame { padding: .3rem; border-radius: 9px; margin-inline: -.5rem; }
  .gameplay-feature img { border-radius: 5px; }
  .gameplay-feature figcaption { font-size: .75rem; margin-bottom: 2rem; }
  .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-grid article { display: flex; gap: 1.1rem; padding-top: 1.2rem; }
  .card-grid p { font-size: 1rem; }
  .card-grid h3 { font-size: 1.4rem; }
  .world-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .world-art { border-radius: 10px; }
  .world-number { top: 1rem; left: 1rem; font-size: 2.2rem; }
  .world-badge { font-size: .79rem; left: 1rem; bottom: 1rem; padding: .35rem .65rem; }
  .world-copy { padding: 1.2rem .2rem 0; }
  .world-copy h3 { font-size: 1.6rem; }
  .world-copy > p:last-child { font-size: 1rem; }
  .world-label { font-size: .78rem; }
  .gameplay-gallery { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 1.5rem; padding-top: 2rem; }
  .family-section, .faq-section { grid-template-columns: 1fr; gap: 2rem; }
  .family-section { padding-block: 2.5rem; }
  .family-section .eyebrow { margin-bottom: 1.2rem; }
  .family-copy .lead { font-size: 1.17rem; }
  .faq-heading > p:last-child { margin-top: 1.4rem; margin-bottom: 0; }
  .faq-list summary { padding-block: 1.3rem; font-size: 1rem; }
  .faq-list summary::after { top: 1.15rem; }
  .closing-cta { padding: 3.2rem 1.2rem; border-radius: 12px; margin-bottom: 2.5rem; }
  .closing-cta h2 { font-size: clamp(2.65rem, 8.6vw, 3.6rem); }
  .closing-cta .eyebrow { font-size: .75rem; margin-bottom: 1.3rem; }
  .closing-cta > p:not(.eyebrow) { font-size: .94rem; }
  .closing-cta .store-cta { min-width: 0; flex: 1; gap: .5rem; padding-inline: .7rem; }
  .closing-cta .store-cta strong { font-size: 1.15rem; }
  .closing-cta .cta-arrow { display: none; }
  footer { flex-direction: column; align-items: flex-start; gap: .5rem; padding-top: 1.5rem; }
  .footer-nav { gap: 1.1rem; }
  .reading { margin-block: 2.5rem 4rem; }
  .reading h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
