/* «Запуск речи» — лендинг и квиз, версия 2. Светлая тёплая тема, OKLCH, две семьи шрифтов (self-hosted woff2).
   Решения и проверки — research/log_site.md (раздел «v2»). */

/* ---------- Шрифты: Andika 700 (заголовки; SIL, шрифт для первых книжек) и Commissioner 400–600 (текст) ---------- */
@font-face {
  font-family: "Andika";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/andika-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Andika";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/andika-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/commissioner-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/commissioner-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  color-scheme: light;

  /* Почти белая бумага; беж (--paper-2) — только для одной секции подряд и для экрана телефона */
  --paper: oklch(99.5% 0.003 90);
  --paper-2: oklch(96.5% 0.022 78);
  --paper-3: oklch(93.5% 0.03 78);
  --ink: oklch(24% 0.02 45);
  --ink-2: oklch(44% 0.03 45);
  --line: oklch(90.5% 0.01 80);
  --line-strong: oklch(70% 0.025 60);

  /* Один живой акцент для действий — тёплый коралл */
  --accent: oklch(54% 0.17 40);
  --accent-hover: oklch(48% 0.17 40);
  --on-accent: var(--paper);
  --accent-tint: oklch(94.5% 0.04 45);
  --link: oklch(47% 0.155 40);

  /* Второй акцент — глубокий тил: подложки секций, плашки, детали иллюстраций (кардиган мамы) */
  --calm: oklch(95.5% 0.032 185);
  --calm-ink: oklch(40% 0.09 190);

  /* Мягкий красный для экрана «к врачу» */
  --red: oklch(50% 0.17 25);
  --red-tint: oklch(96.5% 0.028 25);

  /* Иллюстрации */
  --honey: oklch(87% 0.10 85);
  --honey-deep: oklch(72% 0.14 65);
  --cocoa: oklch(40% 0.05 50);
  --blush: oklch(88% 0.07 30);
  --focus: oklch(58% 0.14 55);

  --shadow-soft: 0 1px 2px oklch(27% 0.03 45 / 0.05), 0 16px 40px -18px oklch(27% 0.03 45 / 0.22);
  --shadow-toy: drop-shadow(0 10px 10px oklch(27% 0.03 45 / 0.12));

  --font-display: "Andika", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --font-text: "Commissioner", "Helvetica Neue", Arial, sans-serif;

  /* Шкала 1.25, заголовки текучие */
  --fs-xs: 0.8rem;
  --fs-s: 0.9rem;
  --fs-0: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.02rem + 0.55vw, 1.35rem);
  --fs-3: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  --fs-2: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem);
  --fs-1: clamp(2.05rem, 1.25rem + 3.3vw, 3.55rem);
  --fs-num: clamp(2rem, 1.4rem + 2.5vw, 3rem);

  --lh-text: 1.55;
  --lh-tight: 1.1;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --pill: 999px;
  --measure: 64ch;
  --wrap: 71.25rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
}

/* Одноколоночные гриды: колонка не шире контейнера (иначе auto-fill внутри растягивает её до max-content) */
.hero,
.norms,
.split,
.day,
.day-body dl,
.plans,
.trial,
.faq,
.voices,
.choices,
.age-months,
.messengers,
.parallel,
.footer,
.route,
.steps,
.flags,
.advice,
.screen {
  grid-template-columns: minmax(0, 1fr);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-0);
  line-height: var(--lh-text);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--fs-1);
}

h2 {
  font-size: var(--fs-2);
}

h3 {
  font-size: var(--fs-3);
}

p,
ul,
ol {
  margin: 0;
  max-width: var(--measure);
}

p + p {
  margin-top: var(--s-4);
}

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

a:hover {
  color: var(--accent-hover);
}

strong {
  font-weight: 600;
}

small,
.small {
  font-size: var(--fs-s);
}

.muted {
  color: var(--ink-2);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.num {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--s-4);
  top: -3rem;
  background: var(--paper);
  padding: var(--s-2) var(--s-3);
  z-index: 10;
}

