/* Scolah splash and download pages. Same font and palette as the app (web/assets/css/tokens.css), its own layout:
   a storybook garden. Mint ground, rolling hills, the subject mascots in front of them, soft white cards. */
@import url("/assets/css/tokens.css?v=4"); /* bump ?v when tokens.css changes: Cloudflare keeps copies */

:root {
  /* Buttons use the app's green (Clement, 2026-11-13); the logo keeps its orange. Small green text and the band use a
     deeper green so they read clearly. */
  --green-text: #1d7a40;
  --band-1: #23854a;
  --band-2: #17695a;
  --site-max: 72rem;
  --site-pad: clamp(1rem, 4vw, 2rem);
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px rgb(36 50 57 / 0.08), 0 2px 6px rgb(36 50 57 / 0.06);
  --hill-1: #bfe8c9;
  --hill-2: #8fd3a2;
  --text-hero: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem);
  --text-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body);
  color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--site-max); margin: 0 auto; padding-inline: var(--site-pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons: the same chunky, lipped buttons as the app. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.25rem;
  border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--line);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.btn:focus-visible, .lang button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.go { background: var(--go); color: var(--white, #fff); box-shadow: 0 4px 0 var(--go-dark); }
.btn.go:active { box-shadow: 0 1px 0 var(--go-dark); }
.btn.big { min-height: 58px; padding: 0 1.75rem; font-size: 1.15rem; }
.btn.ghost { background: transparent; box-shadow: none; border-color: var(--line); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgb(242 250 245 / 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgb(220 232 225 / 0.7); }
.top .wrap { display: flex; align-items: center; gap: 0.75rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 900; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.brand .brand-word { width: auto; height: 31px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.top nav .btn { min-height: 42px; padding: 0 1rem; font-size: 0.95rem; }
.lang { display: inline-flex; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-weight: 800; font-size: 0.85rem; border: 0; background: transparent; color: var(--ink-soft); padding: 0.3rem 0.65rem; border-radius: 999px; cursor: pointer; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--go); color: #fff; }
.top .btn, .lang button { white-space: nowrap; }
.brand { flex: none; }
@media (max-width: 640px) { .top .login { display: none; } }
/* Small phones: the hero's own Start button sits right below, so the header keeps only the logo and languages. */
@media (max-width: 480px) { .top nav .btn.go { display: none; } .brand { font-size: 1.3rem; } .brand .brand-word { height: 26px; } }

/* Hero: words on the left, mascots on the hills on the right; stacked on phones. */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-2) 0%, var(--bg) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.kicker { display: inline-block; font-weight: 800; color: var(--green-text); background: var(--go-soft); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.95rem; }
.hero h1 { font-size: var(--text-hero); font-weight: 900; margin-top: 1rem; }
.hero h1 em { font-style: normal; color: var(--go-dark); }
.hero .lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-soft); margin-top: 1rem; max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero .note { margin-top: 0.9rem; font-size: 0.95rem; color: var(--ink-soft); }
.stage { position: relative; min-height: 360px; align-self: end; }
.stage::before, .stage::after { content: ""; position: absolute; left: -10%; right: -40%; border-radius: 50% 50% 0 0; }
.stage::before { bottom: 0; height: 58%; background: var(--hill-1); }
.stage::after { bottom: 0; height: 36%; background: var(--hill-2); left: -30%; right: -20%; }
.mascot { position: absolute; z-index: 1; width: clamp(96px, 13vw, 150px); filter: drop-shadow(0 8px 10px rgb(36 50 57 / 0.15)); animation: bob 5s var(--ease) infinite; }
.mascot.m1 { left: 4%; bottom: 30%; animation-delay: -1s; }
.mascot.m2 { left: 30%; bottom: 44%; width: clamp(120px, 16vw, 190px); }
.mascot.m3 { left: 60%; bottom: 30%; animation-delay: -2.5s; }
.mascot.m4 { left: 16%; bottom: 2%; animation-delay: -3.5s; }
.mascot.m5 { left: 46%; bottom: 4%; animation-delay: -0.5s; }
.mascot.m6 { left: 74%; bottom: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mascot { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 300px; margin-inline: calc(var(--site-pad) * -1); }
}

/* Trust strip */
.trust { background: var(--hill-2); }
/* margin-block and padding-block only: the .wrap keeps its centring and side padding, so the strip lines up with the page. Four even columns, then two, then one. */
.trust ul { list-style: none; margin-block: 0; padding-block: 1.1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }
.trust li { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: #1d4a2c; }
.trust li span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgb(255 255 255 / 0.6); }

/* Sections */
section.block { padding-block: clamp(3rem, 7vw, 5.5rem); }
.block h2 { font-size: var(--text-h2); font-weight: 900; }
.block .sub { color: var(--ink-soft); margin-top: 0.75rem; max-width: 40rem; font-size: 1.1rem; }
.block.alt { background: var(--paper); }

/* Subjects: a grid of coloured cards, each with its mascot peeking over the top edge. */
.subjects { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.25rem 1rem; }
.subject {
  position: relative; background: var(--paper); border-radius: 22px; padding: 3.4rem 1rem 1rem; text-align: center;
  box-shadow: var(--shadow-soft); border-top: 6px solid var(--c, var(--go));
}
.subject img { position: absolute; top: -2.2rem; left: 50%; translate: -50% 0; width: 82px; height: 82px; object-fit: contain; }
.subject h3 { font-size: 1.05rem; font-weight: 900; }
.subject p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.2rem; }
.block.alt .subject { background: var(--bg); box-shadow: none; }

/* How it works: three numbered steps along a dotted path. */
.steps { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-soft); position: relative; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--accent); color: #fff; font-weight: 900; font-size: 1.3rem; box-shadow: 0 3px 0 var(--accent-dark); margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.2rem; font-weight: 900; }
.step p { color: var(--ink-soft); margin-top: 0.4rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* For parents: a two-column list beside a picture of the parent tools. */
.parents { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.feature { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--bg); border-radius: 20px; padding: 1.1rem 1.2rem; }
.feature .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--go-soft); }
.feature h3 { font-size: 1.05rem; font-weight: 900; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.2rem; }

