/* ==========================================================================
   AfroSports Bet — single stylesheet for every page
   Tokens, layout, components. No inline styles anywhere in the site.
   ========================================================================== */

/* --- self-hosted fonts ---------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- tokens --------------------------------------------------------------- */
:root {
  --bg: oklch(0.975 0.004 106.5);
  --surface: oklch(1 0 0);
  --surface-alt: oklch(0.957 0.007 106.5);
  --fg: oklch(0.18 0.004 229);
  --muted: oklch(0.489 0.012 248.1);
  --border: oklch(0.917 0.007 106.5);
  --border-strong: oklch(0.86 0.008 106.5);

  --accent: oklch(0.851 0.174 87.4);
  --accent-strong: oklch(0.79 0.163 86);
  --accent-press: oklch(0.73 0.145 85);
  --accent-deep: oklch(0.62 0.128 84);
  --accent-wash: oklch(0.964 0.05 92.2);

  --success: oklch(0.558 0.138 153.2);
  --danger: oklch(0.543 0.174 29.7);
  --info: oklch(0.555 0.179 257.4);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --ring: var(--fg);
  --shell-gap: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--fg);
  text-wrap: balance;
}

h1 { font-weight: 800; letter-spacing: -0.025em; font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); scroll-margin-top: 96px; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
strong { font-weight: 700; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--surface);
  color: var(--fg);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* --- layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 var(--shell-gap); }
}

.section { padding: 36px 0; }
.section--tight { padding: 20px 0; }
.section--alt { background: var(--surface-alt); }
.section--toc { padding: 22px 0 6px; }
.section--faq { padding-bottom: 44px; }
.section--author { padding: 30px 0 34px; }
@media (min-width: 900px) {
  .section { padding: 52px 0; }
  .section--toc { padding: 26px 0 8px; }
  .section--author { padding: 38px 0 44px; }
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.section-head .eyebrow { margin-bottom: 0; }

.section-index {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fg);
  background: var(--accent-wash);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 3px 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

.lede {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.prose { max-width: 800px; }
.prose > :last-child { margin-bottom: 0; }
.prose a,
.text-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover,
.text-link:hover {
  background: var(--accent-wash);
  text-decoration-color: var(--fg);
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.94rem; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}
.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--fg);
}
.btn-primary:active { background: var(--accent-press); border-color: var(--accent-press); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--surface-alt);
  border-color: var(--fg);
  color: var(--fg);
}
.btn-ghost:active { background: var(--border); }

/* dark surfaces: keep buttons legible, never light-on-light */
.hero .btn-ghost,
.cta-band .btn-ghost,
.sticky-cta .btn-ghost,
.site-footer .btn-ghost {
  color: oklch(1 0 0);
  border-color: oklch(0.65 0.01 240);
}
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.sticky-cta .btn-ghost:hover,
.site-footer .btn-ghost:hover {
  background: oklch(0.32 0.008 240);
  border-color: oklch(0.9 0.01 240);
  color: oklch(1 0 0);
}

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand-logo { width: 42px; height: 42px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  white-space: nowrap;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg);
}
.main-nav a:hover { background: var(--surface-alt); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
}
.burger:hover { background: var(--surface-alt); border-color: var(--fg); }
.burger-box {
  display: block;
  position: relative;
  width: 20px;
  height: 14px;
  margin: 0 auto;
}
.burger-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger-box span:nth-child(1) { top: 0; }
.burger-box span:nth-child(2) { top: 6px; }
.burger-box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  overflow-y: scroll;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block;
  padding: 11px 20px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: var(--surface-alt); }
.mobile-nav a.is-active { box-shadow: inset 4px 0 0 var(--accent); }
.mobile-nav-actions {
  display: grid;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 20px 0;
}

@media (max-width: 960px) {
  .main-nav,
  .header-actions { display: none; }
  .burger { display: block; margin-left: auto; }
}

