/* =========================================================
   LEARNWRIGHT WEBSITE
   One stylesheet for every page. Colours and fonts are set once
   at the top; change them there and the whole site follows.
   ========================================================= */

:root {
  /* brand */
  --teal: #0E3B43;
  --teal-900: #082A30;
  --teal-700: #14474F;
  --teal-600: #1F5560;
  --sun: #FFC83D;
  --sun-600: #F0B21E;
  --sun-50: #FFF5D6;
  --mint: #3DD9B3;
  --mint-600: #23B893;
  --mint-50: #E3F9F2;
  --mint-text: #1B6E5C;
  --coral: #FF6B4A;
  --coral-50: #FFEDE7;
  --sky: #7FD3E6;
  --sky-50: #EAF7FB;
  --ocean: #3FA7D6;
  --violet: #8B6CEF;
  --violet-50: #F0EBFF;

  /* surfaces and text */
  --cream: #FFFBF2;
  --paper: #FFFFFF;
  --chalk: #F4F6F3;
  --line: #E4E9E5;
  --line-strong: #C9D4D0;
  --ink: #0E3B43;
  --ink-2: #33494E;
  --muted: #587075;
  --on-dark: #FFF6E5;
  --on-dark-2: #CFE3E4;
  --on-dark-3: #9FC2C6;

  /* type */
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --game: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;

  /* shape */
  --r: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 59, 67, .06), 0 2px 8px rgba(14, 59, 67, .06);
  --shadow: 0 2px 4px rgba(14, 59, 67, .05), 0 12px 32px rgba(14, 59, 67, .10);
  --shadow-lg: 0 4px 8px rgba(14, 59, 67, .06), 0 24px 60px rgba(14, 59, 67, .16);
  --wrap: 1200px;
  --accent: var(--sun);
  --accent-50: var(--sun-50);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--teal); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-text); }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.dark .eyebrow { color: var(--mint); }
.h1 { font-size: clamp(40px, 6vw, 72px); }
.h2 { font-size: clamp(32px, 4.2vw, 52px); }
.h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.55; }
.dark .lead { color: var(--on-dark-2); }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .34em; background: var(--sun); border-radius: 6px; z-index: -1; opacity: .9; }
.dark .hl::after { opacity: .35; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.bg-paper { background: var(--paper); }
.bg-sky { background: linear-gradient(180deg, var(--sky-50) 0%, var(--cream) 100%); }
.dark { background: var(--teal); color: var(--on-dark); }
.dark .muted { color: var(--on-dark-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; border: 2px solid transparent; font-family: var(--body); font-size: 17px; font-weight: 600; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn svg { flex: 0 0 auto; }
.btn-sun { background: var(--sun); color: var(--teal); box-shadow: 0 4px 0 var(--sun-600), 0 10px 22px rgba(240, 178, 30, .28); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-600), 0 14px 28px rgba(240, 178, 30, .34); }
.btn-sun:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-600); }
.btn-teal { background: var(--teal); color: var(--on-dark); box-shadow: 0 4px 0 var(--teal-900); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--teal-900); }
.btn-teal:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-900); }
.btn-outline { background: var(--paper); color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--sun-50); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(255, 246, 229, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: var(--on-dark); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; border-radius: 18px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.dark .link-arrow { color: var(--sun); }
@media (max-width: 480px) { .actions .btn-lg { width: 100%; } }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--chalk); color: var(--ink-2); }
.chip.live { background: var(--sun); color: var(--teal); }
.chip.live::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--teal); animation: blink 1.6s ease-in-out infinite; }
.chip.dev { background: var(--mint-50); color: var(--mint-text); }
.chip.later { background: #ECEFEC; color: var(--muted); }
.chip.subject { background: var(--paper); border: 1.5px solid var(--line-strong); }
.dark .chip.subject { background: transparent; color: var(--on-dark-2); border-color: rgba(207, 227, 228, .35); }
.dark .chip.dev { background: rgba(61, 217, 179, .16); color: var(--mint); }
.dark .chip.later { background: rgba(255, 255, 255, .1); color: var(--on-dark-2); }
.chip.demo { background: var(--teal); color: var(--cream); }
.chip.demo::before { content: ""; width: 0; height: 0; border-left: 8px solid var(--sun); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.dark .chip.demo { background: var(--sun); color: var(--teal); }
.dark .chip.demo::before { border-left-color: var(--teal); }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 242, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(14, 59, 67, .06); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--teal); }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { background: rgba(14, 59, 67, .06); color: var(--teal); }
.nav a[aria-current="page"]:not(.btn) { color: var(--teal); font-weight: 600; background: rgba(14, 59, 67, .06); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line-strong); background: var(--paper); color: var(--teal); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 480px at 85% 10%, rgba(127, 211, 230, .35), transparent 70%), radial-gradient(700px 420px at 0% 100%, rgba(61, 217, 179, .18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-badge span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--mint-50); color: var(--mint-text); }
.hero h1 { font-size: clamp(42px, 5.6vw, 74px); }
.hero h1 em { font-style: normal; color: var(--mint-text); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); list-style: none; }
.ticks li { position: relative; display: inline-block; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -10px; width: 20px; height: 20px; border-radius: 99px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E3B43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dark .ticks { color: var(--on-dark-2); }
.hero-media { position: relative; }
.price-sticker { position: absolute; z-index: 3; right: -10px; top: -22px; width: 128px; height: 128px; border-radius: 50%; background: var(--sun); color: var(--teal); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(10deg); box-shadow: 0 6px 0 var(--sun-600), var(--shadow); line-height: 1.05; }
.price-sticker small { font-size: 12px; font-weight: 600; }
.price-sticker b { font-family: var(--game); font-weight: 400; font-size: 34px; }
.hero-pip { position: absolute; z-index: 3; left: -34px; bottom: -44px; width: 150px; filter: drop-shadow(0 12px 18px rgba(14, 59, 67, .25)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; width: 100%; max-width: 680px; margin: 10px auto 0; }
  .price-sticker { width: 100px; height: 100px; right: 2px; top: -18px; }
  .price-sticker b { font-size: 26px; }
  .price-sticker small { font-size: 11px; }
  .hero-pip { width: 96px; left: -6px; bottom: -30px; }
}

/* ---------- video / media frames ---------- */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--teal); box-shadow: var(--shadow-lg); border: 6px solid var(--paper); aspect-ratio: 16 / 9; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .vid-btn { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 99px; border: 0; background: rgba(8, 42, 48, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .85; transition: opacity .2s; }
.frame .vid-btn:hover { opacity: 1; }
.dark .frame { border-color: rgba(255, 255, 255, .14); }

/* ---------- trust bar ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.trust-item .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--mint-50); }
.trust-item:nth-child(2) .ic { background: var(--sun-50); }
.trust-item:nth-child(3) .ic { background: var(--coral-50); }
.trust-item:nth-child(4) .ic { background: var(--sky-50); }
.trust-item b { display: block; font-size: 16px; line-height: 1.3; }
.trust-item span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; margin-top: 3px; }
@media (max-width: 1020px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- tutor comparison ---------- */
.versus { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 28px; align-items: stretch; }
.vs-card { border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.vs-card.them { background: var(--paper); border: 1px solid var(--line); }
.vs-card.us { background: var(--teal); color: var(--on-dark); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.vs-card.us::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .28), transparent 70%); }
.vs-label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vs-card.us .vs-label { color: var(--mint); }
.vs-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vs-price b { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; }
.vs-card.them .vs-price b { color: var(--muted); }
.vs-card.us .vs-price b { color: var(--sun); }
.vs-price > span { font-size: 18px; font-weight: 500; }
.vs-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.vs-list li { position: relative; padding-left: 34px; }
.vs-list .mark { position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 99px; display: flex; align-items: center; justify-content: center; }
.vs-card.them .mark { background: var(--chalk); }
.vs-card.us .mark { background: var(--mint); }
.vs-card.them li { color: var(--ink-2); }
.vs-card.us li { color: var(--on-dark); }
.vs-badge { position: absolute; left: calc(47% - 1px); top: 50%; transform: translate(-50%, -50%) rotate(-8deg); z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: var(--coral); color: var(--paper); font-family: var(--game); font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 #D8502F, var(--shadow); }
.vs-card.us .vs-pip { position: absolute; right: 12px; bottom: 0; width: 132px; z-index: 1; }
.vs-card.us > *:not(.vs-pip) { position: relative; z-index: 2; }
.vs-card.us .vs-list { padding-right: 90px; }
.footnote { font-size: 13px; color: var(--muted); margin-top: 18px; }
@media (max-width: 880px) { .versus { grid-template-columns: minmax(0, 1fr); gap: 0; } .vs-badge { position: relative; left: auto; top: auto; transform: rotate(-8deg); justify-self: center; margin: -22px 0; width: 62px; height: 62px; font-size: 24px; } .vs-card.us .vs-pip { width: 96px; } .vs-card.us .vs-list { padding-right: 60px; } }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.crew-card { color: var(--ink); position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.crew-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.crew-card .pic { position: relative; width: 100%; aspect-ratio: 1; }
.crew-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease, transform .25s ease; }
.crew-card .pic .alt { opacity: 0; transform: scale(.94); }
.crew-card:hover .pic .main, .crew-card:focus-visible .pic .main { opacity: 0; }
.crew-card:hover .pic .alt, .crew-card:focus-visible .pic .alt { opacity: 1; transform: scale(1.04); }
.crew-card .who { font-family: var(--game); font-size: 22px; line-height: 1.1; }
.crew-card .what { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1100px) { .crew { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.game-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card .shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-50); }
.game-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .shot img { transform: scale(1.05); }
.game-card .shot .chip { position: absolute; left: 14px; top: 14px; box-shadow: var(--shadow-sm); }
.game-card .body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.game-card .title { font-family: var(--game); font-size: 28px; line-height: 1.05; }
.game-card .meta { font-size: 14px; color: var(--muted); font-weight: 500; }
.game-card p { font-size: 15.5px; color: var(--ink-2); }
.game-card .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; color: var(--teal); }
.game-card.featured { grid-column: span 2; flex-direction: row; }
.game-card.featured .shot { flex: 1.25; aspect-ratio: auto; min-height: 320px; }
.game-card.featured .body { flex: 1; padding: 32px; justify-content: center; }
.game-card.featured .title { font-size: 40px; }
.game-card.featured p { font-size: 17px; }
.game-card.featured .shot img { object-position: 28% 50%; }
.game-card.promo { background: var(--teal); color: var(--on-dark); border-color: var(--teal); }
.game-card.promo .shot { background: var(--teal-700); }
.game-card.promo .title { color: var(--paper); }
.game-card.promo p { color: var(--on-dark-2); }
.game-card.promo .more { color: var(--sun); }
@media (max-width: 1020px) { .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .games-grid { grid-template-columns: minmax(0, 1fr); } .game-card.featured { grid-column: auto; flex-direction: column; } .game-card.featured .shot { min-height: 0; aspect-ratio: 16 / 10; flex: none; } .game-card.featured .body { padding: 22px; } .game-card.featured .title { font-size: 30px; } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--paper); color: var(--ink-2); font-weight: 600; font-size: 15px; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; counter-increment: step; }
.step::before { content: counter(step); width: 46px; height: 46px; border-radius: 14px; background: var(--sun); color: var(--teal); font-family: var(--game); font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--sun-600); }
.step .pose { position: absolute; right: 14px; top: -34px; width: 104px; }
.step p { color: var(--ink-2); font-size: 16px; }
.dark .step { background: var(--teal-700); border-color: rgba(255, 255, 255, .08); }
.dark .step p { color: var(--on-dark-2); }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); } .step .pose { width: 88px; top: -22px; } }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--mint-50); display: flex; align-items: center; justify-content: center; }
.dark .feature-list .ic { background: var(--teal-700); }
.feature-list b { display: block; font-size: 17px; }
.feature-list span { display: block; color: var(--ink-2); font-size: 15.5px; }
.dark .feature-list span { color: var(--on-dark-2); }