/* Prices */
.prices { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.price { background: var(--paper); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 0.6rem; border: 2px solid transparent; }
.price.best { border-color: var(--go); position: relative; }
.price .tag { position: absolute; top: -0.85rem; left: 1.5rem; background: var(--go); color: #fff; font-weight: 900; font-size: 0.85rem; padding: 0.2rem 0.75rem; border-radius: 999px; }
.price h3 { font-size: 1.2rem; font-weight: 900; }
.price .amount { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.launch-note { margin: 1rem auto 0; max-width: 46rem; text-align: center; background: #fdebdc; color: var(--ink); border: 2px solid #f2a46a; border-radius: var(--radius-lg); padding: 0.7rem 1rem; font-weight: 700; }
.price .launch { align-self: flex-start; background: #e8722a; color: #fff; font-weight: 900; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 999px; }
.price .later { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.price .save { margin: 0.3rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.price .save s { color: var(--ink-soft); }
.price .save b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0.05rem 0.55rem; font-weight: 900; }
.price ul { margin: 0.4rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.price li + li { margin-top: 0.3rem; }
.price .btn { margin-top: auto; }
/* The plain buttons on the white price cards get a soft green fill so they read as buttons; the Year Pass keeps the solid one. */
.price .btn:not(.go) { background: var(--go-soft); color: var(--green-text); border-color: transparent; box-shadow: 0 4px 0 #bfe3cb; }
.price .btn:not(.go):active { box-shadow: 0 1px 0 #bfe3cb; }
.price-note { margin-top: 1.25rem; color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* App store badges (coming soon) */
.stores { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.store {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 60px; padding: 0.5rem 1.25rem 0.5rem 1rem; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none; position: relative;
}
.store svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.78rem; opacity: 0.8; }
.store strong { font-size: 1.1rem; }
.store[aria-disabled="true"] { cursor: default; opacity: 0.92; }
.soon { position: absolute; top: -0.7rem; right: -0.5rem; background: var(--accent); color: var(--ink); font-size: 0.75rem; font-weight: 900; padding: 0.1rem 0.55rem; border-radius: 999px; box-shadow: 0 2px 0 var(--accent-dark); }

/* Download band at the foot of the splash page */
.band { background: linear-gradient(135deg, var(--band-1) 0%, var(--band-2) 100%); color: #fff; border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.5rem; align-items: center; overflow: hidden; }
.band h2 { color: #fff; }
.band p { opacity: 0.92; margin-top: 0.6rem; }
.band .store { background: rgb(0 0 0 / 0.78); }
.band img { width: min(220px, 100%); justify-self: center; filter: drop-shadow(0 10px 16px rgb(0 0 0 / 0.2)); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band img { width: 150px; } }

/* Questions */
.faq { margin-top: 2rem; display: grid; gap: 0.75rem; max-width: 48rem; }
.faq details { background: var(--paper); border-radius: 18px; padding: 1rem 1.25rem; box-shadow: var(--shadow-soft); }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 32px; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--go-dark); transition: rotate var(--fast) var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-soft); margin-top: 0.6rem; }

/* Download page */
.dl { padding-block: clamp(2.5rem, 6vw, 5rem); }
.dl .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.dl h1 { font-size: var(--text-h2); font-weight: 900; }
.dl .sub { color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.1rem; }
.dl .browser { margin-top: 2rem; background: var(--paper); border-radius: 22px; padding: 1.25rem 1.4rem; box-shadow: var(--shadow-soft); }
.dl .browser h2 { font-size: 1.15rem; font-weight: 900; }
.dl .browser p { color: var(--ink-soft); margin: 0.35rem 0 1rem; }
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; }
.device { background: var(--paper); border-radius: 20px; padding: 1.1rem; text-align: center; box-shadow: var(--shadow-soft); }
.device .big-ico { font-size: 2rem; }
.device strong { display: block; margin-top: 0.3rem; }
.device span { color: var(--ink-soft); font-size: 0.9rem; }
@media (max-width: 860px) { .dl .wrap { grid-template-columns: 1fr; } }

/* Footer */
footer { padding-block: 2.5rem 3rem; color: var(--ink-soft); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
footer a { color: var(--ink-soft); }

/* Legal pages: one readable column of plain text. The pages use <main class="block legal">, and the section padding
   rule is written for section.block, so the main gets its own. */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal article { max-width: 46rem; }
.legal h1 { font-size: var(--text-h2); font-weight: 900; }
.legal .updated { color: var(--ink-soft); margin-top: 0.5rem; }
.legal h2 { font-size: 1.3rem; font-weight: 900; margin-top: 2.25rem; }
.legal h3 { font-size: 1.05rem; font-weight: 800; margin-top: 1.25rem; }
.legal p, .legal ul { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.35rem; }

/* Language links on generated pages (homes, practice, guides). */
.lang a { font-weight: 800; font-size: 0.85rem; color: var(--ink-soft); padding: 0.3rem 0.65rem; border-radius: 999px; min-height: 34px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.lang a[aria-current="true"] { background: var(--go); color: #fff; }
.lang a:hover { color: var(--ink); }

/* Home: links to practice and guides. */
.hubs { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.hubs a { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; border: 2px solid transparent; transition: transform 0.15s var(--ease), border-color 0.15s; }
.hubs a:hover { transform: translateY(-2px); border-color: var(--go); }
.hubs b { font-size: 1.08rem; font-weight: 900; }
.hubs span { color: var(--ink-soft); font-size: 0.95rem; }

/* Practice and guide pages. */
.page { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); max-width: 50rem; }
.page h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem); font-weight: 900; margin-top: 0.75rem; }
.page h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); font-weight: 900; margin: 2.25rem 0 0.75rem; }
.page h3 { font-size: 1.15rem; font-weight: 900; margin: 1.5rem 0 0.5rem; }
.page .lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 0.9rem; }
.page .meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.5rem; }
.page ul, .page ol { padding-left: 1.3rem; }
.page li { margin: 0.3rem 0; }
.prose p { margin: 0.9rem 0; font-size: 1.07rem; line-height: 1.7; }
.prose li { font-size: 1.05rem; line-height: 1.6; }
.prose blockquote, .q blockquote { margin: 1rem 0; padding: 0.8rem 1rem; border-left: 4px solid var(--go); background: var(--paper); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.97rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.45rem 0.6rem; text-align: left; }
.prose th { background: var(--go-soft); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.9rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; }
.chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; font-weight: 700; font-size: 0.95rem; }
.chips li[aria-current="page"] { border-color: var(--go); background: var(--go-soft); }
.chips a { color: var(--ink); text-decoration: none; }
.chips li:has(a):hover { border-color: var(--go); }
.qs { list-style: none; padding: 0 !important; counter-reset: q; display: grid; gap: 0.9rem; }
.q { counter-increment: q; background: var(--paper); border-radius: 18px; padding: 1rem 1.2rem 0.9rem; box-shadow: var(--shadow-soft); margin: 0 !important; }
.q-topic { font-size: 0.82rem; font-weight: 800; color: var(--green-text); text-transform: uppercase; letter-spacing: 0.03em; }
.q-topic::before { content: counter(q) ". "; }
.q-text { font-size: 1.08rem; font-weight: 700; margin-top: 0.35rem; }
.q-help { color: var(--ink-soft); margin-top: 0.2rem; }
.q-expr { font-size: 1.25rem; font-weight: 800; margin-top: 0.4rem; letter-spacing: 0.02em; }
.q-options { margin: 0.5rem 0 0; }
.q details { margin-top: 0.6rem; }
.q summary, .faq summary { cursor: pointer; font-weight: 800; color: var(--green-text); }
.q details p { margin-top: 0.35rem; }
.more { margin-top: 1.25rem; color: var(--ink-soft); }
.cta-box { display: flex; gap: 1.25rem; align-items: center; margin: 2.5rem 0 1rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--go-soft); border: 2px solid var(--go); }
.cta-box img { width: 110px; height: 110px; flex: none; }
.cta-box h2 { margin: 0 !important; }
.cta-box p { margin: 0.5rem 0 0 !important; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cta-row span { font-size: 0.92rem; color: var(--ink-soft); }
.cards { list-style: none; padding: 0 !important; display: grid; gap: 1rem; margin-top: 1.5rem; }
.cards a { display: block; padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.cards a:hover { border-color: var(--go); }
.cards h2 { margin: 0 0 0.35rem !important; font-size: 1.2rem; }
.cards p { color: var(--ink-soft); }
/* Home: "Ready for KP2027" strip under the hero. */
.kp-ready { padding-block: clamp(1.25rem, 3vw, 2rem); }
.kp-ready .wrap { display: flex; gap: 1rem; align-items: center; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-soft); padding: 1rem 1.25rem; border-left: 6px solid var(--go); }
.kp-badge { flex: none; font-weight: 900; font-size: 0.95rem; letter-spacing: 0.02em; color: #fff; background: var(--go); border-radius: 12px; padding: 0.55rem 0.7rem; }
.kp-ready h2 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.kp-ready p { margin: 0; color: var(--ink-soft); }
.kp-ready a { font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) { .kp-ready .wrap { flex-direction: column; align-items: flex-start; } .kp-ready a { white-space: normal; } }
/* "Read next" on guides: three picture cards, each the linked guide's share image. */
.read-next ul { list-style: none; padding: 0 !important; margin: 1rem 0 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.read-next li { margin: 0 !important; padding: 0 !important; }
.read-next li::before { content: none !important; }
.read-next a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; border: 2px solid transparent; transition: transform 0.15s ease, border-color 0.15s ease; }
.read-next a:hover, .read-next a:focus-visible { border-color: var(--go); transform: translateY(-2px); }
.read-next img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }
.read-next span { display: block; padding: 0.75rem 0.9rem 0.9rem; font-weight: 800; font-size: 0.98rem; line-height: 1.35; }
@media (max-width: 760px) { .read-next ul { grid-template-columns: 1fr; } .read-next a { flex-direction: row; align-items: center; } .read-next img { width: 42%; flex: none; } .read-next span { padding: 0.6rem 0.8rem; font-size: 0.92rem; } }
@media (prefers-reduced-motion: reduce) { .read-next a { transition: none; } .read-next a:hover { transform: none; } }
.page .faq details { background: var(--paper); border-radius: 14px; padding: 0.8rem 1rem; margin: 0.5rem 0; }
.page .faq details p { margin-top: 0.5rem; }
.sources { font-size: 0.92rem; color: var(--ink-soft); }
.sources h2 { font-size: 1.05rem; }
@media (max-width: 560px) { .cta-box { flex-direction: column; text-align: center; } .cta-row { justify-content: center; } }

/* Guides: article with a sign-up sidebar on wide screens. */
.a-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.a-layout .page { max-width: 46rem; }
.a-side { display: none; }
@media (min-width: 1100px) {
  .a-layout { grid-template-columns: minmax(0, 46rem) 19rem; justify-content: center; }
  .a-side { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 128px); margin-top: 3.5rem; }
}
.a-side-card { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 1.4rem 1.3rem 1.2rem; border: 2px solid var(--go); display: flex; flex-direction: column; gap: 0.8rem; position: relative; }
.a-side-mascot { width: 84px; height: 84px; margin: -3.2rem auto 0; filter: drop-shadow(0 6px 8px rgb(36 50 57 / 0.15)); }
.a-side-title { font-weight: 900; font-size: 1.2rem; line-height: 1.25; text-align: center; }
.a-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.a-side li { padding-left: 1.6rem; position: relative; }
.a-side li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--go-soft); color: var(--green-text); font-weight: 900; font-size: 0.75rem; display: grid; place-items: center; }
.a-side-shot { border-radius: 14px; border: 1px solid var(--line); }
.a-side .btn { justify-content: center; width: 100%; }
.a-side-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
.a-hero { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin-top: 0.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sky-2), var(--go-soft)); }
.a-hero h1 { margin-top: 0; }
.a-hero img { width: clamp(84px, 14vw, 140px); height: auto; flex: none; filter: drop-shadow(0 8px 10px rgb(36 50 57 / 0.15)); }
.a-inline { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; padding: 1rem 1.2rem; border-radius: 20px; background: var(--paper); border: 2px dashed var(--go); }
.a-inline img { width: 72px; height: 72px; flex: none; }
.a-inline p { margin: 0 !important; font-size: 0.98rem !important; line-height: 1.5 !important; }
.a-inline .a-inline-title { font-weight: 900; font-size: 1.08rem !important; margin-bottom: 0.2rem !important; }
.a-inline .btn { flex: none; }
@media (max-width: 640px) { .a-inline { flex-direction: column; text-align: center; } .a-hero img { width: 72px; } }

