/* =========================================================================
   Blacknut — design tokens
   Figma: Blacknut / Blacknut-Moussawi (node 1:5)
   ========================================================================= */
:root {
  /* Palette */
  --cream:      #faf4ec;
  --sand:       #f2e8d8;
  --ink:        #1f1208;
  --clay:       #9a7b60;
  --brand:      #c94b1e;
  --forest:     #1a5c47;
  --plum:       #7b3fa0;
  --mint:       #4ade80;
  --white:      #ffffff;

  /* AdsTech partnership panel */
  --panel-bg:      #f8fafc;
  --panel-ink:     #0f172b;
  --panel-body:    rgba(15, 15, 35, 0.8);
  --panel-chip:    #f4f7fc;
  --panel-rule:    #fcceec;
  --panel-label:   rgba(26, 26, 46, 0.8);

  /* Hairlines & washes over light backgrounds */
  --rule-ink:      rgba(31, 18, 8, 0.08);
  --rule-ink-soft: rgba(31, 18, 8, 0.06);
  --rule-ink-firm: rgba(31, 18, 8, 0.15);

  /* Text over the forest-green sections */
  --on-green-strong: rgba(250, 244, 236, 0.7);
  --on-green:        rgba(250, 244, 236, 0.6);
  --on-green-soft:   rgba(250, 244, 236, 0.55);
  --on-green-muted:  rgba(250, 244, 236, 0.5);

  /* Text over the ink footer */
  --on-ink:       rgba(250, 244, 236, 0.45);
  --on-ink-muted: rgba(250, 244, 236, 0.4);
  --on-ink-faint: rgba(250, 244, 236, 0.3);
  --on-ink-rule:  rgba(250, 244, 236, 0.06);

  /* Typography */
  --font-sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-alt:  "Sora", "Nunito", system-ui, sans-serif;
  --font-mono: Menlo, Consolas, "SF Mono", "Courier New", monospace;

  /* Layout */
  --container: 1280px;
  --gutter: 32px;
  --section-y: clamp(56px, 8vw, 96px);

  /* Radii */
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-card:     0 2px 8px rgba(31, 18, 8, 0.06);
  --shadow-featured: 0 8px 16px rgba(201, 75, 30, 0.25);
  --shadow-panel:    0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.1);
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

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

.section { padding-block: var(--section-y); }

/* Shared section header ---------------------------------------------------- */
.section__head { max-width: 760px; }

.section__title {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 60.8px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section__lede {
  margin-top: 12px;
  color: var(--clay);
  font-size: 18px;
  line-height: 1.55;
}

/* Eyebrow labels ---------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow--brand { color: var(--brand); }
.eyebrow--on-green { color: var(--on-green-muted); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 10px 24px; }
.btn--lg { padding-block: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: #b04217; }

.btn--ghost {
  border: 2px solid var(--rule-ink-firm);
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--inverse { background: var(--white); color: var(--brand); }
.btn--inverse:hover { background: var(--cream); }

.btn--carrier {
  padding-block: 14px;
  background: var(--accent, var(--brand));
  color: var(--white);
}
.btn--carrier:hover { filter: brightness(0.92); }

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 236, 0.94);
  border-bottom: 1px solid var(--rule-ink);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.nav__logo img { width: 142px; height: 28px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: var(--clay);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}

/* Hamburger (mobile only) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* Aligns hero copy to the right half of a centred 1280px container. */
  padding-left: max(var(--gutter), calc(100% - 640px));
  padding-right: clamp(24px, 4vw, 64px);
  padding-block: clamp(56px, 7vw, 96px);
}

.hero__title {
  margin-top: 32px;
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__title-accent { color: var(--brand); }

.hero__lede {
  margin-top: 32px;
  max-width: 389px;
  color: var(--clay);
  font-size: 18px;
  line-height: 1.625;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
}

.stat__value {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  letter-spacing: -0.04em;
}

.stat__label {
  margin-top: 2px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero media -------------------------------------------------------------- */
.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  min-height: 420px;
}

.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero__watermark {
  position: absolute;
  right: 24px;
  bottom: 40px;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(120px, 16vw, 224px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  user-select: none;
}

.pill-live {
  position: absolute;
  top: 32px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  backdrop-filter: blur(4px);
}

.pill-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

/* =========================================================================
   Library
   ========================================================================= */
.library { background: var(--forest); }

.library__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.library__title {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 0.935;
  letter-spacing: -0.04em;
}

.library__lede {
  margin-top: 24px;
  max-width: 420px;
  color: var(--on-green);
  font-size: 18px;
  line-height: 1.65;
}

.genre-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.genre-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-green-strong);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.genre-list__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.game-grid__cell {
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 1;
}

.game-grid__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-grid__cell:hover img { transform: scale(1.05); }

/* =========================================================================
   Platform
   ========================================================================= */
.platform { background: var(--cream); }

.platform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.platform__figure {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: var(--r-xl);
  background: var(--sand);
}

.platform__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.platform__stats {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 268px));
  gap: 12px;
}

