/* ============================================================
   Твоя Мила — styles.css
   Дизайн-система по ТЗ §5. Токены менять нельзя.
   Настроение: тёплое письмо от подруги, домашняя кухня.
   ============================================================ */

/* ---------- Шрифты (self-host, woff2, subset cyrillic+latin+latin-ext) ---------- */
@font-face{
  font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/golos-400-cyrillic.woff2') format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/golos-400-latinext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/golos-400-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:'Golos Text';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/golos-400-cyrillic.woff2') format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/golos-400-latinext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/golos-400-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:'Lora';font-style:normal;font-weight:600;font-display:swap;
  src:url('/assets/fonts/lora-600-cyrillic.woff2') format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;
  src:url('/assets/fonts/lora-600-latinext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;
  src:url('/assets/fonts/lora-600-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:'Lora';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/lora-600-cyrillic.woff2') format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Lora';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/lora-600-latinext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Lora';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/lora-600-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;
}

/* ---------- Токены (§5, менять нельзя) ---------- */
:root{
  --bg:        #FFF8F6;
  --ink:       #3A2A28;
  --ink-soft:  #6E5A56;
  --accent:    #B93A55;
  --accent-dn: #9E2F47;
  --leaf:      #6E9B7B;
  --bubble:    #FFFFFF;
  --bubble-u:  #FBE9E5;
  --line:      #F0DEDA;

  --radius:    18px;
  --radius-sm: 14px;
  --shadow:    0 6px 24px rgba(58,42,40,.07);
  --shadow-lg: 0 14px 40px rgba(58,42,40,.12);
  --maxw:      1120px;
  --measure:   680px;
}

/* ---------- Сброс ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}

/* ---------- База ---------- */
body{
  font-family:'Golos Text','Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  font-size:17px;line-height:1.6;font-weight:400;
  color:var(--ink);background:var(--bg);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-wrap:break-word;
}
h1,h2,h3{font-family:'Lora',Georgia,'Times New Roman',serif;line-height:1.18;letter-spacing:-.01em}
h1{font-size:clamp(30px,7vw,46px);font-weight:700}
h2{font-size:clamp(22px,5vw,32px);font-weight:600}
h3{font-size:clamp(18px,4vw,21px);font-weight:600}
strong,b{font-weight:600}
::selection{background:var(--bubble-u)}

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

