/* Self-hosted webfonts (Google Fonts, latin subset) — files live in assets/fonts/ */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700.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-variable.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;
}

/* ==========================================================================
   betX Ethiopia — one stylesheet for all pages
   1. Tokens        5. Layout + sidebar   9. Buttons / CTAs   13. FAQ
   2. Base          6. Article type      10. Media / notes    14. Author
   3. Header        7. Table of contents 11. Tables / lists   15. Footer
   4. Hero          8. Breadcrumbs      12. Sidebar cards     16. Sticky CTA
   ========================================================================== */

/* ------------------------------ 1. Tokens ------------------------------- */
:root {
  color-scheme: dark;

  --bg: #000000;
  --surface: #101213;
  --surface-2: oklch(24.2% 0.0036 228.9);
  --surface-3: oklch(30.1% 0.0023 247.9);
  --fg: #ffffff;
  --fg-soft: oklch(87% 0.0014 286.4);
  --muted: oklch(72.1% 0.0011 197.1);
  --border: oklch(30.1% 0.0023 247.9);
  --border-strong: oklch(40% 0.0028 250);

  --accent: #469758;
  --accent-ink: oklch(68.7% 0.1004 150);
  --accent-hover: oklch(67.2% 0.1047 149.9);
  --accent-soft: oklch(60.9% 0.1236 148.8 / 0.16);
  --on-accent: #0b0d0e;

  --cta: #FCE900;
  --on-cta: #101213;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: 20px;
  --header-h: 74px;

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

  --shadow-soft: 0 18px 40px -28px oklch(0% 0 0 / 0.95);
  --shadow-cta: 0 14px 32px -16px oklch(92% 0.1939 103.5 / 0.45);
}

/* -------------------------------- 2. Base ------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture { max-width: 100%; }

img { height: auto; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: oklch(80.5% 0.0607 151.6); }

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

h1, h2, h3, h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
}

p { margin: 0 0 18px; }
ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--accent-ink); }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ------------------------------- 3. Header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -22px oklch(0% 0 0 / 1); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  width: 96px;
  height: auto;
}

.main-nav { margin-left: 10px; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { margin: 0; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--fg-soft);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.main-nav a:hover { background: var(--surface-2); color: var(--fg); }
.main-nav a[aria-current="page"] { color: var(--fg); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------- 4. Hero ------------------------------- */
.hero {
  padding: 44px 0 34px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 88% 4%, oklch(60.9% 0.1236 148.8 / 0.16), transparent 62%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}
.hero__title {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 56px);
}
.hero__lead {
  max-width: 60ch;
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--fg-soft);
}
.hero__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero__points li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--fg-soft);
}
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__media {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.hero__media a { display: block; }
.hero__media img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 14px auto;
}
.hero__media figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.page-hero {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 90% 0%, oklch(60.9% 0.1236 148.8 / 0.12), transparent 60%),
    var(--bg);
}
.page-hero__title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; }
.page-hero__lead { max-width: 78ch; font-size: 17.5px; color: var(--fg-soft); margin-bottom: 0; }

/* --------------------------- 5. Layout + page body ---------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 44px;
  padding: 40px 0 8px;
  align-items: start;
}
.layout__main { min-width: 0; }

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 18px;
  align-content: start;
}

/* ---------------------------- 6. Article type --------------------------- */
.article h2 {
  margin: 46px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: clamp(26px, 2.8vw, 36px);
}
.article h2::after,
.faq > h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  background: var(--cta);
}
.article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.article h3 {
  margin: 30px 0 12px;
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 600;
}

.article h4 {
  margin: 22px 0 8px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0;
}

.article p { color: var(--fg-soft); }
.article a:not(.btn):not(.link-cta) { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------ 7. Table of contents -------------------------- */
.toc {
  margin: 26px 0 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.toc__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  list-style: none;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::after {
  content: "";
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.toc[open] .toc__summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.toc__summary:hover,
.toc__summary:focus-visible { outline: 1px solid var(--accent); outline-offset: -2px; }
.toc__list {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding: 6px 18px 18px;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 15px;
}
.toc__list li { margin: 0; break-inside: avoid; }
.toc__list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--fg-soft);
}
.toc__list a:hover { color: var(--fg); text-decoration: underline; }

/* --------------------------- 8. Breadcrumbs ---------------------------- */
.breadcrumbs { margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { display: inline-flex; align-items: center; margin: 0; }
.breadcrumbs li + li::before {
  content: "-";
  margin-right: 8px;
  color: var(--border-strong);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current="page"] { color: var(--fg-soft); }

/* ------------------------- 9. Buttons and CTAs -------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease;
}
.btn--primary {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--on-cta);
}
.btn--primary:hover {
  color: var(--on-cta);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px oklch(92% 0.1939 103.5 / 0.28), var(--shadow-cta);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--fg);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -16px oklch(0% 0 0 / 0.95);
}
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-ink);
}
.link-cta::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.link-cta:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------- 10. Media, notes --------------------------- */
.media {
  margin: 26px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.media a { display: block; }
.media a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.media img { display: block; width: 100%; }
.media figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.note__label {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.note p:last-child { margin-bottom: 0; }

/* -------------------------- 11. Tables and lists ------------------------ */
.table-wrap {
  margin: 24px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
caption {
  caption-side: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
th, td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}
tbody th {
  width: 38%;
  font-weight: 600;
  color: var(--fg);
}
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--fg-soft); }
tbody tr:hover th,
tbody tr:hover td {
  background: oklch(24.2% 0.0036 228.9 / 0.55);
  color: var(--fg);
}

.list-plain { list-style: none; padding-left: 0; }
.list-plain li {
  position: relative;
  padding-left: 18px;
}
.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.list-numbered { counter-reset: step; list-style: none; padding-left: 0; }
.list-numbered li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 42px;
  counter-increment: step;
}
.list-numbered li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

/* --------------------------- 12. Sidebar cards -------------------------- */
.sidebar__card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.sidebar__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sidebar__card > :last-child { margin-bottom: 0; }

.facts { margin: 0; font-size: 14.5px; }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--fg); }

