/* Kids Quiz website. "Sticker Pop": sunshine yellow and grape purple on cream,
   thick ink outlines and hard shadows, Fredoka headings. Same look as the app. */
:root {
  --cream: #FFF8EC;
  --paper: #FFFFFF;
  --ink: #2A1B3D;
  --muted: #5E5070;
  --sun: #FFD23F;
  --sun-soft: #FFE9A3;
  --grape: #6D3BE8;
  --grape-dark: #5226C4;
  --grape-soft: #EFE7FF;
  --gum: #E2468F;
  --mint: #14C4A8;
  --mint-soft: #DDF7F1;
  --orange: #FF9A2E;
  --sky: #CFE0F7;
  --line: #2A1B3D;
  --radius: 22px;
  --shadow: 5px 6px 0 var(--line);
  --shadow-sm: 3px 4px 0 var(--line);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .4em; text-wrap: balance; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--grape); text-underline-offset: 3px; }
a:hover { color: var(--grape-dark); }
:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; border: 3px solid var(--line); border-radius: 12px; font-weight: 800; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { background: var(--cream); border-bottom: 3px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px var(--display); }
.brand img { width: 42px; height: 42px; border-radius: 12px; border: 2.5px solid var(--line); }
.brand b { color: var(--grape); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font: 700 15px var(--body); color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 2.5px solid transparent; }
.nav a:hover { border-color: var(--line); background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sun); border-color: var(--line); }
@media (max-width: 620px) {
  .nav .opt { display: none; }
  .brand span { font-size: 18px; }
  .nav a { padding: 5px 10px; font-size: 14px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 17px var(--display); text-decoration: none; color: var(--ink); background: var(--sun); border: 3px solid var(--line); border-radius: 16px; padding: 11px 20px; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 6px 0 var(--line); color: var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 var(--line); }
.btn.grape { background: var(--grape); color: #fff; }
.btn.grape:hover { color: #fff; }
.play-btn { background: #111; color: #fff; border-radius: 14px; padding: 9px 20px 9px 16px; }
.play-btn:hover { color: #fff; }
.play-btn svg { width: 30px; height: 30px; flex: none; }
.play-btn span { display: grid; line-height: 1.1; text-align: left; }
.play-btn small { font: 700 11px var(--body); letter-spacing: .08em; }
.play-btn strong { font: 600 21px var(--display); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sun); border-bottom: 3px solid var(--line);
  background-image: repeating-conic-gradient(from 0deg at 75% 55%, #FFD23F 0deg 10deg, #FFDC63 10deg 20deg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.kicker { display: inline-block; font: 800 14px var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border: 2.5px solid var(--line); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 74px); margin-bottom: 14px; }
.hero h1 .sub { display: block; font-size: .5em; color: var(--grape); margin-top: 6px; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; font-weight: 600; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero .note { font-size: 15px; font-weight: 700; margin: 14px 0 0; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-art .owl { width: 100%; filter: drop-shadow(6px 8px 0 rgba(42, 27, 61, .9)); animation: bob 3.2s ease-in-out infinite; }
.bubble { position: absolute; top: 2%; right: -2%; background: var(--paper); border: 3px solid var(--line); border-radius: 20px; padding: 8px 16px; font: 700 clamp(18px, 2.4vw, 24px) var(--display); color: var(--grape); box-shadow: var(--shadow-sm); transform: rotate(6deg); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 44px; text-align: center; }
  .hero .ctas { justify-content: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-art { width: min(72%, 300px); order: -1; }
  .bubble { right: -12%; }
}

/* Chips row */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 26px 0; margin: 0; list-style: none; }
.chips li { font: 700 15px var(--body); background: var(--paper); border: 2.5px solid var(--line); border-radius: 999px; padding: 5px 14px; box-shadow: 2px 3px 0 var(--line); }

/* Sections */
section { padding: 56px 0; scroll-margin-top: 72px; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow { font: 800 14px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--grape); margin: 0 0 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .ico { width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid var(--line); border-radius: 16px; font-size: 28px; margin-bottom: 14px; box-shadow: 2px 3px 0 var(--line); }
.bg-sun { background: var(--sun); } .bg-grape { background: var(--grape-soft); } .bg-mint { background: var(--mint-soft); }
.bg-gum { background: #FFD9EA; } .bg-sky { background: var(--sky); } .bg-orange { background: #FFE0BD; }

/* Gallery */
.band-grape { background: var(--grape); color: #fff; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line);
  background-image: radial-gradient(rgba(255,255,255,.12) 2px, transparent 2.5px); background-size: 26px 26px; }
.band-grape .section-head p, .band-grape .eyebrow { color: #F1EBFF; }
.band-grape .eyebrow { color: var(--sun); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 250px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: 0; list-style: none; scrollbar-color: var(--sun) transparent; }
.gallery li { scroll-snap-align: start; }
.gallery img { border: 3px solid var(--line); border-radius: 20px; box-shadow: 5px 6px 0 #1a0f2b; background: var(--cream); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.gallery:focus-visible { outline-color: var(--sun); }
.swipe-hint { text-align: center; font-weight: 700; margin: 6px 0 0; color: #F1EBFF; font-size: 15px; }

/* Video slot */
.video-slot { max-width: 860px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--paper); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.price-card.pro { background: var(--sun-soft); }
.price-card h3 { font-size: 26px; }
.price-card .tag { display: inline-block; font: 800 13px var(--body); background: var(--grape); color: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line); 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 10.5l3 3 7-7' fill='none' stroke='%232A1B3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.promise { margin-top: 28px; text-align: center; font: 700 clamp(19px, 2.6vw, 24px) var(--display); }

/* Grown-ups strip */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split .art { justify-self: center; width: min(100%, 300px); }

/* CTA */
.cta { text-align: center; }
.cta .card { max-width: 760px; margin: 0 auto; padding: 34px 24px; background: var(--sun); }
.cta h2 { font-size: clamp(28px, 4.4vw, 40px); }
.cta img.mini { width: 110px; margin: 0 auto 10px; }

/* Docs (privacy, support) */
.doc-hero { background: var(--grape); color: #fff; border-bottom: 3px solid var(--line); padding: 46px 0 40px;
  background-image: radial-gradient(rgba(255,255,255,.12) 2px, transparent 2.5px); background-size: 26px 26px; }
.doc-hero .wrap { display: flex; align-items: center; gap: 24px; }
.doc-hero h1 { font-size: clamp(34px, 6vw, 54px); margin-bottom: 6px; }
.doc-hero p { margin: 0; font-size: 18px; color: #F1EBFF; }
.doc-hero .eyebrow { color: var(--sun); }
.doc-hero img { width: 120px; flex: none; filter: drop-shadow(4px 5px 0 rgba(26, 15, 43, .9)); }
@media (max-width: 560px) { .doc-hero img { width: 84px; } .doc-hero .wrap { gap: 14px; } }
.doc { padding: 44px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc .card { padding: clamp(20px, 4vw, 36px); }
.doc .card p { color: var(--ink); }
.doc h2 { font-size: 26px; margin-top: 1.6em; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc .meta { font-weight: 700; color: var(--muted); }
.doc .lead { font-size: 19px; font-weight: 600; }
.mail-btn { word-break: break-all; }
.summary { background: var(--mint-soft); border: 3px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 0 0 1.2em; font-weight: 700; }

/* FAQ */
.faq details { background: var(--paper); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font: 700 19px var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border: 2.5px solid var(--line); border-radius: 50%; background: var(--sun); font: 700 20px/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 2px dashed #CDBFE0; }
.faq .a { padding: 14px 20px 6px; }
.faq ol, .faq ul { padding-left: 22px; }

/* Footer */
.site-foot { background: var(--ink); color: #E9E1F5; padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--sun); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot p { margin: 0; }

/* Trader facts table (terms) */
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table.facts { border-collapse: separate; border-spacing: 0; width: 100%; border: 3px solid var(--line); border-radius: 16px; overflow: hidden; }
table.facts th, table.facts td { text-align: left; padding: 10px 14px; border-bottom: 2px solid #E6DCF3; vertical-align: top; }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }
table.facts th { background: var(--grape-soft); width: 34%; font-weight: 800; }

/* Feature videos */
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.clip { margin: 0; text-align: center; }
.phone { position: relative; max-width: 260px; margin: 0 auto 14px; padding: 10px; background: var(--ink); border-radius: 34px; box-shadow: 6px 8px 0 rgba(42, 27, 61, .35); }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 450 / 896; border-radius: 26px; background: var(--cream); }
.vid-toggle { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--line); background: var(--paper); color: var(--ink); font: 700 16px/1 var(--body); cursor: pointer; box-shadow: 2px 3px 0 var(--line); display: grid; place-items: center; }
.vid-toggle:hover { background: var(--sun); }
.clip figcaption h3 { font-size: 21px; margin-bottom: 4px; }
.clip figcaption p { margin: 0; color: var(--muted); font-size: 16px; }

/* What makes it different */
.diff { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.diff .card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 18px; }
.diff .card .ico { margin: 0; width: 52px; height: 52px; font-size: 26px; }
.diff .card h3 { font-size: 20px; margin-bottom: 4px; }
.compare { margin-top: 34px; overflow-x: auto; }
.compare table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 2px solid #EEE5F8; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { background: var(--grape); color: #fff; font: 700 18px var(--display); }
.compare thead th.us { background: var(--sun); color: var(--ink); }
.compare tbody th { font-weight: 800; }
.compare td.us { background: #FFF6D6; font-weight: 700; }
.compare .note { font-size: 14px; color: var(--muted); margin: 10px 4px 0; }

/* Second gallery with captions */
.gallery.captioned figure { margin: 0; }
.gallery.captioned figcaption { color: #F1EBFF; font-weight: 700; text-align: center; margin-top: 10px; font-size: 15px; }
.gallery-title { font: 700 24px var(--display); color: #fff; text-align: center; margin: 40px 0 16px; }

/* Try it: samples */
.samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; align-items: start; }
.sample { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.sample h3 { font-size: 24px; }
.sample .hint { color: var(--muted); margin: 0 0 14px; }
.noscript { background: var(--sun-soft); border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 700; }

.mq { background: var(--mint-soft); border: 3px solid var(--line); border-radius: 18px; padding: 16px; }
.mq-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mq-dots { display: flex; gap: 6px; flex: 1; }
.mq-dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.mq-dots span.done { background: var(--mint); }
.mq-dots span.now { background: var(--sun); }
.mq-q { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 3px solid var(--line); border-radius: 16px; padding: 10px 12px 10px 16px; font: 700 22px var(--display); margin-bottom: 14px; min-height: 66px; }
.mq-q span { flex: 1; }
.round-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--line); background: var(--paper); box-shadow: 2px 3px 0 var(--line); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.round-btn:hover { background: var(--sun); }
.round-btn svg { width: 22px; height: 22px; }
.mq-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mq-choices button { background: var(--paper); border: 3px solid var(--line); border-radius: 16px; box-shadow: 3px 4px 0 var(--line); padding: 8px; cursor: pointer; aspect-ratio: 1; display: grid; place-items: center; transition: transform .12s; }
.mq-choices button:hover { transform: translateY(-2px); }
.mq-choices button img { width: 100%; height: 100%; object-fit: contain; }
.mq-choices button.right { border-color: #12825E; background: #E3F6EE; box-shadow: 0 0 0 4px #4FD1A1, 3px 4px 0 var(--line); }
.mq-choices button.wrong { opacity: .5; border-style: dashed; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.mq-msg { min-height: 1.6em; margin: 12px 0 0; font: 700 19px var(--display); text-align: center; }
.mq-end { text-align: center; }
.mq-end img { width: 130px; margin: 0 auto 8px; }

.colour-wrap { position: relative; border: 3px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; touch-action: manipulation; }
.colour-wrap canvas { display: block; width: 100%; height: auto; cursor: pointer; }
.palette { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.palette button { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--line); cursor: pointer; box-shadow: 2px 2px 0 var(--line); }
.palette button[aria-pressed="true"] { outline: 3px solid var(--grape); outline-offset: 3px; }
.colour-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.colour-tools .btn { font-size: 15px; padding: 7px 14px; }
.pages { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pages button { font: 700 15px var(--body); padding: 5px 12px; border-radius: 999px; border: 2.5px solid var(--line); background: var(--paper); cursor: pointer; }
.pages button[aria-pressed="true"] { background: var(--sun); }

/* Printing a coloured page from the sample */
.print-only { display: none; }
@media print {
  body.printing > *:not(.print-only) { display: none !important; }
  body.printing .print-only { display: block; }
  body.printing .print-only img { width: 100%; max-width: 18cm; margin: 0 auto; }
}

/* ===== v3: redesign ===== */

/* Phone navigation: every link, in a row that scrolls sideways */
@media (max-width: 620px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 4px; padding-top: 8px; padding-bottom: 8px; min-height: 0; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .opt { display: inline-block; }
  .nav a { white-space: nowrap; border-color: var(--line); background: var(--paper); }
  .nav a[aria-current="page"] { background: var(--sun); }
  section { scroll-margin-top: 110px; }
}

/* Hero: the app playing in a phone, Owlbert beside it */
.hero-art { width: min(100%, 460px); display: grid; place-items: center; }
.hero-phone { width: 250px; max-width: 62%; margin: 0; transform: rotate(3deg); box-shadow: 8px 10px 0 var(--line); z-index: 1; }
.hero-art .owl { position: absolute; left: -6%; bottom: -4%; width: 46%; z-index: 2; animation: bob 3.2s ease-in-out infinite; }
.hero-art .bubble { top: 4%; right: 2%; z-index: 3; }
@media (max-width: 820px) {
  .hero-art { width: min(100%, 360px); }
  .hero-phone { width: 210px; }
  .hero-art .owl { width: 42%; left: 0; }
  .hero-art .bubble { right: 0; }
}

/* Stats band below the hero */
.stats-band { background: var(--paper); border-bottom: 3px solid var(--line); }
.stats { list-style: none; margin: 0 auto; padding-top: 26px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.stats li { border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 14px 8px 12px; text-align: center; display: grid; gap: 2px; align-content: center; }
.stats b { font: 700 clamp(28px, 3.4vw, 40px)/1 var(--display); }
.stats span { font-weight: 800; font-size: 14px; line-height: 1.25; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { gap: 10px; } .stats li { padding: 10px 4px; } .stats span { font-size: 13px; } }

/* Icon art inside the coloured badges */
.ico img { width: 78%; height: 78%; object-fit: contain; }
.feature-cards .card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature-cards .card .ico { width: 92px; height: 92px; border-radius: 26px; margin-bottom: 16px; }
.feature-cards .card p { max-width: 30ch; }
.diff .card .ico { width: 60px; height: 60px; }
.diff .card { grid-template-columns: 60px 1fr; }

/* Worlds */
.band-cream { background: var(--sun-soft); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line);
  background-image: radial-gradient(rgba(42, 27, 61, .07) 2px, transparent 2.5px); background-size: 24px 24px; }
.worlds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.worlds li { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 18px 18px; text-align: center; position: relative; overflow: hidden; }
.worlds li::before { content: ""; display: block; height: 58px; margin: 0 -18px; background: var(--w); border-bottom: 3px solid var(--line); }
.w-ico { width: 84px; height: 84px; margin: -44px auto 10px; border-radius: 50%; border: 3px solid var(--line); background: var(--paper); display: grid; place-items: center; box-shadow: 2px 3px 0 var(--line); position: relative; }
.w-ico img { width: 72%; height: 72%; object-fit: contain; }
.w-text { font: 700 26px var(--display); color: var(--w); -webkit-text-stroke: 1.5px var(--line); paint-order: stroke fill; }
.worlds h3 { font-size: 21px; margin-bottom: 2px; }
.w-age { display: inline-block; font-weight: 800; font-size: 13px; border: 2px solid var(--line); border-radius: 999px; padding: 1px 10px; margin: 2px 0 10px; }
.worlds p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Watch: three clips */
#watch .clips { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 960px; margin: 0 auto; }

/* Footer */
.site-foot { padding: 44px 0 0; }
.site-foot .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start; justify-content: initial; }
.foot-brand .brand { color: #fff; margin-bottom: 10px; }
.foot-brand .brand b { color: var(--sun); }
.foot-brand p { margin: 0 0 16px; max-width: 34ch; }
.foot-col h2 { font: 700 18px var(--display); color: #fff; margin: 4px 0 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot .play-btn { color: #fff; border-color: #fff; box-shadow: 3px 4px 0 #000; }
.play-btn.small { padding: 6px 16px 6px 12px; }
.play-btn.small svg { width: 24px; height: 24px; }
.play-btn.small strong { font-size: 18px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 30px; padding-top: 16px; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; opacity: .85; }
@media (max-width: 760px) { .site-foot .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-foot nav.foot-col { display: block; }
.diff .card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px; }
.diff .card .ico { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 12px; }
.diff .card p { margin: 0; color: var(--muted); }
table.facts td { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  table.facts, table.facts tbody, table.facts tr, table.facts th, table.facts td { display: block; width: 100%; }
  table.facts th { border-bottom: 0; padding-bottom: 2px; }
  table.facts td { padding-top: 4px; }
}

/* ===== v4: more to show ===== */
.band-lime { background: #E6F7CF; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line);
  background-image: radial-gradient(rgba(42, 27, 61, .07) 2px, transparent 2.5px); background-size: 24px 24px; }

/* Phone screenshots in a row, with captions */
.shot { width: 100%; height: auto; border: 3px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); background: var(--cream); }
.shots-row { list-style: none; margin: 34px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 860px; align-items: start; }
.shots-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
.shots-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; max-width: none; }
.shots-row figure { margin: 0; }
.shots-row figcaption { text-align: center; font: 700 17px var(--display); margin-top: 12px; }
.band-grape .shot { box-shadow: 5px 6px 0 #1a0f2b; }
@media (max-width: 820px) {
  .shots-row, .shots-row.four { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(190px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
  .shots-row li { scroll-snap-align: start; }
  .shots-row.two { grid-auto-columns: minmax(170px, 48%); }
}

/* Text beside a phone */
.show { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.show.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.show-clip .phone { max-width: 270px; }
.big-ticks { gap: 14px; font-size: 18px; margin: 0; }
.big-ticks li::before { top: 4px; }
@media (max-width: 820px) { .show, .show.reverse { grid-template-columns: 1fr; gap: 26px; } }

/* Games hub grid */
.game-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.game-group { min-width: 0; }
.game-group h3 { font-size: 24px; margin: 0 0 14px; }
.game-group h3 small { font: 700 14px var(--body); color: var(--muted); margin-left: 8px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.games li { background: var(--paper); border: 3px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 10px 10px 12px; text-align: center; }
.g-pic { background: var(--g); border: 3px solid var(--line); border-radius: 14px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; }
.g-pic img { width: 100%; height: 100%; object-fit: contain; }
.games h4 { font: 700 18px/1.15 var(--display); margin: 0 0 2px; }
.games p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 620px) {
  .games { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 4px 14px; margin: 0 -4px; }
  .games li { scroll-snap-align: start; }
  .games h4 { font-size: 16px; }
  .game-groups { gap: 22px; }
}

/* Dinosaurs */
.dino-cards { max-width: 980px; margin: 0 auto; }
.dino-cards .card { box-shadow: var(--shadow-sm); }

/* Fact of the day */
#fact { padding: 40px 0; }
.fact-card { max-width: 860px; margin: 0 auto; background: var(--sun); border: 3px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 34px); text-align: center;
  background-image: radial-gradient(rgba(255,255,255,.35) 2px, transparent 2.5px); background-size: 22px 22px; }
.fact-tag { display: inline-block; font: 800 14px var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border: 2.5px solid var(--line); border-radius: 999px; padding: 4px 14px; margin: 0 0 12px; }
.fact-head h2 { font-size: clamp(28px, 4vw, 38px); }
.fact-head p { font-weight: 600; max-width: 36em; margin: 0 auto 20px; }
.fact-body { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; text-align: left; background: var(--paper); border: 3px solid var(--line); border-radius: 22px; padding: 18px 22px; margin-bottom: 18px; min-height: 186px; }
.fact-body img { width: 150px; height: 150px; object-fit: contain; border-radius: 50%; background: var(--sun-soft); border: 3px solid var(--line); padding: 10px; }
.fact-body h3 { font-size: 28px; color: var(--grape); margin-bottom: 6px; }
.fact-body p { margin: 0; font-size: 19px; font-weight: 600; }
@media (max-width: 560px) { .fact-body { grid-template-columns: 1fr; text-align: center; justify-items: center; } .fact-body img { width: 120px; height: 120px; } }

/* Printables */
.print-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.print-card { display: flex; flex-direction: column; }
.print-thumb { display: grid; place-items: center; height: 230px; background: #EDE6F7; border: 2.5px solid var(--line); border-radius: 14px; margin-bottom: 14px; padding: 12px; }
.print-thumb img { max-height: 204px; width: auto; box-shadow: 0 3px 10px rgba(42, 27, 61, .25); background: #fff; }
.print-thumb.land img { max-width: 100%; height: auto; }
.print-card p { flex: 1; margin-bottom: 14px; }
.small-btn { font-size: 15px; padding: 7px 14px; align-self: flex-start; }
.small-btn span { font: 600 13px var(--body); }
.print-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.print-btns .small-btn { align-self: auto; }

/* Grown-ups */
#grown-ups .section-head p { color: #F1EBFF; }
.grown-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; color: var(--ink); }
.grown-grid .card { box-shadow: 5px 6px 0 #1a0f2b; }
.grown-grid .ticks li { font-size: 16px; }
.grown-links { margin: 16px 0 0; font-weight: 700; }
#grown-ups .shots-row figcaption { color: #fff; }
@media (max-width: 900px) { .grown-grid { grid-template-columns: 1fr; } }

/* Accessibility */
.access-list { display: grid; gap: 16px; }
.access-list > div { background: var(--paper); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 14px 18px; }
.access-list h3 { font-size: 20px; margin-bottom: 4px; }
.access-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* Story sample */
.st { background: var(--sky); border: 3px solid var(--line); border-radius: 18px; padding: 14px; }
.st-stage { position: relative; aspect-ratio: 3 / 2; border: 3px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff center / cover no-repeat; }
.st-pics { position: absolute; inset: 8% 6% 6%; display: flex; justify-content: center; align-items: flex-end; gap: 4%; }
.st-pics img { width: 40%; max-height: 92%; object-fit: contain; filter: drop-shadow(2px 3px 0 rgba(42, 27, 61, .35)); animation: pop .45s ease-out; }
@keyframes pop { from { transform: translateY(14px) scale(.9); opacity: 0; } }
.st-text { background: var(--paper); border: 3px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 12px 0; display: flex; gap: 10px; align-items: center; font: 600 19px/1.35 var(--display); min-height: 74px; }
.st-text span { flex: 1; }
.st-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.st-nav .btn { font-size: 16px; padding: 7px 16px; }
.st-nav .btn[disabled] { opacity: .4; pointer-events: none; }
.st-page { font-weight: 800; font-size: 15px; }
.st-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st-choices button { background: var(--paper); border: 3px solid var(--line); border-radius: 16px; box-shadow: 3px 4px 0 var(--line); padding: 8px; cursor: pointer; display: grid; place-items: center; font: 700 17px var(--display); color: var(--ink); min-height: 74px; }
.st-choices button img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.st-choices button.right { border-color: #12825E; background: #E3F6EE; box-shadow: 0 0 0 4px #4FD1A1, 3px 4px 0 var(--line); }
.st-choices button.wrong { opacity: .5; border-style: dashed; animation: shake .35s; }
.samples { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ===== v5: colouring pages and sheet maker ===== */
.tool-page { padding: 34px 0 64px; }
.tool-intro { margin-bottom: 22px; }
.tool-intro p { color: var(--ink); }
.tool-intro p + p { margin-top: 8px; }
.small { font-size: 14.5px; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; position: sticky; top: 68px; z-index: 5; background: var(--cream); padding: 10px 0; }
.chips-row button { font: 700 15px var(--body); padding: 6px 14px; border-radius: 999px; border: 2.5px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); }
.chips-row button span { font-weight: 600; color: var(--muted); }
.chips-row button[aria-pressed="true"] { background: var(--sun); }
@media (max-width: 620px) { .chips-row { top: 96px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .chips-row button { white-space: nowrap; } }
.cp-album { padding: 18px 0 10px; }
.cp-album h2 { font-size: 28px; margin-bottom: 14px; }
.cp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.cp { background: var(--paper); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 10px 10px 12px; text-align: center; }
.cp img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; border: 2px solid #EEE5F8; }
.cp h3 { font-size: 17px; margin: 8px 0; }
.cp-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cp-btns .btn { padding: 5px 12px; font-size: 14px; box-shadow: 2px 3px 0 var(--line); }
@media (max-width: 420px) { .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.maker { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; } }
.maker-form { position: sticky; top: 84px; padding: 20px; }
@media (max-width: 860px) { .maker-form { position: static; } }
.maker-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.maker-form legend { font: 700 20px var(--display); margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; font: 700 15px var(--body); padding: 6px 13px; border: 2.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.seg input:checked + span { background: var(--sun); box-shadow: 2px 3px 0 var(--line); }
.seg input:focus-visible + span { outline: 3px solid var(--grape); outline-offset: 2px; }
.opts { display: grid; gap: 12px; margin-bottom: 12px; }
.opts label { display: grid; gap: 4px; font-weight: 800; font-size: 15px; }
.opts label.check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.opts select, .opts input:not([type="checkbox"]), .opts textarea { font: 600 16px var(--body); padding: 8px 10px; border: 2.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.opts input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--grape); }
.opts .btn { justify-self: start; }
.print-btn { width: 100%; justify-content: center; }
.preview-label { font: 700 16px var(--display); color: var(--muted); margin: 0 0 10px; }
.sheets { container-type: inline-size; display: grid; gap: 22px; max-width: 760px; }

/* A printed sheet: sized by the preview's width, so print and preview match. */
.sheet { width: 100%; aspect-ratio: 210 / 297; background: #fff; color: #2B2140; border: 1px solid #DAD5E2; box-shadow: 0 6px 20px rgba(42, 27, 61, .18); padding: 6cqw 7cqw 4cqw; display: flex; flex-direction: column; overflow: hidden; font: 600 2.3cqw/1.35 "Nunito", sans-serif; }
.sheet.land { aspect-ratio: 297 / 210; padding: 4.5cqw 5cqw 3cqw; }
.letter .sheet { aspect-ratio: 8.5 / 11; }
.letter .sheet.land { aspect-ratio: 11 / 8.5; }
.s-title { font: 700 4.6cqw/1.1 "Fredoka", sans-serif; margin: 0 0 1.4cqw; }
.s-title.small { font-size: 3.6cqw; }
.s-title.center { text-align: center; }
.s-sub { color: #5E566B; margin: 0 0 2cqw; font-size: 2.1cqw; }
.s-name { display: flex; align-items: flex-end; gap: 1cqw; color: #5E566B; font-size: 2.3cqw; margin-bottom: 3cqw; }
.s-name b { color: #2B2140; font-size: 2.8cqw; }
.s-name i, .sheet i { display: inline-block; width: 26cqw; border-bottom: 1.5px solid #BDB6C8; height: 2.6cqw; }
.sheet i.short { width: 16cqw; }
.s-date { margin-left: 4cqw; }
.s-foot { margin: auto 0 0; font-size: 1.6cqw; color: #5E566B; }
.s-sums { list-style: none; counter-reset: q; padding: 0; margin: 0 0 2cqw; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(10, 1fr); column-gap: 6cqw; flex: 1; font: 600 3.7cqw "Nunito", sans-serif; }
.s-sums li { counter-increment: q; display: flex; align-items: center; white-space: nowrap; }
.s-sums li::before { content: counter(q) "."; font-size: 2cqw; color: #5E566B; width: 4.5cqw; flex: none; }
.s-clocks { list-style: none; counter-reset: q; padding: 0; margin: 0 0 2cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw 3cqw; flex: 1; }
.s-clocks li { counter-increment: q; display: grid; justify-items: center; align-content: start; gap: 0.6cqw; position: relative; }
.s-clocks li::before { content: counter(q) "."; position: absolute; left: 0; top: 0; font-size: 1.8cqw; color: #5E566B; }
.s-clocks .clock { width: 15cqw; height: 15cqw; }
.s-clocks span { color: #BDB6C8; letter-spacing: -.1em; font-size: 2.2cqw; }
.clock text { font-family: "Nunito", sans-serif; }
.s-answers { columns: 2; column-gap: 6cqw; padding-left: 5cqw; margin: 0; font-size: 2.4cqw; }
.s-answers li { margin-bottom: 1cqw; break-inside: avoid; }
.s-answers span { color: #5E566B; }
.s-trace { display: grid; gap: 1.2cqw; }
.trow { width: 100%; height: auto; display: block; }
.s-colour { flex: 1; display: grid; place-items: center; min-height: 0; margin-bottom: 3cqw; }
.s-colour img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.s-cert { flex: 1; border: 0.5cqw solid #2B2140; border-radius: 2cqw; padding: 1.2cqw; display: flex; }
.s-cert-in { flex: 1; border: 1.5px solid #BDB6C8; border-radius: 1.2cqw; display: grid; grid-template-columns: 30% 1fr; align-items: center; padding: 2cqw 4cqw; gap: 3cqw; }
.s-cert-owl { width: 100%; height: auto; }
.s-cert-text { text-align: center; }
.s-stars { display: flex; justify-content: center; gap: 1cqw; margin-bottom: 1.5cqw; }
.s-stars svg { width: 4.5cqw; height: 4.5cqw; }
.s-well { font: 700 4.6cqw "Fredoka", sans-serif; margin: 0; }
.s-who { font: 700 7.5cqw/1.1 "Fredoka", sans-serif; margin: 0 0 1.5cqw; overflow-wrap: anywhere; }
.s-why { font-size: 2.6cqw; margin: 0 0 1cqw; }
.s-from { font-size: 2cqw; color: #5E566B; margin: 0 0 4cqw; }
.s-sign { display: flex; justify-content: space-around; gap: 3cqw; font-size: 1.9cqw; color: #5E566B; align-items: flex-end; }
.s-sign i { width: 22cqw; }
.s-chart-head { display: flex; align-items: center; gap: 2.5cqw; margin-bottom: 2cqw; }
.s-chart-head img { width: 9cqw; height: auto; }
.s-chart-head .s-title { margin-bottom: 0.6cqw; }
.s-chart-head .s-sub { margin: 0; }
.s-chart { width: 100%; border-collapse: collapse; flex: 1; font-size: 2cqw; }
.s-chart th, .s-chart td { border: 1.5px solid #2B2140; text-align: center; }
.s-chart th { background: #EFE7FF; padding: 0.8cqw; font: 700 2.1cqw "Fredoka", sans-serif; }
.s-chart th:first-child, .s-chart td:first-child { text-align: left; padding-left: 1.2cqw; width: 26%; }
.s-chart td svg { width: 5cqw; height: 5cqw; display: block; margin: auto; }

@media print {
  body.sheet-page > *:not(main), .sheet-page .doc-hero, .sheet-page .maker-form, .sheet-page .preview-label, .sheet-page .noscript, .sheet-page .tool-faq { display: none !important; }
  .sheet-page, .sheet-page main, .sheet-page .tool-page, .sheet-page .maker, .sheet-page .wrap { background: #fff !important; padding: 0 !important; margin: 0 !important; display: block !important; max-width: none !important; }
  .sheet-page .sheets { display: block; max-width: none; gap: 0; width: 100vw; }
  .sheet-page .sheet { width: 100vw; height: 100vh; aspect-ratio: auto !important; border: 0; box-shadow: none; break-after: page; page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-page .sheet:last-child { break-after: auto; page-break-after: auto; }
}
.print-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.opts[hidden], .opts label[hidden], .cp-album[hidden] { display: none !important; }

/* v6: YouTube preview, click to load */
.yt-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-icon { position: absolute; left: 70%; top: 79%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--sun); color: var(--line); border: 3px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .15s; }
.yt-icon svg { width: 44px; height: 44px; margin-left: 5px; }
.yt-play:hover .yt-icon, .yt-play:focus-visible .yt-icon { transform: translate(-50%, -50%) scale(1.08); }
.yt-play:focus-visible { outline: 4px solid var(--grape); outline-offset: -6px; }
.video-note { text-align: center; margin: 14px 0 0; font-weight: 700; }
@media (max-width: 560px) { .yt-icon { width: 64px; height: 64px; } .yt-icon svg { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .yt-icon { transition: none; } }

/* v8: questions under the tools */
.tool-faq { margin-top: 40px; }
.tool-faq h2 { font-size: 28px; margin: 0 0 12px; }
.tool-faq > p { max-width: 70ch; margin: 0 0 18px; }

/* v9: fun facts pages */
.crumbs { font-size: 15px; margin: 0 0 14px; color: var(--muted); }
.crumbs a { font-weight: 700; }
.facts-lede { max-width: 70ch; margin: 0 0 22px; font-size: 18px; }
.fact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.fact-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 18px 14px 14px; scroll-margin-top: 90px; }
.fact-item img { width: 110px; height: auto; }
.fact-item h2 { font-size: 22px; margin: 0 0 4px; }
.fact-item p { margin: 0; font-size: 17px; }
.facts-cta { display: flex; gap: 20px; align-items: center; margin: 0 0 28px; }
.facts-cta img { width: 110px; flex: none; }
.facts-cta h2 { font-size: 26px; margin: 0 0 6px; }
.facts-cta p { margin: 0 0 14px; }
.facts-pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.topic-grid { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.topic-card { display: grid; justify-items: center; text-align: center; gap: 4px; height: 100%; padding: 16px 12px; background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .15s; }
.topic-card:hover, .topic-card:focus-visible { transform: translateY(-3px); }
.topic-card img { width: 96px; height: auto; }
.topic-name { font: 700 18px var(--display); line-height: 1.2; }
.topic-count { font-size: 14px; color: var(--muted); font-weight: 700; }
@media (max-width: 560px) { .fact-item { grid-template-columns: 76px minmax(0, 1fr); } .fact-item img { width: 76px; } .facts-cta { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .topic-card { transition: none; } }
