@charset "utf-8";

/* ==========================================================================
   AhaduBirr review resource — single stylesheet for every page
   Palette is bound to the brand tokens: #9AF149 #21D13F #AAF963 #307CF8 #fff #101213
   ========================================================================== */

/* --- Fonts (self-hosted, variable, latin + latin-ext) --------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f8ee;
  --surface: #ffffff;
  --surface-alt: #f7faf4;

  --ink: #101213;
  --ink-deep: #0b0d0e;
  --muted: #5d6863;
  --muted-soft: #7a857f;

  --border: #e0e9da;
  --border-strong: #cbd9c2;

  --green: #21d13f;
  --green-strong: #14b62e;
  --lime: #9af149;
  --lime-soft: #aaf963;
  --blue: #307cf8;
  --blue-ink: #1c61d6;
  --blue-deep: #1a56c4;

  --link: #0b5c2f;
  --link-hover: #063d1e;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(16, 18, 19, 0.05), 0 10px 26px -18px rgba(16, 18, 19, 0.35);
  --shadow-2: 0 28px 60px -34px rgba(16, 18, 19, 0.5);

  --font-display: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --rail: 300px;
  --gap: 32px;
  --header-h: 70px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-top: 4px; }
h3 { font-size: clamp(1.09rem, 1rem + 0.4vw, 1.28rem); }
h4 { font-size: 1.02rem; }

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

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

/* Anchors styled as buttons keep their own foreground and never underline:
   a:hover would otherwise outrank .btn and repaint the label. */
a.btn:hover,
a.btn:focus { color: var(--btn-fg); text-decoration: none; }
a.media-link:hover { color: inherit; text-decoration: none; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 25px;
  min-width: 140px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  --btn-bg: var(--green);
  --btn-fg: var(--ink-deep);
  --btn-bd: var(--green);
}
/* Invert to the brand's dark panel: contrast improves from 9.5:1 to 13.5:1. */
.btn-primary:hover,
.btn-primary:focus-visible {
  --btn-bg: var(--ink-deep);
  --btn-bd: var(--lime);
  --btn-fg: var(--lime);
}

/* Outline buttons invert to a solid fill; contrast is unchanged at 6.6:1. */
.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue-deep);
  --btn-bd: var(--blue);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  --btn-bg: var(--blue-deep);
  --btn-fg: #ffffff;
  --btn-bd: var(--blue-deep);
}

.btn-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn-light:hover {
  --btn-bg: #ffffff;
  --btn-fg: var(--ink-deep);
  --btn-bd: #ffffff;
}

.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

/* --- Header (dark rail) -------------------------------------------------- */
/* Scoped tokens: the bar is the brand's near-black ink, so every control
   inside it pairs light foreground with a dark background. */
.site-header {
  --hd-fg: #ffffff;
  --hd-fg-dim: #cfd8d1;
  --hd-line: rgba(255, 255, 255, 0.14);
  --hd-line-strong: rgba(255, 255, 255, 0.3);
  --hd-hover: rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--hd-line);
  transition: box-shadow 0.18s ease;
}
.site-header.is-stuck { box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.95); }
/* Blue ring only reaches 3.3:1 on the ink bar; lime reaches 13:1. */
.site-header :focus-visible { outline-color: var(--lime); }

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

.brand { display: inline-flex; text-decoration: none; }
.brand:hover { text-decoration: none; }

/* The brand PNG carries its own opaque green field, so the plate is only a
   rounded clip — no extra frame around it on the dark bar. */
.brand__plate {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.brand__plate img { height: auto; width: 130px; display: block; }

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

.primary-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--hd-fg-dim);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.16s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"]:hover {
  background: var(--hd-hover);
  color: var(--hd-fg);
  text-decoration: none;
}
/* 9.25:1 for the lime label on the tinted pill; hover lifts it to 14.42:1. */
.primary-nav a[aria-current="page"] {
  background: rgba(154, 241, 73, 0.16);
  color: var(--lime);
  box-shadow: inset 0 -2px 0 var(--green);
}

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

/* Outline CTA inverts to a solid white fill: 18.78:1 becomes 19.48:1. */
.site-header .btn-outline {
  --btn-fg: var(--hd-fg);
  --btn-bd: var(--hd-line-strong);
}
.site-header .btn-outline:hover,
.site-header .btn-outline:focus-visible {
  --btn-bg: #ffffff;
  --btn-fg: var(--ink-deep);
  --btn-bd: #ffffff;
}
/* Primary lifts from green to lime on hover: 9.51:1 becomes 13.96:1. */
.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible {
  --btn-bg: var(--lime);
  --btn-bd: var(--lime);
  --btn-fg: var(--ink-deep);
}