.skip:focus {
  top: var(--s-2);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform 120ms var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -10px oklch(54% 0.17 40 / 0.55);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  box-shadow: 0 10px 24px -10px oklch(54% 0.17 40 / 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--link);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-tint);
  color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding-inline: var(--s-3);
  min-height: 2.75rem;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-wide {
  width: 100%;
}

/* ---------- Шапка ---------- */
.top {
  padding-block: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  border-radius: 50% 50% 50% 0.15em;
  background: var(--accent);
}

.brand:hover {
  color: var(--accent);
}

.top-note {
  color: var(--ink-2);
  font-size: var(--fs-s);
  text-align: right;
  max-width: 24ch;
}

@media (max-width: 30rem) {
  .top-note {
    display: none;
  }
}

/* ---------- Первый экран: текст слева, телефон справа ---------- */
.hero {
  padding-block: clamp(var(--s-5), 5vw, var(--s-8)) clamp(var(--s-7), 8vw, var(--s-9));
  display: grid;
  gap: clamp(var(--s-6), 6vw, var(--s-8));
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
}

.hero .lead {
  margin-top: var(--s-5);
  max-width: 46ch;
}

.hero-cta {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}

.trust {
  color: var(--ink-2);
  font-size: var(--fs-s);
  max-width: 42ch;
  line-height: 1.45;
}

.hero-show {
  position: relative;
  justify-self: center;
  width: min(100%, 30rem);
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: var(--s-8);
  }

  .hero-show {
    justify-self: end;
    width: min(100%, 34rem);
  }
}

/* Макет телефона: сообщение бота (день 1 из content/day_01.yaml) */
.phone {
  margin: 0;
  /* пропорции iPhone 17 Pro Max: ширина корпуса 78 мм; радиус углов экрана ≈ 14 % ширины */
  --ph-w: 100%;
  --ph-rim: 0.16rem;   /* алюминиевый кант */
  --ph-bezel: 0.3rem;  /* чёрная рамка вокруг экрана (≈ 1,5 мм) */
  --ph-r: 3.05rem;     /* радиус корпуса */
}

.phone-frame {
  position: relative;
  border-radius: var(--ph-r);
  padding: calc(var(--ph-rim) + var(--ph-bezel));
  /* кант: полированный алюминий Silver, блик сверху-слева; внутри — чёрное стекло */
  background:
    linear-gradient(oklch(10% 0.004 60), oklch(10% 0.004 60)) padding-box,
    linear-gradient(150deg, oklch(97% 0.004 80) 0%, oklch(80% 0.006 80) 28%, oklch(66% 0.006 80) 55%, oklch(86% 0.005 80) 82%, oklch(72% 0.006 80) 100%) border-box;
  border: var(--ph-rim) solid transparent;
  box-shadow:
    0 30px 60px -20px oklch(27% 0.03 45 / 0.35),
    0 12px 24px -12px oklch(27% 0.03 45 / 0.25),
    inset 0 0 0 1px oklch(100% 0 0 / 0.35);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1320 / 2868;
  background: var(--paper-2);
  border-radius: calc(var(--ph-r) - var(--ph-rim) - var(--ph-bezel));
  padding: 0 0.8rem 0.55rem;
  font-size: 0.86rem;
  line-height: 1.4;
  overflow: hidden;
}

.phone-screen::before {
  /* Dynamic Island: 125 × 37 pt на экране 440 pt → 28,4 % × 8,4 % ширины, отступ сверху 11 pt */
  content: "";
  position: absolute;
  top: 2.6%;
  left: 50%;
  translate: -50%;
  width: 26.5%;
  aspect-ratio: 125 / 37;
  border-radius: var(--pill);
  background: oklch(8% 0.004 60);
  box-shadow: inset 0 0 0 1px oklch(20% 0.004 60);
}

.phone-screen::after {
  /* лёгкий блик стекла */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, oklch(100% 0 0 / 0.18) 0%, oklch(100% 0 0 / 0) 32%);
  pointer-events: none;
}

