:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e9eef3;
  background: #0a0e17;
  font-synthesis: none;
  --muted: #aab6c5;
  --cyan: #8fd8d4;
  --yellow: #e6e43b;
  --border: #8fd8d42b;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; line-height: 1.7; }
a { color: var(--cyan); text-underline-offset: .24em; }
a:hover { color: #d0fffb; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
p { margin: 0 0 1.1em; color: var(--muted); }
h1, h2, h3 { color: #f3f6f8; line-height: 1.15; text-wrap: balance; }
h1 { margin: 0 0 24px; font-size: clamp(2.4rem, 4.6vw, 4.6rem); letter-spacing: -.045em; }
h2 { margin: 0 0 24px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; }
h3 { margin: 0 0 14px; font-size: 1.13rem; line-height: 1.4; }
main:focus { outline: none; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -100px; padding: 10px 20px; background: var(--yellow); color: #0a0e17; }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1440px; margin: auto; padding: 22px 40px 0; }
.header-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wordmark { color: #f4f7fa; font-size: 1.24rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--yellow); }
.languages { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; font-size: .8rem; }
.languages a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.languages a[aria-current] { color: var(--cyan); text-decoration: underline; }
.header-play { padding: 8px 0; font-size: .86rem; font-weight: 650; text-decoration: none; }
.header-play span { padding-left: 8px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 16px; padding: 12px 0 17px; border-bottom: 1px solid var(--border); }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .87rem; padding: 3px 0; }
.site-nav a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.hero { position: relative; max-width: 1440px; margin: auto; isolation: isolate; min-height: 650px; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; z-index: -2; inset: 0; display: block; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0a0e17fa 0%, #0a0e17dd 34%, #0a0e1766 68%, #0a0e1722), linear-gradient(0deg, #0a0e17, transparent 30%); }
.hero-content { max-width: 790px; padding: 70px 64px 86px; }
.eyebrow { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 650; margin-bottom: 20px; }
.intro { font-size: 1.06rem; max-width: 68ch; color: #bec9d5; }
.hero .intro { max-width: 53ch; color: #c5d0dd; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid #8fd8d45c; background: #101722c9; color: #edf3f8; text-decoration: none; font-size: .88rem; font-weight: 700; line-height: 1.4; text-align: center; }
.button:hover { background: #1a2a35; color: #fff; border-color: var(--cyan); }
.button-primary { background: var(--yellow); border-color: var(--yellow); color: #11151b; }
.button-primary:hover { background: #f4f36a; border-color: #f4f36a; color: #11151b; }
.requirement { max-width: 63ch; font-size: .8rem; color: #b4c1d0; }
.content-wrap { max-width: 1200px; margin: auto; padding: 0 40px; }
.content-section { margin: 0; padding: 64px 0; border-bottom: 1px solid var(--border); }
.content-section > p { max-width: 82ch; }
.content-section > p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 32px 0 0; list-style: none; }
.cards li { border: 1px solid var(--border); background: linear-gradient(140deg, #17212c, #101620); padding: 28px; }
.cards p { font-size: .94rem; margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: steps; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.steps li { counter-increment: steps; padding-top: 14px; border-top: 1px solid #8fd8d45c; }
.steps li::before { content: "0" counter(steps); display: block; font-size: .76rem; font-weight: 650; letter-spacing: .1em; color: var(--cyan); margin-bottom: 16px; }
.steps p { font-size: .94rem; margin-bottom: 0; }
.questions dl { margin: 0; max-width: 90ch; }
.questions dl > div { padding: 24px 0; border-top: 1px solid #8fd8d41a; }
.questions dt { font-size: 1.05rem; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.questions dd { margin: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 16px; font-weight: 650; }
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 56px 0 64px; }
.closing h2 { font-size: 1.75rem; margin-bottom: 12px; }
.closing p { margin: 0; }
.closing .actions { margin: 0; }
.site-footer { max-width: 1360px; margin: auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 32px; padding: 28px 40px 36px; border-top: 1px solid var(--border); font-size: .76rem; }
.footer-brand { text-decoration: none; white-space: nowrap; color: #d7e1eb; font-weight: 700; }
.site-footer p { flex: 1; min-width: 220px; max-width: 90ch; margin: 0; }
.site-footer > a:last-child { margin-left: auto; }
.page-heading { max-width: 1200px; margin: auto; padding: 64px 40px 20px; }
.page-heading h1 { max-width: 24ch; font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.page-heading .requirement { max-width: 85ch; }
.leaderboard-action { margin: 32px 0 0; }
.not-found { padding-top: 90px; padding-bottom: 90px; min-height: 55vh; }
.not-found h1 { max-width: 23ch; }
@media (max-width: 1000px) {
  .site-header { padding: 20px 28px 0; }
  .hero { min-height: 600px; }
  .hero-content { padding: 56px 40px 72px; max-width: 740px; }
  .hero::after { background: linear-gradient(90deg, #0a0e17f0, #0a0e17bb 48%, #0a0e1744), linear-gradient(0deg, #0a0e17, transparent 40%); }
  .cards { gap: 12px; }
  .cards li { padding: 22px; }
  .closing { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { line-height: 1.65; }
  .site-header { padding: 16px 20px 0; }
  .header-top { gap: 10px 20px; }
  .wordmark { font-size: 1.08rem; }
  .languages { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .header-play { margin-left: auto; font-size: .76rem; }
  .site-nav { gap: 4px 20px; margin-top: 6px; padding-bottom: 12px; }
  .site-nav a { font-size: .8rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; overflow: visible; }
  .hero-art { position: relative; width: 100%; height: clamp(185px, 49vw, 310px); z-index: 0; order: 2; margin-top: -12px; }
  .hero-art img { object-position: 70% 57%; }
  .hero::after { inset: auto 0 0; height: 70px; background: linear-gradient(0deg, #0a0e17, transparent); z-index: 1; pointer-events: none; }
  .hero-content { order: 1; padding: 36px 24px 14px; max-width: none; }
  h1 { font-size: clamp(2.15rem, 8vw, 2.75rem); margin-bottom: 20px; letter-spacing: -.035em; }
  .eyebrow { font-size: .65rem; letter-spacing: .08em; margin-bottom: 16px; }
  .intro { font-size: 1rem; }
  .actions { gap: 10px; margin-top: 24px; }
  .button { padding: 12px 18px; }
  .requirement { font-size: .78rem; }
  .content-wrap { padding: 0 24px; }
  .content-section { padding: 40px 0; }
  .content-section:first-child { padding-top: 28px; }
  .cards, .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 26px; }
  .cards li { padding: 24px; }
  .steps li { padding-top: 16px; }
  .steps li::before { margin-bottom: 10px; }
  .questions dl > div { padding: 22px 0; }
  .closing { padding: 40px 0 48px; }
  .site-footer { padding: 26px 24px 32px; gap: 12px 24px; }
  .site-footer p { order: 3; flex-basis: 100%; }
  .page-heading { padding: 40px 24px 24px; }
  .page-heading h1 { font-size: clamp(2rem, 7.7vw, 2.7rem); }
  .not-found { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 380px) {
  .hero-content, .content-wrap, .page-heading { padding-left: 20px; padding-right: 20px; }
  .actions .button { width: 100%; }
  .header-play span { display: none; }
  .languages { gap: 4px 16px; }
}
@media print {
  :root { color-scheme: light; color: #111; background: #fff; }
  .hero-art, .hero::after, .actions, .header-play, .languages, .skip-link { display: none; }
  h1, h2, h3, p, a, .eyebrow, .requirement, .questions dd { color: #111; }
  .hero { min-height: 0; }
  .hero-content, .page-heading { padding: 30px 0; }
  .content-wrap { padding: 0; }
  .cards li { background: none; }
  .content-section, .closing { padding: 24px 0; }
  .site-footer { padding: 24px 0; }
}