.burger {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hd-line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.16s ease;
}
/* Hover brightens the bars and the border instead of lifting the background,
   so the icon's contrast only rises (12.88:1 -> 18.78:1). */
.burger:hover,
.burger:focus-visible {
  border-color: var(--lime);
}
.burger:hover span,
.burger:focus-visible span { background: var(--hd-fg); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hd-fg-dim);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.16s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Home hero ----------------------------------------------------------- */
.hero { padding: 22px 0 8px; }

.hero__panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 44px);
  color: #ffffff;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  position: relative;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(154, 241, 73, 0.14);
  border: 1px solid rgba(154, 241, 73, 0.4);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(1.95rem, 1.2rem + 2.6vw, 3rem);
  margin-bottom: 16px;
}

.hero__lead {
  color: #d7ded9;
  font-size: 1.04rem;
  max-width: 56ch;
  margin-bottom: 0;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__figure { margin: 0; }

.hero__figure .shot__frame {
  border: 1px solid rgba(154, 241, 73, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--ink-deep);
  max-width: max-content;
  margin: 0 auto;
  text-align: center;
}
.hero__figure .shot__frame img {
  max-width: 100%;
  height: auto;
}
.hero__figure figcaption {
  text-align: center;
  margin-top: 6px;
}

.hero__figure figcaption { color: #a9b5ae; }

.hero__note {
  margin: 18px 0 0;
  color: #c3cec8;
  font-size: 0.82rem;
}

/* --- Inner page hero ----------------------------------------------------- */
.page-hero {
  padding: 22px 0 4px;
}
.page-hero__panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 36px);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem);
  margin-bottom: 14px;
}
.page-hero__lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}
.page-hero .action-row { margin-top: 24px; }

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs {
  padding: 16px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.84rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "-";
  color: var(--border-strong);
  font-weight: 700;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* --- Layout with side rail ---------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: var(--gap);
  align-items: start;
  padding-top: 28px;
  padding-bottom: 56px;
}

.content { min-width: 0; }

.rail {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 16px;
}

.rail__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.rail__card--offer {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow-2);
}

