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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--background);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--primary-ink);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(246, 248, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), #3d78d1 55%, var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--primary-ink);
}

.main-nav a.cta {
  background: var(--primary);
  color: #fff;
  padding-inline: 0.95rem;
}

.main-nav a.cta:hover {
  background: var(--primary-ink);
  color: #fff;
}

.header-cta,
.header-cta-ghost,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0.78rem 1.1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary,
.header-cta {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--primary-ink);
  color: #fff;
}

.btn-ghost,
.header-cta-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover,
.header-cta-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  filter: brightness(0.95);
  color: #fff;
}

.hamburger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 38, 56, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 260;
}

body.nav-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 270;
  transform: translateX(104%);
  transition: transform 0.22s ease;
  padding: 5.5rem 1.25rem 2rem;
  overflow: auto;
}

body.nav-open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer nav {
  display: grid;
  gap: 0.35rem;
}

.mobile-drawer a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: var(--background);
  border: 1px solid var(--border);
}

.mobile-drawer a.cta {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-align: center;
}

.category-rail {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: var(--header-h);
  z-index: 200;
}

.category-rail-inner {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.55rem 0;
  scrollbar-width: none;
}

.category-rail-inner::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  background: transparent;
}

.category-rail a:hover,
.category-rail a[aria-current="page"] {
  color: var(--primary-ink);
  background: var(--surface-2);
  border-color: var(--border);
}

/* Signature modular score strip */
.score-strip {
  background: linear-gradient(180deg, #12233f 0%, #1b3358 100%);
  color: #eef4ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.score-strip-inner {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: thin;
}

.score-chip {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.score-chip .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(238, 244, 255, 0.72);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.score-chip .teams {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-chip .status {
  color: #9ad7ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.score-chip.live .status {
  color: #7dffa8;
}

/* Sections */
main {
  padding-bottom: calc(var(--sticky-cta-h) + 1.5rem);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 56px);
}

.section {
  padding: 2.6rem 0;
}

.section.tonal {
  background: var(--surface-2);
}

.section.surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.55rem;
}

.section-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-lede {
  margin: 0 0 1.4rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Hero compact-feed / image-led dispatch */
.hero-dispatch {
  padding: 1.4rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-lead {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: #0f1c33;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-lead-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.35rem 1.3rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 34, 0.88) 55%);
  color: #fff;
}

.hero-lead-overlay h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.hero-lead-overlay p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-actions .btn {
  color: #fff;
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dispatch-list {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.dispatch-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.dispatch-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}

.dispatch-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.dispatch-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dispatch-card .stamp {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

/* Numbered editorial index */
.index-rail {
  display: grid;
  gap: 0.75rem;
}

.index-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.index-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary-ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--mono);
}

.index-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.index-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.index-item time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Decision table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.data-table th,
table.data-table td {
  padding: 0.85rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.data-table th {
  background: var(--surface-2);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* Analysis stack */
.analysis-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
}

.feature-lead,
.side-note,
.card,
.data-card,
.step-card,
.loose-card,
.hub-card,
.team-panel,
.player-card,
.guide-card,
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.feature-lead {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.feature-lead img,
.side-note img,
.player-card img,
.team-panel img,
.guide-card img,
.news-card img,
.page-hero img,
.inline-image-row img,
.content-figure img {
  width: 100%;
  object-fit: cover;
}

.feature-lead img {
  aspect-ratio: 16 / 10;
}

.feature-lead .body,
.side-note,
.card,
.data-card,
.loose-card,
.hub-card,
.guide-card .body,
.news-card .body,
.team-panel .body,
.player-card .body {
  padding: 1.05rem 1.1rem 1.15rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.side-note img {
  aspect-ratio: 16 / 9;
}

/* Expert note */
.expert-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(36, 87, 167, 0.1), rgba(160, 68, 197, 0.08));
  border: 1px solid var(--border);
}

.expert-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
}

.expert-note blockquote {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.expert-note cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Topic / chapter rail */
.chapter-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.chapter-chip {
  scroll-snap-align: start;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 750;
  font-size: 0.9rem;
  white-space: nowrap;
}

.chapter-chip.is-active,
.chapter-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Safety desk */
.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.checklist .tick {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(15, 122, 74, 0.12);
  color: var(--success);
  font-weight: 800;
}

/* Grids */
.card-grid,
.hub-grid,
.team-grid,
.player-grid,
.guide-grid,
.news-grid,
.stat-grid,
.step-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.cols-3,
.hub-grid,
.team-grid,
.guide-grid,
.news-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h3,
.data-card h3,
.loose-card h3,
.hub-card h3,
.team-panel h3,
.player-card h3,
.guide-card h3,
.news-card h3,
.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card p,
.data-card p,
.loose-card p,
.hub-card p,
.team-panel p,
.player-card p,
.guide-card p,
.news-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-tile {
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-tile .num {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-tile .label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.step-card {
  padding: 1.1rem;
  position: relative;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
}

.loose-card {
  padding: 1.15rem 1.2rem;
  background: linear-gradient(135deg, rgba(36, 87, 167, 0.08) 0%, rgba(160, 68, 197, 0.05) 100%);
  border: 1px solid rgba(36, 87, 167, 0.22);
}

.band {
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #16345f, #2457A7 55%, #6b3d9b);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-band h2,
.cta-band p {
  margin: 0;
  color: #fff;
}

.cta-band p {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-ink);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0;
}

.inline-image-row.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.inline-image-row img,
.content-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  width: 100%;
}

.content-figure {
  margin: 1.4rem 0;
}

.content-figure figcaption,
.inline-image-row figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.2rem 0 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 280px;
  background: #12233f;
}

.page-hero img {
  width: 100%;
  min-height: 320px;
  max-height: 460px;
  object-fit: cover;
}

.page-hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 34, 0.9));
  color: #fff;
}

.page-hero-copy h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.page-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 58ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  margin: 1rem 0 0;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.4rem;
}