/* Visual blocks inside guides (site-src/articles/README.md). */
.v-summary { margin: 1.5rem 0; padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--go-soft); border-left: 6px solid var(--go); }
.v-summary h2 { margin: 0 0 0.5rem !important; font-size: 1.15rem !important; }
.v-summary ul { margin: 0; }
.v-summary li { font-weight: 700; }
.prose .v-steps { list-style: none; padding: 0; counter-reset: vstep; display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.v-steps li { counter-increment: vstep; position: relative; padding: 0.9rem 1rem 0.9rem 3.6rem; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-soft); margin: 0 !important; }
.v-steps li::before { content: counter(vstep); position: absolute; left: 0.9rem; top: 0.85rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--go); color: #fff; font-weight: 900; display: grid; place-items: center; }
.v-steps strong { display: block; }
.v-tip, .v-warn, .v-note { margin: 1.25rem 0; padding: 0.9rem 1.1rem 0.9rem 3.2rem; border-radius: 16px; position: relative; }
.v-tip p, .v-warn p, .v-note p { margin: 0.3rem 0 !important; }
.v-tip::before, .v-warn::before, .v-note::before { position: absolute; left: 1rem; top: 0.85rem; font-size: 1.3rem; }
.v-tip { background: #fff7df; } .v-tip::before { content: "💡"; }
.v-warn { background: #ffece6; } .v-warn::before { content: "⚠️"; }
.v-note { background: #e9f2ff; } .v-note::before { content: "📌"; }
.v-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.85rem; margin: 1.25rem 0; }
.v-card { background: var(--paper); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow-soft); }
.v-card h3 { margin: 0.4rem 0 0.3rem !important; font-size: 1.05rem !important; }
.v-card p { margin: 0 !important; font-size: 0.97rem !important; line-height: 1.55 !important; }
.v-emoji { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--go-soft); font-size: 1.4rem; }
.v-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.85rem; margin: 1.25rem 0; }
.v-stat { background: var(--paper); border-radius: 18px; padding: 1rem 1.1rem; text-align: center; box-shadow: var(--shadow-soft); }
.v-stat strong { display: block; font-size: 1.9rem; font-weight: 900; color: var(--go-dark); line-height: 1.1; }
.v-stat span { display: block; margin-top: 0.3rem; font-size: 0.92rem; color: var(--ink-soft); }
.prose .v-timeline { list-style: none; padding: 0 0 0 1.4rem; margin: 1.25rem 0; border-left: 3px solid var(--go); }
.v-timeline li { position: relative; margin: 0 0 1rem !important; padding-left: 0.6rem; }
.v-timeline li::before { content: ""; position: absolute; left: -1.95rem; top: 0.3rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px var(--bg); }
.v-timeline time { font-weight: 900; color: var(--green-text); }
.v-timeline p { margin: 0.15rem 0 0 !important; }
.v-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 1.25rem 0; }
.v-flow span { background: var(--paper); border: 2px solid var(--go); border-radius: 999px; padding: 0.35rem 0.9rem; font-weight: 800; }
.v-flow span + span::before { content: "→"; margin: 0 0.6rem 0 -0.2rem; color: var(--go-dark); font-weight: 900; }
.v-flow span + span { border-left-width: 2px; }
.v-shot { margin: 1.5rem auto; max-width: 30rem; text-align: center; }
.v-shot img { border-radius: 18px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); margin: 0 auto; }
.v-shot figcaption { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); }