.mini-stat {
  padding: 16px;
  border-radius: var(--r-lg);
  background: rgba(250, 244, 236, 0.9);
  backdrop-filter: blur(6px);
}

.mini-stat__value {
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.03em;
}

.mini-stat__label {
  margin-top: 2px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.platform__specs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform__lede {
  max-width: 365px;
  margin-bottom: 40px;
  color: var(--clay);
  font-size: 16px;
  line-height: 1.625;
}

.spec {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule-ink);
}

.spec__term {
  flex-shrink: 0;
  width: 112px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.02em;
}

.spec__desc {
  margin: 0;
  color: var(--clay);
  font-size: 16px;
  line-height: 24px;
}

/* =========================================================================
   Plans
   ========================================================================= */
.plans { background: var(--sand); }

.plans__group { margin-top: 64px; }

.plans__group-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plans__region {
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: -0.03em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag--orange { background: var(--brand); }
.tag--green { background: var(--forest); }
.tag--translucent { background: rgba(255, 255, 255, 0.2); }

/* Carrier (24-hour) cards ------------------------------------------------- */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.carrier-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--rule-ink-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.carrier-card--orange { --accent: var(--brand); }
.carrier-card--purple { --accent: var(--plum); }
.carrier-card--green  { --accent: var(--forest); }

.carrier-card__accent {
  width: 48px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.carrier-card__name {
  font-size: 18px;
  font-weight: 900;
  line-height: 28px;
}

.carrier-card__region,
.price-card__region {
  margin-top: 2px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.code-box {
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--sand);
}

.code-box__label {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.code-box__value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.carrier-card .btn { margin-top: auto; }

/* Subscription price cards ------------------------------------------------ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 36px;
  border: 1px solid var(--rule-ink-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.price-card__name {
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: -0.03em;
}

.price-card__badge {
  position: absolute;
  top: 28px;
  right: 28px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price__amount {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.price__period {
  color: var(--clay);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.feature__check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.price-card .btn { margin-top: auto; }

/* Featured (DU) card */
.price-card--featured {
  border-color: var(--rule-ink-soft);
  background: var(--brand);
  box-shadow: var(--shadow-featured);
}
.price-card--featured .price-card__name,
.price-card--featured .price__amount { color: var(--white); }
.price-card--featured .price-card__region,
.price-card--featured .price__period { color: rgba(255, 255, 255, 0.5); }
.price-card--featured .feature { color: rgba(255, 255, 255, 0.75); }
.price-card--featured .feature__check {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Data-driven Blacknut offers -------------------------------------------- */
.dynamic-plans {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 64px;
}

.dynamic-plans__status {
  padding: 28px;
  border: 1px solid var(--rule-ink-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  color: var(--clay);
  text-align: center;
}

.dynamic-country__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.dynamic-country__name {
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: -0.03em;
}

.dynamic-country__code {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-grid[data-count="1"] {
  grid-template-columns: minmax(280px, 392px);
}

.offer-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 812px;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--rule-ink-soft);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.offer-card__accent {
  width: 48px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--accent, var(--brand));
}

.offer-card:nth-child(3n + 2) { --accent: var(--plum); }
.offer-card:nth-child(3n + 3) { --accent: var(--forest); }

.offer-card__name {
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
}

.offer-card__market {
  margin-top: 2px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--sand);
}

.offer-price__amount {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.offer-price__period {
  color: var(--clay);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.offer-card__button {
  margin-top: auto;
  background: var(--accent, var(--brand));
  color: var(--white);
}

.offer-card:nth-child(3n + 2) .offer-card__button { background: var(--plum); }
.offer-card:nth-child(3n + 3) .offer-card__button { background: var(--forest); }

/* Country subscription modal -------------------------------------------- */
body.has-modal { overflow: hidden; }

.country-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 18, 8, 0.68);
  backdrop-filter: blur(4px);
}

.country-modal[hidden] { display: none; }

.country-modal__dialog {
  position: relative;
  width: min(100%, 700px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border: 1px solid var(--rule-ink-firm);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: 0 24px 80px rgba(31, 18, 8, 0.28);
}

.country-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--clay);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.country-modal__close:hover {
  background: var(--sand);
  color: var(--ink);
}

.country-modal__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-align: center;
}

.country-modal__rule {
  width: 100px;
  height: 2px;
  margin: 16px auto 28px;
  border: 0;
  background: var(--brand);
}

.country-modal__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 18px;
  border: 2px solid var(--rule-ink);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}

.country-option:hover {
  border-color: var(--brand);
  background: #fffaf5;
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.country-option__flag {
  width: 48px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--rule-ink);
  border-radius: 4px;
  object-fit: cover;
}

.country-option__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.country-modal__error {
  color: var(--brand);
  font-size: 14px;
  text-align: center;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--cream); }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.faq__title {
  margin-top: 20px;
  font-size: clamp(30px, 4vw, 44.8px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.accordion { border-top: 1px solid var(--rule-ink); }

.accordion__item { border-bottom: 1px solid var(--rule-ink); }

.accordion__heading { font: inherit; }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.accordion__question {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  transition: color 0.18s ease;
}
.accordion__trigger:hover .accordion__question { color: var(--brand); }

.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  transition: transform 0.25s ease, background-color 0.18s ease;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--clay);
  transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 12px; height: 2px; }
