/* =====================================================================
   ClawaIde · сайт clawaide.ru
   Токены — зеркало Product/brand/tokens.css (менять там и здесь вместе).
   Светлая тема по умолчанию, тёмная — по prefers-color-scheme (только экран:
   печать всегда светлая). Янтарь — графический акцент, не цвет текста на светлом.
   ===================================================================== */

@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* палитра бренда */
  --cl-graphite: #1B2024;
  --cl-night: #1E3440;
  --cl-teal: #1A7582;
  --cl-teal-light: #8FD0D6;
  --cl-amber: #F2A23A;
  --cl-orange: #E57A22;
  --cl-gold: #C9A45C;
  --cl-milk: #FBF7F0;
  --cl-sand: #F0E7D8;
  --cl-white: #FFFFFF;

  /* роли — светлая тема */
  --cl-bg: var(--cl-milk);
  --cl-surface: var(--cl-white);
  --cl-surface-alt: var(--cl-sand);
  --cl-text: var(--cl-graphite);
  --cl-text-muted: #555B60;            /* на молочном ≈ 6,4 : 1 */
  --cl-link: var(--cl-teal);
  --cl-accent: var(--cl-amber);
  --cl-line: #E2D8C6;                  /* тонкие линии на молочном и песочном */
  --cl-ring-bg: var(--cl-sand);        /* фоновое кольцо «на связи» */
  --cl-strong-bg: var(--cl-graphite);  /* тёмная плашка: карточка «да», блок заявки */
  --cl-strong-text: var(--cl-white);
  --cl-strong-muted: #C5CCD0;
  --cl-btn-bg: var(--cl-teal);         /* белый на бирюзе — 5,4 : 1 */
  --cl-btn-bg-hover: #145F6A;
  --cl-btn-text: var(--cl-white);
  --cl-danger: #B3402E;                /* служебный: ошибки формы; в палитре бренда красного нет */
  --cl-danger-on-dark: #FFB8A8;
  --cl-ring: linear-gradient(135deg, var(--cl-amber), var(--cl-gold) 50%, var(--cl-teal));

  --cl-font-heading: "Geologica", Arial, system-ui, sans-serif;
  --cl-font-text: "Golos Text", Arial, system-ui, sans-serif;
  --cl-radius-card: 16px;
  --cl-radius-pill: 999px;

  --gutter: 24px;
  --section-y: clamp(56px, 9vw, 104px);
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --cl-bg: var(--cl-graphite);
    --cl-surface: var(--cl-night);
    --cl-surface-alt: #232A2F;
    --cl-text: var(--cl-white);
    --cl-text-muted: #B9C0C4;
    --cl-link: var(--cl-teal-light);
    --cl-line: #323B41;
    --cl-ring-bg: var(--cl-night);
    --cl-strong-bg: var(--cl-night);
    --cl-btn-bg: var(--cl-teal-light);  /* графит на светлой бирюзе — 9,5 : 1 */
    --cl-btn-bg-hover: #A9DDE2;
    --cl-btn-text: var(--cl-graphite);
    --cl-danger: #FFB8A8;
  }
}

/* ------------------------------- основа ----------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cl-bg);
  color: var(--cl-text);
  font: 400 17px/1.5 var(--cl-font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--cl-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cl-link); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--cl-font-heading); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.015em; max-width: 20ch; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  background: var(--cl-text); color: var(--cl-bg);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* рубрика: Geologica 600, капс — над заголовком блока */
.rubric {
  font: 600 13px/1.2 var(--cl-font-heading);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cl-link);
  margin: 0 0 16px;
}

/* мотив «курсор»: янтарная черта после заголовка (графика, не текст) */
.cl-cursor::after {
  content: "";
  display: inline-block;
  width: 0.115em; height: 0.78em;
  margin-left: 0.08em;
  border-radius: 0.06em;
  background: var(--cl-amber);
  vertical-align: -0.04em;
}

/* ------------------------------- кнопки ----------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1.2 var(--cl-font-heading);
  padding: 14px 24px;
  border: 2px solid transparent; border-radius: var(--cl-radius-pill);
  background: var(--cl-btn-bg); color: var(--cl-btn-text);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .05s ease;
}
.btn:hover { background: var(--cl-btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--cl-text); border-color: currentColor; }
.btn--ghost:hover { background: var(--cl-surface-alt); }
/* янтарная кнопка — только на тёмной плашке: графит на янтаре 7,8 : 1 */
.btn--accent { background: var(--cl-amber); color: var(--cl-graphite); }
.btn--accent:hover { background: #F7B55C; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1.2 var(--cl-font-heading);
  color: var(--cl-text); text-decoration: none;
  padding: 10px 4px;
}
.link-more:hover { color: var(--cl-link); }
.link-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------- шапка ------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--cl-bg);
  background: color-mix(in srgb, var(--cl-bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--cl-line);
}
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { display: block; width: 150px; height: 30px; }   /* минимум по брендбуку — 140 px */
.site-nav { display: flex; gap: 26px; margin-left: 12px; }
.site-nav a {
  font: 500 15px/1.2 var(--cl-font-text);
  color: var(--cl-text); text-decoration: none; padding: 8px 0;
}
.site-nav a:hover { color: var(--cl-link); }
.site-header__side { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.lang {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--cl-line); border-radius: var(--cl-radius-pill);
}
.lang a {
  font: 600 13px/1 var(--cl-font-heading); letter-spacing: 0.04em;
  padding: 7px 11px; border-radius: var(--cl-radius-pill);
  color: var(--cl-text-muted); text-decoration: none;
}
.lang a:hover { color: var(--cl-text); }
.lang a[aria-current] { background: var(--cl-text); color: var(--cl-bg); }

