/* ============================================================
   CHICKEN ROAD FAN-HUB
   ДИЗАЙН: «Bauhaus-Verkehrsschild» — конструктивистский постер
   × дорожная сигнальная графика: кремовая «бумага», сигнальный
   красный + янтарь, жёсткие 2px чернильные контуры, офсетные
   тени, диагональные предупреждающие полосы, крупные геометрич
   -еские пятна. Заголовки: Archivo Black, текст: IBM Plex Sans.
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --bg: #F3EDDE;
  --panel: #FFFDF4;
  --ink: #1B1813;
  --muted: #6F6858;
  --red: #E23D28;
  --amber: #F2A61C;
  --blue: #2A5B9C;
  --green: #3E7C4F;
  --border-w: 2px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --container: 1180px;
  --hazard: repeating-linear-gradient(
    -45deg,
    var(--ink) 0 14px,
    var(--amber) 14px 28px
  );
}

/* ---------- Reset / база ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--amber);
  padding: 5px 12px;
  margin-bottom: 18px;
}

.kicker--red { background: var(--red); color: #fff; }

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }

.sec-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.sec-lead { color: var(--muted); max-width: 640px; }

.divider-hazard {
  height: 14px;
  background: var(--hazard);
  border-top: var(--border-w) solid var(--ink);
  border-bottom: var(--border-w) solid var(--ink);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 15px 26px;
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--red { background: var(--red); color: #fff; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--amber); }

/* ---------- Бегущая строка ---------- */
.ticker {
  background: var(--ink);
  border-bottom: var(--border-w) solid var(--ink);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.ticker__label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-right: var(--border-w) solid var(--ink);
  display: flex;
  align-items: center;
  z-index: 2;
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerMove 42s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
  color: var(--amber);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 28px;
  position: relative;
}
.ticker__item::after {
  content: '◆';
  color: var(--amber);
  position: absolute;
  right: -8px;
  font-size: 9px;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Шапка / навигация ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--panel);
  border-bottom: 3px solid var(--ink);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__sign {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: 15px;
  position: relative;
}
.logo__sign::after {
  content: '';
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}
.logo__name {
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1;
}
.logo__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 14px;
  border: var(--border-w) solid transparent;
}
.nav a:hover,
.nav a.active {
  border-color: var(--ink);
  background: var(--amber);
}
.nav a.nav-cta {
  background: var(--red);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.burger {
  display: none;
  background: var(--panel);
  border: var(--border-w) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}
.hero__deco-circle {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .18;
  top: -140px; right: -100px;
  pointer-events: none;
}
.hero__deco-tri {
  position: absolute;
  width: 0; height: 0;
  border-left: 130px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 220px solid var(--blue);
  opacity: .14;
  left: -90px; bottom: -80px;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  padding: 72px 0 64px;
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 66px);
  margin: 6px 0 22px;
}
.hero__title em {
  font-style: normal;
  background: var(--red);
  color: #fff;
  padding: 0 12px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}
.hero__sub { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.hero__metas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__meta {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
}
.hero__meta::before { content: '● '; color: var(--red); }

.hero__photo-wrap {
  margin-top: 34px;
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--amber);
  position: relative;
  max-width: 520px;
}
.hero__photo-wrap img { width: 100%; height: 240px; object-fit: cover; }
.hero__photo-cap {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-top: var(--border-w) solid var(--ink);
  border-right: var(--border-w) solid var(--ink);
}