/* Printable worksheets (practice pages): a print button, a name line and an answer key that only show on paper. */
.print-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: .25rem 0 1rem; }
.print-row .muted { font-size: .9rem; }
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; }
  header.top, footer, .crumbs, .cta-box, .a-side, .a-inline, .links, .more, .print-row, .chips, .lead, section[aria-labelledby="tips"], section[aria-labelledby="topics"] h2 { display: none !important; }
  .print-only { display: block; }
  .q details { display: none; }
  .qs .q { break-inside: avoid; box-shadow: none; border: 1px solid #bbb; }
  .print-name { margin: 0 0 1rem; font-size: 1.05rem; }
  .answer-key { break-before: page; }
  .answer-key ol { columns: 2; }
}

/* Cards with longer text: one per row, picture on the left, text at full reading width. */
.v-cards.v-cards-list { grid-template-columns: 1fr; gap: 0.7rem; }
.v-cards-list .v-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: 1.05rem 1.2rem; }
.v-cards-list .v-emoji { grid-row: span 2; }
.v-cards-list .v-card h3 { margin: 0.15rem 0 0.25rem !important; font-size: 1.1rem !important; }
.v-cards-list .v-card p { font-size: 1rem !important; line-height: 1.6 !important; }
@media (max-width: 480px) {
  .v-cards-list .v-card { grid-template-columns: 1fr; }
  .v-cards-list .v-emoji { grid-row: auto; margin-bottom: 0.2rem; }
}