.rail__kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rail__claim {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}
.rail__claim small { display: block; font-size: 0.8rem; font-weight: 600; color: #a9b5ae; margin-top: 6px; letter-spacing: 0; }

.rail__facts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.rail__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}
.rail__facts span { color: #a9b5ae; }
.rail__facts strong { color: #ffffff; font-weight: 700; }

.rail__actions { display: grid; gap: 10px; margin-top: 18px; }

.rail__note {
  margin: 14px 0 0;
  color: #a9b5ae;
  font-size: 0.78rem;
  line-height: 1.5;
}
.rail__note a { color: var(--lime); }
.rail__note a:hover { color: #ffffff; }

.rail__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rail__links { margin: 0; padding: 0; list-style: none; }
.rail__links li { margin: 0; border-bottom: 1px solid var(--border); }
.rail__links li:last-child { border-bottom: 0; }
.rail__links a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  transition: padding-left 0.16s ease;
}
/* Move the row rather than lighten the label, so contrast never drops. */
.rail__links a:hover {
  color: var(--ink);
  padding-left: 6px;
  text-decoration: underline;
}

.rail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail__chips li {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- Sections & prose ---------------------------------------------------- */
.section { padding: 30px 0 6px; }
.section:first-child { padding-top: 6px; }

.prose > h2 + p { margin-top: 0; }

.prose h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 84px;
  height: 2px;
  background: var(--blue);
}

.prose h3 { margin-top: 26px; }
.prose h4 { margin-top: 20px; color: var(--ink); }

.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 24px;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
}

.prose ol { padding-left: 22px; }
.prose ol > li { padding-left: 4px; }
.prose ol > li::marker { color: var(--blue-ink); font-weight: 700; }

.prose li > ul { margin-top: 8px; }

/* --- Figures ------------------------------------------------------------- */
.shot { margin: 24px 0; }
.shot__frame {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}
.media-link { display: block; text-decoration: none; }
.media-link:hover { text-decoration: none; }
.media-link:hover .shot__frame { border-color: var(--green); }

.shot img { width: 100%; height: auto; }

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* --- Tables -------------------------------------------------------------- */
.table-scroll {
  margin: 22px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

tbody th {
  width: 38%;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
}
tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th { background: var(--surface-alt); }

/* --- Callouts ------------------------------------------------------------ */
.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.notice__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.notice p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0; }
.notice p + p { margin-top: 10px; }
.notice--alert { background: #fff7ed; border-color: #f3d6b4; }
.notice--alert .notice__title { color: #8a4b06; }
.notice--alert p { color: #6f4a15; }

/* --- Key facts grid ------------------------------------------------------ */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.facts li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.84rem; }

/* --- Table of contents --------------------------------------------------- */
.toc {
  margin: 0 -20px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.toc > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-alt);
  list-style: none;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue-ink);
  border-bottom: 2px solid var(--blue-ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
}
.toc[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.toc > summary:hover { background: var(--surface); }
.toc ol {
  margin: 0;
  padding: 12px 18px 16px 40px;
  columns: 2;
  column-gap: 28px;
}
.toc ol li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--ink); font-size: 0.89rem; font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { margin: 20px 0 0; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M5 1h2v4h4v2H7v4H5V7H1V5h4z' fill='%231c61d6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.faq details[open] summary::after {
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='2' viewBox='0 0 12 2'%3E%3Cpath d='M0 0h12v2H0z' fill='%23101213'/%3E%3C/svg%3E");
}
/* The +/− icon carries the hover signal so the label keeps full contrast. */
.faq summary:hover::after { background-color: var(--lime); }
.faq summary:hover { border-color: var(--border-strong); }
.faq__body { padding: 0 18px 18px; border-top: 1px solid var(--border); }
.faq__body p { margin: 14px 0 0; font-size: 0.94rem; color: #2c3437; }

/* --- Author -------------------------------------------------------------- */
.author {
  margin: 34px 0 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.author__grid {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.author__avatar {
  width: 64px;
  height: 64px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.author__role {
  margin: 0 0 2px;
  color: var(--blue-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.author__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
}
.author__meta { margin: 4px 0 10px; color: var(--muted); font-size: 0.83rem; }
.author__bio { margin: 0; font-size: 0.93rem; color: #2c3437; }

/* --- Mobile action bar --------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 30px -18px rgba(16, 18, 19, 0.45);
  transition: transform 0.22s ease;
}
.mobile-bar__title {
  margin: 0;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.mobile-bar__title span { display: block; font-weight: 600; color: var(--muted); }
.mobile-bar .btn { flex: 1; min-height: 40px; padding-inline: 14px; min-width: auto; }
.mobile-bar__close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-bar__close:hover { background: var(--bg-soft); color: var(--ink); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: 24px;
  background: var(--ink);
  color: #ffffff;
  padding: 46px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.footer-brand__logo {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand__logo img { height: 32px; width: auto; }
.footer-text {
  margin: 18px 0 0;
  color: #a9b5ae;
  font-size: 0.86rem;
  line-height: 1.6;
}
.footer-col h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { color: #d7ded9; font-size: 0.88rem; text-decoration: none; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-col .footer-meta { color: #a9b5ae; font-size: 0.84rem; margin: 0 0 10px; }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.footer-trust li { margin: 0; }
.footer-trust a,
.footer-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}
.footer-trust img { height: 22px; width: auto; }
.footer-trust a:hover { border-color: var(--lime); }

.footer-block { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-block h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.payments-grid li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}
.payments-grid b { display: block; font-size: 0.9rem; color: #ffffff; }
.payments-grid span { display: block; margin-top: 3px; font-size: 0.78rem; color: #a9b5ae; }

.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.age-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: 60ch;
  color: #a9b5ae;
  font-size: 0.82rem;
}
.age-badge img { flex: none; width: 44px; height: 44px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal li { margin: 0; }
.footer-legal a { color: #d7ded9; font-size: 0.82rem; text-decoration: none; }
.footer-legal a:hover { color: #ffffff; text-decoration: underline; }
.footer-copy {
  margin: 0;
  width: 100%;
  padding-top: 16px;
  color: var(--muted-soft);
  font-size: 0.78rem;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --rail: 260px; --gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding-top: 8px;
  }
  .rail__card--offer { order: -1; }
}

@media (max-width: 1080px) {
  .burger { display: flex; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 10px var(--gutter) 18px;
    background: var(--ink);
    border-bottom: 1px solid var(--hd-line);
    box-shadow: var(--shadow-1);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 13px 14px; border-radius: var(--radius-sm); font-size: 1rem; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { order: -1; }
  .mobile-bar { display: flex; transform: translateY(110%); }
  .mobile-bar.is-visible { transform: translateY(0); }
  body.has-mobile-bar { padding-bottom: 62px; }
  .toc ol { columns: 1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius-lg: 18px; }
  body { font-size: 15.5px; }
  .hero { padding-top: 14px; }
  .hero__panel { padding: 22px 18px; }
  .page-hero__panel { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .author__grid { grid-template-columns: minmax(0, 1fr); }
  .author__avatar { width: 52px; height: 52px; font-size: 1.05rem; }
  .faq summary { font-size: 0.95rem; padding: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-bar__title { display: none; }
}

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

@media (max-width:374.98px) {
  .action-row {
    flex-direction: column;
  }
}


.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;
  }
}