@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fafcfa;
  --surface: #fff;
  --ink: #172f2c;
  --muted: #576b65;
  --brand: #c83a22;
  --yellow: #ffd45c;
  --line: #d8e1db;
  --answer: #edf2ee;
  --answer-hover: #e1eae3;
  --correct: #1c6746;
  --incorrect: #a51d32;
  --action: #172f2c;
  --action-hover: #294b40;
  --on-action: #fff;
  --on-correct: #fff;
  --on-incorrect: #fff;
  --action-edge: #ffd45c;
  --focus: #c83a22;
  --light-logo: block;
  --dark-logo: none;
  --shadow: 0 14px 48px #172f2c12;
  --radius: 14px;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  scrollbar-color: var(--muted) var(--canvas);
}

@media (prefers-color-scheme: dark) {
  :root {
  color-scheme: dark;
  --canvas: #10211f;
  --surface: #172f2c;
  --ink: #f5faf6;
  --muted: #aec5ba;
  --brand: #ff876b;
  --line: #38584e;
  --answer: #28483f;
  --answer-hover: #34594d;
  --correct: #a5e7bd;
  --incorrect: #ffb4be;
  --on-correct: #153e2c;
  --on-incorrect: #4a2230;
  --action: #ffd45c;
  --action-hover: #ffe18c;
  --on-action: #172f2c;
  --action-edge: #ff876b;
  --focus: #ffd45c;
  --light-logo: none;
  --dark-logo: block;
  --shadow: 0 14px 48px #00000024;
  }
}

* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
::selection { color: #172f2c; background: var(--yellow); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.home { display: inline-flex; align-items: center; min-height: 48px; }
.home img { width: 174px; height: auto; }
.home .logo-light { display: var(--light-logo); }
.home .logo-dark { display: var(--dark-logo); }
.masthead nav { display: flex; gap: 32px; align-items: center; font-weight: 800; font-size: .9375rem; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 48px; gap: 12px; text-decoration: none; }
.masthead nav a:hover { color: var(--brand); }
.nav-play { border-bottom: 2px solid var(--brand); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: "Lilita One", sans-serif; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 5.8vw, 5.5rem); line-height: 1.02; max-width: 12ch; }
h2 { font-size: clamp(2.25rem, 3.5vw, 3.25rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 850; }
.hero { background: #172f2c; color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px; padding-block: 56px 52px; }
.hero h1 span { color: #ffd45c; }
.pitch { margin-top: 24px; max-width: 43ch; color: #e0ece5; font-size: 1.125rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 58px; padding: 14px 24px 11px; border-radius: var(--radius); border-bottom: 4px solid var(--action-edge); color: var(--on-action); background: var(--action); font-size: 1.0625rem; font-weight: 850; text-decoration: none; transition: background 180ms, transform 100ms; }
.primary-action:hover { background: var(--action-hover); }
.primary-action:active { transform: translateY(2px); }
.hero .primary-action { --action: #ffd45c; --action-hover: #ffe18c; --on-action: #172f2c; --action-edge: #c83a22; }
.hero :focus-visible { outline-color: #ffd45c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; min-height: 48px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.invitation { margin-top: 16px; color: #c5d8cc; font-size: .875rem; line-height: 1.5; max-width: 42ch; }
.game-preview { min-width: 0; height: 560px; position: relative; isolation: isolate; }
.hero-bolt { width: 100%; height: 100%; position: absolute; inset: -20px 0 0; fill: #ffd45c; opacity: .12; z-index: -1; }
.screen { position: absolute; overflow: hidden; border-radius: 16px; box-shadow: 0 18px 40px #07191655; background: #fafcfa; }
.screen img { display: block; width: 100%; height: auto; }
.screen-challenge { width: 46%; aspect-ratio: 1320 / 2280; top: 24px; left: 3%; transform: rotate(-7deg); }
.screen-challenge img { transform: translateY(-11.15%); }
.screen-gameplay { width: 48%; aspect-ratio: 1320 / 2550; top: 36px; right: 3%; transform: rotate(6deg); }
.screen-gameplay img { transform: translateY(-5.2%); }
.section-space { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { max-width: 19ch; }
.section-heading p { margin-top: 20px; max-width: 48ch; color: var(--muted); line-height: 1.7; font-size: 1.0625rem; }
.section-heading > a { flex-shrink: 0; }
.topics-section h2 span { color: var(--brand); }
.topic-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.topic-link { text-decoration: none; display: block; border-radius: 16px; }
.poster { aspect-ratio: 1; border-radius: 16px; overflow: hidden; padding: 20px; }
.poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a-galaxy-far-far-away { background: #272c53; }
.the-boy-who-lived { background: #dcc7ee; }
.classic-rock { background: #bbd8ef; }
.world-capitals { background: #4f79ce; }
.topic-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.topic-name svg { width: 18px; flex-shrink: 0; }
.topic-link p { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.topic-link:hover h3 { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
.how-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); }
.how-copy h2 { max-width: 16ch; }
.section-lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; margin-top: 24px; max-width: 45ch; }
.play-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: play-step; }
.play-steps li { padding-left: 52px; position: relative; counter-increment: play-step; }
.play-steps li + li { margin-top: 28px; }
.play-steps li::before { content: counter(play-step); position: absolute; left: 0; top: -3px; font: 400 2rem/1.2 "Lilita One", sans-serif; color: var(--brand); }
.play-steps p { margin-top: 10px; line-height: 1.7; color: var(--muted); max-width: 43ch; }
.sample-invite { font-weight: 800; line-height: 1.6; margin-top: 32px; max-width: 40ch; }
.challenge-section { background: #ffd45c; color: #172f2c; }
.challenge-inner { padding-block: 72px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.challenge-inner h2 { font-size: clamp(2.75rem, 4vw, 3.75rem); max-width: 17ch; }
.challenge-copy p { font-size: 1.125rem; line-height: 1.7; }
.challenge-copy p + p { margin-top: 16px; }
.challenge-copy .primary-action { margin-top: 28px; --action: #172f2c; --action-hover: #294b40; --on-action: #fff; --action-edge: #c83a22; }
.challenge-section :focus-visible { outline-color: #172f2c; }
.faq-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.faq-section h2 { max-width: 14ch; }
.faq-help { margin-top: 24px; line-height: 1.7; color: var(--muted); max-width: 28ch; }
.faq-help a { white-space: nowrap; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; min-height: 72px; padding: 24px 36px 24px 0; position: relative; font-size: 1.0625rem; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 6px; top: 29px; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); top: 34px; }
.faq-list details p { padding: 0 32px 24px 0; color: var(--muted); line-height: 1.75; }
.last-call { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 40px 64px; }
.last-call h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.5; }
footer a { padding-block: 12px; }
.footer-brand { margin-right: auto; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--ink); text-decoration: none; }
.made-in { white-space: nowrap; }
.heart { width: 1em; height: 1em; vertical-align: -.125em; fill: var(--brand); }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 5; padding: 12px; color: #172f2c; background: var(--yellow); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sample {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-block: 32px;
}
.topic-art { aspect-ratio: 3 / 2; border-radius: 16px 16px 0 0; overflow: hidden; background: #272c53; position: relative; }
.topic-art img { display: block; position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.question-body { padding: 24px; }
.sample-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .8125rem; }
.topic-picker { max-width: 55%; min-height: 48px; padding: 0 4px; margin-left: -4px; font: inherit; font-weight: 850; color: var(--brand); background: var(--surface); border: 0; border-radius: 8px; cursor: pointer; }
.topic-picker:disabled { cursor: default; opacity: 1; }
.question-heading { font-family: "Nunito Sans", system-ui, sans-serif; letter-spacing: normal; display: grid; align-content: center; margin-top: 10px; min-height: 160px; font-size: 1.5rem; font-weight: 850; line-height: 1.3; text-wrap: balance; text-align: center; }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 80px;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--answer);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 750;
  text-align: center;
  transition: background 180ms, color 180ms;
}
.answer-label { overflow-wrap: anywhere; }
.letter { flex: 0 0 18px; font-size: .75rem; font-weight: 700; opacity: .72; }
.letter svg { display: block; width: 16px; height: 16px; }
.answer:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--answer-hover); }
.answer:disabled, .answer[aria-disabled="true"] { cursor: default; }
.answer.correct { background: var(--correct); color: var(--on-correct); }
.answer.incorrect { background: var(--incorrect); color: var(--on-incorrect); }
.answer.correct .letter, .answer.incorrect .letter { opacity: 1; }
.sample-response { padding-top: 16px; }
.sample-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.sample-play { font-size: .875rem; color: var(--brand); }
.feedback { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.feedback strong { color: var(--ink); font-weight: 850; }
.another { min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font-size: .875rem; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.another svg { margin-left: 8px; vertical-align: middle; }
.another:hover { color: var(--brand); }
.sample.responded .correct .letter, .sample.responded .incorrect .letter { animation: answer-stamp 360ms cubic-bezier(.16, 1, .3, 1); }
@keyframes answer-stamp { from { transform: scale(1.35); } to { transform: scale(1); } }

@media (min-width: 901px) and (max-width: 1150px) {
  .hero-inner { gap: 28px; }
  .game-preview { height: 490px; }
  .hero-actions { gap: 16px; }
  .how-section, .challenge-inner, .faq-section { gap: 48px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .masthead { min-height: 88px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 48px; }
  h1 { font-size: clamp(2.75rem, 5.8vw, 3.75rem); }
  .pitch { font-size: 1rem; }
  .game-preview { height: 420px; }
  .screen-challenge { top: 12px; width: 56%; }
  .screen-gameplay { top: 120px; width: 58%; }
  .hero-actions { gap: 12px; margin-top: 24px; }
  .topic-gallery { gap: 20px; }
  .poster { padding: 12px; }
  .topic-name h3 { font-size: 1rem; }
  .topic-name svg { display: none; }
  .section-space { padding-block: 64px; }
  .section-heading { align-items: start; }
  .section-heading > a { max-width: 12ch; }
  .how-section { gap: 40px; }
  .question-body { padding: 20px; }
  .question-heading { font-size: 1.375rem; }
  .challenge-inner { gap: 40px; }
  .faq-section { gap: 40px; grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 48px); }
  .masthead { min-height: 84px; gap: 16px; }
  .home img { width: 148px; }
  .masthead nav { gap: 0; font-size: .875rem; }
  .nav-detail { display: none !important; }
  .masthead nav a { gap: 8px; }
  .masthead nav svg { width: 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 32px; }
  h1 { font-size: clamp(2.9rem, 11.6vw, 4.75rem); max-width: 12ch; }
  .pitch { margin-top: 20px; font-size: 1.0625rem; }
  .hero-actions { gap: 12px 20px; }
  .hero-actions .text-link { font-size: .9375rem; }
  .invitation { font-size: .8125rem; }
  .game-preview { height: auto; aspect-ratio: 1; width: 100%; max-width: 420px; margin-inline: auto; }
  .screen-challenge { top: 10px; left: 4%; width: 42%; }
  .screen-gameplay { top: 28px; right: 4%; width: 42%; }
  .hero-bolt { inset: 0; }
  .section-space { padding-block: 56px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { max-width: 18ch; }
  .section-heading > a { max-width: none; margin-top: 16px; }
  .section-heading p { margin-top: 16px; }
  .topic-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .topic-name { margin-top: 14px; }
  .topic-link p { font-size: .875rem; }
  .how-section { grid-template-columns: 1fr; gap: 36px; }
  .how-copy h2 { max-width: 17ch; }
  .play-steps li { padding-left: 40px; }
  .play-steps h3 { font-size: 1.125rem; }
  .sample { max-width: none; }
  .sample-invite { margin-top: 24px; }
  .challenge-inner { grid-template-columns: 1fr; padding-block: 48px; gap: 24px; }
  .challenge-inner h2 { font-size: 2.75rem; }
  .challenge-copy p { font-size: 1.0625rem; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .faq-section h2 { max-width: 17ch; }
  .faq-help { max-width: 34ch; margin-top: 16px; }
  .last-call { flex-direction: column; align-items: start; padding-block: 8px 48px; gap: 24px; }
  footer { gap: 12px 24px; padding-block: 24px; }
  .footer-brand { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 40px); }
  .home img { width: 132px; }
  .question-heading { min-height: 180px; }
  .answer { gap: 6px; padding-inline: 10px; }
  .letter { flex-basis: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