/* Кнопки корпуса (снаружи канта): слева — действие и громкость, справа — боковая и Camera Control */
.phone-key {
  position: absolute;
  width: 0.22rem;
  border-radius: 0.12rem;
  background: linear-gradient(90deg, oklch(70% 0.006 80), oklch(90% 0.004 80), oklch(74% 0.006 80));
  box-shadow: 0 0 0 1px oklch(60% 0.006 80 / 0.5);
}

.key-action { left: -0.2rem; top: 17.5%; height: 3.2%; }
.key-vol-up { left: -0.2rem; top: 24%; height: 6.4%; }
.key-vol-down { left: -0.2rem; top: 32%; height: 6.4%; }
.key-side { right: -0.2rem; top: 26%; height: 10.5%; }
.key-camera { right: -0.2rem; top: 52%; height: 5.2%; background: linear-gradient(90deg, oklch(74% 0.006 80), oklch(92% 0.004 80), oklch(70% 0.006 80)); }

/* Строка состояния iOS: время слева, связь/Wi‑Fi/батарея справа, по вертикали — на уровне Dynamic Island */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 9.4%;
  padding: 1.2% 0.95rem 0 1.05rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  flex: none;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
}

.status-icons i {
  display: inline-block;
}

.status-cell {
  width: 0.82rem;
  height: 0.54rem;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0.14rem 0.2rem no-repeat,
    linear-gradient(currentColor, currentColor) 0.22rem 100% / 0.14rem 0.31rem no-repeat,
    linear-gradient(currentColor, currentColor) 0.44rem 100% / 0.14rem 0.42rem no-repeat,
    linear-gradient(currentColor, currentColor) 0.66rem 100% / 0.14rem 0.54rem no-repeat;
}

.status-wifi {
  width: 0.78rem;
  height: 0.58rem;
  background: radial-gradient(circle at 50% 100%, currentColor 0 14%, transparent 15% 30%, currentColor 31% 44%, transparent 45% 60%, currentColor 61% 74%, transparent 75%);
  clip-path: polygon(50% 100%, 0 25%, 100% 25%);
}

.status-battery {
  position: relative;
  width: 1.25rem;
  height: 0.62rem;
  border: 1.5px solid oklch(24% 0.02 45 / 0.45);
  border-radius: 0.22rem;
  box-sizing: border-box;
}

.status-battery::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 0.28rem;
  border-radius: 0.1rem;
  background: currentColor;
}

.status-battery::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.2rem;
  translate: 0 -50%;
  width: 0.1rem;
  height: 0.26rem;
  border-radius: 0 0.1rem 0.1rem 0;
  background: oklch(24% 0.02 45 / 0.45);
}

.home-bar {
  flex: none;
  display: block;
  width: 36%;
  height: 0.28rem;
  margin: 0.55rem auto 0;
  border-radius: var(--pill);
  background: oklch(24% 0.02 45 / 0.85);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.15rem 0.2rem 0.6rem;
  border-bottom: 1px solid var(--paper-3);
  flex: none;
}

.chat-back {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.1rem;
  border-left: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  rotate: 45deg;
  flex: none;
}

.chat-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex: none;
}

.chat-name {
  font-weight: 600;
  line-height: 1.15;
}

.chat-name small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.chat-date {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-2);
  margin: 0.7rem 0 0.5rem;
  max-width: none;
}

.bubble {
  background: var(--paper);
  border-radius: 1.1rem 1.1rem 1.1rem 0.3rem;
  padding: 0.7rem 0.8rem 0.6rem;
  box-shadow: 0 1px 2px oklch(27% 0.03 45 / 0.06);
}

.bubble p,
.bubble ol {
  max-width: none;
}

.bubble p + p,
.bubble ol {
  margin-top: 0.45rem;
}

.bubble-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.2;
}

