/* ==========================================================================
   DSN 1.1 — SHARED STYLES
   Стандартизированный упрощённый обзорник казино. Без гейм-модуля.
   Спека — docs/design-system-dsn.md. Процесс брендирования — docs/guide-design.md.

   Правила:
   - Значения бренда меняются ТОЛЬКО в assets/brand.css (переопределяет :root ниже).
     Сам style.css при клонировании не трогать.
   - Все цвета в компонентах — через токены. Полупрозрачность — color-mix(), не rgba().
   - Тёмный hero + светлый корпус (owner-approved направление, design-system-monobrand §33).
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* ---- Surfaces (светлый корпус) ---- */
  --bg:            #f5f6f9;
  --bg-elevated:   #ffffff;
  --bg-card:       #ffffff;
  --bg-sunken:     #eef0f4;
  --surface-hover: #e9ebf1;
  --border:        #e0e3ea;
  --border-soft:   #ececf0;

  /* ---- Text ---- */
  --text:          #1b2141;
  --text-muted:    #565c7e;
  --text-faint:    #868bab;

  /* ---- Brand accent — дефолт под "пустой" шаблон. Переопределяется в brand.css. ---- */
  --accent:        #ff5823;
  --accent-hover:  #ff7038;
  --accent-ink:    #ffffff;   /* текст поверх --accent */

  /* ---- CTA — по умолчанию = акцент бренда. Отдельный токен, чтобы можно было
     развести цвет кнопки и цвет акцента (напр. зелёная CTA при не-зелёном бренде). ---- */
  --cta:           var(--accent);
  --cta-hover:     var(--accent-hover);
  --cta-ink:       var(--accent-ink);

  /* ---- Secondary accent — ссылки, активные вкладки ---- */
  --link:          #3a5bd9;
  --link-hover:    #2c47b4;

  /* ---- Semantic ---- */
  --pos:           #1f9d55;
  --neg:           #d64545;
  --star:          #f5a623;

  /* ---- Typography ---- */
  --font-body:     'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-display:  var(--font-body);   /* brand.css может подставить дисплей-шрифт бренда */

  /* ---- Spacing scale (8px base) ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* ---- Radius ---- */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-full: 999px;

  /* ---- Elevation (мягкая, под светлый корпус) ---- */
  --sh-sm: 0 1px 3px rgba(27, 33, 65, .08), 0 1px 2px rgba(27, 33, 65, .06);
  --sh-md: 0 6px 20px rgba(27, 33, 65, .10);
  --sh-lg: 0 16px 40px rgba(27, 33, 65, .14);

  /* ---- Layout ---- */
  --content-max: 1100px;
  --prose-max:   760px;    /* ширина строки текста — читаемость */
  --header-h:    60px;

  /* ---- Motion (кривые Emil Kowalski, design-system-monobrand §5) ---- */
  --ease-out:    cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --dur-fast:    130ms;
  --dur-base:    200ms;
  --dur-panel:   260ms;

  /* ---- HERO brand-config surface ----
     Дефолты = вид "пустого" шаблона. Переопределяются в brand.css. ---- */
  --hero-bg:            #1c1633;   /* тон подложки hero под скриншот */
  --hero-wash-1:        color-mix(in srgb, var(--accent) 22%, transparent);
  --hero-wash-2:        color-mix(in srgb, var(--accent) 6%,  transparent);
  --hero-text:          #ffffff;
  --hero-text-muted:    rgba(255, 255, 255, .80);
  --hero-text-faint:    rgba(255, 255, 255, .60);
  --hero-border:        rgba(255, 255, 255, .16);

  --wordmark-1:         var(--text);      /* цвет вордмарка в ХЕДЕРЕ (светлый) */
  --wordmark-2:         var(--accent);    /* акцентное слово/буква вордмарка */
  --wordmark-gradient:  none;             /* напр. linear-gradient(180deg,#ffe9b0,#c9a227) + класс .wordmark--gradient */
  --hero-font:          var(--font-display);
  --hero-font-weight:   800;
  --hero-font-style:    normal;
  --hero-tracking:      -0.02em;
  --hero-transform:     none;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* страховка: корпус никогда не скроллится горизонтально */
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }
h4 { font-size: 1rem; }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--sp-4); }
.section { padding-block: var(--sp-8); }
.section:nth-of-type(even) { background: var(--bg-elevated); }
.section > .wrap > h2 { margin-bottom: var(--sp-2); }
.section-lead { color: var(--text-muted); max-width: var(--prose-max); margin-bottom: var(--sp-5); }