.promo-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, oklch(60.9% 0.1236 148.8 / 0.14), transparent 70%), var(--surface);
}
.promo-card__rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.promo-card__rating span { font-size: 15px; font-weight: 600; color: var(--muted); }
.promo-card p { font-size: 14.5px; color: var(--fg-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--fg-soft);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
a.chip:hover { border-color: var(--accent); color: var(--fg); }

.sidebar__nav { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.sidebar__nav li { margin: 0; border-bottom: 1px solid var(--border); }
.sidebar__nav li:last-child { border-bottom: 0; }
.sidebar__nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--fg-soft);
}
.sidebar__nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------- 13. FAQ ------------------------------- */
.faq { display: grid; gap: 12px; margin: 24px 0 30px; }
.faq > h2 { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 36px); }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item summary:hover { outline: 1px solid var(--accent); outline-offset: -2px; }
.faq__answer { padding: 5px 18px 18px; }
.faq__answer p { margin-bottom: 12px; color: var(--fg-soft); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__item[open] summary { border-bottom: 1px solid var(--border); }

/* ------------------------------ 14. Author ------------------------------ */
.author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.author__avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.author__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}
.author__meta { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.author__bio { margin: 0; font-size: 15px; color: var(--fg-soft); }

/* ------------------------------- 15. Footer ----------------------------- */
.site-footer {
  margin-top: 64px;
  padding-top: 46px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-col h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col p { font-size: 14.5px; color: var(--fg-soft); }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { display: block; width: 104px; height: auto; }

.footer-contact { margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.footer-contact li { margin-bottom: 8px; color: var(--fg-soft); }
.footer-contact a { color: var(--fg-soft); }
.footer-contact a:hover { color: var(--fg); }

.footer-links { margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.footer-links li { margin: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--fg-soft);
}
.footer-links a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.age-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.age-notice img { flex: 0 0 auto; width: 44px; height: 44px; }
.age-notice p { margin: 0; font-size: 13.5px; color: var(--muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------------------------- 16. Sticky CTA ---------------------------- */
.sticky-cta {
  position: fixed;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 -14px 40px -18px oklch(0% 0 0 / 1);
}
.sticky-cta .btn { min-height: 40px; padding: 0 10px; font-size: 15px; }

/* ---------------------------- 17. Responsive ---------------------------- */
@media (max-width: 1180px) {
  .hero__inner { gap: 30px; }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
}

@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-card { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  :root { --header-h: 66px; }

  .burger { display: flex; }
  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 79;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    margin: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a {
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .main-nav li:last-child a { border-bottom: 0; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }

  .main-nav li a {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .burger { margin-left: auto; }
  .sticky-cta { display: grid; }
  body { padding-bottom: 60px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .hero__points { grid-template-columns: minmax(0, 1fr); }
  .faq__item summary { font-size: 17.5px; }
  .chip { min-height: 44px; }
  .toc__list a { min-height: 44px; }
  .sidebar__nav a, .footer-links a { min-height: 44px; }
  .footer-links a, .sidebar__nav a { width: 100%; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .toc__list { columns: 1; }
  .hero { padding: 30px 0 26px; }
  .page-hero { padding: 26px 0 20px; }
  .layout { padding: 30px 0 8px; gap: 26px; }
  .author { flex-direction: column; gap: 14px; }
  .cta-row .btn { width: 100%; }
  .btn { width: 100%; }
  .cta-row { gap: 10px; }
  .table-wrap table { font-size: 14.5px; }
  th, td { padding: 11px 14px; }
}

@media (max-width: 520px) {
  .brand img { width: 84px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .article h2 { font-size: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-hero__lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !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: 10px 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;
  }
}