.accordion__icon::after  { width: 2px; height: 12px; }

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--brand);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon::before,
.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  background: var(--white);
}

.accordion__panel {
  max-width: 640px;
  padding-bottom: 24px;
  color: var(--clay);
  font-size: 15px;
  line-height: 1.7;
  animation: reveal 0.25s ease;
}

.accordion__panel p + p,
.accordion__panel p + .accordion__list,
.accordion__list + p { margin-top: 12px; }

.accordion__list {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.accordion__list li { padding-left: 4px; }

.accordion__panel a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================================
   Support
   ========================================================================= */
.support { background: var(--forest); }

.support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.support__title {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(32px, 4.5vw, 51.2px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.support__lede {
  margin-top: 20px;
  max-width: 576px;
  color: var(--on-green-soft);
  font-size: 18px;
  line-height: 1.625;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
}

.contact__label {
  color: var(--on-green-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.contact__link {
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  transition: color 0.18s ease;
}
.contact__link:hover { color: var(--white); text-decoration: underline; }

.support__media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.06);
}

.support__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.4;
}

.support__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 92, 71, 0.73), rgba(26, 92, 71, 0) 60%);
  pointer-events: none;
}

/* =========================================================================
   AdsTech partnership panel
   ========================================================================= */
.adstech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 80px);
  background: var(--panel-bg);
}

.adstech__title {
  font-size: clamp(30px, 4vw, 44.8px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: center;
}

.adstech__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  max-width: var(--container);
  padding: 40px clamp(24px, 5vw, 76px) 40px clamp(24px, 3vw, 40px);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-panel);
}

.adstech__badge {
  padding: 18px clamp(24px, 4vw, 43px);
  border: 2px solid var(--rule-ink-firm);
  border-radius: var(--r-pill);
  background: var(--panel-chip);
  color: var(--ink);
  font-family: var(--font-alt);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.adstech__heading {
  max-width: 640px;
  color: var(--panel-ink);
  font-family: var(--font-alt);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.11;
}

.adstech__body {
  color: var(--panel-body);
  font-family: var(--font-alt);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.adstech__divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--panel-rule);
}

.assurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.assurance {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--panel-label);
  font-family: var(--font-alt);
  font-size: 18px;
  font-weight: 600;
}

.check-icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.check-icon__ring {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 22px;
  height: 22px;
}
.check-icon__tick {
  position: absolute;
  left: 8px;
  top: 9px;
  width: 8px;
  height: 6px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  padding-block: 56px;
  border-top: 1px solid var(--on-ink-rule);
  background: var(--ink);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--on-ink-rule);
}

.footer__brand { grid-column: span 2; }
.footer__brand img { width: 145px; height: 29px; }

.footer__tagline {
  margin-top: 16px;
  max-width: 236px;
  color: var(--on-ink-muted);
  font-size: 14px;
  line-height: 1.625;
}

.footer__heading {
  color: var(--on-ink-faint);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer__links a {
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: color 0.18s ease;
}
.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
}

.footer__copy,
.footer__status {
  color: var(--on-ink-faint);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

/* =========================================================================
   Company information page
   ========================================================================= */
.eyebrow--muted { color: var(--clay); }

.ci-icon {
  display: inline-flex;
  flex-shrink: 0;
  overflow: hidden;
}
.ci-icon img { width: 100%; height: 100%; }
.ci-icon--14 { width: 14px; height: 14px; }
.ci-icon--16 { width: 16px; height: 16px; }
.ci-icon--18 { width: 18px; height: 18px; }

.ci-heading {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.048em;
}
.ci-heading--on-green { color: var(--white); }

.ci-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.167em;
  text-transform: uppercase;
}
.ci-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.ci-chip__dot--mint { background: var(--mint); }
.ci-chip__dot--clay { background: var(--clay); }
.ci-chip--on-brand {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.125em;
}

.ci-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.ci-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 24px;
}
.ci-check-list--compact {
  gap: 12px;
  margin-top: 24px;
}
.ci-check-list--compact li {
  font-size: 14px;
  line-height: 22.4px;
}
.ci-check-list--on-green li {
  color: rgba(250, 244, 236, 0.8);
  line-height: 22.5px;
}