.prose { max-width: var(--prose-max); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--sp-2); }

.hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--sp-7); }

/* ---- small utilities (so pages carry no inline CSS) ---- */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: var(--sp-2); top: var(--sp-2); z-index: 99;
  background: var(--bg-elevated); color: var(--text);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); box-shadow: var(--sh-md);
}
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.note { color: var(--text-faint); font-size: .85rem; margin-top: var(--sp-3); }
.stat-line {
  display: inline-block; margin-bottom: var(--sp-4);
  font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.05rem;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--sp-3); height: 100%; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em;
  color: var(--wordmark-1); white-space: nowrap;
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.wordmark:hover { text-decoration: none; }
.wordmark b { color: var(--wordmark-2); font-weight: 800; }
@media (max-width: 559px) { .wordmark b { display: none; } }
.wordmark--gradient b {
  background: var(--wordmark-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.header-spacer { flex: 1 1 auto; min-width: var(--sp-2); }

/* ---- desktop-only pieces (hidden on mobile) ---- */
.header-nav, .lang-switch, .header-cta { display: none; }

/* ---- shared dropdown behaviour for the two header <details> ---- */
.hdr-menu { position: relative; flex: 0 0 auto; }
.hdr-menu > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-width: 44px; height: 40px; padding-inline: var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg-elevated); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.hdr-menu > summary::-webkit-details-marker { display: none; }
.hdr-menu[open] > summary { border-color: var(--text-faint); }
.hdr-menu > summary svg { width: 18px; height: 18px; }
.hdr-panel {
  position: absolute; right: 0; top: calc(100% + var(--sp-2));
  min-width: 200px; max-width: calc(100vw - var(--sp-6)); padding: var(--sp-2);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  display: grid; gap: 2px;
}
.hdr-menu:not([open]) .hdr-panel { display: none; }
.hdr-panel a {
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.hdr-panel a:hover { background: var(--surface-hover); text-decoration: none; }
.hdr-panel a[aria-current="true"] { color: var(--accent-ink); background: var(--accent); }

/* ==========================================================================
   5. PAGE TOC (статичный список «On this page» — только на onepage, уезжает со скроллом)
   ========================================================================== */
.page-toc {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-card); box-shadow: var(--sh-sm);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-7);
}
.page-toc > p {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: var(--sp-3);
}
.page-toc ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
}
.page-toc a {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-sunken);
}
.page-toc a:hover { color: var(--text); text-decoration: none; background: var(--surface-hover); }

/* смещение якорей под sticky-хедер */
:target { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }
[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }

/* ==========================================================================
   6. HERO (тёмная зона)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero::before {   /* фирменный wash */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, var(--hero-wash-1), transparent 60%),
    linear-gradient(180deg, transparent 40%, var(--hero-bg) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--hero-bg) 55%, transparent), var(--hero-bg));
}
.hero .wrap { position: relative; padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)); }
.hero-inner { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--hero-text-muted);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--hero-border); border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.hero h1 {
  color: var(--hero-text);
  font-family: var(--hero-font);
  font-weight: var(--hero-font-weight);
  font-style: var(--hero-font-style);
  letter-spacing: var(--hero-tracking);
  text-transform: var(--hero-transform);
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3rem);
  margin-bottom: var(--sp-3);
}
.hero h1 .brand { color: var(--hero-text); }
.hero h1 .brand.wordmark--gradient {
  background: var(--wordmark-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* БОНУС — самый крупный текстовый элемент страницы */
.hero-offer {
  display: block;
  font-family: var(--hero-font);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 4vw, 3.4rem);
  line-height: 1.05;
  color: var(--accent);
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}

.hero-disclaimer { font-size: .8rem; color: var(--hero-text-faint); margin-top: var(--sp-4); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--hero-border);
  font-size: .82rem; color: var(--hero-text-muted); font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: var(--sp-1); }