/* ------------------------------- первый экран ----------------------- */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero__title { line-height: 1.04; letter-spacing: -0.025em; }
.hero__title--xl { font-size: clamp(42px, 6.6vw, 84px); max-width: 11ch; }
.hero__title--lg { font-size: clamp(34px, 5vw, 62px); max-width: 17ch; }
.hero__sub {
  margin-top: 26px; max-width: 30em;                 /* строка до ~60 знаков */
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--cl-text-muted); }

.hero__art { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: end; }
/* мотив «кольцо на связи» — крупный фоновый элемент, как на обложках */
.hero__ring {
  position: absolute; width: 104%; aspect-ratio: 1; right: -30%; top: -16%;
  border-radius: 50%; border: clamp(26px, 3.4vw, 44px) solid var(--cl-ring-bg);
}
.hero__ring::after {
  content: ""; position: absolute; left: 4%; bottom: 4%;
  width: 13%; aspect-ratio: 1; border-radius: 50%;
  background: var(--cl-link);
}
.hero__avatar { position: relative; display: block; width: 90%; height: auto; margin: 5% 0 0 2%; }
.hero__chip {
  position: absolute; left: -6%; bottom: 7%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--cl-surface); color: var(--cl-text);
  border: 1px solid var(--cl-line); border-radius: 18px 18px 18px 4px;
  font: 600 15px/1.2 var(--cl-font-heading);
  box-shadow: 0 10px 30px -18px rgba(27, 32, 36, .45);
}
.hero__chip svg { width: 20px; height: 20px; fill: none; stroke: var(--cl-link); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------- блоки ------------------------------ */

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--cl-surface-alt); }
.section--alt .rubric { color: var(--cl-text); }   /* бирюза на песочном — 4,4 : 1, мелким нельзя */
.section__lead { margin-top: 18px; max-width: 34em; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.45; color: var(--cl-text-muted); }

/* три шага: написали → сделала → «да» */
.steps {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch;
}
.step {
  background: var(--cl-surface-alt); border-radius: var(--cl-radius-card);
  padding: 28px 28px 30px;
}
.step__n {
  display: block; margin-bottom: 22px;
  font: 700 44px/1 var(--cl-font-heading); letter-spacing: -0.02em;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--cl-text-muted); }
.step--yes { background: var(--cl-strong-bg); color: var(--cl-strong-text); }
.step--yes p { color: var(--cl-strong-muted); }
/* галочка «да» — единственный янтарный акцент блока */
.step__check { display: block; width: 44px; height: 44px; margin-bottom: 22px; fill: none; stroke: var(--cl-amber); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.steps__arrow { display: flex; align-items: center; }
.steps__arrow svg { width: 34px; height: 20px; fill: none; stroke: var(--cl-link); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* кому подходит */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.who__card { border-radius: var(--cl-radius-card); padding: 30px 30px 32px; }
.who__card--fit { background: var(--cl-bg); }
.who__card--not { border: 1.5px dashed var(--cl-text-muted); }
.who__card h3 { margin-bottom: 18px; }
.ticks, .dashes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li, .dashes li { position: relative; padding-left: 34px; max-width: 34em; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.36em; width: 18px; height: 10px;
  border-left: 3px solid var(--cl-link); border-bottom: 3px solid var(--cl-link);
  border-radius: 1px; transform: rotate(-45deg) translate(1px, -2px);
}
.dashes li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--cl-text-muted); }

/* как начать */
.path {
  list-style: none; margin: 44px 0 40px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.path__step { position: relative; padding-top: 22px; border-top: 2px solid var(--cl-text); }
.path__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%;
  background: var(--cl-text); color: var(--cl-bg);
  font: 700 16px/1 var(--cl-font-heading);
}
.path__step h3 { margin-bottom: 8px; }
.path__step p { color: var(--cl-text-muted); max-width: 30em; }

/* ------------------------------- выключенные блоки ------------------ */

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.case { display: grid; gap: 12px; }
.case h3 { margin-bottom: 4px; }
.case__was, .case__now { border-radius: var(--cl-radius-card); padding: 22px 24px; }
.case__was { background: var(--cl-bg); }
.case__now { background: var(--cl-strong-bg); color: var(--cl-strong-text); }
.case__label { display: block; font: 600 12px/1.2 var(--cl-font-heading); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.case strong { display: block; font: 700 34px/1.1 var(--cl-font-heading); margin-bottom: 8px; }
.case__now strong { color: var(--cl-amber); }
.features { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature { background: var(--cl-surface-alt); border-radius: var(--cl-radius-card); padding: 26px 28px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--cl-text-muted); }
.camp .btn { margin-top: 28px; }
.faq { margin-top: 36px; max-width: 760px; border-top: 1px solid var(--cl-line); }
.faq details { border-bottom: 1px solid var(--cl-line); padding: 18px 0; }
.faq summary { font: 600 19px/1.3 var(--cl-font-heading); cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--cl-text-muted); max-width: 36em; }