.bubble-kicker small {
  display: block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.bubble ol {
  padding-left: 1.2em;
}

.bubble li + li {
  margin-top: 0.25rem;
}

.bubble-done {
  background: var(--calm);
  color: var(--calm-ink);
  border-radius: 0.6rem;
  padding: 0.4rem 0.6rem;
  margin-top: 0.55rem;
  font-weight: 500;
}

.bubble-time {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: var(--ink-2);
  margin-top: 0.3rem;
}

.chat-btn {
  display: block;
  flex: none;
  margin-top: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.9rem;
  background: var(--paper);
  color: var(--link);
  text-align: center;
  font-weight: 600;
  box-shadow: 0 1px 2px oklch(27% 0.03 45 / 0.06);
}

.chat-note {
  flex: none;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-2);
  margin: 0.6rem auto 0;
  padding: 0.3rem 0.7rem;
  border-radius: var(--pill);
  background: var(--paper-3);
  width: fit-content;
  max-width: 100%;
}

.phone-caption {
  margin-top: var(--s-5);
  text-align: center;
  font-size: var(--fs-s);
  color: var(--ink-2);
}

@media (min-width: 60rem) {
  .phone-screen {
    font-size: 0.9rem;
    padding-inline: 0.95rem;
  }

  .phone {
    --ph-rim: 0.18rem;
    --ph-bezel: 0.32rem;
    --ph-r: 3.25rem;
  }
}

/* ---------- Секции: разный ритм пространства ---------- */
.section {
  padding-block: clamp(var(--s-7), 7vw, var(--s-9));
}

.section-tint {
  background: var(--calm);
}

.section-tint.familiar {
  background: var(--paper-2);
}

.section-red {
  background: var(--red-tint);
}

.section-red h2 {
  color: var(--red);
}

.section h2 {
  max-width: 22ch;
}

.section-intro {
  margin-top: var(--s-4);
}

.section-body {
  margin-top: clamp(var(--s-6), 5vw, var(--s-7));
}

.section-more {
  margin-top: var(--s-6);
}

/* Заголовок слева, содержание справа — на широких экранах */
.split {
  display: grid;
  gap: clamp(var(--s-6), 5vw, var(--s-7));
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-8);
    align-items: start;
  }

  .split > .section-body {
    margin-top: 0;
  }

  .split-head {
    position: sticky;
    top: var(--s-6);
  }
}

/* ---------- «Знакомо?»: реплики мам ---------- */
.familiar {
  padding-block: clamp(var(--s-7), 6vw, var(--s-8));
}

.voices {
  list-style: none;
  padding: 0;
  max-width: none;
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-5) var(--s-8);
}

.voices li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
}

.voices img {
  width: 100%;
  height: 8.5rem;
  object-fit: contain;
  object-position: top;
  filter: var(--shadow-toy);
}

.voices span {
  font-family: var(--font-display);
  font-size: var(--fs-3);
  line-height: 1.25;
  max-width: 20ch;
  text-wrap: balance;
  position: relative;
  padding-left: 1.1em;
  padding-top: 0.2rem;
}