/* Tuition centre pages (/centres/apply, /centres/panel; the private handbook PDF uses the print styles; scripts/site/centres.js). */
.c-page { max-width: 54rem; }
.c-page [hidden] { display: none !important; }
.c-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; }
.c-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 0.95rem; background: var(--paper); }
.c-tabs a:hover { border-color: var(--go); }
.c-tabs a[aria-current="page"] { background: var(--go); border-color: var(--go); color: #fff; }
.c-hero { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; margin: 1.25rem 0 0.5rem; }
.c-hero img { width: 150px; height: 150px; flex: none; }
.c-kicker { color: var(--green-text); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.c-page h1 { margin-top: 0.35rem; }
.c-page .v-steps { list-style: none; padding: 0; counter-reset: vstep; display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.c-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1rem 0; }
.c-small { font-size: 0.92rem; color: var(--ink-soft); }
.c-toc { margin: 1.5rem 0; padding: 1.1rem 1.4rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.c-toc h2 { margin: 0 0 0.5rem !important; font-size: 1.1rem !important; }
.c-toc ol { margin: 0; columns: 2 16rem; column-gap: 2rem; }
.c-toc li { break-inside: avoid; }
.c-table { overflow-x: auto; }
.c-handbook h2[id] { scroll-margin-top: 1rem; }

.c-form { margin: 2rem 0 1rem; display: grid; gap: 1.25rem; }
.c-form > fieldset { margin: 0; border: 0; padding: 1.25rem clamp(1rem, 3vw, 1.6rem); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-soft); display: grid; gap: 1rem; min-width: 0; }
.c-form legend { font-weight: 900; font-size: 1.2rem; padding: 0; float: left; width: 100%; margin-bottom: 0.25rem; }
.c-form legend + * { clear: both; }
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.c-field { display: grid; gap: 0.3rem; font-weight: 800; }
.c-field small { font-weight: 600; color: var(--ink-soft); font-size: 0.88rem; }
.c-input { font: inherit; font-weight: 600; width: 100%; min-height: 48px; padding: 0.6rem 0.85rem; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); }
textarea.c-input { resize: vertical; }
.c-input:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 4px var(--go-soft); }
.c-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.c-choices legend { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.c-ticks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.c-tick { display: inline-flex; gap: 0.55rem; align-items: center; cursor: pointer; }
.c-ticks .c-tick { padding: 0.45rem 0.85rem; border: 2px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 700; }
.c-ticks .c-tick:has(input:checked) { border-color: var(--go); background: var(--go-soft); }
.c-tick input { width: 1.25rem; height: 1.25rem; accent-color: var(--go); flex: none; }
.c-tick-block { align-items: flex-start; line-height: 1.5; }
.c-tick-block input { margin-top: 0.15rem; }
.c-sub { display: grid; gap: 0.6rem; padding-left: 1.8rem; }
.c-consent { padding: 1rem 1.2rem; border-radius: 18px; background: var(--go-soft); }
.c-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-error { padding: 0.8rem 1rem; border-radius: 14px; background: #ffece6; color: #9a2a12; font-weight: 700; }
.c-done, .c-empty { display: flex; gap: 1.25rem; align-items: center; margin: 2rem 0; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--go-soft); border: 2px solid var(--go); }
.c-done img, .c-empty img { width: 110px; height: 110px; flex: none; }
.c-done h2, .c-empty h2 { margin: 0 0 0.4rem !important; }
.c-empty p + p { margin-top: 0.6rem; }
.c-done:focus { outline: none; }

.c-panel .lead { margin-top: 1.5rem; }
.c-state h2 { margin-top: 2rem !important; }
.c-centres { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.c-centre { margin: 0 !important; padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); display: grid; gap: 0.35rem; align-content: start; }
.c-centre h3 { margin: 0 !important; font-size: 1.15rem; }
.c-area { font-weight: 800; color: var(--green-text); }
.c-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.2rem 0; }
.c-chips li { margin: 0 !important; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--go-soft); font-size: 0.85rem; font-weight: 800; }

/* The page for centre owners (scripts/site/centres.js hubPage): full-width bands in the look of the partner deck.
   Mint and white bands, rolling hills at the foot, real product pictures in a browser, phone or paper frame, and
   orange for what Scolah adds. Things rise in as they scroll into view (site/centres.js adds .ch-js and .is-in). */