/* Hero ------------------------------------------------------------------- */
.ci-hero {
  padding-block: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid rgba(31, 18, 8, 0.07);
  background: var(--cream);
}
.ci-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(280px, 400px);
  gap: 64px;
  align-items: center;
}
.ci-hero__title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.048em;
}
.ci-hero__title-accent { color: var(--brand); }
.ci-hero__lede {
  margin-top: 24px;
  max-width: 540px;
  color: var(--clay);
  font-size: 17px;
  line-height: 1.75;
}
.ci-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.ci-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.ci-glance {
  position: relative;
  overflow: hidden;
  min-height: 434px;
  border-radius: var(--r-xl);
  background: var(--forest);
}
.ci-glance__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.ci-glance__body {
  position: relative;
  z-index: 1;
  padding: 32px;
}
.ci-glance__kicker {
  color: rgba(250, 244, 236, 0.45);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 0.218em;
  text-transform: uppercase;
}
.ci-glance__list { margin-top: 28px; }
.ci-glance__row + .ci-glance__row { margin-top: 16px; }
.ci-glance__row dt {
  color: rgba(250, 244, 236, 0.4);
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.ci-glance__row dd {
  margin-top: 2px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 22.5px;
  letter-spacing: -0.013em;
}

/* Intro ------------------------------------------------------------------ */
.ci-intro { padding-block: 64px; background: var(--sand); }
.ci-intro__inner { max-width: 860px; }
.ci-intro__body {
  margin-top: 24px;
  color: var(--clay);
  font-size: 18px;
  line-height: 1.8;
}
.ci-intro__body + .ci-intro__body { margin-top: 16px; }

/* Scope ------------------------------------------------------------------ */
.ci-scope { padding-block: 80px; background: var(--cream); }
.ci-scope__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ci-scope__lede {
  margin-top: 20px;
  color: var(--clay);
  font-size: 16px;
  line-height: 1.7;
}
.ci-scope__lede strong { color: var(--ink); font-weight: 700; }

.ci-auth-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--r-xl);
  background: var(--brand);
}
.ci-auth-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.ci-auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(144deg, rgba(201, 75, 30, 0.5) 0%, rgba(201, 75, 30, 0.92) 100%);
}
.ci-auth-card__caption {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.ci-auth-card__kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.182em;
  text-transform: uppercase;
}
.ci-auth-card__date {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.029em;
}
.ci-auth-card__note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 21px;
}

/* About entities --------------------------------------------------------- */
.ci-about { padding-block: 80px; background: var(--sand); }
.ci-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ci-entity {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--r-xl);
}
.ci-entity--green { background: var(--forest); }
.ci-entity--white { background: var(--white); padding: 32px; }
.ci-entity__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.ci-entity__body { position: relative; z-index: 1; padding: 32px; }
.ci-entity__title {
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.038em;
}
.ci-entity__title--dark { color: var(--ink); }
.ci-entity__lede {
  margin-top: 16px;
  color: rgba(250, 244, 236, 0.65);
  font-size: 15px;
  line-height: 1.75;
}
.ci-entity__lede--dark { color: var(--clay); }
.ci-entity__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 32px;
}
.ci-entity__stats li {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}
.ci-entity__stat {
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  line-height: 22px;
}
.ci-entity__stat-label {
  margin-top: 4px;
  color: rgba(250, 244, 236, 0.45);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.ci-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}
.ci-pill-link:hover { background: rgba(255, 255, 255, 0.2); }
.ci-entity__foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-ink);
  color: var(--clay);
  font-size: 14px;
  line-height: 1.7;
}

/* Markets ---------------------------------------------------------------- */
.ci-markets { padding-block: 80px; background: var(--cream); }
.ci-markets__lede,
.ci-contact__lede {
  margin-top: 16px;
  max-width: 600px;
  color: var(--clay);
  font-size: 17px;
  line-height: 1.5;
}
.ci-markets__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 48px;
}
.ci-markets__grid > .dynamic-plans__status {
  grid-column: 1 / -1;
}
.market-card {
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--sand);
}
.market-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: var(--forest);
}
.market-card__name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 27px;
  letter-spacing: -0.022em;
}
.market-card__flag {
  flex-shrink: 0;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}
.market-card__code {
  margin-top: 2px;
  color: rgba(250, 244, 236, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.136em;
  text-transform: uppercase;
}
.market-card__count {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(250, 244, 236, 0.6);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.market-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.market-card__list li {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--white);
}
.market-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.market-card__carrier {
  font-size: 15px;
  font-weight: 900;
  line-height: 22.5px;
}
.market-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.market-card__dot--plum { background: var(--plum); }
.market-card__dot--brand { background: var(--brand); }
.market-card__dot--forest { background: var(--forest); }

.ci-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 16px 24px;
  border-radius: 18px;
  background: var(--sand);
  color: var(--clay);
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
}

