:root {
  --ink: #17314d;
  --ink-soft: #52677a;
  --cream: #fff8ef;
  --paper: #ffffff;
  --orange: #f36f45;
  --orange-dark: #d9532e;
  --blue: #2f6fed;
  --blue-dark: #1f4fae;
  --mint: #b9edd7;
  --yellow: #ffd66b;
  --pink: #ffd9df;
  --line: #e6ddd3;
  --shadow: 0 24px 70px rgba(31, 62, 91, 0.13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -80px;
  z-index: 1000;
  padding: .8rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(243, 111, 69, .28);
}
.top-nav { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 750; }
.top-nav a:not(.nav-cta) { color: #3d556b; }
.nav-cta {
  padding: 11px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 680px;
  padding: 70px 0 92px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 72px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange-dark);
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(243, 111, 69, .13);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin: 20px 0 24px;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.066em;
  font-weight: 950;
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 24px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 32px rgba(243, 111, 69, .3);
}
.button-primary:hover { background: var(--orange-dark); }
.button-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(50, 68, 87, .07);
}
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; color: #536a7e; font-size: .9rem; font-weight: 750; }
.trust-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--mint); border-radius: 50%; vertical-align: middle; }
.micro-proof { margin-top: 17px; color: #7a8a98; font-size: .83rem; }

.hero-demo {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.demo-glow { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -2; }
.demo-glow-one { width: 420px; height: 420px; right: 4%; top: 10%; background: rgba(185, 237, 215, .74); }
.demo-glow-two { width: 330px; height: 330px; left: 7%; bottom: 6%; background: rgba(255, 214, 107, .55); }
.game-phone {
  position: relative;
  z-index: 3;
  width: 310px;
  min-height: 530px;
  padding: 19px 19px 23px;
  color: #fff;
  background: linear-gradient(165deg, #315bdb 0%, #223f9e 58%, #172a6c 100%);
  border: 9px solid #172741;
  border-radius: 46px;
  box-shadow: 0 35px 85px rgba(29, 53, 104, .34);
  transform: rotate(2.5deg);
  transition: transform .35s ease;
}
.hero-demo.demo-active .game-phone { transform: rotate(0) scale(1.035); }
.phone-bar { height: 18px; display: grid; place-items: center; }
.phone-bar span { width: 88px; height: 7px; background: rgba(10, 20, 50, .65); border-radius: 999px; }
.game-header { margin-top: 16px; display: flex; justify-content: space-between; gap: 10px; font-size: .73rem; font-weight: 850; }
.game-label { padding: 7px 10px; color: #263e83; background: #fff; border-radius: 999px; }
.game-progress { color: rgba(255,255,255,.75); padding-top: 6px; }
.sound-orb {
  width: 85px;
  height: 85px;
  margin: 38px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(145deg, #ff9c6b, #f26843);
  border: 7px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(10, 20, 65, .25);
}
.sound-orb span { width: 5px; background: white; border-radius: 99px; animation: sound 1.2s ease-in-out infinite; }
.sound-orb span:nth-child(1) { height: 17px; }
.sound-orb span:nth-child(2) { height: 30px; animation-delay: .13s; }
.sound-orb span:nth-child(3) { height: 21px; animation-delay: .26s; }
@keyframes sound { 0%,100% { transform: scaleY(.72); } 50% { transform: scaleY(1.22); } }
.game-prompt { text-align: center; margin-bottom: 18px; color: rgba(255,255,255,.82); font-size: .84rem; }
.answer-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.answer-slots span { height: 42px; display: grid; place-items: center; color: #21336f; background: #fff; border-radius: 11px; font-weight: 950; box-shadow: inset 0 -3px 0 rgba(28,49,103,.13); }
.letter-bank { margin-top: 27px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.letter-bank button { height: 46px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 13px; font-weight: 950; cursor: pointer; transition: .18s ease; }
.letter-bank button:hover, .letter-bank button.is-picked { color: #21336f; background: #fff; transform: translateY(-2px); }
.game-result { margin-top: 20px; padding: 12px 13px; color: #23493e; background: var(--mint); border-radius: 14px; font-size: .74rem; font-weight: 850; text-align: center; opacity: .78; transition: .2s ease; }
.game-result.is-live { opacity: 1; transform: translateY(-2px); }

.school-note, .progress-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(31,49,69,.08);
  box-shadow: var(--shadow);
}
.school-note { width: 226px; left: -2%; top: 8%; padding: 18px; border-radius: 20px; transform: rotate(-7deg); }
.note-top { display: flex; justify-content: space-between; align-items: center; color: #6c7f90; font-size: .73rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.paperclip { width: 12px; height: 23px; border: 2px solid #9cadbb; border-radius: 8px; transform: rotate(12deg); }
.handwriting-list { margin-top: 16px; display: grid; gap: 8px; }
.handwriting-list span { padding-bottom: 5px; border-bottom: 1px dashed #d6dde2; font-family: "Segoe Print", "Bradley Hand", cursive; color: #26415c; font-size: .93rem; }
.progress-card { width: 210px; right: -1%; bottom: 6%; padding: 18px; border-radius: 20px; transform: rotate(5deg); }
.progress-card span, .progress-card small { display: block; color: #7d8c98; font-size: .72rem; font-weight: 800; }
.progress-card strong { display: block; margin: 7px 0 13px; font-size: 1.07rem; }
.progress-track { height: 8px; overflow: hidden; background: #edf1f4; border-radius: 999px; }
.progress-track span { width: 74%; height: 100%; background: var(--orange); border-radius: inherit; }
.progress-card small { margin-top: 8px; }

.problem-strip { padding: 72px 0; color: #fff; background: var(--ink); }
.problem-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.problem-grid h2 { max-width: 700px; margin: 12px 0 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.05; letter-spacing: -.05em; }
.problem-grid p { margin: 0; color: #c8d3dd; font-size: 1.05rem; }
.section-kicker.light { color: #ffd0c3; }

.how { padding: 112px 0; }
.section-heading { margin-bottom: 50px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2, .split-heading h2, .difference h2, .final-cta h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.section-heading p, .split-heading p { color: var(--ink-soft); font-size: 1.04rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 285px; padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: 23px; box-shadow: 0 16px 45px rgba(38,61,84,.07); }
.step-number { position: absolute; right: 22px; top: 21px; color: #b0bdc7; font-size: .75rem; font-weight: 900; }
.step-icon { width: 58px; height: 58px; margin-bottom: 30px; position: relative; background: var(--pink); border-radius: 18px; }
.step-icon::before, .step-icon::after { content: ""; position: absolute; }
.step-icon-photo::before { width: 26px; height: 21px; left: 16px; top: 19px; border: 3px solid var(--ink); border-radius: 5px; }
.step-icon-photo::after { width: 8px; height: 8px; left: 22px; top: 25px; border-radius: 50%; background: var(--orange); box-shadow: 14px 7px 0 -2px var(--ink); }
.step-icon-check { background: var(--mint); }
.step-icon-check::before { width: 26px; height: 14px; left: 15px; top: 17px; border-left: 4px solid var(--ink); border-bottom: 4px solid var(--ink); transform: rotate(-45deg); }
.step-icon-game { background: #dbe5ff; }
.step-icon-game::before { width: 32px; height: 22px; left: 13px; top: 18px; border: 3px solid var(--ink); border-radius: 10px; }
.step-icon-game::after { width: 5px; height: 5px; left: 21px; top: 27px; background: var(--ink); border-radius: 50%; box-shadow: 13px -2px 0 var(--orange), 17px 3px 0 var(--orange); }
.step-icon-repeat { background: #fff0b7; }
.step-icon-repeat::before { width: 27px; height: 27px; left: 15px; top: 15px; border: 3px solid var(--ink); border-right-color: transparent; border-radius: 50%; }
.step-icon-repeat::after { right: 13px; top: 16px; border-left: 8px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: rotate(-20deg); }
.step-card h3 { margin-bottom: 9px; font-size: 1.25rem; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

.use-cases { padding: 110px 0; background: #fff; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.use-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 18px; }
.use-card { min-height: 235px; padding: 27px; background: var(--cream); border: 1px solid #efe3d5; border-radius: 24px; }
.use-card h3 { margin: 12px 0 10px; font-size: 1.32rem; }
.use-card p { margin: 0; color: var(--ink-soft); }
.feature-card { grid-row: span 2; min-height: 488px; color: #fff; background: linear-gradient(150deg, #2d6af0, #214bac); border: 0; display: flex; flex-direction: column; }
.feature-card p { color: #dfe8ff; }
.use-pill { align-self: flex-start; padding: 7px 10px; color: #254b9c; background: #fff; border-radius: 999px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.mini-list { margin-top: auto; display: grid; gap: 10px; }
.mini-list span { padding: 14px 16px; color: #1c3f86; background: #fff; border-radius: 14px; font-weight: 900; box-shadow: 0 8px 20px rgba(11, 31, 77, .15); }

.difference { padding: 112px 0; }
.difference-panel { min-height: 650px; padding: 70px; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; color: #fff; background: linear-gradient(145deg, #17314d, #254e70); border-radius: 36px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.difference-copy p { max-width: 650px; color: #c8d7e4; }
.benefit-list { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; gap: 13px; }
.benefit-list li { display: flex; align-items: center; gap: 11px; font-weight: 750; }
.benefit-list li span { width: 20px; height: 20px; display: inline-grid; place-items: center; background: var(--mint); border-radius: 50%; }
.benefit-list li span::before { content: ""; width: 8px; height: 4px; border-left: 2px solid #1b5240; border-bottom: 2px solid #1b5240; transform: rotate(-45deg); }
.button-light { color: var(--ink); background: #fff; }
.game-stack { position: relative; min-height: 450px; }
.stack-card { position: absolute; width: 84%; min-height: 175px; padding: 28px; border-radius: 24px; box-shadow: 0 28px 65px rgba(8, 24, 37, .25); }
.stack-card span { display: block; margin-bottom: 18px; font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; opacity: .78; }
.stack-card strong { font-size: 1.65rem; line-height: 1.15; }
.stack-one { right: 0; top: 0; color: #213d37; background: var(--mint); transform: rotate(5deg); }
.stack-two { left: 0; top: 130px; color: #573827; background: #ffd094; transform: rotate(-6deg); }
.stack-three { right: 4%; top: 270px; color: #3f2d67; background: #e2d9ff; transform: rotate(3deg); }

.parent-proof { padding: 30px 0 112px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.proof-card { padding: 48px; background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.quote-mark { color: var(--orange); font-family: Georgia, serif; font-size: 5rem; line-height: .6; }
blockquote { margin: 18px 0 19px; font-size: clamp(1.5rem, 2.7vw, 2.45rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 850; }
.proof-card p { margin: 0; color: var(--ink-soft); }
.proof-facts { display: grid; gap: 12px; }
.proof-facts div { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.proof-facts strong { font-size: 1.4rem; }
.proof-facts span { color: var(--ink-soft); font-size: .86rem; text-align: right; }

.faq { padding: 0 0 112px; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
summary { padding: 22px 60px 22px 24px; list-style: none; cursor: pointer; font-weight: 850; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 23px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; color: var(--orange-dark); background: #fff2ed; border-radius: 50%; font-size: 1.15rem; }
details[open] summary::after { content: "-"; }
details p { margin: 0; padding: 0 24px 23px; color: var(--ink-soft); max-width: 900px; }

.final-cta { padding: 90px 0; color: #fff; background: var(--orange); }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.final-cta h2 { max-width: 760px; margin-bottom: 10px; }
.final-cta p { margin: 0; color: #ffe6dd; }
.final-cta .section-kicker { color: #6f2c19; }
.final-cta .button-primary { color: var(--ink); background: #fff; box-shadow: 0 18px 35px rgba(97, 35, 16, .22); }
.button-large { min-width: 270px; min-height: 62px; }

.site-footer { padding: 34px 0 105px; color: #c7d3dd; background: #10263a; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.footer-brand { color: #fff; }
.footer-inner p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; gap: 20px; font-size: .85rem; }
.mobile-sticky-cta {
  display: block;
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%);
}
.mobile-sticky-cta a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: #fff;
  background: var(--orange);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(33,44,58,.27);
  font-weight: 900;
  text-align: center;
}

@media (max-width: 980px) {
  .top-nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 45px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-demo { min-height: 580px; }
  .problem-grid, .split-heading, .difference-panel, .parent-proof { grid-template-columns: 1fr; }
  .problem-grid { gap: 28px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-row: auto; grid-column: span 2; min-height: 390px; }
  .difference-panel { padding: 50px; }
  .game-stack { max-width: 500px; width: 100%; margin-inline: auto; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-shell, .site-header { width: min(calc(100% - 24px), var(--max)); }
  .site-header { min-height: 68px; }
  .nav-cta { padding: 9px 13px; font-size: .82rem; }
  .hero { padding: 42px 0 70px; min-height: auto; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 1.02rem; }
  .button { width: 100%; }
  .trust-row { gap: 9px 16px; font-size: .8rem; }
  .hero-demo { min-height: 515px; transform: scale(.91); margin: -10px -18px; }
  .game-phone { width: 278px; min-height: 492px; }
  .school-note { width: 185px; left: 0; top: 2%; }
  .progress-card { width: 180px; right: 0; bottom: 0; }
  .problem-strip, .how, .use-cases, .difference, .faq { padding-top: 76px; padding-bottom: 76px; }
  .steps-grid, .use-grid { grid-template-columns: 1fr; }
  .feature-card { grid-column: auto; min-height: 360px; }
  .difference-panel { padding: 36px 24px; border-radius: 26px; }
  .game-stack { min-height: 400px; }
  .stack-card { width: 92%; }
  .parent-proof { padding-bottom: 76px; }
  .proof-card { padding: 32px 24px; }
  .proof-facts div { padding: 20px; }
  .proof-facts strong { font-size: 1.15rem; }
  .final-cta { padding: 70px 0 92px; }
  .site-footer { padding-bottom: 110px; }
  .footer-links { flex-wrap: wrap; }
  .mobile-sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    transform: none;
  }
  .mobile-sticky-cta a { min-height: 54px; padding: 0 18px; }
}

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