/* ==========================================================================
   Harif Sport — affiliate review template
   One stylesheet for every page. Dark stadium palette, condensed display type.
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  --bg: #000000;
  --surface: #282828;
  --surface-raised: oklch(21% 0 0);
  --surface-deep: oklch(14% 0 0);
  --fg: #ffffff;
  --muted: oklch(74% 0.008 65);
  --border: oklch(33% 0.008 65);
  --border-strong: oklch(46% 0.008 65);
  --accent: #d77d2e;
  --accent-hover: color-mix(in oklab, var(--accent) 84%, #ffffff);
  --accent-ink: #000000;
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --success: oklch(76% 0.16 150);

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(48px, 7vw, 82px);
  --radius: 2px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--fg);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

p,
ul,
ol,
dl,
table,
figure,
blockquote {
  margin-top: 0;
}

p {
  margin-bottom: 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--fg);
  font-weight: 700;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.cta-sheet .btn-primary:focus-visible {
  outline-color: var(--fg);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--accent-ink);
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.btn svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / 18%);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--fg);
  transform: translateY(-1px);
}

.btn-quiet {
  padding-inline: 4px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  min-height: 40px;
  color: var(--fg);
}

.btn-quiet:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
  transform: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.78rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, #000000 94%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, #000000 97%, transparent);
  box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand:hover {
  color: var(--fg);
}

.brand-plate {
  display: grid;
  place-items: center;

}

.brand-plate img {
  display: block;
  width: auto;
  height: 32px;
}


.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: oklch(84% 0.006 65);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--fg);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-login {
  color: oklch(84% 0.006 65);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-login:hover {
  color: var(--fg);
}

.header-cta {
  border-color: var(--accent);
  color: var(--accent);
}

.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero — home
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(880px 440px at 84% -12%, color-mix(in oklab, var(--accent) 19%, transparent), transparent 68%),
    radial-gradient(600px 340px at 8% 112%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%),
    linear-gradient(180deg, #050505 0%, #000000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 70%), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 70%), transparent 78%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 76px) clamp(40px, 5vw, 62px);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.3vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  max-width: 57ch;
  margin-bottom: 26px;
  color: oklch(84% 0.008 65);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-facts li {
  margin: 0;
  padding: 0 16px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong {
  display: block;
  margin-bottom: 3px;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-frame {
  position: relative;
  display: block;
  padding: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 36px 80px rgb(0 0 0 / 62%);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000000;
}

.hero-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgb(0 0 0 / 40%);
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.hero-caption span:last-child {
  color: oklch(84% 0.006 65);
}

.disclaimer-inline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Market strip
   -------------------------------------------------------------------------- */

.market-strip {
  border-bottom: 1px solid var(--border);
  background: var(--surface-deep);
}

.market-strip-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  overflow: hidden;
}

