:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #5c675e;
  --paper: #f7f4ec;
  --surface: #fffdf8;
  --line: #d9ddd3;
  --green: #205c3b;
  --green-dark: #123b27;
  --lime: #d8f069;
  --orange: #ef7a3c;
  --shadow: 0 18px 50px rgba(32, 55, 40, .1);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }
code { font: .85em ui-monospace, SFMono-Regular, Consolas, monospace; }
.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.12); background: var(--green-dark); color: white; }
.header-row { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 2.35rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: .72rem; font-weight: 900; }
nav a { text-decoration: none; }
.header-row nav { display: none; gap: 1.35rem; color: #dce9df; font-size: .9rem; font-weight: 650; }
.header-row nav a:hover { color: var(--lime); }
.breadcrumb { padding-block: 1.2rem; color: var(--muted); font-size: .82rem; }
.breadcrumb ol { margin: 0; padding: 0; list-style: none; }
.hero { position: relative; overflow: hidden; padding: clamp(2.8rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4.75rem); border-radius: 0 0 2rem 2rem; background: var(--green-dark); color: white; box-shadow: var(--shadow); }
.hero::after { content: "201M"; position: absolute; right: -1.3rem; bottom: -4.8rem; color: rgba(255,255,255,.045); font-size: clamp(7rem, 22vw, 15rem); font-weight: 950; letter-spacing: -.1em; line-height: 1; pointer-events: none; }
.eyebrow, .kicker { color: var(--orange); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #dfe9c0; }
.eyebrow span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .28rem rgba(216,240,105,.12); }
h1 { max-width: 18ch; margin: 1rem 0 1.25rem; font-size: clamp(2.35rem, 8vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.lead { position: relative; z-index: 1; max-width: 45rem; color: #dce7df; font-size: clamp(1.02rem, 2.5vw, 1.25rem); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin: 2rem 0; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; gap: .55rem; padding: .75rem 1.1rem; border-radius: .7rem; background: var(--lime); color: var(--green-dark); text-decoration: none; font-weight: 850; }
.button:hover { background: white; }
.text-link { color: white; text-underline-offset: .3em; font-weight: 750; }
.notice { position: relative; z-index: 1; max-width: 48rem; margin-bottom: 0; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.18); color: #bfcfc4; font-size: .88rem; }
.section { padding-block: clamp(3.8rem, 9vw, 7rem); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 45rem; margin-bottom: 2rem; }
.kicker { margin-bottom: .55rem; }
h2 { font-size: clamp(1.75rem, 5vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin-bottom: .35rem; font-size: 1.1rem; line-height: 1.25; }
.section-heading > p:last-child, .prose p { color: var(--muted); }
.fact-grid { display: grid; gap: 1rem; }
.fact-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact-label { display: block; margin-bottom: .6rem; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact-card strong { display: block; margin-bottom: .5rem; color: var(--green-dark); font-size: 1.35rem; }
.fact-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.fact-card p + p { margin-top: 1rem; }
.card-link { color: var(--green); font-weight: 800; text-underline-offset: .2em; }
.article-hero { padding: clamp(2.5rem, 7vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 19ch; color: var(--green-dark); }
.article-meta { color: var(--muted); font-size: .88rem; }
.content-grid { display: grid; gap: 2rem; }
.content-grid .prose { max-width: 48rem; }
.prose h2 { margin-top: 3.5rem; }
.prose h3 { margin-top: 2rem; }
.prose li + li { margin-top: .55rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.data-table th, .data-table td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { width: 35%; color: var(--green-dark); }
.callout { margin: 2rem 0; padding: 1.25rem; border-radius: 1rem; background: #e9eddf; }
.callout p:last-child { margin-bottom: 0; }
.game-shot { margin: 2rem 0; }
.game-shot img { display: block; width: 100%; height: auto; border-radius: 1rem; background: var(--line); box-shadow: var(--shadow); }
.game-shot figcaption { margin-top: .55rem; color: var(--muted); font-size: .8rem; }
.page-nav { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }
.page-nav a { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .86rem; font-weight: 750; }
.error-page { display: grid; min-height: 70vh; place-items: center; text-align: center; }
.error-page h1 { max-width: none; }
.split-section { display: grid; gap: 1.5rem; }
.prose { max-width: 47rem; }
.todo-box { margin-top: 2rem; padding: 1.35rem; border-left: .3rem solid var(--orange); border-radius: 0 .85rem .85rem 0; background: #fff3e9; }
.todo-box ul { margin: .7rem 0 0; padding-left: 1.25rem; }
.update-panel { margin-top: clamp(2rem, 5vw, 4rem); padding-inline: clamp(1.25rem, 5vw, 4rem); border: 0; border-radius: 2rem; background: #e9eddf; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; padding: 1.2rem 0; border-top: 1px solid #c8d0be; }
.steps li > span { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 850; }
.steps p { margin: .15rem 0 0; color: var(--muted); }
.mode-list { display: grid; gap: .7rem; }
.mode-list article { display: grid; grid-template-columns: 2.2rem 1fr; gap: .85rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.mode-list article > span { color: var(--orange); font-size: .75rem; font-weight: 900; }
.mode-list p { margin: 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 800; list-style-position: outside; }
.faq-list p { max-width: 48rem; margin: -.35rem 0 1.4rem; color: var(--muted); }
.source-note { margin: clamp(3rem, 8vw, 6rem) 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.source-note h2 { margin-bottom: .6rem; font-size: 1.1rem; }
.source-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer { padding-top: 3.5rem; background: var(--green-dark); color: #dbe6de; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-grid > div:first-child p { max-width: 27rem; color: #aebeb2; }
.footer-grid h2 { margin-bottom: .7rem; color: white; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { display: block; margin: .45rem 0; color: #c9d7cd; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .25em; }
.footer-brand { margin-bottom: 1rem; color: white; }
.footer-bottom { margin-top: 2.5rem; padding-block: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); color: #9fb0a4; font-size: .78rem; }
.footer-bottom p { margin: 0; }

@media (min-width: 48rem) {
  .header-row nav { display: flex; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .split-section { grid-template-columns: minmax(14rem, .7fr) minmax(22rem, 1.3fr); gap: 4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 16rem; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
