:root {
  --bg: #121214;
  --panel: #191a1e;
  --panel-strong: #1e2025;
  --ink: #c9ccd3;
  --muted: #8e929a;
  --heading: #eef0f4;
  --accent: #8fcf70;
  --accent-soft: rgba(143, 207, 112, 0.11);
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  margin: 0;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -12rem, rgba(143, 207, 112, 0.09), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font: 17px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }
a:hover { color: #a6df8b; }
a:focus-visible {
  outline: 3px solid rgba(143, 207, 112, 0.55);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  width: min(100% - 36px, 1000px);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--accent);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a { color: inherit; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--heading); }
.site-nav .store-link { color: var(--accent); font-weight: 750; }

.article-shell,
.index-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 62px 0 88px;
}

.index-shell { width: min(100% - 40px, 900px); }

.breadcrumb {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: #585b62; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--heading);
  letter-spacing: -0.022em;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1.04;
}

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

.about-hero { position: relative; }
.about-mark {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.dek {
  max-width: 720px;
  margin: 24px 0 0;
  color: #b8bbc2;
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.55;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.byline a {
  color: #aeb2ba;
  text-underline-offset: 3px;
}

.byline a:hover { color: var(--accent); }

.disclosure {
  margin: 34px 0 0;
  padding: 15px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(143, 207, 112, 0.24);
  border-radius: 12px;
  color: #bfcab9;
  font-size: 15px;
}

.article-visual {
  width: min(100%, 390px);
  margin: 38px auto 0;
}

.article-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-visual figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.article-body { margin-top: 58px; }
.article-body > p { margin: 0 0 22px; }
.article-body > p:first-child { color: #d9dce1; font-size: 19px; }
.article-body > ul,
.article-body > ol { margin: 20px 0 28px; padding-left: 26px; }
.article-body > ul li,
.article-body > ol li { margin: 9px 0; padding-left: 4px; }
.article-body code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #1b1d21;
  color: #dce9d6;
  font: 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.article-body pre {
  margin: 28px 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0e0f11;
}
.article-body pre code { padding: 0; border: 0; background: transparent; }

.article-body h2 {
  margin: 64px 0 18px;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.18;
}

.article-body strong { color: #e4e7eb; }

.table-wrap {
  margin: 30px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

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

th {
  color: #aeb2ba;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--heading); font-weight: 750; }
.results-table td:not(:first-child), .results-table th:not(:first-child) { text-align: right; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 34px;
}

.stat {
  min-height: 130px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.stat span { color: #aeb2ba; font-size: 14px; line-height: 1.45; }

.takeaways {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
}

.takeaway {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.takeaway h3 { margin: 0 0 6px; font-size: 18px; }
.takeaway p { margin: 0; color: #afb3bb; }

.article-cta {
  margin-top: 68px;
  padding: clamp(25px, 5vw, 38px);
  background: linear-gradient(145deg, rgba(143, 207, 112, 0.14), rgba(25, 26, 30, 0.95) 54%);
  border: 1px solid rgba(143, 207, 112, 0.25);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.article-cta h2 { margin: 0 0 10px; font-size: 28px; }
.article-cta p { margin: 0; color: #b5b9c0; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(143, 207, 112, 0.45);
  border-radius: 11px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.button.primary { background: var(--accent); color: #111411; border-color: var(--accent); }
.button:hover { background: rgba(143, 207, 112, 0.09); color: #a6df8b; }
.button.primary:hover { background: #9cda7e; color: #111411; }

.related {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related h2 { margin: 0 0 13px; font-size: 18px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 15px; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.article-card.featured { grid-column: 1 / -1; }

.article-card,
.play-card {
  display: block;
  padding: clamp(24px, 5vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, border-color 150ms ease;
}

.article-card:hover,
.play-card:hover {
  color: inherit;
  border-color: rgba(143, 207, 112, 0.38);
  transform: translateY(-2px);
}

.card-meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card h2,
.play-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
}

.article-card p,
.play-card p { max-width: 680px; margin: 0; color: #aeb2ba; }

.card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.card-facts span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9da1a9;
  font-size: 13px;
}

.play-card {
  margin-top: 18px;
  background: linear-gradient(145deg, rgba(143, 207, 112, 0.11), var(--panel) 58%);
}

.site-footer {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 0 0 42px;
  color: #737780;
  font-size: 14px;
}

.site-footer a { color: #969aa2; }

@media (max-width: 680px) {
  .site-header { align-items: flex-start; }
  .site-nav { gap: 13px; font-size: 13px; }
  .site-nav .store-link { display: none; }
  .article-shell, .index-shell { padding-top: 42px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .article-body h2 { margin-top: 52px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; }
}

@media (max-width: 430px) {
  .site-header { width: min(100% - 28px, 1000px); }
  .site-nav { gap: 11px; }
  .article-shell, .index-shell { width: min(100% - 30px, 900px); }
  h1, .article-hero h1 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-card, .play-card { transition: none; }
}