/* ---------- parent progress mock ---------- */
.mock { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; color: var(--ink); position: relative; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock-kid { display: flex; align-items: center; gap: 12px; }
.mock-kid img { width: 52px; height: 52px; border-radius: 16px; background: var(--mint-50); object-fit: contain; }
.mock-kid b { display: block; font-size: 18px; }
.mock-kid span { font-size: 13px; color: var(--muted); }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.mock-stat { background: var(--chalk); border-radius: 14px; padding: 12px; }
.mock-stat small { display: block; font-size: 12px; color: var(--muted); }
.mock-stat b { font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mock-row:last-child { border-bottom: 0; }
.tier { display: inline-flex; min-width: 70px; justify-content: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tier.gold { background: var(--sun); color: var(--teal); }
.tier.silver { background: #DDE5E9; color: var(--teal); }
.tier.bronze { background: #F4D5B8; color: #6B3B12; }
.mock-note { margin-top: 14px; display: flex; gap: 12px; align-items: center; background: var(--mint-50); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--mint-text); font-weight: 500; }
.mock-note img { width: 44px; flex: 0 0 auto; }
.example-tag { position: absolute; top: -12px; right: 18px; background: var(--coral); color: var(--paper); }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); gap: 4px; }
.billing-toggle button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; }
.billing-toggle button[aria-pressed="true"] { background: var(--teal); color: var(--on-dark); }
.billing-toggle .save { font-size: 12px; background: var(--sun); color: var(--teal); border-radius: 99px; padding: 2px 8px; margin-left: 8px; }
.plans { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.plan { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.main { border: 3px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -15px; left: 28px; }
.plan h3 { font-size: 26px; }
.plan .price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price-line b { font-family: var(--display); font-weight: 800; font-size: 60px; letter-spacing: -0.04em; line-height: 1; }
.plan .price-line span { font-size: 17px; color: var(--muted); font-weight: 500; }
.plan .per-week { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 12px; background: var(--mint-50); color: var(--mint-text); font-weight: 600; font-size: 15px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan li { position: relative; padding-left: 34px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 99px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E3B43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.plan .fine { font-size: 13.5px; color: var(--muted); }
.plan .cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.plan.schools { background: var(--sky-50); }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 99px; background: var(--chalk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230E3B43' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; background: var(--teal); color: var(--on-dark); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(61, 217, 179, .25), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255, 200, 61, .18), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band .copy { display: flex; flex-direction: column; gap: 18px; }
.cta-band .eyebrow { color: var(--mint); }
.cta-band .lead { color: var(--on-dark-2); }
.cta-band .link-arrow { color: var(--sun); }
.cta-band .frame { border-color: rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); border-radius: 28px; } }

/* ---------- page heroes ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero .wrap.split { display: grid; }
.page-hero .split .copy { gap: 16px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs > * + *::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs [aria-current] { font-weight: 600; color: var(--ink); }
.dark .crumbs [aria-current], .game-hero .crumbs [aria-current] { color: var(--on-dark); }
.dark .crumbs { color: var(--on-dark-3); }

/* ---------- game page ---------- */
.game-page[data-accent="mint"] { --accent: var(--mint); --accent-50: var(--mint-50); }
.game-page[data-accent="coral"] { --accent: var(--coral); --accent-50: var(--coral-50); }
.game-page[data-accent="sky"] { --accent: var(--sky); --accent-50: var(--sky-50); }
.game-page[data-accent="ocean"] { --accent: var(--ocean); --accent-50: var(--sky-50); }
.game-page[data-accent="violet"] { --accent: var(--violet); --accent-50: var(--violet-50); }
.game-hero { position: relative; overflow: hidden; background: var(--teal); color: var(--on-dark); padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.game-hero .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; opacity: .22; filter: blur(22px) saturate(1.3); }
.game-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.game-hero .copy { display: flex; flex-direction: column; gap: 18px; }
.game-hero h1 { font-family: var(--game); font-weight: 400; letter-spacing: .005em; font-size: clamp(50px, 6.4vw, 88px); line-height: .95; color: var(--paper); text-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.game-hero .strap { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.1vw, 27px); color: var(--accent); letter-spacing: -0.02em; line-height: 1.2; }
.game-hero[data-accent="violet"] .strap, .game-page[data-accent="violet"] .game-hero .strap { color: #BFAEFF; }
.game-hero .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.game-hero .crumbs { grid-column: 1 / -1; margin-bottom: -6px; }
@media (max-width: 960px) { .game-hero .wrap { grid-template-columns: minmax(0, 1fr); } .game-hero .media { order: -1; } .game-hero .crumbs { order: -2; } }

.cast { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.cast-card { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.cast-card .stage { position: relative; background: radial-gradient(circle at 50% 70%, var(--paper) 0%, var(--accent-50) 72%); display: flex; align-items: center; justify-content: center; padding: 24px; height: 360px; }
.cast-card .stage img { max-height: 300px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(14, 59, 67, .16)); }
.cast-card .stage img.wide { max-height: 220px; }
.cast-card .stage img.ghost { opacity: .55; filter: saturate(.4) brightness(1.2) drop-shadow(0 0 22px rgba(127, 211, 230, .95)); }
.cast-card .role { position: absolute; left: 18px; top: 18px; }
.cast-card .role.star { background: var(--teal); color: var(--on-dark); }
.cast-card .role.rival { background: var(--coral); color: var(--paper); }
.cast-card .role.friend { background: var(--mint); color: var(--teal); }
.cast-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cast-card .name { font-family: var(--game); font-size: 36px; line-height: 1; }
.cast-card .kind { font-size: 15px; color: var(--muted); font-weight: 500; }
.cast-card .quote { align-self: flex-start; font-family: var(--game); font-size: 20px; padding: 8px 16px; border-radius: 14px; background: var(--accent-50); color: var(--teal); }
.cast-card p { color: var(--ink-2); }
.poses { display: flex; gap: 8px; flex-wrap: wrap; }
.pose-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pose-btn img { width: 34px; height: 34px; object-fit: contain; border-radius: 99px; background: var(--accent-50); }
.pose-btn[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); background: var(--accent-50); }
@media (max-width: 900px) { .cast { grid-template-columns: minmax(0, 1fr); } .cast-card .stage { height: 300px; } .cast-card .stage img { max-height: 250px; } }

.curric { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.curric th { text-align: left; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; background: var(--chalk); }
.curric td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.curric td:last-child { white-space: nowrap; font-weight: 600; color: var(--mint-text); }
.levels { display: flex; flex-direction: column; gap: 10px; }
.level { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.level b { font-family: var(--game); font-weight: 400; font-size: 19px; }
.level.ready { border-color: var(--accent); background: linear-gradient(90deg, var(--accent-50), var(--paper) 70%); }
@media (max-width: 560px) { .level { grid-template-columns: minmax(0, 1fr) auto; } .level span:not(.chip) { grid-column: 1 / -1; grid-row: 2; } }
.two-up { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.two-up > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .two-up { grid-template-columns: minmax(0, 1fr); } }
.home-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-note { background: var(--teal-700); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.home-note b { font-size: 18px; color: var(--paper); }
.home-note p { color: var(--on-dark-2); font-size: 15.5px; }
@media (max-width: 860px) { .home-notes { grid-template-columns: minmax(0, 1fr); } }
.included { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: var(--on-dark-2); }
.included b { color: var(--paper); }
.included svg { flex: 0 0 auto; }
.table-wrap { overflow-x: auto; border-radius: var(--r); }

/* ---------- forms ---------- */
.form-card { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line-strong); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(61, 217, 179, .25); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ink-2); align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.plan-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.plan-pick label { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line-strong); cursor: pointer; }
.plan-pick label:has(input:checked) { border-color: var(--teal); background: var(--mint-50); }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick b { font-size: 17px; }
.plan-pick span { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .plan-pick { grid-template-columns: minmax(0, 1fr); } }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 28px; margin-top: 18px; }
.prose h3 { font-size: 20px; margin-top: 6px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: var(--ink-2); }
.todo { background: var(--sun-50); border: 1px dashed var(--sun-600); border-radius: 8px; padding: 0 6px; font-weight: 600; color: var(--teal); }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: var(--on-dark-2); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { max-width: 36ch; font-size: 15px; }
.footer-crew { display: flex; margin-top: 6px; }
.footer-crew img { width: 54px; height: 54px; object-fit: contain; margin-right: -8px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols b { display: block; color: var(--on-dark); font-size: 15px; margin-bottom: 12px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; color: var(--on-dark-2); }
.footer-cols a:hover { color: var(--sun); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-3); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--sun); }
@media (max-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the app (home page) ----------
   The picture is drawn at 540 x 590 and scaled to fit its column (js/site.js sets --s). */
.app-visual-wrap { min-width: 0; }
.app-visual { --s: 1; position: relative; width: calc(540px * var(--s)); height: calc(590px * var(--s)); margin: 0 auto; }
.app-stage { position: absolute; left: 0; top: 0; width: 540px; height: 590px; transform: scale(var(--s)); transform-origin: 0 0; }
.app-plate { position: absolute; left: 50px; top: 70px; width: 440px; height: 440px; border-radius: 50%; background: var(--paper); box-shadow: 0 30px 60px rgba(14, 59, 67, .16), inset 0 0 0 22px var(--chalk), inset 0 0 0 24px var(--line); }
.app-fork { position: absolute; left: 4px; top: 124px; }
.app-knife { position: absolute; left: 502px; top: 124px; }
.app-phone { position: absolute; left: 135px; top: 12px; width: 270px; height: 561px; box-sizing: border-box; padding: 10px; border-radius: 46px; background: #0B1F23; box-shadow: 0 24px 48px rgba(8, 42, 48, .35); transform: rotate(-6deg); }
.app-phone img { width: 250px; height: 541px; border-radius: 36px; object-fit: cover; }
.app-menu { position: absolute; left: 0; top: 430px; width: 220px; box-sizing: border-box; padding: 18px 20px; background: #FFF6E5; border: 2px solid var(--teal); border-radius: 16px; box-shadow: 0 6px 0 var(--teal); transform: rotate(-4deg); display: flex; flex-direction: column; gap: 7px; }
.app-menu .title { font-family: var(--game); font-size: 21px; text-align: center; }
.app-menu .rule { height: 1px; background: rgba(14, 59, 67, .25); }
.app-menu span { font-size: 13.5px; line-height: 1.3; }
.app-chip { position: absolute; left: 372px; top: 26px; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: var(--teal); color: var(--on-dark); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(14, 59, 67, .25); transform: rotate(4deg); }
.app-pip { position: absolute; left: 388px; top: 424px; width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(14, 59, 67, .25)); }
.app-note { font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1240px) { .app-visual { --s: .88; } }
@media (max-width: 1080px) { .app-visual { --s: .76; } }
@media (max-width: 900px) { .app-visual { --s: 1; } }
@media (max-width: 600px) { .app-visual { --s: .62; } }
@media (max-width: 360px) { .app-visual { --s: .56; } }
.app-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.app-step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.app-shot { width: 100%; max-width: 232px; aspect-ratio: 390 / 844; box-sizing: border-box; border: 8px solid #0B1F23; border-radius: 38px; overflow: hidden; background: #0B1F23; box-shadow: var(--shadow); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; }
.app-step h3 { font-size: 19px; letter-spacing: -0.015em; display: flex; align-items: center; justify-content: center; gap: 10px; }
.app-step .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; background: var(--sun); color: var(--teal); font-family: var(--game); font-weight: 400; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--sun-600); }
.app-step p { font-size: 15px; color: var(--ink-2); max-width: 28ch; }
@media (max-width: 1020px) { .app-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 480px) { .app-steps { gap: 32px 14px; } .app-shot { border-width: 6px; border-radius: 28px; } .app-step h3 { font-size: 16px; gap: 8px; flex-direction: column; } .app-step .n { width: 26px; height: 26px; font-size: 15px; } .app-step p { font-size: 14px; } }

/* =========================================================
   29 Nov 2026 refresh: home hero + crew reel, subject tiles,
   games hero, how it works, promises, pricing, our story
   ========================================================= */

/* ---------- footer crew: wraps inside its own column ---------- */
.footer-crew { flex-wrap: wrap; gap: 6px 2px; max-width: 360px; }
.footer-crew img { width: 46px; height: 46px; margin-right: 0; }

/* ---------- home hero (centred) ---------- */
.hero-home { position: relative; padding: clamp(36px, 5vw, 68px) 0 0; overflow: hidden; }
.hero-home::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 88% 0%, rgba(127, 211, 230, .38), transparent 70%), radial-gradient(760px 460px at 4% 30%, rgba(61, 217, 179, .2), transparent 70%), radial-gradient(700px 400px at 50% 100%, rgba(255, 200, 61, .2), transparent 70%); pointer-events: none; }
.hero-home .wrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-home .hero-badge { align-self: center; }
.hero-home h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 15ch; }
.hero-home .lead { max-width: 58ch; }
.hero-home .actions { justify-content: center; }
.hero-home .ticks { justify-content: center; }
.hero-reel { position: relative; width: 100%; max-width: 1040px; margin-top: clamp(14px, 2.4vw, 30px); }
.hero-reel .peek { position: absolute; z-index: 3; width: clamp(84px, 12vw, 170px); filter: drop-shadow(0 12px 18px rgba(14, 59, 67, .25)); animation: float 4s ease-in-out infinite; pointer-events: none; }
.hero-reel .peek.l { left: clamp(-70px, -5vw, -8px); top: 52%; }
.hero-reel .peek.r { right: clamp(-74px, -5.4vw, -8px); top: 24%; animation-delay: -2s; }
.hero-band { height: clamp(70px, 10vw, 150px); margin-top: calc(-1 * clamp(70px, 10vw, 150px)); background: var(--teal); border-radius: 44px 44px 0 0; }
.after-hero { background: var(--teal); color: var(--on-dark); padding: clamp(36px, 5vw, 60px) 0 clamp(52px, 6vw, 80px); }
.after-hero .trust-item { background: var(--teal-700); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.after-hero .trust-item b { color: var(--paper); }
.after-hero .trust-item span { color: var(--on-dark-2); }
.after-hero .trust-item .ic { background: rgba(255, 255, 255, .1) !important; }
@media (max-width: 1240px) { .hero-reel .peek { display: none; } }

/* ---------- the crew reel (motion graphic) ---------- */
.reel { position: relative; z-index: 2; }
.reel-stage { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.6vw, 32px); overflow: hidden; background: var(--teal); border: clamp(4px, .7vw, 8px) solid var(--paper); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); container-type: inline-size; cursor: pointer; text-align: left; }
.reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel.started .reel-poster { display: none; }
.reel-layer, .reel-scene { position: absolute; inset: 0; }
.reel-scene { overflow: hidden; animation: reel-in .55s ease both; }
.reel-scene.out { animation: reel-out .55s ease both; }
@keyframes reel-in { from { opacity: 0; } }
@keyframes reel-out { to { opacity: 0; } }
.reel-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: reel-drift 9s ease-out both; }
@keyframes reel-drift { from { transform: scale(1.02) translateX(-1.5%); } to { transform: scale(1.12) translateX(1.5%); } }
.reel-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 42, 48, .28) 0%, transparent 26%, transparent 70%, rgba(8, 42, 48, .34) 100%); pointer-events: none; }
.reel-scene.finale::after { display: none; }
.reel-tag { position: absolute; z-index: 2; left: 3.2%; top: 5%; display: flex; align-items: center; gap: 1.2cqw; padding: .9cqw 1.3cqw .9cqw 2cqw; border-radius: 99px; background: var(--teal); color: var(--paper); box-shadow: 0 .5cqw 1.6cqw rgba(8, 42, 48, .35); animation: reel-drop .6s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
.reel-tag b { font-family: var(--game); font-weight: 400; font-size: 3cqw; line-height: 1; letter-spacing: .01em; }
.reel-tag span { font-size: 1.7cqw; font-weight: 600; background: var(--sun); color: var(--teal); padding: .5cqw 1.4cqw; border-radius: 99px; line-height: 1.2; }
@keyframes reel-drop { from { opacity: 0; transform: translateY(-140%); } }
.reel-char { position: absolute; z-index: 2; left: 3%; bottom: -3%; height: 76%; width: 38%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 1.6cqw 2cqw rgba(8, 42, 48, .4)); transform-origin: 50% 100%; animation: reel-hop .75s cubic-bezier(.2, 1.25, .35, 1) both, reel-bob 2.6s ease-in-out .8s infinite; }
.reel-char.cheer { animation: reel-cheer .5s cubic-bezier(.2, 1.4, .4, 1) both, reel-bob 1.3s ease-in-out .5s infinite; }
@keyframes reel-hop { 0% { transform: translateY(110%) scale(.9); } 60% { transform: translateY(-9%) scale(1.03, .98); } 80% { transform: translateY(0) scale(1.05, .93); } 100% { transform: none; } }
@keyframes reel-bob { 50% { transform: translateY(-2.2%) rotate(-1.2deg); } }
@keyframes reel-cheer { 0% { transform: scale(.94); } 55% { transform: translateY(-7%) scale(1.07); } 100% { transform: none; } }
.reel-bubble { position: absolute; z-index: 3; left: 41%; right: 4.5%; top: 26%; padding: 2.6cqw 3cqw 2.8cqw; border-radius: 3cqw; background: var(--paper); color: var(--ink); box-shadow: 0 1cqw 3cqw rgba(8, 42, 48, .35); transform-origin: 0 60%; animation: reel-pop .5s cubic-bezier(.2, 1.4, .4, 1) .4s both; }
.reel-bubble::before { content: ""; position: absolute; left: -2.4cqw; top: 46%; border: 1.7cqw solid transparent; border-right-color: var(--paper); border-left-width: 0; border-right-width: 2.6cqw; }
.reel-bubble b { display: inline-block; font-family: var(--game); font-weight: 400; font-size: 2.5cqw; line-height: 1; background: var(--sun); color: var(--teal); padding: .7cqw 1.5cqw; border-radius: 99px; margin-bottom: 1.3cqw; }
.reel-bubble p { font-family: var(--display); font-weight: 800; font-size: 3.9cqw; line-height: 1.16; letter-spacing: -0.02em; }
.reel-bubble p span { display: inline-block; opacity: 0; animation: reel-word .32s ease both; }
@keyframes reel-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes reel-word { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.reel-title { position: absolute; z-index: 2; left: 4%; top: 7%; max-width: 42%; font-family: var(--game); font-size: 5.2cqw; line-height: 1; color: var(--paper); text-shadow: 0 .5cqw 0 rgba(8, 42, 48, .35), 0 1cqw 3cqw rgba(8, 42, 48, .4); animation: reel-drop .7s cubic-bezier(.2, 1.3, .4, 1) .1s both; }
.reel-scene.title .reel-bubble { left: 49%; right: 3%; top: 6%; padding: 1.8cqw 2.4cqw 2cqw; }
.reel-scene.title .reel-bubble::before { display: none; }
.reel-scene.title .reel-bubble b { margin-bottom: .9cqw; }
.reel-scene.title .reel-bubble p { font-size: 2.9cqw; }
.reel-scene.finale { background: radial-gradient(60cqw 34cqw at 85% 0%, rgba(61, 217, 179, .35), transparent 70%), radial-gradient(60cqw 34cqw at 0% 100%, rgba(255, 200, 61, .25), transparent 70%), var(--teal); color: var(--on-dark); }
.reel-fin { position: absolute; left: 5%; right: 5%; top: 7%; display: flex; flex-direction: column; align-items: center; gap: 2.2cqw; text-align: center; }
.reel-fin-title { font-family: var(--game); font-size: 4.9cqw; white-space: nowrap; line-height: 1; color: var(--paper); animation: reel-drop .7s cubic-bezier(.2, 1.3, .4, 1) both; }
.reel-bubble.mini { position: static; padding: 1.6cqw 2.4cqw; display: flex; align-items: center; gap: 1.6cqw; border-radius: 99px; text-align: left; transform-origin: 50% 50%; }
.reel-bubble.mini::before { display: none; }
.reel-bubble.mini b { margin: 0; flex: 0 0 auto; }
.reel-bubble.mini p { font-size: 2.3cqw; }
.reel-fin-actions { display: flex; gap: 1.6cqw; flex-wrap: wrap; justify-content: center; animation: reel-in .6s ease 1.2s both; }
.reel-fin-actions .btn { min-height: 0; padding: 1.5cqw 2.6cqw; font-size: clamp(13px, 2cqw, 18px); border-radius: 1.6cqw; }
.reel-row { position: absolute; left: 0; right: 0; bottom: 2%; display: flex; align-items: flex-end; justify-content: center; }
.reel-row img { position: relative; width: 9.6%; margin: 0 -1.35%; aspect-ratio: 1; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; filter: drop-shadow(0 1cqw 1.4cqw rgba(0, 0, 0, .35)); animation: reel-hop .7s cubic-bezier(.2, 1.25, .35, 1) both, reel-bob 2.4s ease-in-out 1.6s infinite; }
.reel-row img:nth-child(odd) { width: 10.6%; z-index: 1; }
.reel-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: clamp(4px, .7cqw, 7px); background: rgba(255, 255, 255, .25); }
.reel-progress i { display: block; height: 100%; width: 0; background: var(--sun); transition: width .12s linear; }
.reel-sound-big { position: absolute; z-index: 6; right: 2.4%; top: 5%; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 99px; background: var(--sun); color: var(--teal); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 4px 0 var(--sun-600), 0 10px 22px rgba(8, 42, 48, .3); animation: reel-nudge 2.6s ease-in-out 2s infinite; }
@keyframes reel-nudge { 0%, 86%, 100% { transform: none; } 90% { transform: scale(1.07) rotate(-2deg); } 95% { transform: scale(1.04) rotate(2deg); } }
.reel.paused .reel-scene, .reel.paused .reel-scene * { animation-play-state: paused !important; }
.reel-controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.reel-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 13px; border-radius: 99px; border: 2px solid var(--line-strong); background: var(--paper); color: var(--teal); font-weight: 600; font-size: 14px; cursor: pointer; }
.reel-btn:hover { border-color: var(--teal); }
.reel-dots { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.reel-dot { width: 46px; height: 46px; padding: 3px; border-radius: 50%; border: 3px solid transparent; background: var(--paper); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.reel-dot img { width: 100%; height: 100%; object-fit: contain; }
.reel-dot:hover { transform: translateY(-3px); }
.reel-dot.on { border-color: var(--sun-600); background: var(--sun-50); transform: translateY(-4px) scale(1.12); }
@media (max-width: 700px) { .reel-controls { gap: 8px; } .reel-dot { width: 34px; height: 34px; padding: 2px; border-width: 2px; } .reel-dots { gap: 4px; } .reel-btn span { display: none; } .reel-sound-big { min-height: 36px; font-size: 13px; padding: 0 12px 0 10px; } .reel-bubble p { font-size: 4.4cqw; } .reel-bubble b { font-size: 3cqw; } .reel-scene.title .reel-bubble p { font-size: 3.6cqw; } .reel-bubble.mini p { font-size: 2.8cqw; } }

/* ---------- subject tiles ---------- */
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.subject-tile { --c: var(--sun); --c50: var(--sun-50); --ct: var(--teal); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 20px 18px; border-radius: var(--r-lg); border: 2px solid transparent; background: var(--c50); color: var(--ink); text-align: left; text-decoration: none; font-family: var(--body); cursor: pointer; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.subject-tile::after { content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: var(--c); opacity: .28; transition: transform .3s ease; }
.subject-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.subject-tile:hover::after { transform: scale(1.3); }
.subject-tile .ic { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 18px; background: var(--c); color: var(--ct); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 rgba(14, 59, 67, .14); margin-bottom: 8px; }
.subject-tile b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.025em; line-height: 1.1; }
.subject-tile .n { font-size: 14px; font-weight: 600; color: var(--muted); }
.subject-tile .what { font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.subject-tile .faces { display: flex; margin-top: auto; padding-top: 12px; }
.subject-tile .faces img { width: 40px; height: 40px; object-fit: contain; margin-right: -6px; filter: drop-shadow(0 3px 4px rgba(14, 59, 67, .2)); }
.subject-tile.english { --c: var(--coral); --c50: var(--coral-50); --ct: #fff; }
.subject-tile.science { --c: var(--mint); --c50: var(--mint-50); }
.subject-tile.history { --c: var(--violet); --c50: var(--violet-50); --ct: #fff; }
.subject-tile.geography { --c: var(--ocean); --c50: var(--sky-50); --ct: #fff; }
.subject-tile.all { --c: var(--teal); --c50: #E6EEEE; --ct: var(--sun); }
button.subject-tile .what { display: none; }
button.subject-tile[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-dark); box-shadow: var(--shadow); transform: translateY(-5px); }
button.subject-tile[aria-pressed="true"] .n { color: var(--on-dark-2); }
button.subject-tile[aria-pressed="true"].all .ic { background: var(--sun); color: var(--teal); }
@media (max-width: 700px) { .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .subject-tile { padding: 14px; } .subject-tile b { font-size: 21px; } .subject-tile .ic { width: 46px; height: 46px; border-radius: 14px; } .subject-tile .faces img { width: 32px; height: 32px; } }
.game-card.featured.plain { grid-column: auto; flex-direction: column; }
.game-card.featured.plain .shot { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
.game-card.featured.plain .body { padding: 22px 22px 24px; justify-content: flex-start; }
.game-card.featured.plain .title { font-size: 28px; }
.game-card.featured.plain p { font-size: 15.5px; }

/* ---------- games page hero ---------- */
.games-hero { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 52px) 0 clamp(96px, 11vw, 150px); }
.games-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 92% 8%, rgba(61, 217, 179, .32), transparent 70%), radial-gradient(640px 400px at 0% 100%, rgba(255, 200, 61, .2), transparent 70%), radial-gradient(500px 300px at 55% 0%, rgba(139, 108, 239, .22), transparent 70%); }
.games-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.games-hero .copy { display: flex; flex-direction: column; gap: 18px; }
.games-hero h1 { color: var(--paper); }
.fan { position: relative; aspect-ratio: 10 / 7.4; }
.fan-card { position: absolute; width: 62%; border-radius: 22px; overflow: hidden; border: 5px solid var(--paper); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); background: var(--teal-700); }
.fan-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fan-card.f1 { left: 0; top: 4%; transform: rotate(-8deg); }
.fan-card.f2 { right: 0; top: 0; transform: rotate(7deg); }
.fan-card.f3 { left: 19%; bottom: 0; transform: rotate(-1.5deg); z-index: 2; }
.fan-char { position: absolute; z-index: 3; width: 25%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35)); animation: float 4s ease-in-out infinite; }
.fan-char.c1 { left: 2%; bottom: 2%; }
.fan-char.c2 { right: 2%; bottom: 6%; animation-delay: -1.3s; }
.fan-char.c3 { right: 30%; top: -5%; width: 19%; animation-delay: -2.6s; }
.subjects-band { padding-top: 0; }
.subjects-band > .wrap > div[role="group"] { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 7vw, 92px)); margin-bottom: 36px; }
.subjects-band .subjects { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.subjects-band .subject-tile { box-shadow: var(--shadow); background: var(--paper); }
.subjects-band .subject-tile[aria-pressed="true"] { background: var(--teal); }
.subjects-head { display: none; }
@media (max-width: 1100px) { .subjects-band .subjects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .games-hero .wrap { grid-template-columns: minmax(0, 1fr); } .fan { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 560px) { .subjects-band .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- how it works ---------- */
.how-rows { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 84px); }
.how-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.how-row:nth-child(even) .how-copy { order: 2; }
.how-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.how-num { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-text); }
.how-num i { font-style: normal; width: 54px; height: 54px; border-radius: 17px; background: var(--sun); color: var(--teal); font-family: var(--game); font-size: 28px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--sun-600); letter-spacing: 0; }
.how-copy p { color: var(--ink-2); }
.how-points { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--ink-2); }
.how-points li { position: relative; padding-left: 30px; }
.how-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E3B43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.screen { position: relative; border-radius: 22px; background: #0B1F23; padding: 34px 10px 10px; box-shadow: var(--shadow-lg); }
.screen::before { content: ""; position: absolute; left: 16px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: #FF6B4A; box-shadow: 17px 0 0 #FFC83D, 34px 0 0 #3DD9B3; }
.screen img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; background: var(--teal); }
.screen-wrap { position: relative; }
.screen-wrap .pal { position: absolute; z-index: 2; width: clamp(84px, 11vw, 140px); bottom: -22px; right: -18px; filter: drop-shadow(0 12px 16px rgba(14, 59, 67, .28)); }
.how-row:nth-child(even) .screen-wrap .pal { right: auto; left: -18px; }
@media (max-width: 900px) { .how-row { grid-template-columns: minmax(0, 1fr); } .how-row:nth-child(even) .how-copy { order: 0; } .screen-wrap .pal { right: 0 !important; left: auto !important; } }
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jump-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--teal); }
.jump-nav a i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); font-family: var(--game); display: inline-flex; align-items: center; justify-content: center; }
.jump-nav a:hover { border-color: var(--teal); }

