/* Tokens, base, layout, components, utilities (mobile-first) */
:root {
  --red-600: #d6201f;
  --red-700: #b5121b;
  --red-900: #6e0b12;
  --red-50: #fff1f1;
  --red-100: #ffe0e0;
  --gold-500: #f2b33d;
  --gold-600: #d9952a;
  --gold-50: #fff8e8;
  --ink-900: #1d1d24;
  --ink-700: #41414d;
  --ink-500: #6b6b78;
  --ink-300: #c9c9d2;
  --ink-100: #f1f1f5;
  --white: #fff;
  --bg: #f6f6f9;
  --surface: #fff;
  --border: #e6e6ec;
  --ok: #1f8a4c;
  --warn: #b26b00;
  --info: #2457c5;
  --grad-brand: linear-gradient(135deg, #e8322b 0%, #b5121b 55%, #6e0b12 100%);
  --grad-gold: linear-gradient(135deg, #ffd66b, #f2b33d 50%, #d9952a);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 10, 10, 0.06), 0 1px 3px rgba(20, 10, 10, 0.08);
  --shadow: 0 4px 14px rgba(110, 11, 18, 0.1);
  --shadow-lg: 0 12px 32px rgba(110, 11, 18, 0.16);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --container: 1140px;
  --header-h: 60px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--bg);
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--red-700);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--red-900);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--ink-900);
}
h1 {
  font-size: clamp(1.65rem, 5vw, 2.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  font-weight: 700;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
p {
  margin: 0 0 var(--space-4);
}
ul,
ol {
  padding-left: 1.25rem;
  margin: 0 0 var(--space-4);
}
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 14px;
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 8px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: var(--space-7) 0;
}
.section--tint {
  background: var(--white);
}
.section--brand {
  background: var(--grad-brand);
  color: var(--white);
}
.section--brand h2,
.section--brand h3 {
  color: var(--white);
}
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-5);
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 6px;
}
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}
.grid--cats {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--cats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .section {
    padding: var(--space-8) 0;
  }
}
.prose {
  max-width: 760px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.logo:hover {
  color: var(--white);
}
.logo__mark {
  width: 34px;
  height: 34px;
}
.nav {
  margin-left: auto;
}
.nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.nav__list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.header-cta {
  display: none;
  gap: 8px;
}
.nav-toggle {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 960px) {
  .header-cta {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .nav__list {
    display: flex;
  }
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.drawer[data-open="true"] {
  display: block;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 5, 8, 0.55);
}
.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: var(--white);
  padding: var(--space-5) var(--space-4);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slide 0.2s ease-out;
}
@keyframes slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
.drawer__panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.drawer__panel li a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
}
.drawer__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--ink-100);
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}
.drawer__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 700;
  margin: var(--space-4) 0 4px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--grad-gold);
  color: var(--red-900);
  box-shadow: 0 4px 12px rgba(217, 149, 42, 0.35);
}
.btn--primary:hover {
  color: var(--red-900);
}
.btn--light {
  background: var(--white);
  color: var(--red-700);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}
.btn--outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}
.btn--ghost {
  background: var(--red-50);
  color: var(--red-700);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  padding: var(--space-3) 0;
  color: var(--ink-500);
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
  color: var(--ink-300);
}
.breadcrumb a {
  color: var(--ink-700);
  text-decoration: none;
}
.breadcrumb [aria-current] {
  color: var(--ink-900);
  font-weight: 600;
}

