/* GamerThrong site styles. No external fonts or trackers. */
:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface2: #243044;
  --text: #e8eef6;
  --muted: #a9b6c8;
  --accent: #3d9cf0;
  --accent-hover: #5aaff5;
  --secondary: #2ecc9a;
  --border: #2c3a4f;
  --warn: #e8b84a;
  --max: 1080px;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }


.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); font-weight: 600; }
.brand:hover { text-decoration: none; color: var(--text); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
  font-size: 0.92rem;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.3;
}
.btn-primary { background: var(--accent); color: #061018 !important; }
.btn-primary:hover { background: var(--accent-hover); color: #061018 !important; }
.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--muted); background: var(--surface2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.hero {
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(165deg, #152033 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.hero-kicker {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

section { padding: 2.75rem 0; border-bottom: 1px solid var(--border); }
section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  margin: 0 0 0.75rem;
}
section .lede { color: var(--muted); max-width: 40rem; margin: 0 0 1.5rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card a.more { display: inline-block; margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; }

.flagship {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.flagship .tag {
  display: inline-block;
  background: #1e3a2f;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.flagship ul { margin: 0.75rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.flagship li { margin-bottom: 0.35rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #061018;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: var(--text); }
.steps span { color: var(--muted); display: block; font-size: 0.95rem; margin-top: 0.25rem; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill-list li {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(135deg, #1a2f4a, #152433);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); margin: 0 auto 0.5rem; max-width: 36rem; }
.cta-band .btn-row { justify-content: center; }

.page-hero { padding: 2.25rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.page-hero p { color: var(--muted); margin: 0; max-width: 40rem; }
.draft-note {
  background: #3a2e10;
  border: 1px solid #6b5420;
  color: #f0d78c;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}
.stub-body { padding: 1.75rem 0 3rem; }
.stub-body p { color: var(--muted); max-width: 42rem; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .hero { padding-top: 2rem; }
  .header-inner { align-items: flex-start; }
}

/* Prose, report and form styles */
.prose { padding: 1.75rem 0 3rem; }
.prose .wrap > * { max-width: 46rem; }
.prose .wrap > .grid-2,
.prose .wrap > .grid-4,
.prose .wrap > .flagship,
.prose .wrap > .cta-band,
.prose .wrap > .report-block,
.prose .wrap > .table-wrap,
.prose .wrap > form,
.prose .wrap > .btn-row { max-width: none; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.08rem; margin: 1.35rem 0 0.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--text); }

.illustrative-banner {
  background: #3a1520;
  border: 1px solid #8a3048;
  color: #ffc9d6;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.illustrative-banner strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.report-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
.report-meta .card { padding: 0.9rem 1rem; }
.report-meta .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.report-meta .value { color: var(--text); font-weight: 600; font-size: 0.95rem; }

.report-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
}
.report-block h3 { margin-top: 0; }

.sev {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  vertical-align: middle;
}
.sev-crit { background: #5a1a1a; color: #ffb4b4; }
.sev-high { background: #5a3010; color: #ffd0a0; }
.sev-med { background: #4a4010; color: #f0e08a; }
.sev-low { background: #1e3a2f; color: #9ee0c0; }
.sev-obs { background: var(--surface2); color: var(--muted); }

.val {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.val-reviewed { background: #1e3a2f; color: var(--secondary); }
.val-pattern { background: #1a2f4a; color: var(--accent); }
.val-noted { background: var(--surface2); color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table.findings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.findings th, table.findings td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
table.findings th {
  background: var(--surface2);
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.findings td { color: var(--muted); background: var(--surface); }
table.findings td strong { color: var(--text); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.25rem 0;
  max-width: 40rem;
}
.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.85rem 0 0.35rem;
  color: var(--text);
}
.form-card label:first-child { margin-top: 0; }
.form-card .hint {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}
.form-card textarea { min-height: 7rem; resize: vertical; }
.form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .form-card .form-row { grid-template-columns: 1fr; }
}
.form-card .check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-card .check input { width: auto; margin-top: 0.25rem; }
.form-actions { margin-top: 1.25rem; }
.mailto-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Accessibility and navigation */
.skip-link {
  position: absolute; left: 0.5rem; top: -3rem; z-index: 100;
  background: #ffd166; color: #061018; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 0.5rem; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #ffd166; outline-offset: 2px;
}
.prose p a, .prose li a, .lede a, .mailto-note a, .form-card a, .footer-legal a, .card p a { text-decoration: underline; text-underline-offset: 2px; }
.nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.nav a { padding: 0.35rem 0; display: inline-block; min-height: 24px; }
.nav a.btn { padding: 0.65rem 1.15rem; }
.nav-toggle {
  display: none; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 0.55rem 0.9rem;
  font: inherit; font-weight: 600; cursor: pointer; min-height: 44px;
}
.footer-grid a { display: inline-block; padding: 0.2rem 0; min-height: 24px; }
.audience-note { color: var(--muted); font-size: 0.92rem; margin: 0.5rem 0 0; }
.next-steps { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.next-steps h2, .next-steps h3 { margin-top: 0; }
.form-card .req { color: #ffb4b4; font-weight: 700; }
.form-card .error { display: block; color: #ffb4b4; font-weight: 600; font-size: 0.85rem; margin-top: 0.3rem; }
.form-card .error:empty { display: none; }
.form-card [aria-invalid="true"] { border-color: #ff8a8a; }
.form-card fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; margin: 0.85rem 0 0; }
.form-card legend { font-weight: 600; font-size: 0.9rem; padding: 0 0.35rem; color: var(--text); }
.form-card .check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.35rem 0.75rem; }
.form-card .check-grid label { display: flex; gap: 0.5rem; align-items: center; font-weight: 400; margin: 0; color: var(--muted); }
.form-card .check-grid input, .form-card .check input { width: 1.15rem; height: 1.15rem; flex: none; }
.form-status { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; background: var(--surface2); color: var(--text); }
.form-status:empty { display: none; }
.form-status.is-error { background: #3a1520; color: #ffd6df; border: 1px solid #8a3048; }
.copyright { margin: 0.75rem 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .site-header { position: static; }
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.25rem 0 0.75rem; }
  .js .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; min-height: 44px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav a.btn { margin-top: 0.75rem; text-align: center; border-bottom: 0; }
  .header-inner { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.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;
}
/* Tap targets: footer copyright links, card "more" links, form checkboxes */
.copyright a { display: inline-block; padding: 0.2rem 0; min-height: 24px; }
a.more { display: inline-block; padding: 0.15rem 0; min-height: 24px; }
.form-card .check input[type="checkbox"] { width: 24px; height: 24px; }

/* Cookie choice banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface2); border-top: 2px solid var(--accent); box-shadow: 0 -4px 16px rgba(0,0,0,0.4); }
.consent[hidden] { display: none; }
.consent-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.consent-inner p { margin: 0; flex: 1 1 22rem; color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.consent-inner a { text-decoration: underline; text-underline-offset: 2px; }
.consent-inner .btn-row { margin: 0; }
.consent-inner .btn { min-height: 44px; min-width: 96px; }
.cookie-settings { margin: 0.5rem 0 0; }
.link-button { background: none; border: 0; padding: 0.2rem 0; min-height: 24px; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-button:hover { color: var(--accent-hover); }
.link-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header logo (owner artwork, 19 Nov 2026). Brand text 1.15rem -> 1rem so logo + nav keep the existing one-row layout. */
.site-header .brand { font-size: 1rem; }
.brand-logo { display: inline-block; vertical-align: middle; width: 36px; height: 36px; margin-right: 0.5rem; border-radius: 6px; }
@media (max-width: 480px) {
  .brand-logo { width: 32px; height: 32px; margin-right: 0.4rem; }
}
@media (max-width: 359px) {
  .brand-logo { width: 28px; height: 28px; margin-right: 0.35rem; }
}