.toc strong {
  display: block;
  margin-bottom: 0.5rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.toc a {
  text-decoration: none;
  font-weight: 650;
}

.article-body h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.article-body h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.55rem;
  color: var(--primary-ink);
}

.faq p {
  margin: 0;
  color: var(--muted);
}

.compliance-strip {
  background: #fff8e8;
  border-bottom: 1px solid #f0dfb0;
  color: #5c4009;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.55rem 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-item {
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #101b2d;
  color: rgba(238, 244, 255, 0.88);
  padding: 3rem 0 7rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer a {
  color: rgba(238, 244, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ad7ff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-brand p {
  color: rgba(238, 244, 255, 0.7);
  max-width: 36ch;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: rgba(238, 244, 255, 0.6);
  font-size: 0.86rem;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 240;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(246, 248, 252, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: none;
}

.mobile-sticky-cta .btn {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* Portrait cards */
.player-card img,
.team-panel img.portrait {
  aspect-ratio: 3 / 4;
}

.team-panel img.wide,
.guide-card img,
.news-card img {
  aspect-ratio: 16 / 10;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--primary-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

/* Desktop nav */
@media (min-width: 980px) {
  .main-nav {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .header-cta-ghost {
    display: inline-flex;
  }
}

@media (max-width: 979px) {
  .header-cta,
  .header-cta-ghost {
    display: none;
  }
  .mobile-sticky-cta {
    display: block;
  }
  .hero-grid,
  .analysis-stack,
  .safety-grid,
  .inline-image-row,
  .inline-image-row.reverse,
  .cta-band,
  .footer-grid,
  .card-grid.cols-3,
  .hub-grid,
  .team-grid,
  .guide-grid,
  .news-grid,
  .stat-grid,
  .step-grid,
  .faq-grid,
  .player-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .index-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .index-item time {
    grid-column: 2;
  }
  .hero-lead,
  .hero-lead img {
    min-height: 480px;
    max-height: 720px;
  }
  .page-hero img {
    min-height: 280px;
    max-height: 420px;
  }
  .dispatch-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .dispatch-card img {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 16px;
  }
  .container {
    width: min(100% - 1.25rem, var(--container));
  }
  .hero-lead-overlay h1,
  .page-hero-copy h1 {
    font-size: 1.7rem;
  }
  .btn,
  .header-cta,
  .main-nav a {
    white-space: nowrap;
  }
}


/* Desk grid/cards used on homepage games panel */
.desk-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.desk-grid > * {
  min-width: 0;
}
.desk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.desk-card:hover,
.desk-card:focus-visible {
  border-color: rgba(36, 87, 167, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  outline: none;
}
.desk-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}
.desk-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 899px) {
  .desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .desk-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility aliases required by verify gates */
.data-card,
.step-card,
.step-num,
.loose-card,
.band,
.faq-grid,
.card {
  border-style: solid;
}

.card {
  padding: 1.1rem;
  border-width: 1px;
}

/* Prevent grid blowout */
.hero-grid > *,
.analysis-stack > *,
.safety-grid > *,
.inline-image-row > *,
.footer-grid > *,
.card-grid > *,
.hub-grid > *,
.team-grid > *,
.player-grid > *,
.guide-grid > *,
.news-grid > *,
.stat-grid > *,
.step-grid > *,
.faq-grid > * {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