.ch {
  --ch-g1: #1d7a40; --ch-g2: #2c9852; --ch-g3: #3fb768; --ch-p1: #d3f0da; --ch-p2: #bfe8c9; --ch-p3: #e4f6ea;
  --ch-o1: #f2741f; --ch-o2: #c2510a; --ch-o3: #a84a0a; --ch-os: #ffe9d9;
  --ch-shadow: 0 24px 50px rgb(36 50 57 / 0.14), 0 4px 12px rgb(36 50 57 / 0.08);
  --ch-gap: clamp(1.5rem, 4vw, 3.5rem);
  overflow-x: clip;
}
.ch [hidden] { display: none !important; }
.ch h1, .ch h2, .ch h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; text-wrap: balance; }
.ch figure { margin: 0; }
.ch-band { position: relative; overflow: hidden; padding-block: clamp(3.25rem, 7vw, 6rem); }
.ch-band.has-hills { padding-bottom: clamp(7rem, 15vw, 12rem); }
.ch-band > .wrap { position: relative; z-index: 1; }
.ch-white { background: var(--paper); }
.ch-hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(70px, 11vw, 160px); display: block; }
.ch-eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--ch-g1); }
.ch h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.1; margin-top: 0.4rem; }
/* Chinese falls to the device's own font, whose glyphs sit taller: give its headings more room, and keep the accent half together. */
.ch:lang(zh) h1, .ch:lang(zh) h2 { line-height: 1.25; margin-top: 0.6rem; }
.ch:lang(zh) h1 .ch-o, .ch:lang(zh) h2 span { display: inline-block; }
.ch-o { color: var(--ch-o2); }
.ch-g { color: var(--ch-g1); }
.ch-center { text-align: center; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.ch-center .ch-cta, .ch-close .ch-cta { justify-content: center; }
.ch-pill { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.2rem; padding: 0.45rem 1rem; border-radius: 999px; background: var(--paper); border: 2px solid var(--ch-p2); color: var(--ch-g1); font-weight: 800; font-size: 0.95rem; }
.ch-pill::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ch-g3); }
.ch-badge { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 18px; background: var(--ch-p3); color: var(--ch-g1); }
.ch-badge.o { background: var(--ch-os); color: var(--ch-o2); }
.ch svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Frames that make a screenshot read as the product: a browser window, a phone, a tablet, a printed sheet. */
.ch-browser { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--ch-shadow); overflow: hidden; }
.ch-browser::before { content: ""; display: block; height: 26px; background: radial-gradient(circle at 16px 13px, #f2741f 4.5px, transparent 5.5px), radial-gradient(circle at 32px 13px, #f6c33b 4.5px, transparent 5.5px), radial-gradient(circle at 48px 13px, #3fb768 4.5px, transparent 5.5px), #eef4f0; }
.ch-browser img, .ch-phone img, .ch-tablet img, .ch-paper img { width: 100%; }
.ch-browser img + img { border-top: 1px solid var(--line); }
.ch-phone { position: relative; z-index: 2; background: var(--ink); padding: 14px 6px 8px; border-radius: 26px; box-shadow: var(--ch-shadow); }
.ch-phone::before { content: ""; position: absolute; top: 5px; left: 50%; translate: -50% 0; width: 26%; height: 4px; border-radius: 99px; background: rgb(255 255 255 / 0.28); }
.ch-phone img { border-radius: 18px; background: #f0f8f3; }
.ch-tablet { position: relative; z-index: 1; background: var(--ink); padding: 10px; border-radius: 24px; box-shadow: var(--ch-shadow); }
.ch-tablet img { border-radius: 15px; }
.ch-paper { position: relative; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--ch-shadow); overflow: hidden; }

/* 1. Hero: words on the left, the class page with a child's phone in front on the right, an owl peeking over. */
.ch-hero { background: linear-gradient(180deg, var(--sky-2) 0%, var(--bg) 60%); padding-top: 1.25rem; }
.ch-hero .c-tabs { margin-top: 0.9rem; }
.ch-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--ch-gap); align-items: center; margin-top: clamp(1.75rem, 4vw, 3.25rem); }
.ch h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.05; margin-top: 0.5rem; }
.ch-lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-soft); margin-top: 1rem; max-width: 33rem; }
.ch-stage { position: relative; padding: 11% 7% 13% 0; }
.ch-stage .ch-browser { transform: rotate(-2deg); }
.ch-stage .ch-phone { position: absolute; right: 0; bottom: 0; width: 31%; transform: rotate(4deg); }
.ch-stage .ch-mascot { position: absolute; left: 9%; top: -4%; width: 23%; z-index: 0; }

/* 2. The problem: the forgetting curve beside three short points. */
.ch-problem { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--ch-gap); align-items: center; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.ch-chart { background: var(--bg); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2rem); }
.ch-chart svg { display: block; width: 100%; height: auto; }
.ch-axis { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.35rem; font-weight: 800; font-size: 0.92rem; color: var(--ink-soft); }
.ch-legend { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-weight: 800; }
.ch-legend li { display: flex; align-items: center; gap: 0.55rem; }
.ch-legend li::before { content: ""; width: 1.75rem; height: 0.5rem; border-radius: 99px; background: currentColor; }
.ch-legend .ch-g::before { background: var(--ch-g3); }
.ch-legend .ch-o::before { background: var(--ch-o1); }
.ch-note { margin-top: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.ch-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.ch-points li { display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); line-height: 1.15; }

/* 3. The week: six stops on a dotted line with a dot travelling along it. Green is the centre, orange is Scolah. */
.ch-week { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.ch-stops { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; }
.ch-stop { display: grid; justify-items: center; align-content: start; gap: 0.75rem; }
.ch-stop .ch-badge { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--paper); border: 4px solid var(--ch-p2); box-shadow: var(--shadow-soft); transition: transform 250ms var(--ease); }
.ch-stop.s .ch-badge { border-color: #ffc59b; }
.ch-stop:hover .ch-badge { transform: scale(1.08); }
.ch-stop svg { width: 2rem; height: 2rem; }
.ch-who { font-size: 0.76rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ch-g1); }
.ch-stop.s .ch-who { color: var(--ch-o3); }
.ch-stop h3 { font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem); line-height: 1.15; margin-top: 0.15rem; }
.ch-track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: calc(2.25rem - 3px); height: 6px; border-radius: 99px; background: repeating-linear-gradient(90deg, #a9dcb7 0 10px, transparent 10px 20px); }
.ch-run { position: absolute; inset: 0; animation: ch-run-x 7s linear infinite; }
.ch-run::before { content: ""; position: absolute; left: -9px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ch-o1); box-shadow: 0 0 0 5px rgb(242 116 31 / 0.22); }
@keyframes ch-run-x { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes ch-run-y { from { transform: translateY(0); } to { transform: translateY(100%); } }
.ch-key { list-style: none; margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; padding: 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; }
.ch-key li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 0.92rem; }
.ch-key li::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--ch-g3); }
.ch-key .s::before { background: var(--ch-o1); }

