/* ==========================================================================
   Betika review portal (en-ET) — single stylesheet for all pages
   Light page · Betika green #75B529 · yellow #F6D710 highlights · ink #111
   Display: Plus Jakarta Sans · Body: Inter
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --accent: #75B529;
  --accent-strong: #3D7A12;
  --accent-deep: #2F5E0D;
  --accent-soft: #EAF4DC;
  --accent-line: #C7E0A4;
  --accent-tint: #F4F9EC;
  --signal: #F6D710;
  --signal-soft: #FDF6D2;
  --ink: #111111;

  /* Surfaces */
  --bg: #F7F9F4;
  --surface: #FFFFFF;
  --surface-2: #F1F5EC;
  --surface-3: #E8EEE0;

  /* Text */
  --fg: #111111;
  --fg-soft: #33362F;
  --muted: #5A6250;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9BFB2;

  /* Lines, rings, shadows */
  --border: #E2E7DA;
  --border-strong: #CBD4BE;
  --ring: #3D7A12;
  --shadow-sm: 0 1px 2px oklch(40% 0.03 130 / 0.06), 0 1px 3px oklch(40% 0.03 130 / 0.05);
  --shadow-md: 0 12px 26px -14px oklch(40% 0.06 130 / 0.24), 0 2px 6px oklch(40% 0.03 130 / 0.06);
  --shadow-lg: 0 26px 60px -30px oklch(35% 0.09 130 / 0.4), 0 4px 14px oklch(35% 0.04 130 / 0.08);

  /* States */
  --ok: #2E7D32;
  --ok-soft: #E8F5E9;
  --warn: #B7791F;
  --warn-soft: #FDF3DF;
  --danger: #B3261E;
  --danger-soft: #FDECEA;

  /* Shape and rhythm */
  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1180px;
  --pad-inline: clamp(16px, 4vw, 28px);
  --gap: clamp(16px, 2.2vw, 26px);
  --section-y: clamp(36px, 5.2vw, 68px);
  --header-h: 72px;
  --sidebar-w: 320px;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

/* 2. Reset and base -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

picture { display: block; }
img { height: auto; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  font-weight: 600;
  transition: top 0.16s ease;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

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

/* 3. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--on-dark);
  text-decoration: none;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--accent-line);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--fg);
  text-decoration: none;
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #2E2E2E;
  border-color: #2E2E2E;
  color: #fff;
  text-decoration: none;
}

.btn-signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.btn-signal:hover {
  background: #E3C60C;
  border-color: #E3C60C;
  color: var(--ink);
  text-decoration: none;
}

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }

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

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 230;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 34px; border-radius: 7px; }
.brand:hover { text-decoration: none; }

.main-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list li { margin: 0; }
.nav-list a {
  display: block;
  padding: 9px 4px;
  color: var(--fg-soft);
  font-size: 15.5px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-list a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.nav-list a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span { position: relative; }
.burger span::before,
.burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 5. Hero (home) ----------------------------------------------------------- */
.hero {
  background: var(--accent-tint);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(28px, 4.4vw, 60px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--signal);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(17px, 1.55vw, 19.5px);
  line-height: 1.62;
  color: var(--fg-soft);
  max-width: 62ch;
  margin-bottom: 20px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  margin: 0;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--fg-soft);
}
.hero-facts b { color: var(--ink); font-weight: 700; }

