:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #14b8a6;
  --accent-dark: #0f766e;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--text);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-link:hover, .nav-link.active {
  background: #eff6ff;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

/* Typography & Buttons */
h1, h2, h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 18px; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: #f1f5f9;
  color: var(--text);
}

.btn-block { width: 100%; }

/* Hero */
.hero-band {
  padding: 48px 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  margin: 16px 0 24px;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.hero-facts strong { color: var(--text); }

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg);
}

/* Sections */
.section-band { padding: 56px 0; }
section[id], [id] { scroll-margin-top: 84px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.section-sub, .prose-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
  margin: 8px 0 0;
}

.catalog-counter {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.filter-group input, .filter-group select {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--card);
}

.filter-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.toggle-chip input { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }

.btn-reset {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-reset:hover { color: var(--text); border-color: var(--border-strong); }

/* Catalog Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.game-title { font-size: 18px; margin-bottom: 4px; }
.game-meta { margin: 0; font-size: 13px; color: var(--muted); }
.game-summary { margin: 0; font-size: 15px; color: var(--text); }

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-teal { background: #f0fdfa; color: var(--accent-dark); border: 1px solid #99f6e4; }
.pill-blue { background: #eff6ff; color: var(--primary-hover); border: 1px solid #bfdbfe; }

.game-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.game-specs dt { font-size: 12px; color: var(--muted); }
.game-specs dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }

.game-free-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.game-free-note strong { color: var(--text); }

.game-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.steam-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.steam-link:hover { text-decoration: underline; }
.appid-tag { font-size: 12px; color: var(--muted); }

.catalog-empty {
  text-align: center;
  padding: 32px;
  background: var(--card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

/* Models 2x2 Band */
.models-band {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.model-item {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.model-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.model-item p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.model-examples { font-size: 14px !important; color: var(--text) !important; }

/* Guides List (distinct horizontal list layout) */
.guides-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.guide-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.guide-row h3 { margin-bottom: 4px; }
.guide-row p { margin: 0; font-size: 14px; color: var(--muted); max-width: 68ch; }
.guide-arrow { font-size: 22px; color: var(--primary); font-weight: 700; }

/* Editorial & Sidebar */
.editorial-band {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.prose-content { max-width: 70ch; }
.prose-content h2 { margin-top: 32px; margin-bottom: 12px; font-size: 24px; }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { margin-top: 24px; margin-bottom: 8px; font-size: 18px; }
.prose-content p { margin: 0 0 16px; color: var(--text); }
.prose-content ul, .prose-content ol { margin: 0 0 16px; padding-left: 24px; }
.prose-content li { margin-bottom: 8px; }
.prose-content code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 14px;
}

.steam-cta-card {
  position: sticky;
  top: 84px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.steam-cta-card h3 { margin-bottom: 12px; }
.steam-cta-card p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.small-note { font-size: 13px !important; margin-top: 12px !important; margin-bottom: 0 !important; }

.aside-links {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-links a { font-size: 14px; font-weight: 600; text-decoration: none; }
.aside-links a:hover { text-decoration: underline; }
.aside-divider { height: 1px; background: var(--border); margin: 16px 0; }

/* Subpage Hero & Table */
.sub-hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

.takeaway-strip {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.takeaway-strip li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
}

.picks-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.picks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.picks-table th, .picks-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.picks-table th {
  background: var(--bg);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.picks-table tr:last-child td { border-bottom: 0; }
.table-note { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 44ch; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { margin-top: 12px; color: var(--muted); font-size: 15px; }
.faq-answer p { margin: 0; }

/* Engage: Likes, Share, Comments */
.engage-band {
  background: var(--card);
  border-top: 1px solid var(--border);
}
.engage-wrap { max-width: 820px; }
.engage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.engage-prompt p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.engage-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-like[data-gf-liked], .btn-like[aria-pressed="true"] {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
}
.count-badge {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.share-msg, .comment-msg { font-size: 13px; color: var(--accent-dark); font-weight: 600; }

.comment-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.comment-form .field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.comment-form label { font-size: 13px; font-weight: 600; color: var(--muted); }
.comment-form input, .comment-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  background: var(--card);
  color: var(--text);
}
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.comment-form:not([data-gf-replying]) [data-gf-reply-to],
.comment-form:not([data-gf-replying]) [data-gf-reply-cancel] { display: none; }
.reply-banner { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }

.comment-list { display: flex; flex-direction: column; gap: 12px; }
.comment-list:not([data-gf-empty]) .comment-empty { display: none; }
.comment-list[data-gf-off] { display: none; }
.comment-empty { color: var(--muted); font-size: 14px; margin: 0; }
.comment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.comment-card[data-gf-owner], .comment-reply[data-gf-owner] {
  border-color: var(--primary);
  background: #eff6ff;
}
.comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.comment-head time { color: var(--muted); font-size: 12px; }
.owner-pill {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
}
.comment-body { margin: 8px 0; font-size: 15px; }
.reply-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.comment-replies { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--border-strong); display: flex; flex-direction: column; gap: 8px; }
.comment-reply { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.reply-target { font-size: 12px; color: var(--primary); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 48px 0 32px;
}
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer .brand { color: #ffffff; margin-bottom: 12px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #334155;
}
.footer-note { font-size: 14px; margin: 0 0 12px; max-width: 48ch; }
.footer-disclaimer { font-size: 12px; color: #94a3b8; margin: 0; max-width: 52ch; }
.footer-col h2 { color: #ffffff; font-size: 14px; margin-bottom: 12px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact { margin-top: 16px; font-size: 13px; color: #94a3b8; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

.not-found { max-width: 640px; padding: 48px 0; }
.legal-prose { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .editorial-layout, .footer-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .steam-cta-card { position: static; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .section-band { padding: 40px 0; }
  .hero-band { padding: 32px 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .filter-bar { grid-template-columns: 1fr; }
  .catalog-grid, .models-grid { grid-template-columns: 1fr; }
  .game-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage-bar { flex-direction: column; align-items: flex-start; }
  .legal-prose { padding: 20px; }
}



/* How We Verify Band & Hardware Spec Table */
.verify-band { padding: 40px 0; }
.verify-card {
  background: var(--card);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.verify-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.verify-item h3 { font-size: 16px; margin-bottom: 6px; }
.verify-item p { margin: 0; font-size: 14px; color: var(--muted); }
.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}
.prose-content th, .prose-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.prose-content th {
  background: var(--bg);
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .verify-grid { grid-template-columns: 1fr; }
  .verify-card { padding: 20px; }
}