/* Hero */
.hero {
  background: var(--grad-brand);
  color: var(--white);
  padding: var(--space-6) 0 var(--space-7);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.35), transparent 70%);
}
.hero h1 {
  color: var(--white);
}
.hero__lead {
  font-size: 1.05rem;
  max-width: 640px;
  opacity: 0.95;
}
.hero__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) 0 var(--space-6);
}
.answer-box {
  background: var(--red-50);
  border-left: 4px solid var(--red-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4);
  margin-top: var(--space-4);
  max-width: 760px;
}
.answer-box strong {
  color: var(--red-700);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin-top: 0;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-decoration: none;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink-900);
}
.cat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: var(--gold-500);
}
.cat-card__icon svg {
  width: 28px;
  height: 28px;
}
.cat-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}
.cat-card__text {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.cat-card__more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-700);
}
.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.game-card__art {
  aspect-ratio: 16/7;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: var(--gold-500);
  position: relative;
}
.game-card__art svg {
  width: 56px;
  height: 56px;
}
.game-card__body {
  padding: var(--space-4);
}
.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* Tags / badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink-100);
  color: var(--ink-700);
}
.tag--red {
  background: var(--red-100);
  color: var(--red-700);
}
.tag--gold {
  background: var(--gold-50);
  color: var(--gold-600);
}
.tag--verify {
  background: #fff4d6;
  color: #7a5200;
  border: 1px dashed #d9a400;
}
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid currentColor;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Steps / flow */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: var(--space-3);
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--space-4) var(--space-4) var(--space-4) 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.steps li strong {
  display: block;
  margin-bottom: 2px;
}
.flow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 600;
  position: relative;
  text-align: center;
}
.flow li:not(:last-child)::after {
  content: "↓";
  display: block;
  color: var(--red-600);
  font-weight: 800;
}
@media (min-width: 760px) {
  .flow {
    flex-direction: row;
    align-items: stretch;
  }
  .flow li {
    flex: 1;
  }
  .flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: var(--space-4);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  background: var(--red-700);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:nth-child(even) {
  background: #fafafc;
}
tbody tr:last-child td {
  border-bottom: 0;
}

/* Callouts */
.callout {
  display: flex;
  gap: 12px;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid;
  margin-bottom: var(--space-4);
}
.callout__icon {
  flex: 0 0 auto;
  font-size: 1.2rem;
  line-height: 1.4;
}
.callout--warn {
  background: #fff7e6;
  border-color: #f3cf86;
  color: #5a3d00;
}
.callout--info {
  background: #eef3ff;
  border-color: #bcd0ff;
  color: #1b3f8f;
}
.callout--rg {
  background: var(--red-50);
  border-color: var(--red-100);
  color: var(--red-900);
}
.callout p:last-child {
  margin-bottom: 0;
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--white);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-top: 3px;
}

/* FAQ */
.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 820px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 var(--space-4);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: var(--space-4) 28px var(--space-4) 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red-600);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details > div {
  padding-bottom: var(--space-4);
}

/* Phone mockup */
.phone {
  width: min(100%, 280px);
  margin: 0 auto;
  aspect-ratio: 9/18.5;
  border-radius: 36px;
  background: #111;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__bar {
  background: var(--grad-brand);
  color: var(--white);
  padding: 14px 12px;
  font-weight: 800;
  font-family: var(--font-display);
}
.phone__body {
  padding: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
}
.phone__tile {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--red-700);
  text-align: center;
}
.phone__banner {
  grid-column: 1/-1;
  aspect-ratio: 2.2/1;
  border-radius: 12px;
  background: var(--grad-gold);
}
.phone__tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-top: 1px solid var(--border);
  font-size: 0.55rem;
  text-align: center;
  padding: 8px 0;
  color: var(--ink-500);
  font-weight: 700;
}

/* Related links */
.related {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .related {
    grid-template-columns: repeat(3, 1fr);
  }
}
.related a {
  display: block;
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
}
.related a span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-500);
}
.related a:hover {
  border-color: var(--red-600);
}

/* RG strip + footer */
.rg-strip {
  background: var(--red-900);
  color: #ffe9e9;
  font-size: 0.88rem;
  padding: var(--space-3) 0;
}
.rg-strip .container {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rg-strip a {
  color: var(--gold-500);
}
.site-footer {
  background: #1a0a0d;
  color: #d9c9cb;
  padding: var(--space-7) 0 var(--space-5);
  font-size: 0.92rem;
}
.site-footer a {
  color: #f3e3e5;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold-500);
}
.footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}
.footer-grid h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 8px;
}
.footer-brand {
  grid-column: 1/-1;
}
@media (min-width: 960px) {
  .footer-brand {
    grid-column: auto;
  }
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  font-size: 0.8rem;
  color: #a89497;
}