/* Gallery strip ---------------------------------------------------------- */
.ci-gallery {
  padding-block: 32px;
  overflow: hidden;
  background: var(--cream);
}
.ci-gallery__row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.ci-gallery__row img,
.ci-gallery__more {
  flex: 0 0 200px;
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.ci-gallery__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--sand);
}
.ci-gallery__count {
  font-size: 22px;
  font-weight: 900;
  line-height: 33px;
  letter-spacing: -0.023em;
}
.ci-gallery__label {
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

/* Compliance ------------------------------------------------------------- */
.ci-comply { padding-block: 80px; background: var(--forest); }
.ci-comply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ci-comply__lede {
  margin-top: 20px;
  color: var(--on-green);
  font-size: 16px;
  line-height: 1.75;
}
.ci-comply__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ci-comply__cards li {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}
.ci-comply__emoji {
  font-size: 24px;
  line-height: 36px;
}
.ci-comply__cards h3 {
  margin-top: 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 22.5px;
}
.ci-comply__cards p {
  margin-top: 8px;
  color: var(--on-green-muted);
  font-size: 13px;
  line-height: 1.625;
}

/* Contact ---------------------------------------------------------------- */
.ci-contact { padding-block: 80px; background: var(--sand); }
.ci-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.ci-vcard {
  position: relative;
  overflow: hidden;
  min-height: 322px;
  border-radius: var(--r-xl);
}
.ci-vcard--brand { background: var(--brand); }
.ci-vcard--white { background: var(--white); padding: 32px; }
.ci-vcard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.ci-vcard__body { position: relative; z-index: 1; padding: 32px; }
.ci-vcard__name {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 900;
  line-height: 42px;
  letter-spacing: -0.029em;
}
.ci-vcard--brand .ci-vcard__name { color: var(--white); }
.ci-vcard__place {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}
.ci-vcard--brand .ci-vcard__place { color: rgba(255, 255, 255, 0.6); }
.ci-vcard--white .ci-vcard__place { color: var(--clay); }
.ci-vcard__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ci-vcard--white .ci-vcard__details {
  gap: 16px;
  border-top-color: var(--rule-ink);
}
.ci-vcard__details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}
.ci-vcard--brand .ci-vcard__details li { color: rgba(255, 255, 255, 0.65); }
.ci-vcard--brand .ci-vcard__details a {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
}
.ci-vcard--brand .ci-vcard__details a:hover { text-decoration: underline; }
.ci-vcard--white .ci-vcard__details li { color: var(--clay); }
.ci-vcard__site { color: var(--brand); font-weight: 700; }
.ci-vcard__site:hover { text-decoration: underline; }