.hero-visual { position: relative; }
.hero-visual .img-link,
.hero-visual picture { display: block; }
.hero-visual img {
  width: 100%;
  border-radius: 40px;
  border: 1px solid var(--accent-line);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.hero-visual--device img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  background: var(--signal);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* 6. Inner page head ------------------------------------------------------- */
.page-head {
  background: var(--accent-tint);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(18px, 2.6vw, 30px) clamp(22px, 3.4vw, 38px);
}
.page-head h1 {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.012em;
  margin-bottom: 14px;
  max-width: 30ch;
}
.page-head .lead { margin-bottom: 16px; }
.page-head-actions { margin-top: 20px; }

.breadcrumbs {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "-"; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs [aria-current="page"] { color: var(--fg); font-weight: 500; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.meta-row li { margin: 0; display: flex; align-items: center; gap: 7px; }
.meta-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* 7. Layout with sidebar --------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--surface { background: var(--surface); border-bottom: 1px solid var(--border); }
.section--flush { padding-bottom: 0; }

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

.grid-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: clamp(26px, 3.4vw, 48px);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.side-card--accent {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.side-card h2,
.side-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}

.side-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-brand img { height: 28px; width: auto; }
.side-note { font-size: 14px; color: var(--muted); margin: 0; }

.side-facts { margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.side-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}
.side-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-facts b { color: var(--ink); font-weight: 600; text-align: right; }

.side-links { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.side-links li { margin: 0; border-bottom: 1px solid var(--border); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 9px 0; color: var(--fg-soft); }
.side-links a:hover { color: var(--accent-deep); }

.side-cta { display: flex; flex-direction: column; gap: 10px; }
.side-cta .btn { width: 100%; }

.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rating-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.rating-scale { font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 13px;
  height: 13px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.is-empty { background: var(--border-strong); }

/* 8. Article prose --------------------------------------------------------- */
.prose { max-width: 78ch; }
.prose > *:last-child { margin-bottom: 0; }

.prose h2 {
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 30px 0 0.55em;
  padding-top: 4px;
}
.prose h3 {
  font-size: clamp(18.5px, 1.7vw, 22px);
  font-weight: 700;
  margin: 1.5em 0 0.5em;
}
.prose h2 + h3 { margin-top: 0.2em; }
.prose p { color: var(--fg); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 0.5em;
}
.section-head::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 6px;
  border-radius: 3px;
  background: var(--signal);
  align-self: center;
}

/* 9. Table of contents ----------------------------------------------------- */
.toc {
  margin: 22px 0 26px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.toc > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary:hover { background: var(--accent-tint); }
.toc-icon {
  position: relative;
  display: inline-flex;
  width: 26px;
  height: 26px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  color: var(--accent-deep);
}
/* Bars are drawn in CSS: the self-hosted latin font files carry no symbol glyphs,
   so an icon font character would depend on a platform fallback. */
.toc-icon::before,
.toc-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.toc-icon::before { top: 8px; box-shadow: 0 4px 0 currentColor; }
.toc-icon::after { top: 16px; }
.toc > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
  color: var(--accent-deep);
}
.toc[open] > summary::after { content: "\2212"; }
.toc-body { padding: 4px 18px 16px; background: var(--surface); border-top: 1px solid var(--accent-line); }
.toc-body ol {
  counter-reset: toc;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 26px;
}
.toc-body li {
  counter-increment: toc;
  margin: 0;
  padding: 7px 0 7px 28px;
  position: relative;
  break-inside: avoid;
  font-size: 15.5px;
}
.toc-body li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.toc-body a { color: var(--fg-soft); }
.toc-body a:hover { color: var(--accent-deep); }

/* 10. Tables --------------------------------------------------------------- */
.table-wrap {
  margin: 0 0 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 15.5px;
}
caption {
  caption-side: top;
  padding: 14px 18px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
caption::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--signal);
  vertical-align: middle;
}
th, td {
  padding: 11px 18px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}
thead th {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-top: 0;
}
tbody th {
  width: 38%;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
}
tbody tr:hover { background: var(--accent-tint); }
td b, td strong { font-variant-numeric: tabular-nums; }

.table-scroll-hint {
  margin: 0 0 1.4em;
  font-size: 13.5px;
  color: var(--muted);
}

/* 11. Lists ---------------------------------------------------------------- */
.list-check { margin: 0 0 1.4em; padding: 0; list-style: none; }
.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.6em;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent-strong);
  border-bottom: 2.5px solid var(--accent-strong);
  transform: rotate(-45deg);
}
.list-mark { margin: 0 0 1.4em; }
.list-mark li::marker { color: var(--accent); }
.list-num { margin: 0 0 1.4em; }
.list-num li::marker { color: var(--accent-strong); font-weight: 700; }

/* 12. Figures -------------------------------------------------------------- */
.figure { margin: 1.6em 0; }
.figure .img-link { display: block; border-radius: var(--radius); overflow: hidden; }
.figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.figure .img-link img { transition: transform 0.3s ease; }
.figure .img-link:hover img { transform: scale(1.012); }
.figure figcaption {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

/* 13. Callouts ------------------------------------------------------------- */
.callout {
  margin: 1.6em 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.callout p:last-child { margin-bottom: 0; }
.callout-title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.callout--accent { background: var(--accent-soft); border-color: var(--accent-line); }
.callout--warn { background: var(--warn-soft); border-color: #EBD9AE; }
.callout--warn .callout-title { color: #7A4E08; }
.callout--signal { background: var(--signal-soft); border-color: #EBDC8E; }
.callout--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.callout--dark .callout-title { color: var(--signal); }

/* 14. CTA strip ------------------------------------------------------------ */
.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: center;
  margin: 1.8em 0;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--ink);
  border-radius: var(--radius-lg);
}
.cta-strip h2,
.cta-strip h3 {
  color: var(--on-dark);
  font-size: clamp(19px, 2vw, 24px);
  margin-top: 0 !important;
  margin-bottom: 6px;
}
.cta-strip p { color: var(--on-dark-muted); margin: 0; font-size: 15.5px; }
.cta-strip .btn-row { flex: 0 0 auto; }
.cta-strip .btn-ghost { background: transparent; border-color: var(--on-dark-muted); color: var(--on-dark); }
.cta-strip .btn-ghost:hover { background: var(--accent-deep); border-color: var(--accent); color: var(--on-dark); }

/* 15. FAQ ------------------------------------------------------------------ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--accent-tint); }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 21px;
  line-height: 1.1;
  color: var(--accent-strong);
}
.faq details[open] summary::after { content: "\2212"; }
.faq-answer {
  padding: 0 18px 18px;
  border-top: 1px solid var(--border);
  margin-top: -1px;
}
.faq-answer p { margin: 12px 0 0; font-size: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* 16. Author --------------------------------------------------------------- */
.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}
.author-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}
.author-role { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.author-card p { font-size: 15.5px; margin-bottom: 12px; }
.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}
.author-meta li {
  margin: 0;
  padding: 5px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  color: var(--accent-deep);
  font-weight: 500;
}

/* 17. Contact blocks ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  margin: 1.6em 0;
}
.contact-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-card h3 { margin: 0 0 8px; font-size: 17px; }
.contact-card p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.contact-card a { font-weight: 600; word-break: break-word; }

/* 18. Mobile CTA dock ------------------------------------------------------ */
.cta-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: none;
  padding: 7px var(--pad-inline) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -14px 30px -18px oklch(30% 0.05 130 / 0.45);
  transform: translateY(110%);
  transition: transform 0.24s ease;
}
.cta-dock.is-visible { transform: translateY(0); }
.cta-dock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.cta-dock-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}
.cta-dock-head span { display: block; font-size: 13px; color: var(--muted); }
.cta-dock-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cta-dock-close:hover { background: var(--surface-2); }
.cta-dock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-dock-actions .btn { min-height: 40px; padding: 4px 12px; }
.cta-dock-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.dock-tab {
  position: fixed;
  right: var(--pad-inline);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 139;
  display: none;
  padding: 12px 18px;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.dock-tab.is-visible { display: inline-flex; }
.dock-tab:hover { background: #2E2E2E; }

/* 19. Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(36px, 4.6vw, 58px) 22px;
  margin-top: 0;
}
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--signal); text-decoration: none; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}
.site-footer h3 {
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-brand img {
  width: auto;
  height: 30px;
  margin-bottom: 16px;
  padding: 5px 10px;
  background: #fff;
  border-radius: 9px;
}
.footer-brand p {
  color: var(--on-dark-muted);
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 46ch;
}
.footer-rate { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-rate span:last-child { font-size: 14.5px; color: var(--on-dark); }
.footer-rate .stars i { width: 15px; height: 15px; }
.footer-rate .stars i.is-empty { background: #4A5044; }

.footer-links { margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; }
.footer-links li { margin: 0 0 9px; }
.footer-links li:last-child { margin-bottom: 0; }


.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: clamp(26px, 3vw, 38px);
  padding-top: 22px;
  border-top: 1px solid #33352C;
}
.footer-bottom p {
  flex: 1 1 380px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.age-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--signal);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}
.age-badge small {
  display: block;
  max-width: 9ch;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-legal {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: #8F9587;
}
.footer-legal a { color: #A9B39C; }

/* 20. Helpers -------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 600;
}
.badge--signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

/* 21. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --sidebar-w: 288px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 420px; }
  .hero-visual--device img { max-height: 380px; }
  .grid-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin: 0;
    padding: 10px var(--pad-inline) 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 10px 2px;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--accent); }
  .header-cta .btn-ghost { display: none; }
  .cta-dock { display: block; }
  .site-footer { padding-bottom: 96px; }
  .toc-body ol { columns: 1; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .author-card { grid-template-columns: minmax(0, 1fr); }
  .cta-strip { grid-template-columns: minmax(0, 1fr); }
  .cta-strip .btn-row { justify-content: flex-start; }
  .btn-row .btn { flex: 1 1 190px; }
  .hero-visual { max-width: 100%; }
}

@media (max-width: 560px) {
  .header-cta .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .brand img { height: 28px; }
  .hero-facts li { font-size: 13.5px; padding: 7px 12px; }
  .cta-dock-actions { grid-template-columns: 1fr 1fr; }
  .age-badge { font-size: 18px; }

  .hero-facts {
    display: none;
  }
}

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



.payments-wrap {
  margin: 30px 0 30px;
}
.payments-wrap h4 {
  color: #fff;
  margin: 0 0 18px;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 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;
  }
}