.market-strip-label {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-strip ul {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.market-strip ul::-webkit-scrollbar {
  display: none;
}

.market-strip li {
  margin: 0;
  color: oklch(80% 0.006 65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-strip li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  background: var(--border-strong);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Page hero — interior pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(720px 340px at 88% -20%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%),
    linear-gradient(180deg, #040404, #000000);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 60%), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 60%), transparent 85%);
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(30px, 4.5vw, 58px);
  align-items: center;
  padding-block: clamp(30px, 4vw, 48px) clamp(38px, 5vw, 58px);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.35rem);
  max-width: 22ch;
}

.page-lede {
  max-width: 62ch;
  margin-bottom: 24px;
  color: oklch(84% 0.008 65);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.66;
}

.page-hero-media {
  margin: 0;
}

.page-hero-media .media-link {
  padding: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 24px 60px rgb(0 0 0 / 50%);
}

.page-hero-media figcaption {
  margin-top: 10px;
}

/* Breadcrumbs */

.breadcrumbs {
  margin-bottom: 22px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs li + li::before {
  content: "-";
  color: var(--border-strong);
}

.breadcrumbs a {
  color: oklch(84% 0.006 65);
  text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Article shell
   -------------------------------------------------------------------------- */

.article {
  padding-block: clamp(18px, 2.4vw, 30px) clamp(56px, 7vw, 90px);
}

.article-inner {
  width: 100%;
}

.article--legal .article-inner {
  width: min(100%, 780px);
  margin-inline: auto;
}

.toc {
  margin: 0 0 30px;
  border: 1px solid var(--border);
  background: var(--surface-deep);
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

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

.toc summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 0.7;
}

.toc[open] summary::after {
  content: "\2013";
}

.toc ol {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding: 2px 18px 18px 38px;
}

.toc li {
  margin: 0 0 8px;
  break-inside: avoid;
  color: var(--muted);
  font-size: 0.86rem;
}

.toc a {
  color: oklch(86% 0.006 65);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Review sections
   -------------------------------------------------------------------------- */

.review-section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}

.review-section:first-of-type {
  border-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}

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

.section-kicker {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  text-wrap: balance;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.section-grid--reverse .section-copy {
  order: 2;
}

.section-grid--reverse .section-media {
  order: 1;
}

.section-copy {
  max-width: 67ch;
}

.section-copy > :last-child {
  margin-bottom: 0;
}

.section-copy h3 {
  margin: 30px 0 10px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.section-copy h3:first-child {
  margin-top: 0;
}

.section-media {
  margin: 0;
}

.media-link {
  display: block;
  padding: 7px;
  border: 1px solid var(--border);
  background: var(--surface-deep);
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.media-link:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.media-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000000;
}

.section-media figcaption,
.page-hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Prose
   -------------------------------------------------------------------------- */

.prose > p,
.prose > .note,
.prose > .table-wrap,
.prose > ul,
.prose > ol {
  margin-bottom: 1.35em;
}

.prose h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.05;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.9em 0 0.55em;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.prose ul,
.prose ol {
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.6em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.prose ol {
  counter-reset: prose-counter;
}

.prose ol li {
  padding-left: 32px;
  counter-increment: prose-counter;
}

.prose ol li::before {
  content: counter(prose-counter, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.section-copy ul,
.section-copy ol {
  padding-left: 0;
  list-style: none;
}

.section-copy ul li,
.section-copy ol li {
  position: relative;
  padding-left: 22px;
}

.section-copy ul li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.section-copy ol {
  counter-reset: section-counter;
}

.section-copy ol li {
  padding-left: 32px;
  counter-increment: section-counter;
}

.section-copy ol li::before {
  content: counter(section-counter, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.95;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--surface-deep);
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px !important;
}

.table-wrap:focus-visible {
  outline-offset: 2px;
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.55;
}

.data-table caption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: oklch(82% 0.006 65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
}

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

.data-table thead th {
  background: var(--surface);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody th {
  color: var(--fg);
  font-weight: 700;
  white-space: nowrap;
}

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

.data-table tbody tr:hover {
  background: color-mix(in oklab, var(--accent) 6%, transparent);
}

.data-table td {
  color: oklch(84% 0.006 65);
}

.data-table .nowrap {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Notes, feature cards, steps
   -------------------------------------------------------------------------- */

.note {
  padding: 18px 20px;
  border-top: 2px solid var(--accent);
  background: var(--surface);
}

.note p {
  margin-bottom: 0.6em;
  font-size: 0.9rem;
}

.note p:last-child {
  margin-bottom: 0;
}

.note-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.feature-card {
  padding: 18px;
  background: var(--surface-deep);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.step-list {
  padding-left: 0;
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  position: relative;
  padding: 0 0 20px 46px;
  margin: 0;
  border-left: 1px solid var(--border);
  counter-increment: step-counter;
}

.step-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.step-list li::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  top: -4px;
  left: -1px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.step-list h3 {
  margin: 0 0 5px;
  font-size: 0.98rem;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 32px;
  align-items: center;
  margin-top: 8px;
  padding: 28px 30px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 12%, transparent), transparent 58%),
    var(--surface-deep);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 76px;
  height: 2px;
  background: var(--accent);
}

.cta-band-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.cta-band p:not(.cta-band-title) {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cta-band .btn-group {
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Author
   -------------------------------------------------------------------------- */

.author-box {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 0;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface-deep);
}

.prose .author-box {
  margin-top: 40px;
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.author-box .eyebrow {
  margin-bottom: 6px;
  font-size: 0.62rem;
}

.author-name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.author-bio {
  margin: 0 0 8px;
  color: oklch(84% 0.006 65);
  font-size: 0.86rem;
  line-height: 1.6;
}

.author-meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  margin-top: var(--section-y);
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.faq > h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;
  padding: 18px 44px 18px 0;
  color: var(--fg);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 2px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item summary:hover {
  color: var(--accent-hover);
}

.faq-answer {
  max-width: 74ch;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Interior page blocks
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.contact-card {
  padding: 22px;
  background: var(--surface-deep);
}

.contact-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-card a {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-card .contact-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   CTA sheet (mobile, always visible)
   -------------------------------------------------------------------------- */

.cta-sheet {
  display: none;
  transform: translateY(0);
  visibility: visible;
  transition: transform 240ms var(--ease), visibility 240ms;
}

.cta-sheet.is-hidden {
  transform: translateY(calc(100% + 20px));
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #050505;
  padding-block: clamp(44px, 6vw, 62px) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.82fr) minmax(0, 0.95fr) minmax(0, 0.88fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.footer-brand .brand-plate {
  display: inline-grid;
  margin-bottom: 16px;
}

.footer-brand .brand-plate img {
  height: 28px;
}

.footer-desc {
  max-width: 42ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-list a {
  color: oklch(78% 0.006 65);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  margin: 0;
}

.trust-badges a {
  display: block;
  padding: 0;
  border: 1px solid transparent;
}

.trust-badges a:hover,
.trust-badges a:focus-visible {
  border-color: var(--accent);
}

.trust-badges img {
  display: block;
  width: 164px;
  height: 44px;
}

.footer-fine {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-list li {
  margin: 0;
  padding: 6px 9px;
  border: 1px solid var(--border);
  color: oklch(82% 0.006 65);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-contact {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-contact a {
  color: oklch(86% 0.006 65);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.footer-bottom .age-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-left: auto;
}

.footer-bottom .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom .footer-legal-links li {
  margin: 0;
}

.footer-bottom .footer-legal-links a {
  color: oklch(78% 0.006 65);
  font-size: 0.68rem;
  text-decoration: none;
}

.footer-bottom .footer-legal-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .header-inner {
    gap: 12px;
  }

  :root {
    --header-h: 68px;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 130;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 12px var(--gutter) 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #000000;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 26px 60px rgb(0 0 0 / 55%);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
  }

  .primary-nav a::after {
    display: none;
  }

  body.nav-open .primary-nav {
    display: block;
    animation: nav-drop 180ms var(--ease) both;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgb(0 0 0 / 62%);
  }

  @keyframes nav-drop {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .header-actions {
    margin-left: 14px;
  }

  .header-login {
    display: none;
  }

  .hero-inner,
  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .hero-inner,
  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-block: 38px 44px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 8.4vw, 4.4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 7.4vw, 3.8rem);
    max-width: none;
  }

  .hero-media,
  .page-hero-media {
    max-width: 680px;
  }

  .section-grid,
  .section-grid--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .section-grid--reverse .section-copy,
  .section-grid--reverse .section-media {
    order: initial;
  }

  .section-media {
    max-width: 680px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .cta-band .btn-group {
    justify-content: flex-start;
  }

}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  body {
    font-size: 16px;
    padding-bottom: 74px;
  }

  .cta-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-strong);
    background: color-mix(in srgb, #000000 96%, transparent);
  }

  body.nav-open .cta-sheet {
    display: none;
  }

  .cta-sheet .btn {
    min-height: 40px;
    width: 100%;
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-facts li {
    padding: 0 0 0 10px;
    font-size: 0.62rem;
  }

  .hero-facts strong {
    font-size: 1.22rem;
  }

  .toc ol {
    columns: 1;
    padding-left: 34px;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .author-box {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .author-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .author-name {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-bottom .age-badge {
    margin-left: 0;
  }

  .data-table {
    min-width: 500px;
  }

  .market-strip-inner {
    gap: 14px;
  }

  .market-strip ul {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .header-actions {
    display: none;
  }

  .header-actions {
    margin-left: 10px;
  }

  .brand-plate img {
    height: 28px;
  }

  .hero {
    background:
      radial-gradient(420px 280px at 92% -8%, color-mix(in oklab, var(--accent) 17%, transparent), transparent 70%),
      linear-gradient(180deg, #050505, #000000);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11.4vw, 3.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-facts li {
    padding-left: 8px;
    font-size: 0.62rem;
    letter-spacing: 0;
  }

  .hero-facts strong {
    font-size: 1.05rem;
  }

  .hero-caption {
    flex-direction: column;
    gap: 4px;
  }

  .btn-group {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .section-head {
    align-items: flex-start;
    gap: 10px;
  }

  .section-kicker {
    padding-top: 7px;
  }

  .cta-band {
    padding: 20px;
  }

  .author-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .author-avatar {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !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;
  }
}