/* ---------- four promises ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 56px; }
.promise { --c: var(--sun); --c50: var(--sun-50); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 84px 24px 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.promise:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promise::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 92px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(180deg, var(--c50), transparent); border-top: 6px solid var(--c); }
.promise .who { position: absolute; left: 20px; top: -56px; width: 124px; height: 124px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(14, 59, 67, .2)); }
.promise .no { position: absolute; right: 20px; top: 16px; font-family: var(--game); font-size: 44px; line-height: 1; color: var(--c); opacity: .9; }
.promise h3 { position: relative; font-size: 23px; letter-spacing: -0.02em; }
.promise p { position: relative; color: var(--ink-2); font-size: 15.5px; }
.promise .eg { position: relative; margin-top: auto; padding: 10px 14px; border-radius: 14px; background: var(--c50); font-size: 14px; font-weight: 500; color: var(--ink); }
.promise.p2 { --c: var(--mint); --c50: var(--mint-50); }
.promise.p3 { --c: var(--coral); --c50: var(--coral-50); }
.promise.p4 { --c: var(--violet); --c50: var(--violet-50); }
@media (max-width: 1100px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 76px; } }
@media (max-width: 600px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pricing ---------- */
.price-hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 84px); background: linear-gradient(180deg, var(--sky-50) 0%, var(--cream) 100%); }
.price-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.price-hero .copy { display: flex; flex-direction: column; gap: 20px; }
.price-card { position: relative; background: var(--paper); border: 3px solid var(--teal); border-radius: 32px; box-shadow: var(--shadow-lg); padding: clamp(26px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.price-card .ribbon { position: absolute; top: -16px; left: 28px; }
.price-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big b { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 8vw, 96px); letter-spacing: -0.05em; line-height: .95; }
.price-big span { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.price-card .billed { align-self: flex-start; padding: 6px 12px; border-radius: 12px; background: var(--mint-50); color: var(--mint-text); font-weight: 600; font-size: 15px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.price-card li { position: relative; padding-left: 34px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 99px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E3B43' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.price-card .fine { font-size: 13.5px; color: var(--muted); text-align: center; }
.price-card .pal { position: absolute; right: -30px; top: -58px; width: 132px; filter: drop-shadow(0 12px 16px rgba(14, 59, 67, .25)); animation: float 4s ease-in-out infinite; }
@media (max-width: 960px) { .price-hero .wrap { grid-template-columns: minmax(0, 1fr); } .price-card .pal { right: 0; width: 100px; top: -52px; } }
.coffee { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); gap: 22px; align-items: stretch; }
.coffee-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); }
.coffee-card.us { background: var(--teal); color: var(--on-dark); border-color: var(--teal); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.coffee-card .pic { height: 150px; display: flex; align-items: flex-end; }
.coffee-card .pic svg, .coffee-card .pic img { height: 100%; width: auto; }
.coffee-card .label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.coffee-card.us .label { color: var(--mint); }
.coffee-card h3 { font-size: clamp(24px, 2.6vw, 32px); }
.coffee-card p { color: var(--ink-2); }
.coffee-card.us p { color: var(--on-dark-2); }
.coffee-card.us h3 { color: var(--paper); }
.coffee-card.us .pic img { margin-right: -14px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.coffee-eq { align-self: center; width: 70px; height: 70px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--game); font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 #D8502F, var(--shadow); transform: rotate(-8deg); }
@media (max-width: 860px) { .coffee { grid-template-columns: minmax(0, 1fr); } .coffee-eq { justify-self: center; margin: -30px 0; z-index: 2; } }
.flex-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.flex-card { background: var(--teal-700); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255, 255, 255, .08); }
.flex-card .ic { width: 54px; height: 54px; border-radius: 17px; background: var(--sun); color: var(--teal); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--sun-600); margin-bottom: 6px; }
.flex-card:nth-child(2) .ic { background: var(--mint); box-shadow: 0 4px 0 var(--mint-600); }
.flex-card:nth-child(3) .ic { background: var(--sky); box-shadow: 0 4px 0 var(--ocean); }
.flex-card h3 { font-size: 23px; color: var(--paper); }
.flex-card p { color: var(--on-dark-2); font-size: 16px; }
@media (max-width: 860px) { .flex-cards { grid-template-columns: minmax(0, 1fr); } }
.trial-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: t; }
.trial-step { position: relative; padding: 0 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; counter-increment: t; }
.trial-step::before { content: counter(t); position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: var(--sun); color: var(--teal); font-family: var(--game); font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--sun-600), 0 0 0 8px var(--paper); margin-bottom: 8px; }
.trial-step::after { content: ""; position: absolute; top: 29px; left: 50%; width: 100%; height: 4px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px); }
.trial-step:last-child::after { display: none; }
.trial-step .when { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-text); }
.trial-step h3 { font-size: 21px; letter-spacing: -0.015em; }
.trial-step p { font-size: 15.5px; color: var(--ink-2); max-width: 30ch; }
.bg-paper .trial-step::before { box-shadow: 0 4px 0 var(--sun-600), 0 0 0 8px var(--paper); }
.form-card .trial-steps, .trial-steps.stack { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.trial-steps.stack .trial-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; padding: 0; }
.trial-steps.stack .trial-step::before { flex: 0 0 auto; width: 46px; height: 46px; font-size: 22px; margin: 0; box-shadow: 0 3px 0 var(--sun-600); }
.trial-steps.stack .trial-step::after { top: 46px; left: 21px; width: 4px; height: calc(100% - 22px); background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.trial-steps.stack .trial-step > div { display: flex; flex-direction: column; gap: 3px; }
.trial-steps.stack .trial-step h3 { font-size: 18px; }
.trial-steps.stack .trial-step p { max-width: none; font-size: 15px; }
@media (max-width: 860px) { .trial-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; } .trial-step::after { display: none; } }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r); background: var(--sun-50); border: 2px solid var(--sun); font-size: 15.5px; color: var(--ink); max-width: 860px; margin: 28px auto 0; text-align: left; }
.notice img { width: 54px; flex: 0 0 auto; }