/* Bottom tab bar (mobile) */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-500);
  text-decoration: none;
}
.tabbar a svg {
  width: 22px;
  height: 22px;
}
.tabbar a[aria-current="page"] {
  color: var(--red-600);
}
body.has-tabbar {
  padding-bottom: 68px;
}
@media (min-width: 960px) {
  .tabbar {
    display: none;
  }
  body.has-tabbar {
    padding-bottom: 0;
  }
}
.draft-banner {
  background: #fff4d6;
  color: #5a3d00;
  font-size: 0.82rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid #f3cf86;
}
.verify-note {
  font-size: 0.82rem;
  color: var(--ink-500);
}
.diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.hub {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .hub {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.hub__node {
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--red-50);
  border: 1px solid var(--red-100);
}
.hub__node h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--red-700);
}
.hub__node ul {
  margin: 0;
  font-size: 0.9rem;
}
.hub__core {
  background: var(--grad-brand);
  color: var(--white);
  text-align: center;
  display: grid;
  place-items: center;
  border: 0;
}
.hub__core h3 {
  color: var(--white);
  font-size: 1.2rem;
}
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  max-width: 760px;
}
.toc ol {
  margin: 0;
  columns: 1;
}
@media (min-width: 640px) {
  .toc ol {
    columns: 2;
  }
}
.content {
  display: grid;
  gap: var(--space-6);
}
.content > section {
  scroll-margin-top: 80px;
}
.two-col {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.content {
  grid-template-columns: minmax(0, 1fr);
}
.content > section,
.two-col > * {
  min-width: 0;
}
figure {
  margin: 0;
}
.page-hero + .section {
  padding-top: var(--space-4);
}
/* Screenshot guide layout */
.shot-guide {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 760px) {
  .shot-guide {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .shot-guide .shot {
    position: sticky;
    top: 96px;
    order: 2;
  }
}
.shot {
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
}
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #f6f6fb;
}
.shot figcaption {
  font-size: 0.875rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--space-3);
}
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.cta-panel p {
  margin: 0;
  max-width: 46ch;
}
/* Images, tiles and banners */
.logo__img {
  height: 40px;
  width: auto;
}
.site-footer .logo__img {
  height: 48px;
}
.cat-card__icon--img {
  background: none;
  width: auto;
  height: 64px;
  border-radius: 0;
  justify-content: start;
}
.cat-card__icon--img img {
  height: 64px;
  width: auto;
}
.game-card__art img {
  height: 86%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
@media (min-width: 600px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink-900);
}
.tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 333/450;
  object-fit: cover;
}
.tile span {
  padding: 8px 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}
.tile small {
  display: block;
  font-weight: 400;
  color: var(--ink-500);
  font-size: 0.78rem;
}
a.tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.banner {
  margin: 0 0 var(--space-5);
}
.banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.inline-icon {
  width: 72px;
  height: auto;
  float: right;
  margin: 0 0 8px 12px;
}
.inline-icon--card {
  width: 120px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.game-card__art:has(img) {
  aspect-ratio: auto;
  height: 170px;
}
.game-card__art img {
  height: 140px;
  width: auto;
  max-width: 80%;
}

.page-meta {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 8px 0 0;
}
.hero .page-meta {
  color: #ffd9d9;
}
.hero .page-meta {
  margin: 4px 0 14px;
}

/* Navigation dropdowns */
.nav__item {
  position: relative;
}
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav__caret {
  font-size: 0.7rem;
  opacity: 0.85;
}
.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 70;
}
.has-menu:hover .nav__menu,
.has-menu:focus-within .nav__menu {
  display: block;
}
.nav__menu a {
  display: block;
  color: var(--ink-900) !important;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  background: none !important;
}
.nav__menu a:hover {
  background: var(--ink-100) !important;
  color: var(--red-700) !important;
}
.has-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
@media (min-width: 1024px) {
  .nav__list {
    gap: 2px;
  }
  .nav__list > li > a {
    padding: 8px 12px;
  }
}

/* Hero screenshot and fact chips */
.hero__facts {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__facts li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.9rem;
}
.hero__facts strong {
  color: var(--gold-500);
}
.hero__shot {
  margin: 0 auto;
  width: min(100%, 260px);
  position: relative;
  z-index: 1;
}
.hero__shot img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 8px solid #111;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero__shot figcaption {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 8px;
}
@media (max-width: 959px) {
  .hero__shot {
    width: min(100%, 220px);
  }
}
/* Header buttons visible at all widths */
.header-cta {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-toggle {
  margin-left: 8px;
}
@media (max-width: 1023px) {
  .header-cta .btn {
    padding: 7px 14px;
    font-size: 0.85rem;
    min-height: 0;
  }
}
@media (min-width: 1024px) {
  .header-cta {
    margin-left: 8px;
  }
}
/* Step list inside cards: vertical, numbered */
.card .flow {
  flex-direction: column;
  counter-reset: fs;
  gap: 8px;
}
.card .flow li {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 10px 14px;
  counter-increment: fs;
}
.card .flow li::before {
  content: counter(fs);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.card .flow li:not(:last-child)::after {
  content: none;
}