/* 4. See it: three rows, picture and words swapping sides. */
.ch-rows { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.ch-row { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.ch-row:nth-child(even) { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); }
.ch-row:nth-child(even) .ch-row-text { order: 2; }
.ch-row h3 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.1; }
.ch-row-sub { margin-top: 0.4rem; font-size: 1.12rem; color: var(--ink-soft); }
.ch-ticks { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.ch-ticks li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.ch-ticks svg { flex: none; width: 1.7rem; height: 1.7rem; padding: 0.3rem; border-radius: 50%; background: var(--ch-p3); color: var(--ch-g1); stroke-width: 3; }
.ch-vis { position: relative; }
.ch-vis-teach { padding: 0 8% 11% 0; }
.ch-vis-teach .ch-paper { position: absolute; right: 0; bottom: 0; width: 36%; transform: rotate(3deg); }
.ch-vis-parents { display: grid; grid-template-columns: 31% minmax(0, 1fr); column-gap: 4%; align-items: start; }
.ch-vis-parents .ch-phone { grid-row: 1 / span 2; align-self: center; transform: rotate(-3deg); }
.ch-vis-parents .ch-poster { width: 82%; justify-self: end; transform: rotate(2deg); z-index: 1; }
.ch-vis-parents .ch-report { width: 82%; margin: -7% 0 0 -12%; transform: rotate(-1.5deg); }
.ch-vis-child { padding-top: 12%; }
.ch-vis-child .ch-mascot { position: absolute; right: 8%; top: 0; width: 19%; z-index: 0; }
.ch-vis .ch-browser, .ch-vis .ch-paper, .ch-vis .ch-phone, .ch-vis .ch-tablet { transition: transform 350ms var(--ease); }
.ch-vis:hover .ch-paper, .ch-vis:hover .ch-phone { transform: rotate(0deg) translateY(-4px); }

/* 5. Three ways to gain, each with its mascot on top, then the calculator with bars. */
.ch-gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 5.5rem; }
.ch-gain { position: relative; background: var(--paper); border: 2px solid transparent; border-radius: var(--radius-lg); padding: 4.1rem 1.5rem 1.6rem; text-align: center; box-shadow: var(--shadow-soft); transition: transform 250ms var(--ease), box-shadow 250ms var(--ease); }
.ch-gain:hover { transform: translateY(-5px); box-shadow: var(--ch-shadow); }
.ch-gain .ch-mascot { position: absolute; top: -3.6rem; left: 50%; translate: -50% 0; width: 7.2rem; height: 7.2rem; filter: drop-shadow(0 8px 10px rgb(36 50 57 / 0.15)); }
.ch-tag { display: inline-block; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--ch-p3); color: var(--ch-g1); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.ch-gain h3 { font-size: 1.65rem; margin-top: 0.6rem; }
.ch-gain p:last-child { margin-top: 0.45rem; color: var(--ink-soft); }
.ch-gain.b { border-color: #ffd3b3; }
.ch-gain.b .ch-tag { background: var(--ch-os); color: var(--ch-o3); }
.ch-gain.c { background: var(--ch-g1); color: #fff; }
.ch-gain.c .ch-tag { background: rgb(255 255 255 / 0.18); color: #fff; }
.ch-gain.c p:last-child { color: #fff; font-size: 1.15rem; font-weight: 700; }
/* The calculator: the centre's two own numbers on top, then one row for each way to gain. A row reads left to right:
   who pays, the numbers that feed it, the sum in words, the result. The three results are never one total. */
.ch-calc { margin-top: 1.5rem; padding: clamp(1.1rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-soft); }
.ch-calc h3 { font-size: 1.55rem; }
.ch-calc h4 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.ch-calc-sub { margin-top: 0.3rem; color: var(--ink-soft); }
.ch-calc .c-field { font-size: 0.92rem; align-content: end; }
.ch-calc-base { display: grid; grid-template-columns: 12rem repeat(2, minmax(0, 15rem)); gap: 0.9rem 1.5rem; align-items: end; margin-top: 1.25rem; padding: 1rem 1.25rem; border: 2px solid var(--line); border-radius: 18px; }
.ch-calc-base h4 { align-self: center; }
.ch-ways { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.ch-way { --c: var(--ch-g1); display: grid; grid-template-columns: 12rem 15rem minmax(0, 1fr) 13.5rem; gap: 0.9rem 1.5rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--bg); }
.ch-way.b { --c: var(--ch-o2); background: #fff6ef; }
.ch-way.c { background: var(--ch-p3); }
.ch-way-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 0.65rem; align-items: center; }
.ch-way-n { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.ch-way-who { grid-column: 1 / -1; font-weight: 800; font-size: 0.92rem; line-height: 1.35; color: var(--c); }
.ch-way-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem; }
.ch-way .c-input { background: var(--paper); }
.ch-way-work { font-size: 0.98rem; line-height: 1.5; }
.ch-way-res { padding: 0.8rem 1rem; border-radius: 14px; background: var(--paper); font-weight: 800; line-height: 1.3; }
.ch-way-res span:first-child { display: block; }
.ch-way-res b { margin-right: 0.3rem; font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.15; color: var(--c); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-calc-rule { margin-top: 1.1rem; font-weight: 800; }
.ch-calc-rule + .c-small { margin-top: 0.3rem; }

/* 6. What the centre gets: a grid of icon tiles. */
.ch-kit { list-style: none; margin: clamp(2rem, 4vw, 2.75rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ch-tile { display: grid; gap: 0.55rem; align-content: start; padding: 1.3rem; border-radius: 22px; background: var(--bg); transition: transform 250ms var(--ease), box-shadow 250ms var(--ease); }
.ch-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.ch-tile h3 { font-size: 1.25rem; margin-top: 0.25rem; }
.ch-tile p { font-size: 0.97rem; color: var(--ink-soft); }

/* 7. Trust, and 8. the three steps. */
.ch-trust, .ch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.ch-card { background: var(--paper); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-soft); display: grid; gap: 0.5rem; align-content: start; }
.ch-card h3 { font-size: 1.4rem; margin-top: 0.4rem; }
.ch-card p { color: var(--ink-soft); }
.ch-steps { list-style: none; padding: 0; counter-reset: ch-step; text-align: left; position: relative; }
.ch-steps li { counter-increment: ch-step; position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg); }
.ch-steps li::before { content: counter(ch-step); display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: 0.8rem; border-radius: 50%; background: var(--ch-g1); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; box-shadow: 0 4px 0 #14592e; }
.ch-steps li + li::after { content: ""; position: absolute; top: 3rem; left: -1.25rem; width: 1.25rem; border-top: 4px dotted #a9dcb7; }
.ch-steps h3 { font-size: 1.35rem; }
.ch-steps p { color: var(--ink-soft); margin-top: 0.2rem; }

/* 9. Questions, and 10. the closing band. */
.ch-faq-h { text-align: center; }
.ch-faq { margin-inline: auto; }
.ch-faq summary { min-height: 44px; }
.ch summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.ch-close { background: linear-gradient(135deg, var(--band-1) 0%, var(--band-2) 100%); color: #fff; text-align: center; padding-bottom: clamp(13rem, 27vw, 19rem); }
.ch-close h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.ch-close .btn.go { background: #fff; color: var(--ch-g1); box-shadow: 0 4px 0 rgb(0 0 0 / 0.22); }
.ch-close .btn:focus-visible { outline-color: #fff; }
.ch-close .ch-pill { background: rgb(255 255 255 / 0.14); border-color: transparent; color: #fff; }
.ch-close .ch-pill::before { background: #fff; }
.ch-crew { position: absolute; z-index: 1; left: 50%; bottom: clamp(14px, 3vw, 44px); translate: -50% 0; display: flex; gap: clamp(0.25rem, 3vw, 2rem); }
.ch-crew img { width: clamp(88px, 13vw, 150px); filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.2)); }

/* Arrival: opacity and translate only, and only when the script is running and motion is welcome. */
.ch-js [data-rv] { opacity: 0; translate: 0 22px; transition: opacity 600ms var(--ease), translate 600ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.ch-js [data-rv].is-in { opacity: 1; translate: 0 0; }
.ch-line { stroke-dasharray: 1; }
.ch-js .ch-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms ease-out 200ms; }
.ch-js .ch-end { opacity: 0; transition: opacity 400ms ease-out 1700ms; }
.ch-js .is-in .ch-line { stroke-dashoffset: 0; }
.ch-js .is-in .ch-end { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ch-run { animation: none; display: none; }
  .ch *, .ch-js [data-rv] { transition: none !important; }
  .ch-js [data-rv] { opacity: 1; translate: none; }
  .ch-js .ch-line { stroke-dashoffset: 0; }
  .ch-js .ch-end { opacity: 1; }
}

@media (max-width: 960px) {
  .ch-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-way { grid-template-columns: 1fr; }
  .ch-calc-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-calc-base h4 { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ch-hero-grid, .ch-problem, .ch-row, .ch-row:nth-child(even) { grid-template-columns: 1fr; }
  .ch-row:nth-child(even) .ch-row-text { order: 0; }
  .ch-stage { max-width: 34rem; margin-top: 1.5rem; }
  .ch-gains { grid-template-columns: 1fr; gap: 4.75rem; }
  .ch-trust, .ch-steps { grid-template-columns: 1fr; }
  .ch-steps li + li::after { display: none; }
  .ch-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
  .ch-steps li::before { grid-row: span 2; margin-bottom: 0; }
}
@media (max-width: 760px) {
  .ch-stops { grid-template-columns: 1fr; gap: 1rem; max-width: 22rem; margin-inline: auto; }
  .ch-stop { grid-template-columns: 4rem 1fr; justify-items: start; align-items: center; text-align: left; gap: 1rem; }
  .ch-stop .ch-badge { width: 4rem; height: 4rem; }
  .ch-week { max-width: 22rem; margin-inline: auto; }
  .ch-track { left: calc(2rem - 3px); right: auto; top: 2rem; bottom: 2rem; width: 6px; height: auto; background: repeating-linear-gradient(180deg, #a9dcb7 0 10px, transparent 10px 20px); }
  .ch-run { animation-name: ch-run-y; }
  .ch-run::before { left: -6px; top: -9px; }
}
@media (max-width: 520px) {
  .ch-kit { grid-template-columns: 1fr; }
  .ch-tile { grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
  .ch-tile .ch-badge { grid-row: span 2; align-self: start; }
  .ch-tile h3 { margin-top: 0; }
  .ch-calc-base { grid-template-columns: 1fr; }
  .ch-cta .btn { flex: 1 1 100%; }
  .ch-phone { padding: 10px 4px 6px; border-radius: 18px; }
  .ch-phone img { border-radius: 13px; }
  .ch-tablet { padding: 6px; border-radius: 16px; }
  .ch-tablet img { border-radius: 10px; }
}
@media print {
  .ch-hills, .ch-track, .ch-crew { display: none !important; }
  .ch-js [data-rv] { opacity: 1 !important; translate: none !important; }
}

@media (max-width: 600px) {
  .c-hero img { width: 96px; height: 96px; }
  .c-done, .c-empty { flex-direction: column; text-align: center; }
  .c-empty .c-row { justify-content: center; }
}
@media print {
  .top, footer, .crumbs, .c-tabs, .c-print-hide, .c-toc { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .c-page { max-width: none; padding: 0; }
  .c-hero img { width: 90px; height: 90px; }
  .c-hero .lead { display: block !important; }
  .c-page .cta-box { display: none !important; }
  .v-card, .v-steps li, .v-stat, .c-toc { box-shadow: none; border: 1px solid #dfe8e2; }
  .v-steps li, .v-card, .v-stat, .v-tip, .v-warn, .v-note, tr { break-inside: avoid; }
  .page h2 { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* WhatsApp share (guides and worksheets; scripts/site/layout.js shareLink). Parents pass guides round class groups. */
.btn.share-wa { gap: .45rem; white-space: nowrap; background: #e7f8ee; color: #0b5d2e; border-color: #9fdfb8; box-shadow: 0 3px 0 #9fdfb8; text-decoration: none; }
.btn.share-wa:hover { background: #d4f3e1; }
.btn.share-wa:active { box-shadow: 0 1px 0 #9fdfb8; }
.share-row { margin: .6rem 0 0; }
.share-box { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.75rem 0; padding: 1rem 1.2rem; border-radius: var(--radius-lg); background: var(--paper); border: 2px dashed #9fdfb8; }
.share-box p { margin: 0; flex: 1 1 16rem; font-weight: 700; }
@media print { .share-wa, .share-box, .share-row { display: none !important; } }
.kp-note { margin: .25rem 0 1rem; padding: .75rem 1rem; border-radius: 14px; background: var(--go-soft); font-weight: 700; }
@media print { .kp-note { display: none !important; } }