.hero-trust span::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ==========================================================================
   7. MINI-HERO (внутренние страницы многостраничника)
   ========================================================================== */
.mini-hero {
  background: var(--hero-bg); color: var(--hero-text);
  position: relative; isolation: isolate; overflow: hidden;
}
.mini-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 120% at 85% 0%, var(--hero-wash-1), transparent 55%);
}
.mini-hero .wrap { padding-block: var(--sp-7); }
.mini-hero h1 { color: var(--hero-text); font-family: var(--hero-font); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); margin-top: var(--sp-2); }
.breadcrumb { font-size: .82rem; color: var(--hero-text-faint); }
.breadcrumb a { color: var(--hero-text-muted); }
.breadcrumb a:hover { color: var(--hero-text); }

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */
.btn {
  --_bg: var(--cta); --_ink: var(--cta-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--_ink); background: var(--_bg);
  border: 1px solid transparent; border-radius: var(--r-full);
  cursor: pointer; text-align: center;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--cta-hover); color: var(--_ink); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding-inline: var(--sp-7); }
.btn-block { display: flex; width: 100%; }
.btn-ghost {
  --_bg: transparent; --_ink: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { --_bg: var(--surface-hover); color: var(--text); }
.hero .btn-ghost { --_ink: var(--hero-text); border-color: var(--hero-border); }
.hero .btn-ghost:hover { --_bg: color-mix(in srgb, #fff 10%, transparent); color: var(--hero-text); }

.cta-row { margin-block: var(--sp-6); }
.cta-row .btn { max-width: 420px; }
@media (max-width: 560px) { .cta-row .btn { max-width: none; width: 100%; } }

/* ==========================================================================
   9. PROMO-CODE CHIP
   ========================================================================== */
.promo-code {
  display: inline-flex; align-items: stretch; gap: 0;
  border: 1px dashed var(--accent); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-card));
  overflow: hidden; max-width: 100%;
}
.promo-code code {
  display: flex; align-items: center; padding: var(--sp-3) var(--sp-5);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; color: var(--text);
}
.promo-code button {
  border: 0; border-left: 1px dashed var(--accent);
  background: transparent; color: var(--accent);
  font-weight: 700; font-size: .8rem; padding-inline: var(--sp-4);
  cursor: pointer; white-space: nowrap;
}
.promo-code button:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.promo-code.is-copied button { color: var(--pos); }

/* ==========================================================================
   10. QUICK FACTS (таблица)
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; background: var(--bg-card); }
caption { text-align: left; color: var(--text-faint); font-size: .85rem; padding-bottom: var(--sp-2); }
th, td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border-soft); font-size: .95rem; }
thead th { background: var(--bg-sunken); font-weight: 700; color: var(--text); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--text-muted); width: 40%; }

.quick-facts { border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-sm); table-layout: fixed; }
.quick-facts th, .quick-facts td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.quick-facts td:last-child { font-weight: 700; }

/* ==========================================================================
   11. STEPS (how to claim / register / withdraw)
   ========================================================================== */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); max-width: var(--prose-max); }
.steps li {
  position: relative; min-width: 0;
  padding-left: calc(var(--sp-8) - var(--sp-2));
  min-height: 32px; padding-top: 4px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}

/* ==========================================================================
   12. PROS & CONS
   ========================================================================== */
.proscons { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.proscons > div {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-5); box-shadow: var(--sh-sm);
}
.proscons h3 { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); font-size: 1.05rem; }
.proscons ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.proscons li { position: relative; padding-left: var(--sp-6); color: var(--text-muted); }
.proscons li::before { position: absolute; left: 0; font-weight: 800; }
.pros { border-top: 3px solid var(--pos); }
.cons { border-top: 3px solid var(--neg); }
.pros li::before  { content: "＋"; color: var(--pos); }
.cons li::before  { content: "－"; color: var(--neg); }