/* ------------------------------- заявка ----------------------------- */

.lead { background: var(--cl-strong-bg); color: var(--cl-strong-text); padding: var(--section-y) 0; }
.lead__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lead .rubric { color: var(--cl-teal-light); }
.lead .section__lead { color: var(--cl-strong-muted); }
.lead__channel { margin-top: 28px; font-size: 16px; color: var(--cl-strong-muted); }
.lead a { color: var(--cl-teal-light); }

.lead__card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px; padding: 32px;
}
.lead__form { display: grid; gap: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field label, .check { font: 500 15px/1.35 var(--cl-font-text); }
.field > label:not(.check) { display: block; margin-bottom: 8px; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--cl-strong-muted); }
.field input[type="text"], .field textarea {
  display: block; width: 100%;
  font: 400 17px/1.4 var(--cl-font-text); color: var(--cl-white);
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .38);     /* граница поля ≥ 3 : 1 на графите */
  border-radius: 12px; padding: 13px 15px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--cl-teal-light); outline-offset: 2px; border-color: transparent; }
.field__hint { margin-top: 7px; font-size: 14px; color: var(--cl-strong-muted); }
.field__err { display: none; margin-top: 7px; font-size: 14px; font-weight: 600; color: var(--cl-danger-on-dark); }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input[type="text"], .field.is-invalid textarea { border-color: var(--cl-danger-on-dark); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input {
  flex: 0 0 auto; width: 22px; height: 22px; margin: -1px 0 0;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 6px;
}
.check input:checked {
  background: var(--cl-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.6 3.6 7.4-8.2' fill='none' stroke='%231B2024' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--cl-amber);
}
.check input:focus-visible { outline: 3px solid var(--cl-teal-light); outline-offset: 2px; }
.field.is-invalid .check input { border-color: var(--cl-danger-on-dark); }

.lead__error { display: none; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--cl-danger-on-dark); color: var(--cl-danger-on-dark); font-weight: 600; }
.lead__card[data-state="error"] .lead__error { display: block; }
.lead__form .btn { justify-self: start; }

.lead__ok { display: none; padding: 12px 0; outline: none; }
.lead__ok svg { display: block; width: 56px; height: 56px; margin-bottom: 20px; fill: none; stroke: var(--cl-amber); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.lead__ok h3 { font-size: 30px; margin-bottom: 10px; }
.lead__ok p { color: var(--cl-strong-muted); max-width: 28em; }
.lead__card[data-state="ok"] .lead__form { display: none; }
.lead__card[data-state="ok"] .lead__ok { display: block; }

/* ------------------------------- подвал ----------------------------- */

.site-footer { padding: 40px 0 44px; border-top: 1px solid var(--cl-line); }
.site-footer__in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.site-footer__brand img { display: block; width: 140px; height: 28px; }
.site-footer__brand p { margin-top: 14px; max-width: 32em; font-size: 15px; color: var(--cl-text-muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer__links a { font-weight: 500; font-size: 16px; }
.site-footer__copy { grid-column: 1 / -1; font-size: 14px; color: var(--cl-text-muted); }

/* ------------------------------- история версий --------------------- */

.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.releases { padding-bottom: var(--section-y); }
.release {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px 40px;
  padding: 34px 0; border-top: 1px solid var(--cl-line);
}
.release__head h2 { font-size: 32px; letter-spacing: -0.02em; }
.release__head time { display: block; margin-top: 6px; font-size: 15px; color: var(--cl-text-muted); font-variant-numeric: tabular-nums; }
.release__notes { max-width: 44em; overflow-wrap: anywhere; }
.release__notes > :first-child { margin-top: 0; }
.release__notes h3, .release__notes h4 {
  font: 600 13px/1.2 var(--cl-font-heading); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cl-link); margin: 26px 0 12px;
}
.release__notes ul, .release__notes ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.release__notes li::marker { color: var(--cl-text-muted); }
.release__notes p { margin: 0 0 12px; }
.release__notes b, .release__notes strong { font-weight: 600; }
.release__notes code { font-size: .92em; background: var(--cl-surface-alt); padding: 1px 6px; border-radius: 6px; }
.releases__empty { padding: 34px 0; border-top: 1px solid var(--cl-line); color: var(--cl-text-muted); }

/* ------------------------------- документ (политика) ---------------- */

.page-head__title--doc { font-size: clamp(30px, 4.4vw, 50px) !important; max-width: 18ch; }
.doc { padding-bottom: var(--section-y); }
.doc > .wrap > * { max-width: 44rem; }
/* плашка «черновик»: графит на янтаре — 7,8 : 1 */
.doc__draft {
  display: grid; gap: 6px;
  background: var(--cl-amber); color: var(--cl-graphite);
  border-radius: var(--cl-radius-card); padding: 20px 24px;
}
.doc__draft strong { font: 700 clamp(20px, 2.6vw, 26px)/1.2 var(--cl-font-heading); }
.doc__updated { margin-top: 22px; color: var(--cl-text-muted); font-size: 15px; }
.doc__section { margin-top: 40px; }
.doc__section h2 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.005em; max-width: none; margin-bottom: 12px; }
.doc__section p { margin-top: 12px; }
.doc__section ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc__section li::marker { color: var(--cl-text-muted); }
.doc__section--review { margin-top: 56px; padding: 24px 26px 28px; border: 1.5px dashed var(--cl-text-muted); border-radius: var(--cl-radius-card); }
/* незаполненное место: рамка и фон, а не только цвет */
.ph { background: var(--cl-surface-alt); color: var(--cl-text); border: 1px solid var(--cl-text-muted); border-radius: 6px; padding: 0 5px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ------------------------------- планшет и телефон ------------------ */

@media (max-width: 980px) {
  .site-nav { display: none; }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { order: -1; width: 240px; justify-self: start; margin-left: 8px; }
  .hero__chip { left: auto; right: -42%; bottom: 10%; font-size: 14px; padding: 10px 14px 10px 12px; }
  .hero__ring { right: -64%; top: -34%; width: 130%; }
  .steps { grid-template-columns: 1fr; }
  .steps__arrow { justify-content: flex-start; padding-left: 28px; }
  .steps__arrow svg { transform: rotate(90deg); }
  .who, .lead__in, .path { grid-template-columns: 1fr; }
  .lead__in { gap: 32px; }
  .path { gap: 24px; }
  .release { grid-template-columns: 1fr; padding: 28px 0; }
  .release__head { display: flex; align-items: baseline; gap: 14px; }
  .release__head time { margin-top: 0; }
  .site-footer__in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header__in { gap: 12px; min-height: 60px; }
  .logo img { width: 140px; height: 28px; }
  .site-header__cta { display: none; }      /* кнопка заявки — сразу под заголовком */
  .hero__art { width: 200px; }
  .hero__chip { right: -52%; }
  .hero__actions .btn { width: 100%; }
  .step, .who__card { padding: 24px 22px 26px; }
  .lead__card { padding: 22px 18px; border-radius: 16px; }
  .lead__form .btn { width: 100%; }
  h3 { font-size: 20px; }
}

/* =====================================================================
   Главная, оба языка (templates/home.html)
   Тексты и порядок блоков — макет 2026-11-21, оформление — второй макет
   (maket-2026-11-21-v2-colors.html). Всё привязано к body.home-v2.
   ===================================================================== */

:root {
  --cl-band: #1B2024;                  /* тёмная полоса: боль, контроль, заявка */
  --cl-band-2: #1E3440;                /* карточка на тёмной полосе */
  --cl-band-line: rgba(201, 164, 92, .22);
  --cl-pain-bg: #12161A;
  --cl-morning-bg: #1A7582;
  --cl-marker: color-mix(in srgb, var(--cl-amber) 70%, transparent);
  --cl-hero-bg: radial-gradient(900px 600px at 82% 30%, #EFE3CF 0%, transparent 62%), linear-gradient(165deg, #F0E7D8 0%, #FBF7F0 72%);
  --cl-hero-ring: #E8DCC8;
  --cl-hero-orb: radial-gradient(circle at 35% 30%, #F5EBD8, #E4D6BC);
  --cl-hero-chip-bg: #FFFFFF;
  --cl-hero-chip-line: #E2D8C6;
  --cl-hero-tick-bg: rgba(26, 117, 130, .12);
  --cl-ghost-line: rgba(27, 32, 36, .28);
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    --cl-band: #14181B;
    --cl-morning-bg: #145F6A;
    --cl-hero-bg: radial-gradient(900px 600px at 82% 30%, #27495A 0%, transparent 62%), linear-gradient(165deg, #1E3440 0%, #1B2024 70%);
    --cl-hero-ring: #1E3440;
    --cl-hero-orb: radial-gradient(circle at 35% 30%, #2F5B6E, #1E3440);
    --cl-hero-chip-bg: #243643;
    --cl-hero-chip-line: rgba(201, 164, 92, .4);
    --cl-hero-tick-bg: rgba(143, 208, 214, .16);
    --cl-ghost-line: rgba(255, 255, 255, .35);
  }
}
/* тёмная тема по атрибуту (переключателя на сайте нет; токены — как в макете) */
:root[data-theme="dark"] {
  --cl-bg: var(--cl-graphite); --cl-surface: var(--cl-night); --cl-surface-alt: #232A2F;
  --cl-text: var(--cl-white); --cl-text-muted: #B9C0C4; --cl-link: var(--cl-teal-light);
  --cl-line: #323B41; --cl-ring-bg: var(--cl-night); --cl-strong-bg: var(--cl-night);
  --cl-btn-bg: var(--cl-teal-light); --cl-btn-bg-hover: #A9DDE2; --cl-btn-text: var(--cl-graphite);
  --cl-danger: #FFB8A8;
  --cl-band: #14181B; --cl-morning-bg: #145F6A;
  --cl-hero-bg: radial-gradient(900px 600px at 82% 30%, #27495A 0%, transparent 62%), linear-gradient(165deg, #1E3440 0%, #1B2024 70%);
  --cl-hero-ring: #1E3440; --cl-hero-orb: radial-gradient(circle at 35% 30%, #2F5B6E, #1E3440);
  --cl-hero-chip-bg: #243643; --cl-hero-chip-line: rgba(201, 164, 92, .4);
  --cl-hero-tick-bg: rgba(143, 208, 214, .16); --cl-ghost-line: rgba(255, 255, 255, .35);
}

/* ---- общее ---- */
.home-v2 em { font-style: normal; color: var(--cl-link); }
.home-v2 strong { font-weight: 600; }
.home-v2 h2 { font-weight: 600; max-width: 22ch; }
.home-v2 .h-wide { max-width: 28ch; }
/* жёлтый маркер под словами (*звёздочки* в sitecontent.py) */
.home-v2 .split__text em, .home-v2 .get h3 em, .home-v2 .emp h3 em {
  color: inherit;
  background: linear-gradient(transparent 62%, var(--cl-marker) 62%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .08em; margin: 0 -.08em;
}
.home-v2 .btn { transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.home-v2 .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(26, 117, 130, .5); }
.home-v2 .btn--accent:hover { box-shadow: 0 10px 24px -8px rgba(242, 162, 58, .6); }
.home-v2 .btn--ghost { border-color: var(--cl-ghost-line); }
.home-v2 .btn--ghost:hover { background: transparent; border-color: var(--cl-text); transform: none; box-shadow: none; }
.home-v2 .site-header__cta { background: var(--cl-amber); color: var(--cl-graphite); }
.home-v2 .site-header__cta:hover { background: #F7B55C; }
@media (prefers-reduced-motion: reduce) { .home-v2 .btn { transition: none; } .home-v2 .btn:hover { transform: none; } }

/* полосы */
.section--band { background: var(--cl-band); color: var(--cl-white); }
.section--pain { background: var(--cl-pain-bg); border-top: 1px solid rgba(201, 164, 92, .25); }
.section--band .rubric { color: var(--cl-teal-light); }
.section--band .section__lead { color: var(--cl-strong-muted); }
.section--teal { background: var(--cl-morning-bg); color: var(--cl-white); }
.section--teal .rubric { color: #CFEFF2; }
.section--teal .section__lead { color: #E1F1F3; }
.home-v2 .section--join-next { padding-bottom: clamp(24px, 4vw, 56px); }
.home-v2 .section--join-prev { padding-top: clamp(24px, 4vw, 56px); }

/* ---- 1. обложка ---- */
.hero--band { background: var(--cl-hero-bg); padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); }
.hero--band .hero__in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero--band .rubric { margin-bottom: 18px; }
.hero--band .hero__title { font-weight: 600; }
.hero--band .hero__title--lg { font-size: clamp(34px, 5.2vw, 59px); line-height: 1.1; max-width: 15ch; }
.hero--band .hero__sub { color: var(--cl-text-muted); max-width: 34em; margin-top: 22px; }
.hero--band .hero__actions { gap: 14px; }
.hero--band .hero__art { margin-top: 8px; }
.hero--band .hero__ring { border-color: var(--cl-hero-ring); }
.hero--band .hero__ring::after { background: var(--cl-amber); }
.hero--band .hero__art::after {
  content: ""; position: absolute; width: 30%; aspect-ratio: 1; right: -12%; top: -6%;
  border-radius: 50%; background: var(--cl-hero-orb);
}
.hero--band .hero__art picture { position: relative; z-index: 1; display: block; }
.hero--band .hero__chip { z-index: 2; background: var(--cl-hero-chip-bg); border-color: var(--cl-hero-chip-line); }
.hero--band .hero__chip svg { stroke: var(--cl-amber); }
.points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; max-width: 36em; }
.point { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.point__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cl-hero-tick-bg); color: var(--cl-link); font: 700 16px/1 var(--cl-font-heading);
}
.point strong { display: block; font: 600 18px/1.35 var(--cl-font-heading); }
.point p { font-size: 16px; line-height: 1.45; color: var(--cl-text-muted); }

/* ---- 2. «узнаёте себя?» ---- */
.quotes { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--cl-band-2); border: 1px solid rgba(201, 164, 92, .18); border-radius: 20px; padding: 26px 26px 24px; }
.quote q { display: block; quotes: "«" "»"; font: 500 20px/1.3 var(--cl-font-heading); }
:lang(en) .quote q { quotes: "“" "”"; }
.quote p { margin-top: 14px; color: var(--cl-strong-muted); font-size: 16px; line-height: 1.45; }
.pivot { margin-top: 44px; max-width: 26em; font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--cl-font-heading); text-wrap: balance; }
.home-v2 .pivot em { color: var(--cl-amber); }

/* ---- 3. «второе дыхание» ---- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split__text { display: grid; gap: 16px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.split__text p + p { color: var(--cl-text-muted); }
.split__text em { font-weight: 600; color: var(--cl-text) !important; }

/* ---- 4. «всё уже внутри» ---- */
.inside { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; align-items: start; }
.inside__not { background: var(--cl-surface-alt); border-radius: 28px; padding: 34px 32px; }
.inside__not h3 { font-size: 23px; }
.crosses { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.crosses li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: var(--cl-text-muted); line-height: 1.45; }
.crosses li::before {
  content: "×"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--cl-line); font: 600 19px/1 var(--cl-font-heading); color: var(--cl-text-muted);
}
.inside__after { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--cl-line); font: 600 19px/1.3 var(--cl-font-heading); }
.inside__gets { display: grid; gap: 16px; }
.get { background: var(--cl-surface); border: 1px solid var(--cl-line); border-radius: 24px; padding: 28px 30px; display: grid; gap: 10px; }
.get h3 { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.get p { color: var(--cl-text-muted); }
.get .proof { margin-top: 4px; padding: 12px 16px; border-radius: 12px; background: var(--cl-surface-alt); color: var(--cl-text); font-size: 16px; }
.proof strong { font-family: var(--cl-font-heading); color: var(--cl-link); }
.crisis {
  margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: center;
  background: var(--cl-band); color: var(--cl-white); border-radius: 28px; padding: clamp(28px, 4vw, 44px);
}
.crisis h3 { font-size: clamp(23px, 2.8vw, 33px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.home-v2 .crisis h3 em { color: var(--cl-amber); }
.crisis p { color: var(--cl-strong-muted); margin-top: 10px; }
.crisis .crisis__quote { color: var(--cl-white); font-weight: 600; }
.crisis .btn { justify-self: end; }

/* ---- 5. «как это работает» ---- */
.nsteps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.nstep { background: var(--cl-surface); border: 1px solid var(--cl-line); border-radius: 24px; padding: 30px 28px; counter-increment: s; }
.nstep::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 14px; background: var(--cl-band); color: var(--cl-amber); font: 700 18px/1 var(--cl-font-heading);
}
.nstep p { color: var(--cl-text-muted); margin-top: 10px; }
.emp {
  margin-top: 34px; padding: 28px clamp(22px, 3vw, 36px); border-radius: 26px;
  background: var(--cl-surface); border: 1px solid var(--cl-line);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 3vw, 40px); align-items: center;
}
.emp h3 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
/* пункты с кружком-логотипом */
.marks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.marks li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: var(--cl-surface-alt); font: 600 16px/1.25 var(--cl-font-heading);
}
.marks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: url("../img/favicon.svg") center / cover; }
.marks--band { grid-template-columns: 1fr; gap: 14px; }
.marks--band li {
  align-items: flex-start; padding: 16px 18px; border-radius: 18px;
  background: var(--cl-band-2); border: 1px solid var(--cl-band-line);
  font: 400 16px/1.45 var(--cl-font-text); color: #E6EBEE;
}
.marks--band li::before { width: 22px; height: 22px; margin-top: 2px; }
.marks--band strong { color: var(--cl-white); font-family: var(--cl-font-heading); }

/* ---- 6. «утро с Клавдией»: телефон с тёмным чатом ---- */
.morning { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phone {
  width: min(100%, 380px); margin-inline: auto; background: #101417; border-radius: 46px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(27, 32, 36, .55), 0 0 0 2px #2A343B inset;
}
.phone__screen { background: linear-gradient(170deg, #1E3440 0%, #1B2024 100%); border-radius: 36px; overflow: hidden; color: #FBF7F0; }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #1B2024; border-bottom: 1px solid #2C363D; }
.phone__head img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--cl-gold); }
.phone__head strong { display: block; font: 600 16px/1.2 var(--cl-font-heading); }
.phone__head span { font-size: 13px; color: var(--cl-teal-light); }
.phone__msg {
  margin: 16px 12px 18px; background: #243643; border: 1px solid rgba(201, 164, 92, .2);
  border-radius: 20px 20px 20px 6px; padding: 16px 16px 10px; font-size: 14.5px; line-height: 1.42;
}
.phone__h { font: 600 15px/1.3 var(--cl-font-heading); color: var(--cl-amber); margin: 12px 0 6px; }
.phone__h:first-child { margin-top: 0; }
.phone__msg ul { list-style: none; margin: 0; padding: 0; }
.phone__msg li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.phone__msg li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cl-amber); }
.phone__msg strong { color: var(--cl-teal-light); }
.phone__time { display: block; text-align: right; color: #8DA0AC; font-size: 12px; font-variant-numeric: tabular-nums; }
.report-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; max-width: 34em; }
.report-list li { position: relative; padding-left: 22px; }
.report-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--cl-amber); }
.report-list strong { display: block; font-family: var(--cl-font-heading); }
.report-list span { display: block; color: #E1F1F3; }

/* ---- 7. шесть возможностей ---- */
.takes { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.take { padding: 24px 0; border-top: 1px solid var(--cl-line); }
.take h3 { display: flex; gap: 14px; align-items: baseline; }
.take__n { color: var(--cl-link); font-size: 16px; font-variant-numeric: tabular-nums; }
.take p { color: var(--cl-text-muted); margin-top: 8px; padding-left: 36px; }

/* ---- 8. таблица сравнения ---- */
.compare-box { margin-top: 44px; border-radius: 24px; border: 1px solid var(--cl-line); background: var(--cl-surface); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 26px; border-bottom: 1px solid var(--cl-line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 17px/1.3 var(--cl-font-heading); background: var(--cl-surface-alt); }
.compare thead .compare__k { background: var(--cl-band); color: var(--cl-amber); }
.compare tbody th { font: 600 17px/1.4 var(--cl-font-text); width: 24%; }
.compare td { color: var(--cl-text-muted); }
.compare td.compare__k { background: color-mix(in srgb, var(--cl-amber) 11%, var(--cl-surface)); color: var(--cl-text); font-weight: 500; }

/* ---- 9. «контроль» ---- */
.control { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.control__card { background: var(--cl-band-2); border: 1px solid var(--cl-band-line); border-radius: 20px; padding: 26px 22px; }
.control__card h3 { font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--cl-amber); margin-bottom: 10px; }
.control__card p { color: var(--cl-strong-muted); font-size: 16px; line-height: 1.5; }

/* ---- 10. «что входит» + сообщество ---- */
.included { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.incl { background: var(--cl-surface); border: 1px solid var(--cl-line); border-radius: 24px; padding: 28px 24px 26px; display: grid; gap: 12px; align-content: start; }
.incl__icon {
  width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--cl-surface-alt);
  fill: none; stroke: var(--cl-link); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.incl h3 { font-size: 20px; line-height: 1.25; }
.incl p { color: var(--cl-text-muted); font-size: 16px; line-height: 1.5; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 3px 10px; border-radius: var(--cl-radius-pill);
  background: color-mix(in srgb, var(--cl-amber) 30%, var(--cl-surface)); color: var(--cl-text);
  font: 600 12px/1.4 var(--cl-font-heading); letter-spacing: 0.02em; white-space: nowrap;
}
.community {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); align-items: center;
  background: var(--cl-band); color: var(--cl-white); border-radius: 28px; padding: clamp(26px, 4vw, 42px);
}
.community h3 { font-size: clamp(23px, 2.6vw, 33px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.home-v2 .community h3 em { color: var(--cl-amber); }
.community > div > p { color: var(--cl-strong-muted); margin-top: 12px; }
.included__note {
  margin-top: 28px; padding: 26px 30px; border-radius: 24px; background: var(--cl-surface-alt);
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
}
.included__note p { font: 600 clamp(19px, 2.2vw, 25px)/1.3 var(--cl-font-heading); letter-spacing: -0.01em; max-width: 34em; }

/* ---- 11. основатели ---- */
.founders__quote { margin-top: 26px; padding-left: 20px; border-left: 4px solid var(--cl-amber); font: 500 20px/1.35 var(--cl-font-heading); }
.founders { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.founder {
  display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: center;
  background: var(--cl-surface); border: 1px solid var(--cl-line); border-radius: 24px; padding: 24px;
}
/* круг серый, пока фото не загрузилось; золотое кольцо — как у портрета Клавдии */
.founder__photo {
  display: block; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: #C9CDD0;
  box-shadow: 0 0 0 3px var(--cl-surface), 0 0 0 5px var(--cl-gold);
}
.founder__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 20px; font-weight: 600; }
.founder__role { margin-top: 2px; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--cl-link); }
.founder__role span { display: block; }
.founder p:last-child { margin-top: 6px; color: var(--cl-text-muted); font-size: 16px; line-height: 1.45; }

/* ---- 12. «кому подходит» ---- */
.home-v2 .who { gap: 22px; }
.home-v2 .who__card { border-radius: 24px; padding: 32px 30px; }
.home-v2 .who__card--fit { background: var(--cl-surface); border: 1px solid var(--cl-line); }
.home-v2 .who__card--not { background: var(--cl-surface-alt); border: 0; }
.home-v2 .ticks, .home-v2 .dashes { gap: 12px; }
.home-v2 .ticks li, .home-v2 .dashes li { padding-left: 28px; }
.home-v2 .ticks li::before {
  content: "✓"; left: 0; top: 0; width: auto; height: auto; border: 0; transform: none;
  color: var(--cl-link); font-weight: 700;
}
.home-v2 .dashes li::before { content: "–"; left: 4px; font-weight: 700; }

/* ---- 13. вопросы ---- */
.home-v2 .faq { margin-top: 44px; max-width: 860px; border-top: 0; }
.home-v2 .faq details { padding: 0; border-bottom: 0; border-top: 1px solid var(--cl-line); }
.home-v2 .faq details:last-child { border-bottom: 1px solid var(--cl-line); }
.home-v2 .faq summary {
  list-style: none; display: flex; gap: 18px; justify-content: space-between; align-items: center;
  padding: 22px 0; font: 600 19px/1.3 var(--cl-font-heading); letter-spacing: -0.01em;
}
.home-v2 .faq summary::-webkit-details-marker { display: none; }
.home-v2 .faq summary::after { content: "+"; flex: none; font: 400 27px/1 var(--cl-font-heading); color: var(--cl-link); transition: transform .2s; }
.home-v2 .faq details[open] summary::after { transform: rotate(45deg); }
.home-v2 .faq details p { margin: 0; padding: 0 48px 24px 0; max-width: none; color: var(--cl-text-muted); }

/* ---- 14. заявка: тёмная полоса, светлая карточка формы ---- */
.home-v2 .lead { background: var(--cl-band); }
.home-v2 .lead__in { grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); }
.lead__steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.lead__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.lead__n { display: block; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--cl-amber); background: url("../img/favicon.svg") center / cover no-repeat; }
.lead__steps strong { display: block; font: 600 18px/1.3 var(--cl-font-heading); }
.lead__steps div span { color: var(--cl-strong-muted); font-size: 16px; }
.home-v2 .lead__card {
  background: var(--cl-surface); color: var(--cl-text); border: 1px solid var(--cl-line);
  border-radius: 28px; padding: 32px 30px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5);
}
.home-v2 .lead__card a { color: var(--cl-link); }
.home-v2 .lead__form { gap: 18px; }
.home-v2 .field__opt, .home-v2 .field__hint { color: var(--cl-text-muted); }
.home-v2 .field input[type="text"], .home-v2 .field textarea {
  color: var(--cl-text); background: var(--cl-bg); border: 1.5px solid var(--cl-text-muted); border-radius: 14px; padding: 14px 16px;
}
.home-v2 .field input:focus-visible, .home-v2 .field textarea:focus-visible { outline-color: var(--cl-link); }
.home-v2 .check { color: var(--cl-text-muted); }
.home-v2 .check input { background: var(--cl-bg); border-color: var(--cl-text-muted); }
.home-v2 .check input:checked { background-color: var(--cl-amber); border-color: var(--cl-amber); }
.home-v2 .check input:focus-visible { outline-color: var(--cl-link); }
.home-v2 .field__err, .home-v2 .lead__error { color: var(--cl-danger); }
.home-v2 .lead__error { border-color: var(--cl-danger); }
.home-v2 .field.is-invalid input[type="text"], .home-v2 .field.is-invalid textarea, .home-v2 .field.is-invalid .check input { border-color: var(--cl-danger); }
.home-v2 .lead__ok p { color: var(--cl-text-muted); }

/* ---- планшет и телефон ---- */
@media (max-width: 1180px) {
  .site-nav { display: none; }      /* в шапке пять разделов — меню прячется раньше */
}
@media (max-width: 1040px) {
  .control, .included { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr 1fr; }
  .split, .split--wide, .inside, .crisis, .morning, .emp, .community, .nsteps, .takes { grid-template-columns: 1fr; }
  .home-v2 .lead__in { grid-template-columns: 1fr; }
  .crisis .btn { justify-self: start; }
  .morning .phone { order: 2; }
  .hero--band .hero__in { grid-template-columns: 1fr; }
  .hero--band .hero__art { order: -1; width: min(100%, 260px); margin: 0 0 0 8px; justify-self: start; }
  .hero--band .hero__art::after { right: -2%; }
  .hero--band .hero__chip { left: auto; right: -38%; bottom: 8%; font-size: 14px; padding: 10px 14px 10px 12px; }

  /* таблица сравнения — стопкой: строка = карточка, у ячеек подписи колонок */
  .compare-box { border: 0; background: none; border-radius: 0; overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 16px; }
  .compare tbody tr { background: var(--cl-surface); border: 1px solid var(--cl-line); border-radius: 20px; overflow: hidden; }
  .compare tbody th { width: auto; padding: 18px 20px 4px; border: 0; font: 600 19px/1.3 var(--cl-font-heading); }
  .compare td { padding: 10px 20px 16px; border: 0; }
  .compare td.compare__k { padding: 14px 20px 18px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 600 12px/1.2 var(--cl-font-heading); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cl-text-muted); }
  .compare td.compare__k::before { color: var(--cl-link); }
}
@media (max-width: 620px) {
  .quotes, .control, .included { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero--band .hero__art { width: 210px; }
  .hero--band .hero__chip { right: -50%; }
  .hero--band .hero__actions .btn { width: 100%; }
  .inside__not, .get, .nstep, .incl, .quote, .control__card { padding: 24px 20px; }
  .home-v2 .who__card { padding: 26px 22px; }
  .marks { grid-template-columns: 1fr; }
  .take p { padding-left: 0; }
  .founder { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .founder__photo { width: 112px; height: 112px; margin: 5px; }
  .crisis .btn, .included__note .btn { width: 100%; }
  .included__note { padding: 22px 20px; }
  .phone { border-radius: 38px; padding: 9px; }
  .phone__screen { border-radius: 30px; }
  .home-v2 .lead__card { padding: 24px 18px; border-radius: 22px; }
  .home-v2 .faq details p { padding-right: 0; }
}

@media print {
  .site-header, .site-footer, .skip { display: none !important; }
}

/* Cookie consent banner (analytics.js). Bottom card, does not cover the whole page. */
.consent[hidden] { display: none; }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.consent__in {
  pointer-events: auto; max-width: 720px; width: 100%;
  background: var(--cl-surface); color: var(--cl-text);
  border: 1px solid var(--cl-line); border-radius: var(--cl-radius-card);
  box-shadow: 0 10px 30px rgba(27, 32, 36, .18);
  padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.consent__in p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.45; }
.consent__in a { color: var(--cl-link); }
.consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 480px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}