.voices span::before {
  content: "«";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.voices span::after {
  content: "»";
  color: var(--accent);
}

.voices-more {
  margin-top: var(--s-6);
  font-size: var(--fs-lead);
}

@media (min-width: 48rem) {
  .voices {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .voices li {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: var(--s-5);
  }

  .voices img {
    height: 14rem;
  }

  .voices span {
    font-size: clamp(1.45rem, 1.1rem + 0.9vw, 1.85rem);
    max-width: 19ch;
    padding-top: 0.4rem;
    padding-bottom: 0;
  }
}

/* ---------- Как это устроено: три шага (v5 CRO) ---------- */
.how-section {
  padding-block: clamp(var(--s-7), 6vw, var(--s-8));
}

.how {
  list-style: none;
  padding: 0;
  max-width: none;
  counter-reset: how;
  display: grid;
  gap: var(--s-4);
}

.how li {
  counter-increment: how;
  position: relative;
  padding: var(--s-5) var(--s-5) var(--s-5) 4.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.how li::before {
  content: counter(how);
  position: absolute;
  left: var(--s-5);
  top: var(--s-5);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.how h3 {
  font-size: var(--fs-0);
  font-family: var(--font-text);
  font-weight: 600;
  line-height: 1.3;
}

.how p {
  margin-top: var(--s-2);
  color: var(--ink-2);
  max-width: 40ch;
}

.how-cta {
  margin-top: var(--s-6);
}

@media (min-width: 48rem) {
  .how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
  }

  .how li {
    padding: 4.4rem var(--s-5) var(--s-5);
  }

  .how li::before {
    top: var(--s-5);
    left: var(--s-5);
  }
}

/* ---------- Нормы речи по возрасту: мягкие карточки с игрушкой ---------- */
.norms {
  list-style: none;
  padding: 0;
  max-width: none;
  display: grid;
  gap: var(--s-4);
}

.norms li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-areas:
    "toy age"
    "toy text";
  gap: var(--s-2) var(--s-5);
  align-items: center;
  padding: var(--s-5);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}

.norm-toy {
  grid-area: toy;
  align-self: center;
  width: 4.5rem;
  height: 5.5rem;
  object-fit: contain;
  object-position: center bottom;
  filter: var(--shadow-toy);
}

.norms .age {
  grid-area: age;
  font-family: var(--font-display);
  font-size: var(--fs-num);
  line-height: 1;
  color: var(--calm-ink);
  white-space: nowrap;
}

.norms .age small {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--fs-s);
  color: var(--ink-2);
  margin-left: 0.4em;
}

.norms p {
  grid-area: text;
  max-width: 46ch;
}

@media (max-width: 30rem) {
  .norms li {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: var(--s-2) var(--s-4);
    padding: var(--s-4);
  }

  .norm-toy {
    width: 3.5rem;
    height: 4.5rem;
  }
}

/* ---------- Один день программы: карточка дня слева, телефон-липучка справа ---------- */
.day {
  display: grid;
  gap: var(--s-6);
}

.day-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-5), 3.5vw, var(--s-7));
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: var(--s-6);
}

.kicker {
  color: var(--accent);
  font-size: var(--fs-s);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.day-head {
  display: grid;
  gap: var(--s-4);
}

.day-head h3 {
  font-size: var(--fs-2);
  margin-top: var(--s-2);
}

.day-head .goal {
  margin-top: 0;
  max-width: 36ch;
}

/* Одна картинка с тремя игрушками — рядом с целью дня */
.day-toys {
  width: min(100%, 17rem);
  height: auto;
  justify-self: center;
  filter: var(--shadow-toy);
}

@media (min-width: 48rem) {
  .day-head {
    grid-template-columns: minmax(0, 1fr) 15rem;
    grid-template-areas:
      "kicker toys"
      "title toys"
      "goal toys";
    column-gap: var(--s-6);
    align-items: center;
  }

  .day-head .kicker {
    grid-area: kicker;
  }

  .day-head h3 {
    grid-area: title;
    margin-top: 0;
  }

  .day-head .goal {
    grid-area: goal;
  }

  .day-toys {
    grid-area: toys;
    width: 100%;
    justify-self: end;
  }
}

.day-video {
  max-width: none;
}

.day-video video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--paper-3);
}

.day-clip {
  margin-inline: 0;
}

.day-clip video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.day-clip figcaption {
  margin-top: var(--s-3);
}

.clip-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--calm);
}

.clip-box .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease-out), background var(--dur);
}

.clip-box .play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1.3rem;
  border-color: transparent transparent transparent currentColor;
  margin-left: 0.3rem;
}

.clip-box .play:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
}

.clip-box .play:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.clip-box.is-playing .play {
  display: none;
}

/* Разбор дня: четыре пункта в сетке, подписи тилом, шаги — кружки */
.day-body dl {
  margin: 0;
  display: grid;
  gap: var(--s-5) var(--s-6);
}

.day-body dl > div {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.day-body dt {
  font-size: var(--fs-s);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--calm-ink);
  margin-bottom: var(--s-2);
}

.day-body dd {
  margin: 0;
  max-width: var(--measure);
}

@media (min-width: 48rem) {
  .day-body dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .day-body dl > div:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--s-3);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  min-height: 1.9rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.05em;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.day-body .section-more {
  margin-top: var(--s-5);
}

.draft {
  display: inline-block;
  justify-self: start;
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--pill);
  padding: 0.2em 0.8em;
}