/* ---------- our story ---------- */
.story-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--sky-50) 0%, var(--cream) 100%); }
.story-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: center; }
.story-hero .copy { display: flex; flex-direction: column; gap: 18px; }
.story-pic { position: relative; }
.story-pic .pal { position: absolute; left: -26px; bottom: -30px; width: clamp(96px, 12vw, 150px); filter: drop-shadow(0 12px 16px rgba(14, 59, 67, .28)); }
@media (max-width: 960px) { .story-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-text { display: flex; flex-direction: column; gap: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.7; }
.story-text h2 { color: var(--ink); }
.story-text .big { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); padding-left: 22px; border-left: 6px solid var(--sun); }
.story-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact .ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px; background: var(--mint-50); color: var(--mint-text); display: flex; align-items: center; justify-content: center; }
.fact:nth-child(2) .ic { background: var(--sun-50); color: #8A6200; }
.fact:nth-child(3) .ic { background: var(--coral-50); color: #B23A1E; }
.fact b { display: block; font-size: 17px; }
.fact span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } .story-side { position: static; } }
.teacher-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(26px, 3.6vw, 44px); border-radius: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.teacher-band .cap { width: 92px; height: 92px; border-radius: 28px; background: var(--sun); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 var(--sun-600); }
.teacher-band .copy { display: flex; flex-direction: column; gap: 10px; }
.teacher-band p { color: var(--ink-2); }
@media (max-width: 860px) { .teacher-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home hero, 29 Nov (second pass): words down the side, crew reel beside them ---------- */
.hero-home.side { padding: clamp(24px, 3.4vw, 48px) 0 clamp(40px, 5vw, 68px); }
.hero-home.side .wrap { max-width: 1400px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; text-align: left; }
.hero-home.side .hero-copy { gap: 18px; align-items: flex-start; }
.hero-home.side .hero-badge { align-self: flex-start; }
.hero-home.side h1 { font-size: clamp(40px, 4.7vw, 70px); max-width: none; }
.hero-home.side h1.fit2 { font-size: clamp(38px, 4.1vw, 57px); }   /* a longer headline that must stay on two lines on a laptop */
.hero-home.side .lead { max-width: 34ch; }
.hero-home.side .actions { justify-content: flex-start; }
.hero-home.side .hero-reel { margin-top: 0; max-width: none; }
.hooks { list-style: none; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.hooks li { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hooks li.kid { border-left: 6px solid var(--sun); }
.hooks li.grown { border-left: 6px solid var(--mint); }
.hooks img { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; }
.hooks b { display: block; font-size: 16px; line-height: 1.3; }
.hooks span { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.hero-note { font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-home.side .reel-controls { margin-top: 12px; gap: 8px; }
.hero-home.side .reel-dot { width: 36px; height: 36px; padding: 2px; border-width: 2px; }
.hero-home.side .reel-dots { gap: 4px; }
.reel-btn.call { background: var(--sun); border-color: var(--sun); color: var(--teal); box-shadow: 0 3px 0 var(--sun-600); padding: 0 16px 0 12px; white-space: nowrap; }
body:has(.hero-home.side) .site-header .wrap { max-width: 1400px; }
@media (max-width: 1020px) {
  .hero-home.side .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-home.side .hero-reel { order: -1; }
  .hero-home.side .lead { max-width: 52ch; }
}
@media (max-width: 700px) { .reel-btn.call span { display: inline; } .hero-home.side .reel-dot { width: 30px; height: 30px; } }
/* ---------- 29 Nov, third pass: first screens that fit, and the Our story page ---------- */
/* games: the subject tiles sit on the first screen */
.games-hero { padding: clamp(18px, 2.2vw, 30px) 0 clamp(84px, 9vw, 120px); }
.games-hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.games-hero .copy { gap: 12px; }
.games-hero h1 { font-size: clamp(36px, 4.2vw, 58px); }
.games-hero .lead { font-size: clamp(16px, 1.35vw, 19px); max-width: 52ch; }
.games-hero .btn-lg { min-height: 52px; font-size: 17px; }
.fan { max-width: 430px; width: 100%; justify-self: end; }
.subjects-band > .wrap > div[role="group"] { margin-top: calc(-1 * clamp(64px, 7vw, 92px)); margin-bottom: 30px; }
.subjects-band .subject-tile { padding: 14px 16px 12px; }
.subjects-band .subject-tile .ic { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 4px; }
.subjects-band .subject-tile .ic svg { width: 26px; height: 26px; }
.subjects-band .subject-tile b { font-size: 22px; }
.subjects-band .subject-tile .faces { padding-top: 6px; }
.subjects-band .subject-tile .faces img { width: 32px; height: 32px; }
@media (max-width: 960px) { .fan { justify-self: center; } .games-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
/* how it works: step one sits on the first screen */
.how-hero { padding: clamp(16px, 2vw, 28px) 0 clamp(12px, 1.6vw, 20px); }
.how-hero .wrap { gap: 12px; }
.how-hero h1 { font-size: clamp(32px, 3.9vw, 54px); }
.how-hero .lead { font-size: clamp(16px, 1.35vw, 19px); max-width: 76ch; }
.how-hero .jump-nav a { min-height: 42px; font-size: 14px; }
.how-hero .jump-nav a i { width: 28px; height: 28px; }
.how-hero + .section { padding-top: clamp(8px, 1.4vw, 18px); }
.how-hero + .section .how-row:first-child .screen img { aspect-ratio: 16 / 8.6; }
.how-hero + .section .how-row:first-child .screen { padding-top: 28px; }
.how-hero + .section .how-row:first-child .h2 { font-size: clamp(28px, 3.2vw, 42px); }
/* our story */
.tale-hero { position: relative; overflow: hidden; padding: clamp(32px, 4.6vw, 64px) 0 clamp(96px, 10vw, 140px); }
.tale-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 460px at 96% 0%, rgba(61, 217, 179, .28), transparent 70%), radial-gradient(620px 420px at 0% 100%, rgba(255, 200, 61, .16), transparent 70%); }
.tale-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tale-hero .copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.tale-hero h1 { color: var(--paper); font-size: clamp(42px, 5.6vw, 80px); }
.tale-hero .lead { max-width: 40ch; }
.classroom { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 18px; max-width: 520px; width: 100%; justify-self: end; }
.classroom .front { display: flex; align-items: center; gap: 12px; }
.classroom .teacher { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 99px; background: var(--sun); color: var(--teal); font-weight: 600; font-size: 15px; box-shadow: 0 4px 0 var(--sun-600); white-space: nowrap; }
.classroom .board { flex: 1; padding: 9px 16px; border-radius: 12px; background: var(--teal-900); border: 2px solid rgba(255, 255, 255, .16); color: var(--on-dark-2); font-size: 14px; font-weight: 500; text-align: center; }
.desks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 14px); }
.desks i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .13); border: 2px solid rgba(255, 255, 255, .1); }
.desks i:nth-child(3n) { background: rgba(127, 211, 230, .22); }
.desks i:nth-child(4n+1) { background: rgba(61, 217, 179, .2); }
.desks i:nth-child(7n) { background: rgba(255, 107, 74, .2); }
.desks i.me { background: var(--sun); border-color: var(--paper); animation: desk-pulse 2.2s ease-in-out infinite; }
@keyframes desk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 61, .55); } 60% { box-shadow: 0 0 0 16px rgba(255, 200, 61, 0); } }
.classroom .note { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark); font-weight: 500; }
.classroom .note span { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 2px solid var(--paper); }
.tale-sum { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 6vw, 84px)); }
.sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); background: var(--paper); border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.sum > div { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.sum b { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: .95; letter-spacing: -0.05em; color: var(--teal); }
.sum span { font-size: 15px; color: var(--ink-2); font-weight: 500; line-height: 1.35; }
.sum .answer { background: var(--sun); border-right: 0; }
.sum .answer span { color: var(--teal); }
@media (max-width: 900px) { .tale-hero .wrap { grid-template-columns: minmax(0, 1fr); } .classroom { justify-self: start; } .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sum > div { border-bottom: 1px solid var(--line); } .sum .answer { grid-column: 1 / -1; } }
.chapters { display: flex; flex-direction: column; max-width: 1040px; margin: 0 auto; }
.chapter { display: grid; grid-template-columns: clamp(90px, 14vw, 190px) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line-strong); }
.chapter:last-child { border-bottom: 0; }
.chapter .no { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 9vw, 128px); line-height: .85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--mint-600); }
.chapter .body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.chapter p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 600px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.tale-belief { background: var(--sun-50); padding: clamp(56px, 8vw, 104px) 0; text-align: center; }
.tale-belief .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tale-belief > .wrap > img { width: clamp(96px, 11vw, 140px); filter: drop-shadow(0 12px 16px rgba(14, 59, 67, .22)); }
.belief { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; }
.tale-belief .after { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 58ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 18px; text-align: left; }
@media (max-width: 860px) { .facts { grid-template-columns: minmax(0, 1fr); } }
/* ---------- small fixes ---------- */
.how-row:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
@media (max-width: 900px) { .how-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); } }
.coffee-card.us .pic { gap: 0; }
.coffee-card.us .pic img { height: auto; width: 24%; margin-right: -2%; }
.fact span span, .trust-item span span, .feature-list span span { display: inline; margin: 0; }
@media (min-width: 1101px) {
  .crew:not(.three) { grid-template-columns: repeat(14, minmax(0, 1fr)); }
  .crew:not(.three) .crew-card { grid-column: span 2; }
  .crew:not(.three) .crew-card:nth-child(8):nth-last-child(6) { grid-column: 2 / span 2; }
}
/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
