/* superquizapp.com: the app's own look (app/src/ui/tokens.css): Baloo 2 headings, Nunito text, the
   blue dotted stage, chunky buttons with a lip, the mascot Volt. Option A (user 2026-11-03). */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('/assets/fonts/baloo-2-latin-ext-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('/assets/fonts/baloo-2-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-latin-ext-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('/assets/fonts/nunito-latin-ext-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('/assets/fonts/nunito-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #304fff; --brand-lip: #1e36c8; --brand-deep: #2440e6; --brand-hi: #4a66ff;
  --gold: #ffc800; --gold-lip: #e0a800; --on-gold: #5a3c00; --gold-soft: #fff3c4;
  --green: #3dc75a; --green-lip: #28a044; --green-ink: #1a7a33; --green-soft: #e5f8e9;
  --red: #ff4b4b; --red-lip: #d63333; --red-ink: #b02424; --red-soft: #ffe9e9;
  --sky: #1cb0f6; --sky-lip: #1590cc;
  --ink: #1b1f3b; --ink-2: #5b6080; --line: #e3e6f3; --paper: #ffffff; --soft: #f3f5ff; --night: #1b1f3b;
  --btn-lip: #c9cfe8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 700 1.0625rem/1.55 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; line-height: 1.05; margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* the blue stage: the app's own background, dots and all */
.stage { position: relative; color: #fff; background: radial-gradient(circle at 50% 30%, var(--brand-hi) 0, var(--brand) 55%, var(--brand-deep) 100%); overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.13) 2px, transparent 2.6px); background-size: 34px 34px; pointer-events: none; }
.stage > * { position: relative; }

.top { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 'Baloo 2', sans-serif; }
.logo img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 3px 0 rgb(0 0 0 / 0.18); }
.top .grow { flex: 1; }
.langs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(0 0 0 / 0.16); }
.langs a { padding: 4px 10px; border-radius: 999px; text-decoration: none; font-size: 0.85rem; font-weight: 900; opacity: 0.85; }
.langs a[aria-current] { background: #fff; color: var(--brand); opacity: 1; }

/* chunky buttons with a lip, like the app */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 0; text-decoration: none; font: 900 1rem/1.1 'Nunito', sans-serif; background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--btn-lip); cursor: pointer; transition: translate 80ms, box-shadow 80ms; }
.btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--btn-lip); }
.btn small { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.7; }
.btn svg { width: 26px; height: 26px; flex: none; display: block; }
.btn.gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 4px 0 var(--gold-lip); }
.btn.blue { background: var(--brand); color: #fff; box-shadow: 0 4px 0 var(--brand-lip); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero: a question you can answer right here */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 40px 0 90px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); text-shadow: 0 5px 0 var(--brand-lip); }
.hero .lead { font-size: 1.2rem; margin: 18px 0 28px; max-width: 32ch; }
.play { position: relative; }
.q { background: #fff; color: var(--ink); border-radius: 28px; padding: 22px; box-shadow: 0 8px 0 rgb(0 0 0 / 0.2); }
.qtop { display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--sky); color: #fff; font-weight: 900; font-size: 0.9rem; box-shadow: 0 3px 0 var(--sky-lip); }
.chip img { width: 28px; height: 28px; }
.pts { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--on-gold); font-weight: 900; font-size: 0.85rem; }
.timer { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: conic-gradient(var(--brand) calc(var(--t, 100) * 1%), var(--line) 0); }
.timer span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.q h2 { font-size: 1.7rem; margin: 18px 0 16px; line-height: 1.15; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 18px; background: #fff; font: 900 1.05rem 'Nunito', sans-serif; color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 4px 0 var(--line); }
.opt b { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.opt:hover { border-color: #b9c3ff; }
.opt[disabled] { cursor: default; }
.opt.right { background: var(--green-soft); border-color: var(--green); box-shadow: 0 4px 0 var(--green-lip); color: var(--green-ink); }
.opt.right b { background: var(--green); color: #fff; }
.opt.wrong { background: var(--red-soft); border-color: var(--red); box-shadow: 0 4px 0 var(--red-lip); color: var(--red-ink); }
.opt.wrong b { background: var(--red); color: #fff; }
.after { margin-top: 16px; display: none; align-items: center; gap: 12px; }
.after.on { display: flex; }
.after .volt { width: 64px; height: 64px; flex: none; }
.after p { margin: 0; font-weight: 900; }
.after a { color: var(--brand); }
.play .peek { position: absolute; width: 110px; top: -80px; left: 28px; rotate: 8deg; filter: drop-shadow(0 6px 0 rgb(0 0 0 / 0.15)); }

/* sections after the hero */
.band { padding: 72px 0; }
.band.soft { background: var(--soft); }
.band h2 { font-size: clamp(2rem, 4.5vw, 3rem); text-align: center; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.mode { text-align: center; }
.mode .ph { border-radius: 26px; overflow: hidden; background: var(--brand); aspect-ratio: 640 / 1040; box-shadow: 0 6px 0 var(--brand-lip); }
.mode .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mode h3 { margin-top: 14px; font-size: 1.45rem; }
.mode p { margin: 2px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.cat { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--c, var(--sky)); box-shadow: 0 4px 0 rgb(0 0 0 / 0.18); }
.cat img { width: 44px; height: 44px; }
.faq { max-width: 720px; margin: 34px auto 0; display: grid; gap: 10px; }
.faq details { border: 2px solid var(--line); border-radius: 18px; padding: 14px 18px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 900; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-weight: 900; color: var(--brand); }
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 8px 0 0; color: var(--ink-2); }
.cta { text-align: center; padding: 64px 0; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cta .stores { justify-content: center; margin-top: 24px; }

/* legal pages and the link page */
.slim .top { padding: 14px 0; }
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); max-width: 20ch; margin-top: 14px; }
.prose { max-width: 72ch; margin-top: 18px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 6px; }
.prose p, .prose li { color: #343a5e; }
.prose .summary { font-size: 1.15rem; color: var(--ink); }
.prose a { color: var(--brand); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.crumbs { display: flex; gap: 8px; font-size: 0.95rem; color: var(--ink-2); }
.crumbs a { color: var(--brand); text-decoration: none; }
.landing { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; }
.land { display: grid; place-items: center; text-align: center; padding: 20px 0 60px; }
.land .card { width: min(480px, 100%); background: #fff; color: var(--ink); border-radius: 28px; padding: 28px 22px; box-shadow: 0 8px 0 rgb(0 0 0 / 0.2); display: grid; gap: 14px; justify-items: center; }
.land .volt { width: 96px; height: 96px; }
.land h1 { font-size: 2rem; }
.land p { margin: 0; color: var(--ink-2); }
.code { font: 800 2.6rem/1 'Baloo 2', sans-serif; letter-spacing: 0.12em; padding: 10px 18px; border-radius: 18px; background: var(--soft); color: var(--brand); }
.land .stores { justify-content: center; }
.land small { color: var(--ink-2); }

footer { background: var(--night); color: #c9cde6; padding: 34px 0; font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .grow { flex: 1; }
footer .social { display: flex; gap: 10px; }
footer .social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / 0.08); }
footer .social a:hover { background: rgb(255 255 255 / 0.16); }
footer .social svg { width: 20px; height: 20px; }
footer .by { width: 100%; opacity: 0.7; font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 60px; }
  .play { margin-top: 50px; }
  .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .band { padding: 52px 0; }
  .top .dl { display: none; }
  .play .peek { width: 90px; top: -64px; }
  .q { padding: 18px; }
  .q h2 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