/* Download --------------------------------------------------------------- */
.ci-download {
  padding-block: 64px;
  border-top: 1px solid rgba(31, 18, 8, 0.07);
  background: var(--cream);
}
.ci-download__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--ink);
}
.ci-download__title {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.038em;
}
.ci-download__lede {
  margin-top: 8px;
  max-width: 520px;
  color: var(--on-green-muted);
  font-size: 15px;
  line-height: 1.5;
}
.ci-download__btn { flex-shrink: 0; gap: 12px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .library__grid,
  .platform__grid,
  .faq__grid,
  .support__grid,
  .ci-hero__grid,
  .ci-scope__grid,
  .ci-about__grid,
  .ci-comply__grid,
  .ci-contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq__title br { display: none; }
  .platform__figure { min-height: 380px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ci-markets__grid { grid-template-columns: 1fr; }
  .ci-download__card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1023px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--rule-ink);
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(31, 18, 8, 0.08);
    display: none;
  }
  .nav__menu[data-open] { display: flex; }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__links a {
    display: block;
    padding-block: 12px;
    font-size: 16px;
  }
  .nav__links a[aria-current="page"] {
    border-bottom: 0;
    padding-bottom: 12px;
    box-shadow: inset 3px 0 0 var(--brand);
    padding-left: 12px;
  }
  .nav__cta { margin-top: 12px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .hero__media { min-height: 360px; order: -1; }
  .hero__watermark { right: 16px; bottom: 16px; }
  .pill-live { top: 20px; left: 20px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .hero__stats { gap: 24px 32px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .game-grid { gap: 6px; }

  .platform__stats {
    grid-template-columns: 1fr 1fr;
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }
  .mini-stat { padding: 12px; }

  .spec { flex-direction: column; align-items: flex-start; gap: 4px; }
  .spec__term { width: auto; }

  .carrier-card { padding: 24px; }
  .price-card { padding: 28px; }
  .price-card__badge { position: static; align-self: flex-start; }
  .price-card--featured { padding-top: 28px; }

  .adstech__card { padding: 28px 20px; gap: 24px; }
  .adstech__badge { padding: 14px 24px; font-size: 16px; }
  .assurance { font-size: 16px; }
  .adstech__cta { align-self: stretch; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }

  .dynamic-plans { gap: 48px; margin-top: 48px; }
  .offer-grid,
  .offer-grid[data-count="1"],
  .offer-grid[data-count="2"] {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .offer-card { min-height: 0; padding: 24px; }
  .country-modal { padding: 14px; }
  .country-modal__dialog { padding: 48px 20px 24px; }
  .country-modal__options { grid-template-columns: 1fr; }

  .ci-entity__stats { grid-template-columns: 1fr; }
  .ci-comply__cards { grid-template-columns: 1fr; }
  .ci-entity,
  .ci-vcard { min-height: 0; }
  .ci-download__btn { align-self: stretch; }
  .ci-note { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}

/* =========================================================================
   2026 Blacknut dark editorial redesign — Figma nodes 1:1104 and 1:1537
   ========================================================================= */
:root {
  --cream: #f2f2f2;
  --sand: #e7e7e7;
  --ink: #0f0f0f;
  --clay: #888888;
  --brand: #ff3d55;
  --forest: #00c8f0;
  --plum: #8b4fd4;
  --mint: #4ade80;
  --rule-ink: rgba(15, 15, 15, 0.08);
  --rule-ink-soft: rgba(15, 15, 15, 0.08);
  --rule-ink-firm: rgba(15, 15, 15, 0.2);
  --font-sans: "Barlow", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --r-sm: 6px;
  --r-md: 0;
  --r-lg: 0;
  --r-xl: 0;
  --section-y: clamp(72px, 8vw, 128px);
}

body { background: var(--ink); }
h1, h2, h3, h4, .eyebrow, .btn, .nav__links, .stat, .footer {
  font-family: var(--font-display);
}
.eyebrow {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .2em;
}
.section__title,
.library__title,
.faq__title,
.support__title,
.ci-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
}
.section__title {
  margin-top: 12px;
  font-size: clamp(54px, 6vw, 80px);
  line-height: .9;
  letter-spacing: -.02em;
}
.btn {
  border-radius: 0;
  padding: 16px 40px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.btn--sm { padding: 8px 24px; }
.btn--primary:hover { background: #e72f48; }
.btn--ghost { border-color: rgba(255,255,255,.2); color: #fff; }

/* Shared dark navigation */
.nav {
  position: sticky;
  min-height: 56px;
  background: rgba(15,15,15,.97);
  border-color: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.nav__inner { min-height: 56px; }
.nav__links a {
  color: #888;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: #fff; }
.nav__toggle-bar { background: #fff; }
.nav__logo img,
.footer__brand img { filter: brightness(0) invert(1); }

/* Home hero */
.hero {
  position: relative;
  min-height: 720px;
  grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
  background: var(--ink);
}
.hero__content {
  padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  padding-right: 48px;
  padding-block: 80px;
}
.hero__title {
  margin-top: 28px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(104px, 12vw, 192px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero__lede { color: #888; max-width: 456px; line-height: 1.6; }
.hero__media {
  min-height: 540px;
  margin: 80px max(32px, calc((100vw - 1280px) / 2 + 32px)) 80px 0;
  background: #1a1a1a;
}
.hero__media-img { opacity: .62; }
.hero__stats {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1280px) / 2 + 32px));
  bottom: 40px;
  width: min(calc(41.66vw - 32px), 488px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero__stats .stat { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,.08); }
.hero__stats .stat:last-child { border: 0; }
.stat__value { color: var(--brand); font-size: 29px; }
.stat:last-child .stat__value { color: var(--forest); }
.stat__label { color: #888; }

/* Home library */
.library { background: var(--cream); }
.library__grid { grid-template-columns: 1fr; gap: 56px; }
.library__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.library__intro .eyebrow { grid-column: 1 / -1; }
.library__title {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(58px, 6vw, 80px);
  line-height: .9;
}
.library__lede {
  max-width: 280px;
  color: #888;
  font-size: 16px;
  text-align: right;
}
.game-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.game-grid__cell { border-radius: 6px; aspect-ratio: 1.08; }

/* Home platform */
.platform { background: var(--ink); color: #fff; }
.platform__grid { grid-template-columns: 1fr 1fr; }
.platform__figure { order: 2; min-height: 420px; background: #1a1a1a; }
.platform__img { opacity: .5; }
.platform__stats { grid-template-columns: 1fr 1fr; }
.mini-stat { border-radius: 0; background: rgba(15,15,15,.82); }
.mini-stat__value { color: var(--forest); font-family: var(--font-display); }
.platform__specs { order: 1; }
.platform__lede { color: #888; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec {
  display: block;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.06);
  background: #1a1a1a;
}
.spec__term {
  width: auto;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}
.spec:nth-child(even) .spec__term { color: var(--forest); }
.spec__desc { margin-top: 12px; color: #888; font-size: 14px; }

/* Data-driven plans */
.plans { background: var(--cream); }
.plans .section__lede { color: #888; text-transform: uppercase; }
.dynamic-country__head { margin-bottom: 24px; }
.dynamic-country__name {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
}
.dynamic-country__code { border-radius: 0; background: var(--ink); }
.offer-grid { gap: 16px; }
.offer-card {
  min-height: 300px;
  gap: 20px;
  padding: 32px;
  border-radius: 0;
  box-shadow: none;
}
.offer-card__accent { width: 100%; height: 3px; border-radius: 0; }
.offer-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.offer-price { border-radius: 0; }
.offer-price__amount { font-family: var(--font-display); }

/* FAQ, support, partnership and footer */
.faq { background: var(--ink); color: #fff; }
.faq__title { font-size: clamp(48px, 5vw, 64px); line-height: .9; }
.accordion { border-color: rgba(255,255,255,.07); }
.accordion__item { border-color: rgba(255,255,255,.07); }
.accordion__question { font-family: var(--font-display); font-size: 18px; letter-spacing: .02em; }
.accordion__icon { border-radius: 0; background: #1a1a1a; }
.accordion__panel { color: #888; }
.support { background: var(--cream); }
.support__title { color: var(--ink); font-size: 64px; line-height: .9; }
.support__lede { color: #888; }
.contact { border-radius: 0; border-color: var(--rule-ink); background: #fff; }
.contact__label { color: #888; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; }
.contact__link { color: var(--brand); }
.support__media { min-height: 440px; border-radius: 0; background: #ddd; }
.support__media img { opacity: .8; }
.support__media::after { background: none; }
.adstech { background: #f8fafc; }
.adstech__title { font-family: var(--font-display); font-size: 64px; }
.adstech__card { max-width: 1216px; }
.adstech__badge { border-color: #fbcfeb; color: #59168b; }
.footer { background: var(--ink); }

/* Company page foundations */
.page-company { background: var(--ink); }
.page-company main { display: flex; flex-direction: column; }
.page-company .ci-hero { order: 1; }
.page-company .ci-intro { order: 2; }
.page-company .ci-scope { order: 3; }
.page-company .ci-about { order: 4; }
.page-company .ci-markets { order: 5; }
.page-company .ci-gallery { order: 6; }
.page-company .ci-comply { order: 7; }
.page-company .ci-faq { order: 8; }
.page-company .ci-contact { order: 9; }
.page-company .ci-download { order: 10; }
.page-company .ci-hero {
  padding-block: 80px;
  border: 0;
  background: var(--ink);
}
.ci-hero__grid {
  grid-template-columns: minmax(0, 696px) minmax(360px, 488px);
  gap: 32px;
}
.ci-hero__title {
  margin-top: 32px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(84px, 9vw, 120px);
  line-height: .88;
  text-transform: uppercase;
}
.ci-hero__subtitle {
  margin-top: 24px;
  color: #888;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  text-transform: uppercase;
}
.ci-hero__lede { color: #888; max-width: 520px; font-size: 18px; line-height: 1.6; }
.ci-hero__facts { display: flex; gap: 16px; margin-top: 32px; }
.ci-hero__facts p { min-width: 174px; padding: 16px 32px; border: 2px solid rgba(255,255,255,.2); }
.ci-hero__facts p:first-child { border-color: var(--brand); }
.ci-hero__facts strong,
.ci-hero__facts span { display: block; font-family: var(--font-display); text-transform: uppercase; }
.ci-hero__facts strong { color: #fff; font-size: 15px; letter-spacing: .08em; }
.ci-hero__facts p:first-child strong { color: var(--brand); }
.ci-hero__facts span { margin-top: 4px; color: #888; font-size: 11px; letter-spacing: .12em; }
.ci-glance--photo { min-height: 540px; border-radius: 0; background: #1a1a1a; }
.ci-glance--photo .ci-glance__bg,
.ci-glance__overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-glance--photo .ci-glance__bg { opacity: 1; }
.ci-glance__overlay { opacity: .75; }

.ci-intro { padding-block: 80px; background: var(--cream); }
.ci-intro__inner {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.ci-intro__inner .eyebrow,
.ci-intro__inner .ci-heading { grid-column: 1; }
.ci-intro__inner .ci-intro__body { grid-column: 2; }
.ci-intro__inner .ci-intro__body:first-of-type { grid-row: 1 / span 2; margin-top: 16px; }
.ci-heading {
  font-size: clamp(54px, 6vw, 80px);
  line-height: .9;
}
.ci-heading span { color: #888; }
.ci-intro__body { color: #555; }

.ci-scope { background: var(--ink); color: #fff; }
.ci-scope__grid { grid-template-columns: 1fr 1fr; }
.ci-scope .ci-heading { color: #fff; }
.ci-scope .ci-heading::after { content: "."; color: var(--forest); }
.ci-scope__lede { color: #888; }
.ci-scope__lede strong { color: #fff; }
.ci-scope .ci-check-list { margin-top: 0; border-top: 1px solid rgba(255,255,255,.07); }
.ci-scope .ci-check-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #888;
}
.ci-auth-card { display: none; }

.ci-about { background: var(--cream); }
.ci-about__grid { gap: 24px; }
.ci-entity { min-height: 615px; border-radius: 0; }
.ci-entity--green { background: var(--ink); }
.ci-entity--white { padding: 40px; }
.ci-entity__body { padding: 40px; }
.ci-entity__title { font-family: var(--font-display); font-size: 64px; line-height: .9; text-transform: uppercase; }
.ci-entity__stats li { border-radius: 0; background: #1a1a1a; text-align: left; }
.ci-entity__stat { color: var(--brand); font-family: var(--font-display); font-size: 28px; }
.ci-pill-link { border-radius: 0; }

.ci-markets { background: var(--cream); }
.ci-markets__grid { display: flex; flex-direction: column; gap: 40px; }
.market-card { width: 100%; border-radius: 0; background: transparent; }
.market-card__head { justify-content: flex-start; padding: 0 0 20px; background: transparent; }
.market-card__name { color: var(--ink); font-family: var(--font-display); font-size: 26px; text-transform: uppercase; }
.market-card__code { display: none; }
.market-card__count { border-radius: 0; background: var(--ink); color: #fff; text-transform: uppercase; }
.market-card__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding: 0;
}
.market-card__list li { padding: 32px; border: 1px solid var(--rule-ink); border-radius: 0; }
.market-card__carrier { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.market-card__price {
  margin-top: 20px;
  padding: 16px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
}
.ci-note { border-radius: 0; }
.ci-gallery { padding-block: 40px; background: var(--ink); }
.ci-gallery__row img,
.ci-gallery__placeholder,
.ci-gallery__more {
  flex: 0 0 200px;
  width: 200px;
  height: 160px;
  border-radius: 6px;
}
.ci-gallery__placeholder { background: #141414; }
.ci-gallery__more { background: #1a1a1a; }
.ci-gallery__count { color: var(--brand); font-family: var(--font-display); font-size: 32px; }

.ci-comply { background: var(--ink); }
.ci-comply__grid { grid-template-columns: 1fr 1fr; }
.ci-comply__cards { display: block; border-top: 1px solid rgba(255,255,255,.07); }
.ci-comply__cards li { padding: 24px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; background: none; }
.ci-comply__emoji { display: none; }
.ci-comply__cards h3 { margin: 0; font-family: var(--font-display); font-size: 18px; }

.ci-faq { border-top: 1px solid rgba(255,255,255,.06); }
.ci-contact { background: var(--cream); }
.ci-contact__grid { grid-template-columns: 1fr 1fr; }
.ci-vcard { min-height: 440px; border-radius: 0; }
.ci-vcard--brand { background: #fff; color: var(--ink); }
.ci-vcard--brand .ci-vcard__name { color: var(--ink); }
.ci-vcard--brand .ci-vcard__place,
.ci-vcard--brand .ci-vcard__details li { color: #888; }
.ci-vcard--brand .ci-vcard__details { border-color: var(--rule-ink); }
.ci-vcard--brand .ci-vcard__details a { color: var(--brand); }
.ci-vcard--white {
  background: #ddd url("../img/company-support-controller.png") center/cover no-repeat;
}
.ci-vcard--white > * { display: none; }
.ci-download { border-color: rgba(255,255,255,.06); background: var(--ink); }
.ci-download__card { padding: 0; background: transparent; }
.ci-download__title { font-family: var(--font-display); font-size: 64px; line-height: .9; text-transform: uppercase; }
.ci-download__lede { color: #888; }

@media (max-width: 1080px) {
  .hero__stats { position: static; width: 100%; margin-top: 48px; }
  .hero__media { margin-right: 32px; }
  .ci-intro__inner { display: block; }
  .market-card__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .nav__menu { background: var(--ink); border-color: rgba(255,255,255,.08); }
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: 2; margin: 0 32px 64px; }
  .hero__content { padding-left: 32px; }
  .library__intro { display: block; }
  .library__lede { margin-top: 20px; text-align: left; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .platform__grid,
  .ci-hero__grid,
  .ci-scope__grid,
  .ci-about__grid,
  .ci-comply__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 88px; }
  .hero__media { min-height: 420px; margin-inline: 20px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats .stat { padding: 12px 8px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-list { grid-template-columns: 1fr; }
  .market-card__list { grid-template-columns: 1fr; }
  .ci-hero__facts { flex-direction: column; }
  .ci-hero__title { font-size: 80px; }
  .ci-glance--photo { min-height: 420px; }
}
