:root {
  --navy: #062b63;
  --navy-deep: #041d45;
  --yellow: #f6c21a;
  --yellow-deep: #e0ac00;
  --ink: #112544;
  --muted: #5f708a;
  --bg: #f8f9fc;
  --surface: #ffffff;
  --border: #d9e1ec;
  --blue-soft: #e9f3ff;
  --yellow-soft: #fff4cc;
  --pink-soft: #ffe0f0;
  --green-soft: #e6f8da;
  --shadow: 0 18px 50px rgba(6, 43, 99, 0.10);
  --shadow-hover: 0 24px 64px rgba(6, 43, 99, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 999;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--navy-deep);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-icon { width: 50px; height: 50px; object-fit: contain; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: "League Spartan", sans-serif; font-size: 20px; letter-spacing: -0.02em; color: var(--navy); }
.brand-name em { color: var(--yellow-deep); font-style: normal; }
.brand-name small { margin-top: 4px; color: var(--navy); font-weight: 700; font-size: 11px; letter-spacing: 0.28em; }

.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 3px; background: var(--yellow); border-radius: 99px; transition: right .2s ease; }
.site-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { background: var(--navy); color: white; padding: 11px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 25px; height: 2px; background: var(--navy); display: block; margin: 5px 0; border-radius: 2px; }