/* --- breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.89rem;
  color: var(--muted);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "-";
  margin-right: 8px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-underline-offset: 3px;
}
.breadcrumbs a:hover { background: var(--accent-wash); }
.breadcrumbs [aria-current="page"] { color: var(--muted); text-decoration: none; }

/* --- page hero ------------------------------------------------------------ */
.page-hero { padding: 22px 0 6px; }
.page-hero-inner { display: grid; gap: 26px; }
.page-hero h1 { margin-bottom: 0.5em; }
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-hero-media { min-width: 0; }
.page-hero-media img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: var(--surface);
}
@media (min-width: 900px) {
  .page-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
  }
}

.media-frame {
  display: block;
  max-width: max-content;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 48px -34px oklch(0.18 0.004 229 / 0.55);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.media-frame:hover {
  border-color: var(--border-strong);
  box-shadow: 0 26px 54px -32px oklch(0.18 0.004 229 / 0.6);
}

/* --- table of contents ---------------------------------------------------- */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.toc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.toc-summary::-webkit-details-marker { display: none; }
.toc-summary:hover { background: var(--surface-alt); }
.toc-summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.toc[open] .toc-summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc-list {
  margin: 0;
  padding: 0 24px 20px 46px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  columns: 1;
}
@media (min-width: 720px) {
  .toc-list { columns: 2; column-gap: 34px; }
}
.toc-list li { break-inside: avoid; margin-bottom: 0.4em; }
.toc-list a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.96rem;
}
.toc-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* --- content blocks ------------------------------------------------------- */
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent-deep);
  border-bottom: 3px solid var(--accent-deep);
  transform: rotate(-45deg);
}

.steps { list-style: none; padding-left: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 0.85em;
  counter-increment: step;
  min-height: 34px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--fg);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 1.3em;
}
.note-box p:last-child { margin-bottom: 0; }

.cards-grid { display: grid; gap: 16px; margin: 0 0 1.4em; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-card h3 { margin-top: 0; margin-bottom: 0.4em; font-size: 1.05rem; }
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
  .cards-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 0 1.3em;
  padding: 0;
}
.stat {
  flex: 1 1 140px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.odds-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  padding: 2px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
}

/* --- tables --------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 1.4em;
}
.facts-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.facts-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 18px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.facts-table th,
.facts-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.facts-table thead th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.facts-table tbody th { font-weight: 700; }
.facts-table td { font-variant-numeric: tabular-nums; }
.facts-table tbody tr:last-child th,
.facts-table tbody tr:last-child td { border-bottom: 0; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--fg);
  color: oklch(1 0 0);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: oklch(0.851 0.174 87.4 / 0.18);
  pointer-events: none;
}
.cta-band-text { position: relative; }
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  margin: 0 0 6px;
}
.cta-band-note { margin: 0; color: oklch(0.89 0.008 240); }
.cta-band .btn { position: relative; flex: none; }
@media (min-width: 780px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 30px 36px;
  }
  .cta-band-text { max-width: 60ch; }
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-alt); }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--fg);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 10px 20px 18px; }
.faq-answer p { margin: 0; }

/* --- author --------------------------------------------------------------- */
.author-card {
  display: grid;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fg);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.author-body { min-width: 0; }
.author-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 2px;
}
.author-role { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.author-bio { margin: 0 0 10px; }
.author-meta { margin: 0; font-size: 0.89rem; color: var(--muted); }
@media (min-width: 720px) {
  .author-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 26px;
    padding: 28px 30px;
  }
}