/* ---------- Раскладка ---------- */
.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:20px}
.section{padding:clamp(44px,8vw,76px) 0}
.section--tint{background:var(--bubble-u)}
.section--soft{background:#FFFDFC}
.measure{max-width:var(--measure);margin-inline:auto}
.center{text-align:center}
.eyebrow{color:var(--accent);font-weight:500;font-size:15px;letter-spacing:.02em;margin-bottom:10px}
.lead{color:var(--ink-soft);font-size:clamp(17px,2.4vw,19px)}
.mt-s{margin-top:12px}.mt-m{margin-top:20px}.mt-l{margin-top:32px}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  min-height:52px;padding:14px 30px;
  background:var(--accent);color:#fff;font-weight:500;font-size:17px;
  border-radius:var(--radius-sm);text-align:center;
  transition:background .16s ease, transform .12s ease, box-shadow .16s ease;
  box-shadow:0 6px 18px rgba(185,58,85,.22);
}
.btn:hover{background:var(--accent-dn)}
.btn:active{transform:translateY(1px)}
.btn--full{display:flex;width:100%}
.btn--ghost{background:var(--bubble);color:var(--accent);border:1px solid var(--line);box-shadow:var(--shadow)}
.btn--ghost:hover{background:#fff;border-color:var(--accent)}
.btn-note{color:var(--ink-soft);font-size:14.5px;margin-top:12px}
/* §5: главные CTA — во всю ширину на мобиле, авто на планшете+ */
@media(max-width:599px){
  .hero__cta .btn,.price-cta .btn,.final .btn{display:flex;width:100%}
}
/* На узких экранах «Попробовать 3 дня бесплатно» не влезало в одну строку:
   тексту нужно 253px, а внутри кнопки оставалось 245px. Ужимаем поля. */
@media(max-width:379px){
  .btn{padding-left:22px;padding-right:22px}
}

/* ---------- Шапка / бренд ---------- */
.site-head{padding:18px 0}
/* 25.09 (вариант A макета): в шапке главной две кнопки — «Открыть
   Милу» в приложение (закрашена) и «Открыть в Telegram» (обводка).
   На юр-страницах в шапке только логотип — раскладка та же. */
.site-head .container{display:flex;align-items:center;justify-content:space-between;gap:10px}
.head-acts{display:flex;align-items:center;gap:8px}
.head-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1.5px solid var(--accent);border-radius:999px;font-weight:600;font-size:14px;line-height:1.2;white-space:nowrap;text-decoration:none;transition:background .16s ease,color .16s ease,border-color .16s ease}
.head-btn--fill{background:var(--accent);color:#fff}
.head-btn--fill:hover,.head-btn--fill:focus-visible{background:var(--accent-dn);border-color:var(--accent-dn)}
.head-btn--outline{background:transparent;color:var(--accent)}
.head-btn--outline:hover,.head-btn--outline:focus-visible{background:var(--accent);color:#fff}
.head-short{display:none}
.site-head .brand{white-space:nowrap}
@media(max-width:379.98px){.site-head .brand{font-size:16px}.head-btn{padding:7px 10px;font-size:12.5px}.head-acts{gap:5px}}
@media(max-width:339.98px){.site-head .container{gap:6px}.site-head .brand{font-size:13px}.head-btn{padding:6px 7px;font-size:11.5px}.head-acts{gap:4px}}
@media(max-width:519.98px){.head-long{display:none}.head-short{display:inline}.head-btn{padding:8px 12px;font-size:13px}.head-acts{gap:6px}}
.brand{font-family:'Lora',Georgia,serif;font-weight:700;font-size:20px;color:var(--ink);display:inline-flex;gap:.35em;align-items:baseline}

/* ---------- Hero ---------- */
.hero{padding:4px 0 clamp(40px,7vw,64px)}
.hero__grid{display:grid;gap:clamp(20px,4vw,44px);align-items:start}

/* Заголовок — главный акцент экрана.
   text-wrap:balance выравнивает строки по длине: без него на 360–430px
   заголовок ломался как «Питание без хаоса и» / «срывов» — висячий союз. */
/* На мобильном заголовок идёт ПЕРВЫМ и по центру (правка Петра).
   32.76px -> 34.71px на 390px, это +6%. */
.hero__title{
  margin-top:2px;font-size:clamp(34px,8.9vw,52px);line-height:1.06;
  letter-spacing:-.022em;text-wrap:balance;text-align:center;
}

/* Подзаголовок вынесен в отдельную карточку: раньше он читался как продолжение
   заголовка и выглядел громоздким. Теперь это самостоятельный блок. */
.hero__lead{
  margin-top:20px;max-width:36em;
  background:var(--bubble);border:1px solid var(--line);border-radius:16px;
  padding:15px 17px;box-shadow:var(--shadow);
}
/* Межстрочный интервал на мобильном плотнее (1.6 -> 1.4): блок становится
   ниже примерно на 10% без потери читаемости. На десктопе возвращаем 1.6. */
.hero__sub{margin:0;color:var(--ink-soft);font-size:clamp(15.8px,2.1vw,17.5px);line-height:1.4}
.hero__cta{margin-top:22px}

/* Мила в первом экране.
   На мобильном .hero__visual — display:contents, поэтому Мила и телефон
   становятся прямыми ячейками сетки, и её можно поднять над заголовком.
   На десктопе .hero__visual снова flex-строка: Мила стоит рядом с телефоном. */
/* Мобильный: .hero__visual — display:contents, поэтому Мила и телефон
   становятся прямыми ячейками сетки, и Милу можно поднять над заголовком. */
.hero__visual{display:contents}
/* Порядок на мобильном: заголовок -> Мила -> карточка -> кнопка -> макет чата.
   Мила выросла со 148px до 175px на 390px, это +18%. */
.hero__mascot{
  order:1;justify-self:center;
  width:auto;height:clamp(168px,45vw,226px);
  animation:milaIn .6s .05s ease both;
}
.hero__title{order:0}
.hero__copy{order:2}
.hero__stage{order:3}
@keyframes milaIn{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}

/* Планшет и выше: заголовок на всю ширину, под ним слева текст с кнопкой,
   справа Мила и телефон. Рядом они тут ещё НЕ встают — правая колонка узкая. */
@media(min-width:900px){
  .hero__grid{
    grid-template-columns:minmax(280px,340px) 1fr;
    grid-template-areas:"title title" "copy visual";
    column-gap:32px;row-gap:clamp(18px,2.4vw,30px);
  }
  /* Заголовок занимает обе колонки и центрируется по странице (заявка Петра 08.07).
     text-align наследуется из базового правила — здесь его НЕ переопределяем. */
  .hero__title{grid-area:title}
  .hero__sub{line-height:1.6}
  .hero__copy{grid-area:copy}
  .hero__visual{grid-area:visual;display:flex;flex-direction:column;align-items:center;gap:0}
  .hero__cta .btn{width:auto}
  /* Здесь Мила стоит НАД телефоном без нахлёста: раньше был margin-bottom:-10px,
     и телефон (он рисуется позже) обрезал ей ноги. */
  .hero__mascot{order:0;height:clamp(150px,15vw,190px);margin:0 0 8px}
  .phone{margin:0}
}

/* С 1000px Мила становится главной фигурой экрана: встаёт слева от телефона,
   заходя за него, и стоит на одной линии с его низом.

   Границы — не на глаз, а из арифметики. Правая колонка = (вьюпорт − 40)
   − 340 (левая) − 32 (зазор), но не шире 708px (контейнер 1120).
   Соотношение Милы 676/621 = 1.089, телефон 300px, нахлёст 50px:
     потолок 410px: 410 × 1.089 + 300 − 50 = 697 ≤ 708 ✓
     низ 250px на 1000px: 290 × 1.089 + 300 − 50 = 566 ≤ 588 ✓
   Ниже 1000px композиция не влезает — там Мила стоит над телефоном. */
@media(min-width:1000px){
  .hero__visual{flex-direction:row;align-items:flex-end;justify-content:flex-end;gap:0}
  .hero__mascot{
    order:0;height:clamp(250px,29vw,410px);
    margin:0 -50px 26px 0;position:relative;z-index:0;
  }
  .hero__stage{position:relative;z-index:1;flex:0 0 auto}

  /* Заголовок крупнее: он главный на экране. Отступ сверху у левой колонки
     (а не row-gap сетки) — чтобы вниз уехал только текст с кнопкой,
     а телефон и Мила остались на месте. */
  .hero__title{font-size:clamp(52px,4.6vw,64px)}
  .hero__copy{padding-top:clamp(30px,5vw,80px)}

  /* Заявки Петра 08.07, два захода. 1cm в CSS = 37.8px и не зависит от
     плотности экрана — поэтому «сантиметр» тут буквальный, а не на глаз.

     Заход 1: блок под заголовком (карточка + кнопка + Мила + телефон) опущен
              на 1 см. Двигаем row-gap СЕТКИ, а не padding-top левой колонки:
              иначе уехал бы только текст, а Мила с телефоном остались бы.
     Заход 2: заголовок ВМЕСТЕ с блоком опущен ещё на 1 см (padding сверху
              у всей секции), и сверх того блок опущен ещё на 1 см от
              заголовка (отсюда 2cm в row-gap). */
  .hero{padding-top:calc(4px + 1cm)}
  .hero__grid{row-gap:calc(clamp(18px,2.4vw,30px) + 2cm)}
  /* Кнопка и подпись центрируются относительно карточки над ними */
  .hero__cta{text-align:center}
}

/* Страховка от потери главной кнопки.
   На ноутбуке 1366x768 видимая часть страницы — около 660px. С двумя
   сантиметрами отступа низ кнопки «Попробовать 3 дня бесплатно» оказывается
   на 705px, то есть ПОД СГИБОМ: человек её не видит, пока не прокрутит.
   Замерено: 1366x660 -> 705px (под сгибом), 1440x800 -> 710px (видна).
   На низких экранах оставляем один сантиметр вместо двух: кнопка встаёт на
   630px. На обычных мониторах макет ровно такой, как задумано выше. */
@media(min-width:1000px) and (max-height:720px){
  .hero{padding-top:4px}
  .hero__grid{row-gap:calc(clamp(18px,2.4vw,30px) + 1cm)}
}

/* ---------- CSS-мокап телефона + чат ---------- */
.phone{
  width:min(300px,84vw);margin-inline:auto;
  background:linear-gradient(160deg,#fff,#fbeeeb);
  border:1px solid var(--line);border-radius:40px;padding:14px;
  box-shadow:var(--shadow-lg);
}
.phone__notch{width:52px;height:6px;border-radius:99px;background:var(--line);margin:2px auto 10px}
.phone__screen{
  background:var(--bg);border-radius:28px;padding:16px 13px;
  display:flex;flex-direction:column;gap:9px;min-height:456px; /* фикс. высота под самое высокое блюдо — экран не «прыгает» */
}
.example-label{color:var(--ink-soft);font-size:12.5px;text-align:center;margin-top:10px}

/* ---------- Интерактивный экран бота в hero ---------- */
.hb-view{display:flex;flex-direction:column}
.hb-dish{flex:1}
.hb-msg{display:flex;gap:8px;align-items:flex-start;margin-bottom:12px}
.hb-ava{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--bubble-u);display:grid;place-items:center;font-size:15px}
.hb-bubble{background:var(--bubble);border:1px solid var(--line);border-radius:14px;border-bottom-left-radius:5px;padding:9px 13px;font-size:14.5px;line-height:1.4;box-shadow:0 2px 8px rgba(58,42,40,.05)}
.hb-btns{display:flex;flex-direction:column;gap:6px}
.hb-btn{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:var(--bubble);border:1px solid var(--line);border-radius:12px;padding:11px 13px;font:inherit;font-weight:500;font-size:14px;color:var(--ink);cursor:pointer;box-shadow:0 2px 7px rgba(58,42,40,.05);transition:border-color .15s,transform .1s,background .15s}
.hb-btn:hover{border-color:var(--accent);background:#fff}
.hb-btn:active{transform:translateY(1px)}
.hb-chev{margin-left:auto;color:var(--accent)}
.hb-msg--user{justify-content:flex-end;margin:14px 0 2px}
.hb-bubble--user{background:var(--bubble-u);border-bottom-left-radius:14px;border-bottom-right-radius:5px}
.hb-back{align-self:flex-start;background:none;border:0;color:var(--accent);font:inherit;font-weight:500;font-size:14px;cursor:pointer;padding:2px 0 10px}
.hb-card{background:var(--bubble);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(58,42,40,.09)}
.hb-media{width:100%;aspect-ratio:1/1;max-height:210px;overflow:hidden;background:var(--bubble-u)}
.hb-photo{width:100%;height:100%;object-fit:cover;display:block}
.hb-cardbody{padding:13px 15px 15px}
.hb-name{font-family:'Lora',Georgia,serif;font-weight:700;font-size:18px;line-height:1.2}
.hb-desc{color:var(--ink-soft);font-size:13.5px;margin:6px 0 13px;line-height:1.45}
/* во всю ширину карточки + без переноса — коробка кнопки не меняется при смене текста (фикс «прыжка» блока) */
.hb-recipe{display:flex;width:100%;align-items:center;justify-content:center;gap:6px;white-space:nowrap;background:var(--accent);color:#fff;border:0;border-radius:11px;padding:10px 14px;font:inherit;font-weight:500;font-size:14px;cursor:pointer;box-shadow:0 6px 16px rgba(185,58,85,.24);transition:background .15s}
.hb-recipe:hover{background:var(--accent-dn)}

/* signature-момент (§5): каскадное появление меню при загрузке */
.hb-cascade>.hb-msg,.hb-cascade .hb-btn,.hb-cascade>.hb-msg--user{opacity:0;animation:hbIn .5s ease forwards}
.hb-cascade>.hb-msg{animation-delay:.15s}
.hb-cascade .hb-btn:nth-child(1){animation-delay:.40s}
.hb-cascade .hb-btn:nth-child(2){animation-delay:.55s}
.hb-cascade .hb-btn:nth-child(3){animation-delay:.70s}
.hb-cascade .hb-btn:nth-child(4){animation-delay:.85s}
.hb-cascade>.hb-msg--user{animation-delay:1.05s}
.hb-pop{animation:hbIn .3s ease}
@keyframes hbIn{to{opacity:1;transform:none}}

/* ---------- Квиз ---------- */
.quiz__grid{display:grid;gap:14px;margin-top:26px}
/* Раскрывающиеся карточки болей (PATCH-01) */
.qcard{
  position:relative;
  background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.qcard__head{
  list-style:none;cursor:pointer;
  display:flex;flex-direction:column;gap:8px;padding:20px 22px;
}
.qcard__head::-webkit-details-marker{display:none}
.qcard__head:focus-visible{outline:3px solid var(--accent-dn);outline-offset:2px;border-radius:12px}
.qcard__title{
  font-family:'Lora',Georgia,serif;font-weight:600;font-size:20px;line-height:1.2;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.qcard__chev{flex:0 0 auto;color:var(--accent);transition:transform .22s ease}
.qcard[open] .qcard__chev{transform:rotate(180deg)}
.qcard__teaser{color:var(--ink-soft);font-size:15.5px;line-height:1.5}
.qcard__panel{overflow:hidden}
.qcard__body{display:flex;flex-direction:column;gap:12px;padding:2px 22px 22px}
.qcard__body p{color:var(--ink);font-size:15px;line-height:1.55}
.qcard__bubble{
  background:var(--bg);border:1px solid var(--line);
  border-radius:14px;border-bottom-left-radius:5px;
  padding:11px 14px;font-size:14.5px;line-height:1.45;color:var(--ink);
}
.qcard__cta{margin-top:2px}

/* Десктоп с мышью: раскрытие накладкой поверх — соседи и секции ниже не двигаются */
@media (hover:hover) and (pointer:fine) and (min-width:768px){
  .qcard{overflow:visible}
  .qcard[open]{box-shadow:var(--shadow-lg);transform:scale(1.02);border-color:var(--accent);z-index:5;border-bottom-left-radius:0;border-bottom-right-radius:0}
  .qcard[open] .qcard__panel{
    position:absolute;left:-1px;right:-1px;top:calc(100% - 1px);
    background:var(--bubble);border:1px solid var(--accent);border-top:0;
    border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow-lg);
    clip-path:inset(0 -30px -30px -30px); /* тень только по бокам и снизу — без шва сверху */
  }
}
.quiz-note{color:var(--ink-soft);font-size:14.5px;text-align:center;margin-top:16px}
@media(min-width:768px){.quiz__grid{grid-template-columns:repeat(3,1fr)}}

/* ---------- Шаги «как это устроено» ---------- */
.steps{display:grid;gap:16px;margin-top:28px}
.step{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);
}
.step__num{
  flex:0 0 auto;width:40px;height:40px;border-radius:50%;
  background:var(--bubble-u);color:var(--accent);
  font-family:'Lora',Georgia,serif;font-weight:700;font-size:18px;
  display:grid;place-items:center;
}
.step__body h3{margin-bottom:4px}
.step__body p{color:var(--ink-soft);font-size:15.5px;line-height:1.5}
.steps__foot{margin-top:20px;text-align:center;color:var(--ink-soft)}
@media(min-width:768px){.steps{grid-template-columns:repeat(2,1fr)}}

/* ---------- Пример дня / план-пузырь ---------- */
.plan-card{
  background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:20px;max-width:520px;margin:24px auto 0;
}
.plan-card__head{font-weight:500;color:var(--ink-soft);font-size:14.5px;margin-bottom:14px;display:flex;gap:.5em;align-items:center}
.plan-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.plan-row:first-of-type{border-top:0;padding-top:0}
.plan-row__name{font-weight:500}
.plan-row__meta{color:var(--ink-soft);font-size:14.5px;white-space:nowrap}
.plan-card--narrow{max-width:440px}

/* ---------- Анти-срыв ---------- */
.antibreak__text p+p{margin-top:14px}
.antibreak__doctor{margin-top:18px;color:var(--ink-soft);font-style:italic}
.choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.choice{
  background:var(--bg);border:1px solid var(--line);border-radius:12px;
  padding:9px 13px;font-size:14.5px;font-weight:500;
}
.antibreak__mock{margin-top:26px}

/* ---------- 650 человек ---------- */
.stats{display:grid;gap:14px;margin-top:26px}
.stat{
  background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px 18px;text-align:center;
}
.stat__num{font-family:'Lora',Georgia,serif;font-weight:700;color:var(--accent);font-size:clamp(34px,9vw,50px);line-height:1}
.stat__label{color:var(--ink-soft);font-size:15px;margin-top:8px;line-height:1.4}
.quotes{display:grid;gap:14px;margin-top:22px}
.quote{
  background:var(--bubble);border:1px solid var(--line);border-bottom-left-radius:5px;
  border-radius:16px;padding:16px 18px;box-shadow:var(--shadow);
}
.quote p{font-size:16px;line-height:1.5}
.quote__by{display:block;margin-top:8px;color:var(--ink-soft);font-size:13.5px}
.survey__foot{margin-top:24px;text-align:center;font-size:clamp(17px,2.4vw,19px)}
@media(min-width:768px){.stats{grid-template-columns:repeat(3,1fr)}.quotes{grid-template-columns:repeat(2,1fr)}}

/* ---------- Эксперты (слот 6.5) ---------- */
.experts{display:grid;gap:16px;margin-top:26px}
.expert{display:flex;gap:16px;align-items:flex-start;background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
.expert__ava{flex:0 0 auto;width:56px;height:56px;border-radius:50%;background:var(--bubble-u);color:var(--accent);display:grid;place-items:center;font-family:'Lora',serif;font-weight:700;font-size:20px}
.expert__name{font-weight:600}
.expert__role{color:var(--ink-soft);font-size:14.5px;margin-top:2px}
.expert__quote{margin-top:10px;font-size:15.5px;line-height:1.5}
@media(min-width:768px){.experts{grid-template-columns:repeat(2,1fr)}}

/* ---------- Тариф ---------- */
.price-card{
  background:var(--bubble);border:1px solid var(--line);border-radius:22px;
  box-shadow:var(--shadow-lg);padding:clamp(22px,4vw,32px);max-width:620px;margin:26px auto 0;
}
.price-list{display:grid;gap:14px}
.price-list li{position:relative;padding-left:22px;line-height:1.5}
.price-list li strong{color:var(--ink)}
.price-list__dot{position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.compare{margin-top:20px;color:var(--ink-soft);font-size:15.5px;line-height:1.5}
.safebox{
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;margin-top:22px;
}
.safebox h3{font-size:17px;margin-bottom:14px}
.checklist{display:grid;gap:11px}
.checklist li{position:relative;padding-left:28px;line-height:1.45}
.checklist li::before{content:"✓";position:absolute;left:0;top:0;color:var(--leaf);font-weight:700;font-size:17px;line-height:1.35}
.price-accent{margin-top:20px;font-weight:500;line-height:1.5}
.price-cta{margin-top:24px}
.price-legal{margin-top:16px;color:var(--ink-soft);font-size:14px;line-height:1.5;text-align:center}

/* ---------- FAQ ---------- */
.faq{max-width:var(--measure);margin:26px auto 0}
.faq details{background:var(--bubble);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:10px;overflow:hidden}
.faq summary{
  list-style:none;cursor:pointer;padding:16px 18px;font-weight:500;
  display:flex;justify-content:space-between;gap:14px;align-items:center;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-size:22px;line-height:1;flex:0 0 auto;transition:transform .18s ease}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{color:var(--accent)}
.faq__body{padding:0 18px 17px;color:var(--ink-soft);line-height:1.55}

/* ---------- Важно знать ---------- */
.note-block{max-width:var(--measure);margin:24px auto 0;background:#FFFDFC;border:1px dashed var(--line);border-radius:var(--radius);padding:22px}
.note-block ul{display:grid;gap:12px}
.note-block li{position:relative;padding-left:20px;line-height:1.5;color:var(--ink-soft)}
.note-block li::before{content:"•";position:absolute;left:0;top:0;color:var(--accent)}

/* ---------- Финальный CTA ---------- */
.final{text-align:center}
.final .lead{max-width:32em;margin:16px auto 0}
.final .btn{margin-top:26px}
/* 25.09 (вариант A): две кнопки внизу — главная закрашена, вторая с
   обводкой; на телефоне (≤599) обе во всю ширину, друг под другом. */
.final__acts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.final .final__acts .btn{margin-top:0}
.btn--outline{background:transparent;color:var(--accent);border:1.5px solid var(--accent);box-shadow:none}
.btn--outline:hover{background:var(--accent);color:#fff}

/* ---------- Подари Милу (W16, 26.09) ----------
   Одна главная кнопка + тихая ссылка «или в Telegram» под ней: на
   телефоне кнопка во всю ширину (как у финального CTA), ссылка — строкой. */
.gift{text-align:center}
.gift .lead{max-width:32em;margin-inline:auto}
.gift__acts{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:26px}
.gift__tg{color:var(--accent);font-size:15.5px;text-decoration:underline;text-underline-offset:3px}
.gift__tg:hover,.gift__tg:focus-visible{color:var(--accent-dn)}
@media(max-width:599px){.gift .gift__acts .btn{display:flex;width:100%}}

/* ---------- Футер ---------- */
.site-foot{background:#FFFDFC;border-top:1px solid var(--line);padding:40px 0;font-size:14.5px;color:var(--ink-soft)}
.site-foot .brand{font-size:18px;color:var(--ink)}
.foot-rows{display:grid;gap:10px;max-width:var(--maxw)}
.foot-req{line-height:1.5}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 16px}
.foot-links a{color:var(--accent)}
.foot-links a:hover{color:var(--accent-dn);text-decoration:underline}
.foot-fine{color:var(--ink-soft)}

/* ---------- Sticky-бар (mobile) ---------- */
.sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:var(--bubble);border-top:1px solid var(--line);
  box-shadow:0 -6px 22px rgba(58,42,40,.10);
  transform:translateY(110%);transition:transform .28s ease;
}
.sticky.is-visible{transform:translateY(0)}
.sticky__label{font-weight:600;font-size:15.5px}
.sticky__label span{display:block;color:var(--ink-soft);font-weight:400;font-size:13px}
.sticky .btn{min-height:46px;padding:10px 22px;box-shadow:none}
@media(min-width:768px){.sticky{display:none!important}}
@media(max-width:767px){body{padding-bottom:78px}}

/* ---------- Страницы документов ---------- */
.doc{padding:clamp(28px,5vw,48px) 0 60px}
.doc__body{max-width:720px;margin-inline:auto;font-size:16px;line-height:1.65}
.doc__body h1{font-size:clamp(24px,5vw,34px);margin-bottom:8px}
.doc__body h2{font-size:clamp(19px,3.6vw,24px);margin:30px 0 10px}
.doc__body h3{font-size:clamp(16.5px,2.6vw,18px);margin:22px 0 8px;color:var(--ink)}
.doc__body p{margin:12px 0;color:var(--ink)}
.doc__body ul{display:grid;gap:8px;margin:10px 0 10px 4px}
.doc__body li{position:relative;padding-left:20px;line-height:1.55}
.doc__body li::before{content:"—";position:absolute;left:0;top:0;color:var(--accent)}
.doc__date{color:var(--ink-soft);font-size:14.5px}
.doc__back{display:inline-flex;align-items:center;gap:.4em;color:var(--accent);font-weight:500;margin-top:8px}
.doc__back:hover{text-decoration:underline}
/* Ссылки внутри юр-текста (перекрёстные ссылки на другие документы). */
.doc__body p a,.doc__body li a{color:var(--accent);text-decoration:underline}
/* Таблицы юр-документов (Политика ПДн: данные/назначение/сроки/получатели).
   Обёртка .doc__table со своей прокруткой обязательна: трёхколоночная
   таблица в 360px не влезает, а горизонтальная прокрутка ВСЕЙ страницы
   ломает вёрстку — прокручиваться должна только сама таблица. */
.doc__table{overflow-x:auto;margin:14px 0;-webkit-overflow-scrolling:touch}
.doc__body table{border-collapse:collapse;min-width:100%;font-size:15px;line-height:1.5}
.doc__body th,.doc__body td{border:1px solid var(--line);padding:9px 11px;text-align:left;vertical-align:top}
.doc__body th{font-weight:600;background:var(--bubble-u);color:var(--ink)}
.doc__body td{color:var(--ink)}

/* ============================================================
   Маскот «Мила» — иллюстрации персонажа
   PNG с прозрачным фоном: без рамок, подложек и скруглений —
   персонаж «стоит» прямо на фоне страницы. Тень — только CSS.
   ============================================================ */
.mascot{filter:drop-shadow(0 8px 24px rgba(180,120,80,.18))}
/* <picture> — только контейнер для webp+png: не создаёт своего бокса,
   чтобы сам <img> оставался flex/grid-элементом и раскладка не менялась */
.mascot-pic{display:contents}
/* При display:contents дети <picture> поднимаются в flex-контейнер, и пустой
   <source> (у него display:block) съедает лишний gap. Прячем его: на выбор
   источника в <picture> CSS не влияет. */
.mascot-pic>source{display:none}

/* --- Карточки квиза: иллюстрация в шапке --- */
/* .qcard__head — flex-колонка со stretch, поэтому центрируем через align-self */
.qcard__mascot{align-self:center;width:auto;height:104px}
@media(min-width:768px){.qcard__mascot{height:120px}}

/* --- Шаги «как это устроено» --- */
/* Фиксированный бокс + object-fit:contain — все четыре картинки занимают
   одинаковое место и текст в шагах начинается на одной линии. */
.step{flex-wrap:wrap}
.step__mascot{flex:0 0 auto;align-self:center;width:100px;height:88px;object-fit:contain;margin-left:auto}
/* Пока карточка узкая: картинка встаёт справа от номера, текст — под ними.
   В одну строку переходим только с 1000px: на 900px тексту осталось бы 208px
   и заголовки ломались бы пополам («Кнопка «анти-» / «срыв».»). */
.step__body{flex:1 1 100%;min-width:0}
/* Пока карточка двухстрочная, грид растягивает соседей строки до общей высоты,
   а лишнее место по умолчанию (align-content:stretch) делится МЕЖДУ строками —
   у шага с коротким текстом картинка и заголовок уезжали вниз (768–999px).
   Прижимаем строки к верху. Выше 1000px строка одна, там растяжение нужно. */
@media(max-width:999.98px){.step{align-content:flex-start}}
@media(min-width:1000px){
  .step__mascot{margin-left:0}
  .step__body{flex:1 1 0}
}

/* --- Сцена с завтраком: сбоку от текста на десктопе, под текстом на мобильном --- */
.eatday__grid{display:grid;gap:clamp(20px,4vw,32px);align-items:center}
@media(min-width:900px){.eatday__grid{grid-template-columns:1fr minmax(280px,420px)}}
.eatday__pic{display:block;width:100%;max-width:420px;margin-inline:auto}
.eatday__pic img{width:100%;height:auto}

/* --- Анти-срыв --- */
.antibreak__mascot{width:auto;height:150px;margin:24px auto 0}
@media(min-width:768px){.antibreak__mascot{height:180px}}

/* --- Финальный CTA: самая крупная вставка --- */
.final__mascot{display:block;width:100%;max-width:300px;margin:28px auto 0}
@media(min-width:900px){.final__mascot{max-width:480px}}
.final__mascot img{width:100%;height:auto}

/* --- Cookie-плашка: поверх sticky-бара, исчезает после «Принимаю» --- */
/* 06.10 (Пётр, по образцу плашки другого сайта): крупная тёмная плашка с
   ОДНОЙ большой кнопкой «Принимаю», кнопки «Отклонить» нет. Модель
   согласия прежняя (строгая, 19.08): Метрика и номер рекламного клика —
   только после нажатия «Принимаю»; пока не нажато, аналитика не
   запускается, сайт работает полностью (Политика 2.2 п. 8.1). Формулы
   «продолжая пользоваться — соглашаетесь» в тексте НЕТ намеренно (это
   смена юр-позиции — только через юриста). */
.cookiebar{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:1200;
  max-width:980px;margin-inline:auto;
  background:var(--ink);color:#fff;
  border-radius:18px;
  box-shadow:0 12px 36px rgba(58,42,40,.35);
  padding:20px 22px;
  display:flex;flex-direction:column;gap:16px;
}
.cookiebar__text{margin:0;font-size:15.5px;line-height:1.55}
.cookiebar__text a{color:#fff;text-decoration:underline}
.cookiebar__actions{display:flex}
.cookiebar .cookiebar__accept{width:100%;min-height:54px;padding:12px 28px;font-size:17px;box-shadow:none}
@media(min-width:760px){
  .cookiebar{flex-direction:row;align-items:center;gap:32px;padding:22px 28px}
  .cookiebar__actions{flex:0 0 auto}
  .cookiebar .cookiebar__accept{width:auto;min-width:220px}
}

/* ---------- Reduced motion (§5): полностью отключаем анимации ---------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .hb-cascade>.hb-msg,.hb-cascade .hb-btn,.hb-cascade>.hb-msg--user{opacity:1;transform:none}
}

/* Cookie-плашка открыта → липкую панель прячем: плашка лежит поверх и
   перехватывала тапы по «Попробовать» (живой прогон 03.09). Класс
   ставит/снимает script.js. */
body.has-cookiebar #sticky { display: none; }

/* ==========================================================================
   Landing v3 (15.10, решение Петра: вариант 1 «Живая тарелка», цвета сайта).
   Первый экран — заголовок о результате + круг-«стол» с меняющимися блюдами;
   «Знакомо?» вместо квиза; «Что ты получаешь»; «Так выглядит день» + шаги.
   ========================================================================== */
.hero3{padding:clamp(12px,3vw,36px) 0 clamp(36px,6vw,64px);overflow:hidden}
.hero3__grid{display:grid;gap:28px;align-items:center}
.hero3__copy{display:flex;flex-direction:column;gap:16px}
.hero3__eyebrow{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:600}
.hero3__title{font-size:clamp(34px,5.4vw,62px);line-height:1.06;font-weight:700;text-wrap:balance}
.hero3__title span{color:var(--accent)}
.hero3__sub{color:var(--ink-soft);font-size:clamp(16.5px,1.7vw,19px);line-height:1.55;max-width:46ch}
.hero3__cta .btn{min-width:min(100%,340px)}
.hero3__trust{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14.5px;color:var(--ink-soft);margin-top:14px}
.hero3__trust span::before{content:"✓";color:#3F6E4C;font-weight:700;margin-right:6px}
.hero3__visual{position:relative;width:min(100%,560px);aspect-ratio:1;justify-self:center}
/* Внешний край круга — мягко размытый (Пётр 16.10): маска растворяет графит
   в фон страницы, чёткой линии и тени нет. Без покачивания тарелки: поворот
   и масштаб каждый кадр пересчитывают фото и «мылят» его (Пётр 16.10:
   «видно как меняется качество»). */
.dishdisc{position:absolute;inset:0;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 35% 30%,#45484F,#303237 60%,#232428);
  -webkit-mask-image:radial-gradient(closest-side,#000 80%,transparent 100%);mask-image:radial-gradient(closest-side,#000 80%,transparent 100%)}
.dishdisc__img{position:absolute;inset:3%;width:94%;height:94%;object-fit:cover;border-radius:50%;opacity:0;
  -webkit-mask-image:radial-gradient(closest-side,#000 84%,transparent 100%);mask-image:radial-gradient(closest-side,#000 84%,transparent 100%);
  transition:opacity 1.4s ease}
.dishdisc__img.is-on{opacity:1}
.dishdisc__steam{position:absolute;left:25%;top:5%;width:50%;height:42%;pointer-events:none}
.dishdisc__steam i{position:absolute;bottom:0;width:36%;height:72%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,255,255,.55),rgba(255,255,255,0));filter:blur(12px);opacity:0;animation:dishsteam 6.5s ease-in infinite}
.dishdisc__steam i:nth-child(1){left:8%}.dishdisc__steam i:nth-child(2){left:36%;animation-delay:2.2s}.dishdisc__steam i:nth-child(3){left:62%;animation-delay:4.4s}
@keyframes dishsteam{0%{transform:translateY(20%) scaleX(.8);opacity:0}25%{opacity:.55}100%{transform:translateY(-95%) scaleX(1.3);opacity:0}}
.dishchip{position:absolute;z-index:2;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:0 14px 34px rgba(58,42,40,.18);
  display:flex;flex-direction:column;gap:2px;font-size:13.5px;line-height:1.3;max-width:72%}
.dishchip b{font-size:14.5px}
.dishchip span{color:var(--ink-soft)}
.dishchip--ok{right:0;top:6%}.dishchip--ok b{color:#3F6E4C}
.dishchip--name{left:-2%;bottom:12%;transition:opacity .4s ease}
.dishchip--name.is-fading{opacity:0}
.hero3__mascot{position:absolute;right:-6%;bottom:-6%;width:36%;height:auto;z-index:2}
.hero3 .mascot-pic{display:contents}
@media(min-width:960px){
  .hero3__grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.98fr);gap:44px}
  .hero3__visual{justify-self:end}
}
/* Круг на ~15 % крупнее колонки (Пётр 16.10: «будто немного украли»), а заголовок —
   как был, в 3 строки: круг заходит в правое поле страницы (48 px) и немного в
   промежуток между колонками (24 px). Уже 1200 px поля нет — круг по колонке. */
@media(min-width:1200px){
  .hero3__visual{width:calc(100% + 72px);margin-right:-48px}
}
@media(max-width:599px){
  .hero3__cta .btn{display:flex;width:100%}
  .dishchip{font-size:12.5px;padding:8px 11px}.dishchip b{font-size:13.5px}
  .dishchip--name{left:0;bottom:8%}
}

@media(prefers-reduced-motion:reduce){
  .dishdisc__steam{display:none}
}

/* ==========================================================================
   Блоки согласованного черновика (landing v3, 15.10) — стили 1:1, приставка l3-.
   Источник: scratchpad site_full/build.py → port_draft.py. Не смешивать со
   старыми классами сайта (.section, .faq, .stats…).
   ========================================================================== */
.l3 {
  --l3-bg: #FFF8F6; --l3-bg-2: #FBEFEC; --l3-paper: #FFFFFF; --l3-ink: #3A2A28; --l3-ink-soft: #6E5A56; --l3-accent: #B93A55; --l3-accent-dn: #9E2F47;
  --l3-leaf: #4F7D5C; --l3-blush: #FBE9E5; --l3-line: #F0DEDA;
  --l3-g-1: #45484F; --l3-g-2: #303237; --l3-g-3: #232428; --l3-on-dark: #FBF3EE;
  --l3-display: 'Lora', Georgia, 'Times New Roman', serif; --l3-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --l3-maxw: 1160px; --l3-r: 22px;
  color-scheme: light;
}
.l3-container { max-width: var(--l3-maxw); margin: 0 auto; padding-inline: 20px; }
.l3-sec { padding-block: 72px; }
.l3-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--l3-accent); font-weight: 600; }
.l3-h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.l3-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--l3-ink-soft); max-width: 60ch; }
.l3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--l3-accent); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 10px 26px rgba(185,58,85,.32); transition: transform .15s ease, background .15s ease; font-family: inherit; }
.l3-btn:hover { background: var(--l3-accent-dn); transform: translateY(-1px); }
.l3-btn:focus-visible, .l3-link:focus-visible { outline: 3px solid var(--l3-accent); outline-offset: 3px; }
.l3-btn-note { font-size: 14px; color: var(--l3-ink-soft); }
.l3-sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 760px; }
/* шапка */
.l3-top { position: sticky; top: 0; z-index: 30; background: rgba(255,248,246,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
/* ===== первый экран, вариант 1 ===== */
.l3-hero1 { padding-block: 28px 64px; overflow: hidden; }
/* ===== первый экран, вариант 2 ===== */
.l3-hero2 { padding-block: 40px 0; overflow: hidden; text-align: center; }
/* ===== знакомо? ===== */
.l3-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l3-pain { background: var(--l3-paper); border-radius: var(--l3-r); padding: 26px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--l3-line); }
.l3-pain .l3-q { font-family: var(--l3-display); font-size: 22px; line-height: 1.2; }
.l3-pain .l3-a { color: var(--l3-ink-soft); }
.l3-pain .l3-a b { color: var(--l3-ink); }
.l3-pain img { width: 84px; height: 84px; object-fit: contain; }
/* ===== что ты получаешь ===== */
.l3-gets { background: var(--l3-bg-2); }
.l3-getgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.l3-get { background: var(--l3-paper); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.l3-get .l3-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--l3-blush); color: var(--l3-accent); display: flex; align-items: center; justify-content: center; }
.l3-get .l3-ic svg { width: 24px; height: 24px; }
.l3-get h3 { font-family: var(--l3-body); font-size: 17px; font-weight: 600; }
.l3-get p { font-size: 15px; color: var(--l3-ink-soft); }
/* ===== твой день ===== */
.l3-day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.l3-dish { background: var(--l3-paper); border-radius: var(--l3-r); overflow: hidden; border: 1px solid var(--l3-line); display: flex; flex-direction: column; }
/* Наведение — без движения фото (Пётр 16.10: «дрожат»): Firefox при плавном
   увеличении перерисовывает кадр попиксельно, отдельный слой не помог. Карточка
   только подсвечивается мягкой тенью. */
.l3-dish { transition: box-shadow .3s ease, border-color .3s ease; }
.l3-dish:hover { box-shadow: 0 16px 36px rgba(58,42,40,.14); border-color: transparent; }
.l3-dish .l3-ph { aspect-ratio: 1; overflow: hidden; }
.l3-dish .l3-ph img { width: 100%; height: 100%; object-fit: cover; }
.l3-dish .l3-tx { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.l3-dish .l3-m { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--l3-accent); font-weight: 600; }
.l3-dish .l3-n { font-weight: 600; line-height: 1.3; }
.l3-dish .l3-tm { font-size: 14px; color: var(--l3-ink-soft); }
.l3-day-note { margin-top: 18px; color: var(--l3-ink-soft); font-size: 15px; }
/* ===== шаги ===== */
.l3-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.l3-step { display: flex; flex-direction: column; gap: 8px; }
.l3-step img { aspect-ratio: 1; object-fit: cover; border-radius: 16px; width: 100%; }
.l3-step p { font-size: 14px; color: var(--l3-ink-soft); line-height: 1.4; }
.l3-step p b { color: var(--l3-ink); }
/* ===== анти-срыв ===== */
.l3-sos { background: #2E2125; color: #F8EEEB; }
.l3-sos .l3-container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.l3-sos .l3-h2 { color: #fff; }
.l3-sos .l3-lead { color: #E4D3CF; }
.l3-sos .l3-eyebrow { color: #F08AA2; }
.l3-sos-card { background: #3A2A30; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.l3-sos-card .l3-ttl { font-family: var(--l3-display); font-size: 22px; color: #fff; }
.l3-sos-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 14px; padding: 13px 16px; font: inherit; text-align: left; cursor: pointer; }
.l3-sos-btn:hover { background: rgba(255,255,255,.14); }
.l3-sos-ans { background: rgba(236,95,149,.16); border-radius: 14px; padding: 13px 16px; color: #fff; display: none; }
.l3-sos-card img { position: absolute; right: -14px; top: -40px; width: 96px; }
.l3-doctor { margin-top: 18px; font-size: 15px; color: #E4D3CF; }
/* ===== готовлю на семью (18.10, макет YFbjGPD3h39epA59mX3Ntq) ===== */
.l3-family { background: var(--l3-bg-2); }
.l3-family .l3-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.l3-family .l3-h2 { margin-top: 12px; }
.l3-fam-list { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.l3-fam-list li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; color: var(--l3-ink-soft); font-size: 17px; line-height: 1.45; }
.l3-fam-list li span { font-size: 20px; line-height: 1.3; }
.l3-fam-ph img { display: block; width: 100%; height: auto; border-radius: var(--l3-r); box-shadow: 0 20px 50px rgba(58,42,40,.10); }
/* ===== 650 ===== */
.l3-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l3-stat { background: var(--l3-paper); border-radius: var(--l3-r); padding: 26px; border: 1px solid var(--l3-line); }
.l3-stat .l3-num { font-family: var(--l3-display); font-size: 54px; color: var(--l3-accent); line-height: 1; font-variant-numeric: tabular-nums; }
.l3-stat p { margin-top: 10px; }
.l3-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.l3-quote { font-family: var(--l3-display); font-size: 21px; line-height: 1.35; background: var(--l3-blush); border-radius: var(--l3-r); padding: 24px; }
.l3-quote small { display: block; font-family: var(--l3-body); font-size: 13px; color: var(--l3-ink-soft); margin-top: 8px; }
/* ===== цена ===== */
.l3-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.l3-pcard { background: var(--l3-paper); border-radius: 26px; padding: 30px; border: 1px solid var(--l3-line); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(58,42,40,.08); }
.l3-pcard .l3-big { font-family: var(--l3-display); font-size: 48px; line-height: 1; }
.l3-pcard .l3-big small { font-family: var(--l3-body); font-size: 17px; color: var(--l3-ink-soft); }
.l3-terms { display: flex; flex-direction: column; gap: 12px; }
.l3-terms li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.l3-terms li::before { content: "✓"; color: var(--l3-leaf); font-weight: 700; }
.l3-terms ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
/* ===== вопросы ===== */
.l3-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
/* Бывшие style="…" из разметки черновика (16.10): CSP сайта (style-src 'self',
   .htaccess) встроенные стили БЛОКИРУЕТ — на живом сайте они молча не работали.
   Только классы; сторож — qa_check «CSP: в разметке нет style=». */
.l3-sec.l3-pt0 { padding-top: 0; }
.l3-h2.l3-sos-h { margin: 12px 0 16px; }
.l3-sos-hint { color: #cdb9b5; }
.l3-pnote { color: var(--ink-soft); }
.l3-btn.l3-btn--start { align-self: flex-start; }
/* «Коротко о главном» — по центру страницы (Пётр 16.10: «съехал влево»). */
#faq .l3-sec-head { margin-inline: auto; text-align: center; align-items: center; }
#faq .l3-faq { margin-inline: auto; }
.l3-faq details { background: var(--l3-paper); border: 1px solid var(--l3-line); border-radius: 16px; padding: 4px 20px; }
.l3-faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.l3-faq summary::after { content: "+"; color: var(--l3-accent); font-size: 22px; line-height: 1; }
.l3-faq details[open] summary::after { content: "−"; }
.l3-faq details p { padding-bottom: 16px; color: var(--l3-ink-soft); }
/* ===== финал и подвал ===== */
.l3-final { text-align: center; }
.l3-final .l3-box { background: var(--l3-paper); border-radius: 32px; padding: 52px 24px; border: 1px solid var(--l3-line); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.l3-final img { width: 120px; }
/* липкая кнопка (телефон) */
.l3-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; }
/* появление при прокрутке */
.l3-anim .l3-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.l3-anim .l3-rv.l3-in { opacity: 1; transform: none; }
@media (max-width: 960px) {
.l3-pains, .l3-stats { grid-template-columns: 1fr; }
.l3-getgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l3-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l3-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l3-sos .l3-container, .l3-price, .l3-quotes, .l3-family .l3-container { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.l3-sec { padding-block: 52px; }
.l3-getgrid { grid-template-columns: 1fr; }
.l3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
*::before, *::after { animation: none !important; transition: none !important; }
.l3-anim .l3-rv { opacity: 1; transform: none; }
}

/* Дополнения к блокам черновика: вторая дверь финала (Telegram, решение 25.09)
   и строка об оплате под ценой — их в черновике не было. */
.l3-acts{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.l3-btn-outline{background:transparent;color:var(--l3-accent);border:1.5px solid var(--l3-accent);box-shadow:none}
.l3-btn-outline:hover{background:var(--l3-blush);color:var(--l3-accent-dn)}
.l3-legal{margin-top:18px;font-size:14px;color:var(--l3-ink-soft);text-align:center}
.l3 .l3-sec h2,.l3 .l3-sec h3{font-family:var(--l3-display);font-weight:600;text-wrap:balance}
@media(max-width:600px){.l3-acts .l3-btn{width:100%}}
