:root {
  --bg: #f8f7f2;
  --paper: #fffdf8;
  --ink: #171717;
  --muted: #5b5b55;
  --line: #d8d4c8;
  --accent: #1f6f5b;
  --accent-strong: #144c40;
  --soft: #e8f2ec;
  --warn: #f0d35d;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 5;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: rgb(248 247 242 / 0.92);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius);
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.hero {
  padding: 60px 0 42px;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.lede {
  margin: 20px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 20px;
}

.lede.small {
  font-size: 18px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button:active {
  transform: translateY(1px);
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.inline-button {
  margin-top: 18px;
}

.game-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.game-panel img,
.article-hero img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
}

.game-stat-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.game-stat-grid div,
.info-card,
.update-card,
.link-card,
.check-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.game-stat-grid div {
  padding: 12px;
}

.game-stat-grid span,
.footer-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.game-stat-grid strong {
  display: block;
  margin-top: 4px;
}

.band {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.priority-list,
.tile-grid,
.note-grid,
.next-links {
  display: grid;
  gap: 12px;
}

.tile-grid,
.note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  display: block;
  padding: 18px;
  text-decoration: none;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgb(31 111 91 / 0.12);
}

.link-card strong,
.link-card span {
  display: block;
}

.link-card span {
  margin-top: 8px;
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 48px 0;
}

.update-card {
  padding: 22px;
  align-self: start;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 800;
}

.article-hero {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
}

.article-hero img {
  width: min(240px, 100%);
  justify-self: end;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 46px 0;
}

.article-main {
  min-width: 0;
}

.article-section {
  padding: 0 0 34px;
}

.article-section + .article-section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.article-aside h2 {
  font-size: 20px;
}

.article-aside a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 12px;
  text-decoration: none;
}

.check-card {
  margin-top: 8px;
  padding: 14px;
}

.check-card span {
  display: block;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

th,
td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--soft);
  font-size: 13px;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-weight: 800;
  color: var(--accent-strong);
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--warn);
  color: var(--ink);
  font-weight: 900;
}

.info-card {
  padding: 18px;
}

.info-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.steps li {
  padding-left: 4px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: var(--paper);
}

.sources ul {
  padding-left: 20px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #ece9df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr;
  gap: 24px;
}

.site-footer p {
  max-width: 56ch;
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: var(--accent-strong);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  .nav-shell,
  .hero-grid,
  .article-hero-grid,
  .split,
  .content-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    align-items: flex-start;
    padding: 14px 0;
  }

  .article-aside {
    position: static;
  }

  .article-hero img {
    justify-self: start;
    width: 180px;
  }

  .tile-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero,
  .article-hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .lede {
    font-size: 18px;
  }

  .game-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  nav {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .brand {
    white-space: normal;
  }

  nav {
    justify-content: flex-start;
  }

  table {
    min-width: 0;
    font-size: 14px;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .fact-list div {
    grid-template-columns: 1fr;
  }
}