/* Телефон: короче (чат с затуханием), на десктопе липнет к верху при прокрутке */
.day-phone {
  width: min(100%, 19rem);
  justify-self: center;
  position: relative;
  isolation: isolate;
  padding: var(--s-6) var(--s-4) 0;
}

.day-phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -8% 14% -8%;
  background: oklch(90.5% 0.055 185);
  border-radius: 54% 46% 44% 56% / 62% 58% 42% 38%;
}

.chat-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.chat-scroll::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, var(--paper-2));
  pointer-events: none;
}

@media (min-width: 60rem) {
  .day {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-6) var(--s-8);
    align-items: start;
  }

  .day-phone {
    justify-self: end;
    width: min(100%, 20rem);
    position: sticky;
    top: var(--s-6);
  }
}

/* ---------- Методист: цитата-карточка, фото с ореолом, плашки регалий ---------- */
.author blockquote {
  margin: var(--s-6) 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-3);
  line-height: 1.3;
  max-width: 38ch;
  text-wrap: balance;
  position: relative;
  padding: var(--s-6) var(--s-6) var(--s-6) calc(var(--s-6) + 1.1em);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}

.author blockquote::before {
  content: "«";
  position: absolute;
  left: var(--s-6);
  top: var(--s-6);
  color: var(--accent);
}

.author blockquote::after {
  content: "»";
  color: var(--accent);
}

.author-card {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
  margin-top: var(--s-6);
}

.author-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--paper-3);
  overflow: hidden;
  box-shadow: 0 0 0 0.35rem var(--paper), 0 0 0 0.8rem var(--calm);
  margin: 0.8rem;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-name {
  font-weight: 600;
}

.tags {
  list-style: none;
  padding: 0;
  margin-top: var(--s-3);
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.tags li {
  font-size: var(--fs-s);
  color: var(--calm-ink);
  background: var(--calm);
  border-radius: var(--pill);
  padding: 0.25em 0.85em;
}

/* ---------- Когда к врачу: спокойный беж вместо красной секции, карточки-признаки ---------- */
.section-red {
  background: var(--paper-2);
}

.section-red h2 {
  color: var(--ink);
}

.flags {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  max-width: none;
}

.flags li {
  position: relative;
  padding: var(--s-4) var(--s-5) var(--s-4) 3.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 56ch;
}

.flags li::before {
  content: "";
  position: absolute;
  left: var(--s-4);
  top: 50%;
  translate: 0 -50%;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent-tint);
}

.flags li::after {
  content: "";
  position: absolute;
  left: calc(var(--s-4) + 0.55rem);
  top: 50%;
  translate: 0 -50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Тарифы: карточки ценности с кнопкой ---------- */
.plans {
  display: grid;
  gap: var(--s-4);
}

.plan {
  display: grid;
  align-content: start;
  gap: var(--s-3);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
}

.plan-pro {
  background: var(--calm);
  box-shadow: inset 0 0 0 2px oklch(82% 0.07 185);
}

.plan .pill {
  justify-self: start;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--calm-ink);
  background: var(--paper);
  border-radius: var(--pill);
  padding: 0.35em 0.9em;
}

.plan .price {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--fs-num);
  line-height: 1;
}

.plan .price small {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--fs-s);
  color: var(--ink-2);
  margin-left: var(--s-2);
}

.plan h3 {
  margin-top: 0;
}

.plan-note {
  font-size: var(--fs-s);
  color: var(--ink-2);
  max-width: 34ch;
  line-height: 1.4;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin-top: var(--s-2);
  display: grid;
  gap: var(--s-2);
}

.plan li {
  position: relative;
  padding-left: 1.7em;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--calm-ink);
}

.plan .btn {
  justify-self: start;
  margin-top: var(--s-3);
}

@media (min-width: 48rem) {
  .plans {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-5);
  }

  /* режим без методиста: единственная карточка — по центру, не на всю ширину */
  .plans:has(> .plan:only-child) {
    grid-template-columns: minmax(0, 34rem);
    justify-content: center;
  }
}

.trial {
  margin-top: clamp(var(--s-6), 5vw, var(--s-8));
  display: grid;
  gap: var(--s-4);
}