/* ==========================================================================
   13. CALLOUT
   ========================================================================== */
.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-card));
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.callout h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.callout p { color: var(--text-muted); }

/* ==========================================================================
   14. RATING BLOCK
   ========================================================================== */
.rating {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-sm);
}
.rating-score { text-align: center; }
.rating-score .num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(3rem, 2rem + 6vw, 4.5rem); color: var(--accent);
}
.rating-score .out { color: var(--text-faint); font-size: .9rem; }
.rating-score .stars { color: var(--star); letter-spacing: .1em; margin-top: var(--sp-2); }
.rating-bars { display: grid; gap: var(--sp-3); align-content: center; }
.rating-bar { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2) var(--sp-3); align-items: center; font-size: .9rem; }
.rating-bar .track { grid-column: 1 / -1; height: 8px; border-radius: var(--r-full); background: var(--bg-sunken); overflow: hidden; }
.rating-bar .fill { height: 100%; background: var(--accent); border-radius: inherit; }
.rating-bar .val { font-weight: 700; }

/* ==========================================================================
   15. TESTIMONIALS (именные, h3 = имя + рейтинг)
   ========================================================================== */
.testimonials { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-5); box-shadow: var(--sh-sm);
}
.testimonial h3 { font-size: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2); }
.testimonial h3 .stars { color: var(--star); font-size: .9rem; letter-spacing: .08em; }
.testimonial p { color: var(--text-muted); margin-top: var(--sp-2); }
.testimonial .meta { color: var(--text-faint); font-size: .8rem; margin-top: var(--sp-3); }

/* ==========================================================================
   16. AUTHOR BYLINE (E-E-A-T)
   ========================================================================== */
.byline {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--bg-sunken); border-radius: var(--r-md); padding: var(--sp-5);
}
.byline .avatar {
  flex: 0 0 52px; width: 52px; height: 52px; min-width: 0;
  border-radius: var(--r-full); overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em;
}
.byline .who { font-weight: 700; }
.byline .role { color: var(--text-faint); font-size: .85rem; }
.byline p { color: var(--text-muted); font-size: .9rem; margin-top: var(--sp-2); }

/* ==========================================================================
   17. VERDICT
   ========================================================================== */
.verdict {
  background: var(--hero-bg); color: var(--hero-text);
  border-radius: var(--r-lg); padding: var(--sp-6);
  position: relative; overflow: hidden; isolation: isolate;
}
.verdict::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 120% at 100% 0%, var(--hero-wash-1), transparent 55%);
}
.verdict h2 { color: var(--hero-text); margin-bottom: var(--sp-3); }
.verdict p { color: var(--hero-text-muted); max-width: var(--prose-max); }
.verdict .btn { margin-top: var(--sp-5); }

/* ==========================================================================
   18. FAQ (аккордеон на details/summary — работает без JS)
   ========================================================================== */
.faq { display: grid; gap: var(--sp-3); max-width: var(--prose-max); }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--sp-4) var(--sp-5); padding-right: var(--sp-8);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: var(--sp-5); top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--surface-hover); }
.faq .faq-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* ==========================================================================
   19. COMPARISON TABLE helper
   ========================================================================== */
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .highlight { background: color-mix(in srgb, var(--accent) 8%, transparent); font-weight: 700; }