/* ---------- Панель симуляции ---------- */
.sim {
  background: var(--ink);
  color: var(--bg);
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  position: relative;
}
.sim::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--hazard);
}
.sim__title {
  font-size: 15px;
  color: var(--amber);
  margin: 12px 0 10px;
}
.sim__hint { font-size: 13.5px; color: rgba(243,237,222,.72); line-height: 1.55; margin-bottom: 18px; }
.sim__board { display: flex; flex-direction: column-reverse; gap: 7px; margin-bottom: 18px; }
.sim__lane {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,253,244,.08);
  border: 1px solid rgba(243,237,222,.28);
  padding: 7px 12px;
  font-size: 13px;
  min-height: 42px;
  transition: background .2s ease, border-color .2s ease;
}
.sim__lane-label { width: 64px; flex-shrink: 0; font-weight: 700; color: rgba(243,237,222,.6); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.sim__lane-factor { font-family: var(--font-display); font-size: 15px; color: rgba(243,237,222,.45); margin-left: auto; }
.sim__lane.active { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.sim__lane.active .sim__lane-label,
.sim__lane.active .sim__lane-factor { color: var(--ink); }
.sim__lane.done .sim__lane-factor { color: var(--amber); }
.sim__lane.crash { background: var(--red); border-color: var(--red); color: #fff; }
.sim__lane.crash .sim__lane-label,
.sim__lane.crash .sim__lane-factor { color: #fff; }
.sim__chicken { font-size: 22px; width: 30px; text-align: center; }
.sim__lane:not(.active) .sim__chicken { visibility: hidden; }
.sim__stats {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid rgba(243,237,222,.3);
  padding-top: 14px;
  margin-bottom: 16px;
}
.sim__stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--amber);
  line-height: 1;
}
.sim__stat-cap { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(243,237,222,.6); }
.sim__status { font-size: 13.5px; min-height: 22px; margin-bottom: 14px; color: rgba(243,237,222,.85); }
.sim__status--warn { color: #FF8A73; font-weight: 700; }
.sim__status--good { color: var(--amber); font-weight: 700; }
.sim__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sim__btns .btn { font-size: 12px; padding: 11px 16px; box-shadow: 3px 3px 0 rgba(243,237,222,.35); }
.sim__btns .btn--amber { background: var(--amber); }
.sim__btns .btn--ghost { background: transparent; color: var(--bg); border-color: rgba(243,237,222,.5); }

/* ---------- Счётчики ---------- */
.stats-band {
  background: var(--amber);
  border-bottom: 3px solid var(--ink);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-band__cell {
  padding: 34px 20px;
  border-left: var(--border-w) solid var(--ink);
  text-align: center;
}
.stats-band__cell:first-child { border-left: none; }
.stats-band__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  display: block;
}
.stats-band__num-sub {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--red);
}
.stats-band__cap {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Таблица режимов ---------- */
.modes-table-wrap {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.modes-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.modes-table th {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  background: var(--ink);
  color: var(--amber);
  padding: 14px 18px;
}
.modes-table td {
  padding: 16px 18px;
  border-top: var(--border-w) solid var(--ink);
  font-size: 15px;
  vertical-align: top;
}
.modes-table td.mono {
  font-family: var(--font-display);
  white-space: nowrap;
}
.modes-table .mode-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  padding: 4px 10px;
  border: var(--border-w) solid var(--ink);
  margin-right: 8px;
  vertical-align: middle;
}
.modes-table .mode-chip--1 { background: var(--green); color: #fff; }
.modes-table .mode-chip--2 { background: var(--amber); color: var(--ink); }
.modes-table .mode-chip--3 { background: var(--red); color: #fff; }
.modes-table .mode-chip--4 { background: var(--ink); color: var(--amber); }
.modes-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-left: 5px solid var(--amber);
  padding-left: 14px;
  max-width: 760px;
}

/* ---------- Карточки ---------- */
.card {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border: var(--border-w) solid var(--ink);
  margin-bottom: 16px;
}
.card__icon--red { background: var(--red); }
.card__icon--amber { background: var(--amber); }
.card__icon--blue { background: var(--blue); }
.card__icon--ink { background: var(--ink); }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 8px;
  line-height: 1;
}

/* Асимметричная сетка «что такое игра» */
.what-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: minmax(0, auto);
  gap: 22px;
}
.what-grid .card--wide { grid-column: 1 / 2; grid-row: 1 / 3; display: flex; flex-direction: column; }
.what-grid .card--wide p { font-size: 16px; color: var(--ink); }
.what-grid .card--photo {
  grid-column: 2 / 4;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
}
.what-grid .card--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.what-grid .card--photo .card__body { padding: 24px; }

/* ---------- Квиз ---------- */
.quiz {
  background: var(--red);
  color: #fff;
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.quiz::after {
  content: '?';
  position: absolute;
  font-family: var(--font-display);
  font-size: 260px;
  right: -30px;
  bottom: -90px;
  color: rgba(255,255,255,.1);
  pointer-events: none;
  line-height: 1;
}
.quiz__progress {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--ink);
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.quiz__q { font-size: clamp(20px, 2.6vw, 27px); margin-bottom: 22px; max-width: 640px; }
.quiz__answers { display: grid; gap: 12px; max-width: 640px; }
.quiz__answer {
  text-align: left;
  background: var(--panel);
  color: var(--ink);
  border: var(--border-w) solid var(--ink);
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(27,24,19,.55);
  transition: transform .14s ease;
}
.quiz__answer:hover { transform: translateX(6px); }
.quiz__answer.is-correct { background: var(--green); color: #fff; }
.quiz__answer.is-wrong { background: var(--ink); color: #fff; text-decoration: line-through; }
.quiz__answer:disabled { cursor: default; opacity: .92; }
.quiz__verdict { margin-top: 16px; font-weight: 700; font-size: 15px; min-height: 22px; }
.quiz__verdict--good { color: var(--amber); }
.quiz__verdict--bad { color: #FFD9CF; }
.quiz__next { margin-top: 18px; }
.quiz__result { text-align: center; padding: 20px 0; }
.quiz__score { font-family: var(--font-display); font-size: 62px; color: var(--amber); line-height: 1; }

/* ---------- Советы (шахматный порядок) ---------- */
.tips-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.tips-stack { display: grid; gap: 20px; }
.tips-stack .card:nth-child(even) { margin-left: 44px; }
.tip-inline { display: flex; gap: 18px; align-items: flex-start; }
.tip-inline .card__icon { margin-bottom: 0; flex-shrink: 0; }
.tips-photo-block {
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--panel);
  position: sticky;
  top: 96px;
}
.tips-photo-block img { width: 100%; height: 300px; object-fit: cover; }
.tips-photo-block figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: var(--border-w) solid var(--ink);
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}
.faq-item__idx {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 15px;
  flex-shrink: 0;
  min-width: 30px;
}
.faq-item__q {
  font-weight: 700;
  font-size: 16.5px;
  flex: 1;
}
.faq-item__sign {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item.open .faq-item__sign { transform: rotate(45deg); color: var(--red); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__body-inner {
  padding: 0 20px 20px 66px;
  color: var(--muted);
  font-size: 15px;
}
.faq-item.open {
  background: var(--panel);
  border-left: 6px solid var(--amber);
}

/* ---------- Trust-бейджи ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-badge {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.trust-badge__icon {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  border: var(--border-w) solid var(--ink);
  background: var(--amber);
}
.trust-badge:nth-child(2) .trust-badge__icon { background: var(--red); }
.trust-badge:nth-child(3) .trust-badge__icon { background: var(--blue); }
.trust-badge:nth-child(4) .trust-badge__icon { background: var(--ink); }
.trust-badge h3 { font-size: 14.5px; margin-bottom: 8px; }
.trust-badge p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 26px solid var(--red);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: 8%; bottom: -40px;
  width: 180px; height: 180px;
  background: var(--blue);
  transform: rotate(45deg);
  opacity: .25;
}
.cta-banner .kicker { background: var(--amber); color: var(--ink); }
.cta-banner h2 { font-size: clamp(28px, 4vw, 46px); max-width: 720px; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(243,237,222,.75); max-width: 560px; margin-bottom: 28px; position: relative; z-index: 2; }

/* ---------- Футер ---------- */
.footer {
  background: var(--bg);
  border-top: 3px solid var(--ink);
  padding: 60px 0 30px;
  position: relative;
}
.footer::before {
  content: '';
  display: block;
  height: 10px;
  background: var(--hazard);
  border: var(--border-w) solid var(--ink);
  margin-bottom: 50px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer h4 {
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: var(--border-w) solid var(--ink);
  display: inline-block;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.footer__about p { font-size: 14px; color: var(--muted); margin-top: 14px; }
.footer__disclaimer {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer__disclaimer .icon { font-size: 20px; flex-shrink: 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px dashed var(--muted);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--panel);
  border: var(--border-w) solid var(--ink);
  box-shadow: 8px 8px 0 rgba(27,24,19,.85);
  padding: 20px 22px;
  z-index: 100;
  display: none;
}
.cookie-banner.show { display: block; animation: cookieUp .35s ease; }
@keyframes cookieUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.cookie-banner__icon { font-size: 26px; flex-shrink: 0; }
.cookie-banner__text { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cookie-banner__text a { color: var(--red); font-weight: 700; }
.cookie-banner__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btns .btn { font-size: 11.5px; padding: 10px 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Внутренние страницы ---------- */
.page-hero {
  border-bottom: 3px solid var(--ink);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero__kicker { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(32px, 4.8vw, 56px); max-width: 820px; }
.page-hero__lead { color: var(--muted); font-size: 17.5px; max-width: 660px; margin-top: 18px; }
.page-hero__deco {
  position: absolute;
  top: 40px; right: -70px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .22;
  border: var(--border-w) solid var(--ink);
}

.article {
  max-width: 800px;
  margin: 0 auto;
}
.article h2 { font-size: clamp(22px, 3vw, 30px); margin: 46px 0 14px; }
.article h3 { font-size: 18px; margin: 30px 0 10px; }
.article p { margin-bottom: 14px; color: #3E3A31; }
.article ul, .article ol { margin: 0 0 14px 24px; color: #3E3A31; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }

.step-list { counter-reset: step; list-style: none; margin: 0 !important; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 74px;
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  margin-bottom: 14px !important;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 54px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 19px;
  display: grid;
  place-items: center;
  border-right: var(--border-w) solid var(--ink);
}

.callout {
  border: var(--border-w) solid var(--ink);
  border-left-width: 8px;
  border-left-color: var(--red);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 15px;
}
.callout--amber { border-left-color: var(--amber); }
.callout--blue { border-left-color: var(--blue); }

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.glossary-item {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.glossary-item dt {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--red);
}
.glossary-item dd { font-size: 14px; color: var(--muted); }

.tipgen {
  border: var(--border-w) solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 640px;
}
.tipgen__out {
  background: rgba(243,237,222,.08);
  border: 1px solid rgba(243,237,222,.3);
  padding: 18px 20px;
  font-size: 15.5px;
  min-height: 66px;
  margin: 16px 0 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tipgen__out .n { font-family: var(--font-display); color: var(--amber); flex-shrink: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  padding: 13px 18px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s ease;
}
.checklist li.done { background: var(--green); color: #fff; }
.checklist li .box {
  width: 22px; height: 22px;
  border: var(--border-w) solid currentColor;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}

/* ---------- Форма ---------- */
.form-wrap {
  max-width: 640px;
  border: var(--border-w) solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: var(--border-w) solid var(--ink);
  background: var(--bg);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 0;
}
.form-row .field-error {
  display: none;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 5px;
}
.form-row.invalid input,
.form-row.invalid textarea { border-color: var(--red); background: #FBEAE6; }
.form-row.invalid .field-error { display: block; }
.form-msg {
  display: none;
  border: var(--border-w) solid var(--ink);
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.form-msg.show { display: block; }
.form-msg.ok { background: var(--green); color: #fff; }
.form-msg.err { background: var(--red); color: #fff; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 1020px) {
  .what-grid { grid-template-columns: 1fr 1fr; }
  .what-grid .card--wide { grid-column: 1 / 3; grid-row: auto; }
  .what-grid .card--photo { grid-column: 1 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__photo-wrap { max-width: 100%; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__cell:nth-child(odd) { border-left: none; }
  .stats-band__cell:nth-child(n+3) { border-top: var(--border-w) solid var(--ink); }
  .tips-layout { grid-template-columns: 1fr; }
  .tips-photo-block { position: static; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--panel);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 8px;
  }
  .nav a { border: var(--border-w) solid var(--ink); text-align: center; padding: 12px; }
  .nav.open { display: flex; }
  .glossary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .what-grid { grid-template-columns: 1fr; }
  .what-grid .card--wide,
  .what-grid .card--photo { grid-column: 1 / 2; }
  .what-grid .card--photo { grid-template-columns: 1fr; }
  .what-grid .card--photo img { min-height: 180px; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .tips-stack .card:nth-child(even) { margin-left: 0; }
  .quiz { padding: 24px 20px; }
  .sim { padding: 20px 16px; }
  .sim__stat-num { font-size: 24px; }
  .cookie-banner { left: 12px; right: 12px; }
  .article { padding: 0 4px; }
}