.trial ol {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--s-4);
}

.trial ol li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  min-height: 2.2rem;
}

.trial ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}

@media (min-width: 60rem) {
  .trial {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-8);
  }
}

/* ---------- Вопросы: скруглённые карточки-аккордеоны ---------- */
.faq {
  display: grid;
  gap: var(--s-3);
}

.faq details {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding-inline: var(--s-5);
  border: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}

.faq details[open] {
  border-color: oklch(82% 0.07 185);
  box-shadow: var(--shadow-soft);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) 2.6rem var(--s-4) 0;
  font-weight: 600;
  position: relative;
  min-height: 2.75rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.7rem;
  text-align: center;
  transition: rotate var(--dur) var(--ease-out);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq summary:hover {
  color: var(--accent-hover);
}

.faq .answer {
  padding: 0 0 var(--s-5);
  display: grid;
  gap: var(--s-3);
}

/* ---------- Финальный призыв: карточка со сценой мама+ребёнок ---------- */
.final {
  margin-block: clamp(var(--s-7), 7vw, var(--s-9)) var(--s-8);
  padding: clamp(var(--s-6), 5vw, var(--s-8));
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

.final h2 {
  max-width: 20ch;
}

.final .hero-cta {
  margin-top: var(--s-2);
}

.final-art {
  width: min(100%, 18rem);
  justify-self: start;
}

.final-art img {
  width: 100%;
  height: auto;
}

.families {
  color: var(--ink-2);
  font-size: var(--fs-s);
}

@media (min-width: 48rem) {
  .final {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-8);
  }

  .final-art {
    justify-self: end;
    width: 22rem;
  }
}

/* ---------- Липкая кнопка на телефоне (v5 CRO): только до 48rem, показ/скрытие — site.js ---------- */
.sticky-cta {
  display: none;
}

@media (max-width: 48rem) {
  .sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 20;
    display: grid;
    justify-items: center;
    gap: var(--s-1);
    padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
    background: oklch(99.5% 0.003 90 / 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -18px oklch(27% 0.03 45 / 0.35);
  }

  .sticky-cta .btn {
    width: 100%;
    max-width: 24rem;
  }

  .sticky-note {
    font-size: var(--fs-xs);
    color: var(--ink-2);
  }

  body.has-sticky {
    padding-bottom: 6.5rem;
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-6) var(--s-7);
  color: var(--ink-2);
  font-size: var(--fs-s);
  display: grid;
  gap: var(--s-3);
}

.footer a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  max-width: none;
}

/* ---------- Документы (оферта, политика) ---------- */
.doc {
  padding-block: var(--s-6) var(--s-9);
  max-width: var(--measure);
}

.doc h1 {
  font-size: var(--fs-2);
}

.doc h2 {
  font-size: var(--fs-3);
  margin-top: var(--s-7);
}

.doc h3 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-0);
  margin-top: var(--s-5);
}

.doc p,
.doc ul,
.doc ol {
  margin-top: var(--s-4);
}

.doc li + li {
  margin-top: var(--s-2);
}

.doc-note {
  margin-top: var(--s-4);
  margin-bottom: var(--s-6);
  padding: var(--s-3) var(--s-4);
  background: var(--paper-2);
  border-radius: var(--radius);
  font-size: var(--fs-s);
  color: var(--ink-2);
}