/* ==========================================================================
   20. STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform var(--dur-panel) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .amount { font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1.1; flex: 0 1 auto; }
.sticky-cta .amount small { display: block; font-weight: 600; font-size: .72rem; color: var(--text-faint); }
.sticky-cta .btn { flex: 1 1 auto; min-height: 46px; padding-inline: var(--sp-4); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ==========================================================================
   21. BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed; right: var(--sp-4); bottom: calc(var(--sp-4) + 64px); z-index: 55;
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--sh-md);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
@media (min-width: 900px) { .to-top { bottom: var(--sp-5); } }

/* ==========================================================================
   22. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--hero-bg); color: var(--hero-text-muted);
  padding-block: var(--sp-8) var(--sp-6);
  margin-bottom: 76px;   /* место под sticky-cta на мобиле */
}
.site-footer .wrap { display: grid; gap: var(--sp-6); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.footer-links a { color: var(--hero-text-muted); font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: var(--hero-text); }
.footer-disclaimer {
  font-size: .8rem; color: var(--hero-text-faint); line-height: 1.7;
  border-top: 1px solid var(--hero-border); padding-top: var(--sp-5);
}
.footer-disclaimer strong { color: var(--hero-text-muted); }
@media (min-width: 900px) { .site-footer { margin-bottom: 0; } }

/* ==========================================================================
   23. SCROLL-REVEAL (только если JS включил .reveal-ready)
   ========================================================================== */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-panel) var(--ease-out), transform var(--dur-panel) var(--ease-out); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   24. RESPONSIVE — DESKTOP UP
   ========================================================================== */
@media (min-width: 720px) {
  .proscons  { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .rating { grid-template-columns: 240px 1fr; align-items: center; }
  .quick-facts tbody th { width: 55%; }
}

@media (min-width: 900px) {
  .hdr-menu { display: none; }
  .site-header .wrap { gap: var(--sp-5); }
  .header-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
    min-height: 40px; padding: var(--sp-2) var(--sp-5);
    font-family: var(--font-display); font-weight: 700; font-size: .9rem;
    color: var(--cta-ink); background: var(--cta); border-radius: var(--r-full);
    flex: 0 0 auto;
  }
  .header-cta:hover { background: var(--cta-hover); color: var(--cta-ink); text-decoration: none; }
  .header-nav { display: flex; gap: var(--sp-5); flex: 0 0 auto; }
  .header-nav a { color: var(--text-muted); font-weight: 600; font-size: .92rem; }
  .header-nav a:hover { color: var(--text); text-decoration: none; }
  .lang-switch { display: flex; gap: var(--sp-1); flex: 0 0 auto; }
  .lang-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 40px; padding-inline: var(--sp-2);
    font-size: .8rem; font-weight: 700; color: var(--text-muted);
    border: 1px solid var(--border); border-radius: var(--r-sm);
  }
  .lang-switch a:hover { color: var(--text); border-color: var(--text-faint); text-decoration: none; }
  .lang-switch a[aria-current="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
  .hero-inner { max-width: 640px; }
  .section { padding-block: var(--sp-9); }
}

/* .hero--split: opt-in 2-column hero when a brand adds an aside card / offer widget.
   Default hero keeps a single left-aligned column with the screenshot showing through. */
@media (min-width: 1040px) {
  .hero--split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center; }
}

/* ==========================================================================
   25. INTERSTITIAL (standalone click-through page — no header/footer/JS)
   ========================================================================== */
.interstitial {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  background: var(--hero-bg); color: var(--hero-text);
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--sp-6) var(--sp-4);
}
.interstitial::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--hero-wash-1), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--hero-bg) 60%, transparent), var(--hero-bg));
}
.interstitial-inner { max-width: 460px; text-align: center; }
.interstitial .wordmark {
  font-size: 1.5rem; color: var(--hero-text); display: inline-block; margin-bottom: var(--sp-6);
  overflow: visible;
}
.interstitial .wordmark b { color: var(--accent); display: inline; }
.interstitial .hero-offer { margin-bottom: var(--sp-6); }
.interstitial .btn { width: 100%; }
.interstitial .hero-disclaimer { margin-top: var(--sp-5); }

/* ==========================================================================
   26. PRINT
   ========================================================================== */
@media print {
  .site-header, .page-toc, .sticky-cta, .to-top, .hero-media, .header-cta { display: none !important; }
  .hero, .verdict, .site-footer { background: #fff !important; color: #000 !important; }
  .section { padding-block: 16px; }
  a { color: #000; text-decoration: underline; }
}