/* --- home hero ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--fg);
  color: oklch(1 0 0);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    oklch(1 0 0 / 0.035) 0 2px,
    transparent 2px 22px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 55px;
}
.hero-text { min-width: 0; }
.hero h1 {
  color: oklch(1 0 0);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  margin-bottom: 0.5em;
}
.hero .eyebrow { color: oklch(0.86 0.008 240); }
.hero .lede { color: oklch(0.88 0.008 240); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 26px;
}
.hero .stat-row { margin-bottom: 0; }
.hero .stat {
  background: oklch(0.24 0.006 240);
  border-color: oklch(0.34 0.008 240);
}
.hero .stat-value { color: var(--accent); }
.hero .stat-label { color: oklch(0.84 0.008 240); }
.hero-media img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: oklch(0.24 0.006 240);
}
@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 52px;
    padding-top: 58px;
    padding-bottom: 66px;
  }
}
@media (max-width: 560px) {
  .hero-inner { gap: 26px; padding-top: 30px; padding-bottom: 38px; }
  .hero-actions { margin: 20px 0 20px; flex-direction: column; }
  .stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .stat { padding: 10px 11px; }
  .stat-value { font-size: 1rem; }
  .stat-label { font-size: 0.72rem; line-height: 1.3; }
}

/* --- home section splits -------------------------------------------------- */
.section-grid { display: grid; gap: 28px; }
.section-grid .section-text { min-width: 0; }
.section-media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: var(--surface-alt);
}
@media (min-width: 980px) {
  .section-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    /* align-items: center; */
    gap: 52px;
  }
  .section-grid--reverse .section-media { order: -1; }
}

@media (max-width:479.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.sticky-cta .btn {
  min-height: 40px;
  padding: 6px 14px;
}

/* --- sticky mobile CTA ---------------------------------------------------- */
.sticky-cta { display: none; }

@media (max-width: 960px) {
  body { padding-bottom: 56px; }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    background: var(--fg);
    border-top: 1px solid oklch(0.32 0.008 240);
  }
  .sticky-cta-text {
    min-width: 0;
    color: oklch(1 0 0);
    font-size: 0.82rem;
    line-height: 1.25;
  }
  .sticky-cta-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
  }
  .sticky-cta-text span { color: oklch(0.84 0.008 240); }
  .sticky-cta-actions { display: flex; gap: 8px; flex: none; }
}

@media (max-width: 460px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-actions { flex: 1; }
  .sticky-cta-actions .btn { flex: 1; }
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  background: var(--fg);
  color: oklch(0.92 0.006 240);
  margin-top: 26px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding: 48px 0 8px;
}
.footer-col--about { min-width: 0; }
.footer-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.78 0.01 240);
  margin: 0 0 14px;
}
.footer-text { font-size: 0.94rem; color: oklch(0.86 0.006 240); }
.footer-meta { font-size: 0.9rem; color: oklch(0.8 0.008 240); }
.footer-meta a { color: oklch(1 0 0); }
.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.footer-links li,
.footer-contact li { margin-bottom: 9px; }
.footer-links a,
.footer-contact a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-links a:hover,
.footer-contact a:hover,
.footer-meta a:hover {
  color: oklch(1 0 0);
  border-bottom-color: var(--accent);
}

.footer-payments {
  border-top: 1px solid oklch(0.3 0.008 240);
  padding: 28px 0 6px;
}
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pay-chip {
  border: 1px solid oklch(0.4 0.01 240);
  background: oklch(0.24 0.006 240);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer-badges { padding: 26px 0 6px; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.badge-card {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid oklch(0.42 0.01 240);
  border-radius: var(--radius-sm);
  background: oklch(0.23 0.006 240);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: oklch(0.94 0.006 240);
}
.badge-card:hover {
  background: oklch(0.31 0.008 240);
  border-color: var(--accent);
  color: oklch(1 0 0);
}
.footer-note {
  margin: 0;
  font-size: 0.85rem;
  color: oklch(0.78 0.01 240);
  max-width: 80ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid oklch(0.3 0.008 240);
  margin-top: 26px;
  padding: 20px 0 30px;
  font-size: 0.85rem;
  color: oklch(0.78 0.01 240);
}
.age-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.footer-copy { margin: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
    gap: 40px;
  }
}

/* --- motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

.payments-wrap {
  margin: 30px 0 30px;
}
.payments-wrap h4 {
  color: #fff;
  margin: 0 0 18px;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}