.hero { overflow: hidden; padding: 94px 0 82px; background: radial-gradient(circle at 80% 20%, rgba(246,194,26,.24), transparent 28%), linear-gradient(135deg, #fff 0%, #f8f9fc 60%, #eef5ff 100%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 76px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; background: white; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(6,43,99,.06); border-radius: 999px; padding: 8px 12px; }
.eyebrow-dot { width: 9px; height: 9px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 4px var(--yellow-soft); }
.hero h1, .section-heading h2, .why-copy h2, .about-card h2 { font-family: "League Spartan", sans-serif; color: var(--navy-deep); line-height: .98; letter-spacing: -.035em; margin: 0; }
.hero h1 { margin-top: 24px; font-size: clamp(52px, 7vw, 86px); max-width: 760px; }
.hero h1 span { color: var(--yellow-deep); }
.hero-lede { max-width: 700px; font-size: 18px; color: var(--muted); margin: 28px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 14px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--navy-deep); box-shadow: 0 12px 28px rgba(246,194,26,.24); }
.btn-primary:hover { background: #ffd138; }
.btn-secondary { background: white; color: var(--navy); border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(6,43,99,.05); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--muted); }
.hero-proof span::before { content: "✓"; color: var(--navy); margin-right: 6px; }

.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero-logo-card { width: min(430px, 100%); aspect-ratio: 1 / 1; background: var(--navy-deep); color: white; border-radius: 40px; box-shadow: 0 30px 70px rgba(4,29,69,.26); display: grid; place-items: center; padding: 34px; transform: rotate(2deg); position: relative; overflow: hidden; }
.hero-logo-card::after { content: ""; position: absolute; width: 220px; height: 220px; border: 42px solid rgba(246,194,26,.08); border-radius: 50%; right: -80px; bottom: -90px; }
.hero-logo-card img { width: 76%; border-radius: 50%; }
.hero-logo-wordmark { text-align: center; margin-top: -18px; }
.hero-logo-wordmark strong { display: block; font-family: "League Spartan", sans-serif; font-size: 34px; line-height: 1; }
.hero-logo-wordmark strong em { color: var(--yellow); font-style: normal; }
.hero-logo-wordmark span { display: block; margin-top: 6px; font-weight: 700; letter-spacing: .34em; font-size: 12px; }
.floating-note { position: absolute; background: white; border: 1px solid var(--border); border-radius: 16px; padding: 11px 14px; box-shadow: var(--shadow); font-weight: 800; font-size: 13px; color: var(--navy); }
.note-one { left: -8px; bottom: 72px; transform: rotate(-4deg); }
.note-two { right: -12px; top: 64px; transform: rotate(4deg); }

.section-heading { margin-bottom: 38px; }
.section-heading.compact { max-width: 720px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { margin: 0 0 10px; color: var(--yellow-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: 12px; }
.section-heading h2, .why-copy h2, .about-card h2 { font-size: clamp(40px, 5vw, 62px); }
.section-heading > p:last-child, .why-copy > p:last-child, .about-card p { color: var(--muted); max-width: 760px; }

.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pathway-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.pathway-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pathway-number { font-family: "League Spartan", sans-serif; font-size: 16px; font-weight: 800; opacity: .55; }
.pathway-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; margin-top: 34px; font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 26px; }
.pathway-card h3 { font-family: "League Spartan", sans-serif; font-size: 38px; line-height: 1; margin: 20px 0 8px; color: var(--navy-deep); }
.pathway-card p { margin: 0 0 26px; color: #51647e; }
.pathway-card strong { margin-top: auto; color: var(--navy); }
.pathway-game { background: var(--yellow-soft); }
.pathway-game .pathway-icon { background: var(--yellow); color: var(--navy); }
.pathway-tool { background: var(--blue-soft); }
.pathway-tool .pathway-icon { background: var(--navy); color: white; }
.pathway-learn { background: var(--green-soft); }
.pathway-learn .pathway-icon { background: white; color: var(--navy); border: 1px solid rgba(6,43,99,.15); }

.app-catalogue { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.catalogue-heading > div:first-child { max-width: 720px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter-btn { border: 1px solid var(--border); color: var(--navy); background: white; border-radius: 999px; padding: 9px 13px; font-weight: 800; font-size: 12px; cursor: pointer; }
.filter-btn:hover, .filter-btn.is-active { background: var(--navy); color: white; border-color: var(--navy); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease; }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.app-card.is-hidden { display: none; }
.card-image-wrap { position: relative; overflow: hidden; background: #111; aspect-ratio: 16/9; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.app-card:hover .card-image-wrap img { transform: scale(1.025); }
.card-badge { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; font-size: 10px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; box-shadow: 0 7px 16px rgba(0,0,0,.14); }
.badge-game { background: var(--yellow); color: var(--navy-deep); }
.badge-phonics { background: #ff5da8; color: #111; }
.badge-tool { background: white; color: var(--navy); }
.badge-learn { background: #c9ff70; color: #173600; }
.card-body { padding: 24px; }
.card-body h3 { font-family: "League Spartan", sans-serif; font-size: 32px; line-height: 1; margin: 0 0 10px; color: var(--navy-deep); }
.card-body p { margin: 0 0 16px; color: var(--muted); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.card-meta span { background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 9px; font-size: 10px; color: var(--muted); font-weight: 700; }
.card-link, .text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--navy); font-weight: 800; text-decoration: none; }
.card-link span { transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

.why-section { background: linear-gradient(135deg, #f3f7ff, #fffaf0); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.why-copy { position: sticky; top: 120px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 24px; min-height: 190px; box-shadow: 0 10px 30px rgba(6,43,99,.05); }
.benefit > span { color: var(--yellow-deep); font-family: "League Spartan", sans-serif; font-weight: 800; }
.benefit h3 { font-family: "League Spartan", sans-serif; font-size: 29px; margin: 30px 0 6px; color: var(--navy-deep); }
.benefit p { margin: 0; color: var(--muted); }

.story-section { background: var(--navy-deep); color: white; }
.kicker.light { color: var(--yellow); }
.story-heading h2 { color: white; }
.story-heading > p:last-child { color: #cbd8ea; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.story-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,.14); }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,14,36,.94), rgba(2,14,36,.08) 62%); }
.story-overlay { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; }
.story-overlay span { color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; }
.story-overlay h3 { font-family: "League Spartan", sans-serif; font-size: 36px; line-height: 1; margin: 7px 0 3px; }
.story-overlay p { margin: 0; color: #d8e2f2; }

.how-section { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.step { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 26px; text-align: center; }
.step > span { width: 44px; height: 44px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 20px; }
.step h3 { font-family: "League Spartan", sans-serif; font-size: 28px; margin: 0 0 8px; color: var(--navy-deep); }
.step p { margin: 0; color: var(--muted); }

.about-section { background: white; }
.about-card { background: var(--yellow-soft); border: 1px solid #efdc91; border-radius: 30px; padding: 46px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.about-card p:first-child { margin-top: 0; }

.site-footer { background: #020d22; color: white; padding: 60px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.footer-brand img { width: min(310px, 100%); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.footer-links h3 { font-family: "League Spartan", sans-serif; color: var(--yellow); margin-top: 0; font-size: 20px; }
.footer-links a { display: block; color: #cfdaea; text-decoration: none; margin: 9px 0; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #8fa2bd; font-size: 12px; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 500; max-width: 360px; background: var(--navy-deep); color: white; border: 2px solid var(--yellow); border-radius: 14px; padding: 13px 16px; font-weight: 700; font-size: 13px; box-shadow: 0 20px 50px rgba(0,0,0,.25); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 20px; flex-direction: column; align-items: stretch; gap: 6px; display: none; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 8px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 420px; }
  .pathway-grid, .steps-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .catalogue-heading { display: block; }
  .filter-row { justify-content: flex-start; margin-top: 24px; }
  .why-grid, .about-card, .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .why-copy { position: static; }
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 72px 0; }
  .header-inner { min-height: 68px; }
  .brand-icon { width: 44px; height: 44px; }
  .brand-name strong { font-size: 17px; }
  .brand-name small { font-size: 9px; }
  .hero { padding: 68px 0 58px; }
  .hero h1 { font-size: 54px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 340px; }
  .hero-logo-card { border-radius: 28px; }
  .floating-note { font-size: 11px; }
  .note-one { left: -2px; bottom: 18px; }
  .note-two { right: -2px; top: 16px; }
  .pathway-card { min-height: 290px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .card-body { padding: 20px; }
  .story-overlay h3 { font-size: 30px; }
  .about-card { padding: 28px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

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