/* ---------- Квиз ---------- */
.quiz-page {
  --wrap: 44rem; /* одна колонка по центру: шапка, прогресс, вопросы и подвал одной ширины */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.quiz-top {
  padding-block: var(--s-4);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
}

@media (max-width: 30rem) {
  .quiz-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .progress {
    grid-column: 1 / -1;
  }
}

.progress {
  height: 6px;
  background: var(--paper-3);
  border-radius: var(--pill);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: var(--pill);
  background: var(--accent);
  transition: width 300ms var(--ease-out);
}

.progress-text {
  font-size: var(--fs-s);
  color: var(--ink-2);
  min-width: 7ch;
  text-align: right;
  line-height: 1.2;
}

.quiz-main {
  flex: 1;
  padding-block: clamp(var(--s-5), 5vw, var(--s-8)) var(--s-8);
}

.screen {
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
}

.screen h1 {
  font-size: var(--fs-2);
  max-width: 22ch;
}

.screen h1:focus {
  outline: none;
}

.hint {
  color: var(--ink-2);
  max-width: 48ch;
}

.hint ul {
  padding-left: 1.2em;
  margin-top: var(--s-2);
}

.choices {
  display: grid;
  gap: var(--s-3);
  list-style: none;
  padding: 0;
  max-width: 30rem;
}

.choice {
  display: block;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms var(--ease-out), border-color 120ms var(--ease-out);
}

.choice:hover {
  background: var(--paper-2);
  border-color: var(--accent);
}

.choice[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  max-width: 30rem;
}

.choice-grid .choice {
  text-align: center;
  padding-inline: var(--s-2);
  min-height: 3.25rem;
}

/* Кнопки лет: ширина по содержимому, чтобы «Меньше года» и «6 лет и старше» не ломались */
.choice-flow {
  display: flex;
  flex-wrap: wrap;
  max-width: 36rem;
}

.choice-flow li {
  flex: 0 0 auto;
}

.choice-flow .choice {
  width: auto;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.age-months {
  display: grid;
  gap: var(--s-3);
}

.age-months p {
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  max-width: 48ch;
  color: var(--ink-2);
  font-size: var(--fs-s);
  line-height: 1.45;
}

.consent input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.1rem 0 0;
  accent-color: var(--accent);
}

.consent input:focus-visible {
  outline-offset: 2px;
}

.screen-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* Экраны результата */
.result {
  max-width: 44rem;
}

.result-red h1 {
  color: var(--red);
}

.result-art {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin-top: var(--s-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.result .advice {
  padding-left: 1.2em;
  display: grid;
  gap: var(--s-2);
}

.route {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  max-width: 48ch;
}

.route li {
  padding-left: 1.5em;
  position: relative;
}

.route li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.55em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--red);
}

.messengers {
  display: grid;
  gap: var(--s-3);
  max-width: 30rem;
}

.messengers .btn {
  width: 100%;
}

@media (min-width: 30rem) {
  .messengers {
    grid-template-columns: 1fr 1fr;
  }
}

.messengers-label {
  font-weight: 600;
  margin-bottom: calc(-1 * var(--s-3));
}

.messengers-note {
  color: var(--ink-2);
  font-size: var(--fs-s);
  max-width: 44ch;
}

/* Заглушка «Скоро»: показывается по клику, пока боты не открыты (js/config.js, MESSENGERS_READY). */
.messengers-soon {
  max-width: 44ch;
  padding: var(--s-3) var(--s-4);
  background: var(--paper-2);
  border-radius: var(--radius);
  font-weight: 600;
}

/* заглушка встаёт между кнопками и подписью: отступ уже даёт сетка экрана */
.messengers-soon + .messengers-note {
  margin-top: 0;
}

.parallel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--red-tint);
  border-radius: var(--radius-lg);
  max-width: 40rem;
}

.parallel .consent {
  color: var(--ink);
}

.disclaimer {
  font-weight: 600;
  max-width: 48ch;
}

.quiz-footer {
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--fs-xs);
}

/* ---------- Появление экрана квиза ---------- */
.screen:not([hidden]) {
  animation: rise 320ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .screen:not([hidden]),
  .hero-show {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Cookie-баннер: Метрика только после согласия (152-ФЗ, позиция РКН по cookie) ---------- */
.cookie-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  justify-content: center;
  padding: var(--s-3) var(--s-4);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid oklch(88% 0.02 80);
  box-shadow: 0 -8px 24px oklch(30% 0.03 60 / 0.08);
  font-size: var(--fs-s);
}

.cookie-bar p {
  margin: 0;
  max-width: 44rem;
}

.cookie-bar .cookie-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.cookie-bar .btn {
  padding: 0.55em 1em;
  font-size: var(--fs-s);
}

body:has(.cookie-bar) .sticky-cta {
  display: none; /* пока баннер открыт, липкая кнопка не перекрывается */
}
