/* Лендинг Toolo. Правила площадки, из-за которых стили выглядят именно так:
   1. Никаких внешних CDN — в РФ gstatic.com недоступен, поэтому шрифты только
      системные, а весь декор рисуется CSS и инлайновым SVG.
   2. Ни строчки JS — тогда Caddy отдаёт страницу с политикой, где script-src
      вообще отсутствует. Меню, аккордеон и появление блоков сделаны на
      <details> и на scroll-driven анимациях. */

:root {
  color-scheme: light;

  --ink:        #0e1a17;
  --ink-2:      #14211d;
  --paper:      #f3f6f3;
  --card:       #ffffff;

  --text:       #14201d;
  --muted:      #566661;
  --line:       #dde5e1;

  --on-dark:    #eef4f1;
  --on-dark-mu: #a9bcb5;
  --line-dark:  #2a3b35;

  --brand:      #176b54;
  --brand-deep: #105541;
  --brand-lift: #45e0a0;
  --hazard:     #ffc531;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --wrap: 1160px;
  --pad: clamp(18px, 4vw, 40px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
          system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", "DejaVu Sans Mono", monospace;

  /* Зерно поверх тёмных секций: без него большие заливки выглядят пластиковыми. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Иначе якорь уводит заголовок секции под липкую шапку. */
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--font-mono); font-size: .92em; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--hazard); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--on-dark);
  text-decoration: none; font-weight: 600;
  transition: top .16s;
}
.skip:focus { top: 12px; }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .05; mix-blend-mode: overlay; pointer-events: none;
}

/* ── Кнопки ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 650; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .16s, color .16s, border-color .16s, transform .16s;
}
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: var(--brand-deep); }
.btn--outline { border-color: rgba(238, 244, 241, .34); color: var(--on-dark); }
.btn--outline { border-color: color-mix(in oklab, var(--on-dark) 34%, transparent); }
.btn--outline:hover { border-color: var(--on-dark); background: rgba(238, 244, 241, .1); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { background: rgba(23, 107, 84, .1); }
.btn:active { transform: translateY(1px); }

/* ── Шапка ────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  display: flex; align-items: center; gap: 24px;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 12px var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; fill: var(--brand); flex: none; }
.brand__text { font-size: 21px; font-weight: 800; letter-spacing: -.045em; }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 15px; font-weight: 550; color: var(--muted); text-decoration: none;
  transition: color .16s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 8px; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
}
.menu__bars { position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; }
.menu__bars::after  { top: 6px; }
.menu[open] summary { border-color: var(--brand); }
.menu__sheet {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  display: grid; gap: 2px; min-width: 240px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(14, 26, 23, .18);
}
.menu__sheet a {
  padding: 11px 14px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.menu__sheet a:hover { background: var(--paper); }
.menu__accent { background: var(--brand); color: #fff; }
.menu__accent:hover { background: var(--brand-deep); }

/* ── Герой ────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 0;
  background:
    radial-gradient(120% 90% at 12% 0%, #1b302a 0%, transparent 58%),
    var(--ink);
  color: var(--on-dark);
}
/* Точечная сетка — отсылка к модульной решётке QR, но фоном, а не картинкой. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .075) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__in { position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; margin-bottom: 26px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(238, 244, 241, .05);
  font-size: 14px; font-weight: 600; color: var(--on-dark-mu);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-lift);
  box-shadow: 0 0 0 4px rgba(69, 224, 160, .22);
}

.hero__h1 {
  /* Верхняя граница согласована с двухколоночным правилом ниже: без неё
     на 1099 px заголовок 83 px, а на 1100 px внезапно 49 px. */
  font-size: clamp(2.5rem, 7.6vw, 3.5rem);
  font-weight: 800; letter-spacing: -.05em;
}
.hero__h1 em {
  font-style: normal;
  color: var(--brand-lift);
}

.hero__lead {
  max-width: 44ch; margin-top: 24px;
  font-size: clamp(17px, 1.9vw, 20px); color: var(--on-dark-mu);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 14px; color: #91a49d; }

/* Макеты продукта. Это иллюстрация интерфейса, а не скриншот, поэтому
   собрана из тех же примитивов, что и остальная страница. */
.hero__mock {
  display: grid; grid-template-columns: 264px minmax(0, 1fr);
  align-items: end; gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 80px);
}

.phone {
  padding: 10px; border-radius: 40px;
  background: linear-gradient(160deg, #33453f, #0b1512);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.phone__screen {
  display: grid; gap: 10px;
  padding: 16px 12px 10px; border-radius: 31px;
  background: #f6f8f7; color: var(--text);
}
.phone__bar { font-size: 13px; font-weight: 750; color: var(--muted); padding-inline: 4px; }

.tcard {
  padding: 13px 14px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(14, 26, 23, .05);
}
.tcard--dim { opacity: .5; }
.tcard__kind { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.tcard__name { margin-top: 5px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.tcard__meta { margin-top: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.tcard__who { margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.tcard__actions { display: flex; gap: 6px; margin-top: 11px; }
.chip {
  flex: 1; padding: 8px 6px; border-radius: 9px;
  font-size: 12.5px; font-weight: 700; text-align: center;
}
.chip--yes { background: var(--brand); color: #fff; }
.chip--no  { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }

.phone__tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 2px; padding-top: 9px; border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 650; color: var(--muted); text-align: center;
}
.phone__tabs .is-on { color: var(--brand); }

.board {
  padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg);
  background: rgba(238, 244, 241, .07);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.board__label { font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--on-dark-mu); }
.board__sum {
  margin-top: 6px;
  font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums; color: var(--hazard);
}
.board__sum span { font-size: .58em; font-weight: 600; }
.board__rows { display: grid; gap: 1px; margin-top: 18px; }
.board__rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line-dark);
  font-size: 14.5px;
}
.board__who { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__cnt { color: var(--on-dark-mu); font-size: 13px; }
.board__val { font-family: var(--font-mono); font-weight: 600; min-width: 9ch; text-align: right; }
.board__foot { margin-top: 14px; font-size: 12px; color: var(--on-dark-mu); }

.stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(52px, 7vw, 86px); padding-top: 30px; padding-bottom: 46px;
  border-top: 1px solid var(--line-dark);
}
.stats li { display: grid; gap: 4px; }
.stats b {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.05em;
  line-height: 1; color: var(--on-dark);
}
.stats span { font-size: 14px; color: var(--on-dark-mu); }

/* ── Секции ───────────────────────────────────────────────────────── */

.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding-top: 0; }
.sec--light { background: var(--paper); }
.sec--dark { position: relative; background: var(--ink-2); color: var(--on-dark); }

.hazard {
  position: absolute; inset: 0 0 auto; height: 8px;
  background: repeating-linear-gradient(115deg,
    var(--hazard) 0 14px, var(--ink-2) 14px 28px);
  opacity: .85;
}

.eyebrow {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--on-dark { color: var(--brand-lift); }

.h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; }
.h2--on-dark { color: var(--on-dark); }
.lede { max-width: 62ch; margin-top: 20px; font-size: 18px; color: var(--muted); }

/* ── Боли ─────────────────────────────────────────────────────────── */

.pains {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px); margin-top: clamp(36px, 5vw, 56px);
}
.pain {
  padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.pain__when {
  display: inline-block; margin-bottom: 18px;
  padding: 4px 9px; border-radius: 4px;
  background: #fdf0cd;
  background: color-mix(in oklab, var(--hazard) 26%, transparent);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em;
  color: #6b4b00;
}
.pain h3 { font-size: 21px; font-weight: 750; }
.pain p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ── Шаги ─────────────────────────────────────────────────────────── */

.steps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(36px, 5vw, 56px);
}
.step {
  position: relative;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg);
  background: rgba(238, 244, 241, .04);
  border: 1px solid var(--line-dark);
}
.step__no {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(69, 224, 160, .16);
  color: var(--brand-lift);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
}
.step h3 { font-size: 23px; font-weight: 750; color: var(--on-dark); }
.step p { margin-top: 12px; color: var(--on-dark-mu); font-size: 16px; }

/* Оговорка после шагов: без неё «два режима» ниже читаются как
   противоречие описанному порядку передачи. */
.steps__note {
  max-width: 64ch; margin-top: clamp(22px, 3vw, 32px);
  padding-left: 18px; border-left: 2px solid var(--brand-lift);
  font-size: 16px; color: var(--on-dark-mu);
}

/* ── Главное возражение ───────────────────────────────────────────── */

/* Секция светлая и стоит перед светлыми «Возможностями», поэтому её
   содержимое собрано в карточку — иначе два раздела сливаются в одно
   бесконечное светлое полотно. */
.sec--objection { padding-bottom: 0; }
.objection {
  display: grid;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.objection li {
  padding: 17px 0; border-top: 1px solid var(--line);
  font-size: 16.5px; color: var(--muted);
}
.objection li:first-child { padding-top: 0; border-top: 0; }
.objection li:last-child { padding-bottom: 0; }
.objection b { color: var(--text); font-weight: 700; }

/* ── Бенто ────────────────────────────────────────────────────────── */

.bento {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px); margin-top: clamp(36px, 5vw, 56px);
}
.cell {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.cell h3 { font-size: 20px; font-weight: 750; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.cell b { color: var(--text); font-weight: 700; }
.cell code { padding: 2px 6px; border-radius: 6px; background: var(--paper); }
.cell--wide, .cell--accent { grid-column: span 2; }
.cell--accent {
  background: var(--brand); border-color: var(--brand); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 32px); align-items: center;
}
.cell--accent p { color: #d5e4e0; }
.cell--accent code { background: rgba(255, 255, 255, .16); color: #fff; }

.cell__art { margin-top: auto; padding-top: 26px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 118px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: var(--brand);
  background: linear-gradient(180deg, var(--brand), color-mix(in oklab, var(--brand) 45%, var(--card)));
}
.bars span:nth-child(3) { background: var(--hazard); }
.bars span:nth-child(3) { background: linear-gradient(180deg, var(--hazard), color-mix(in oklab, var(--hazard) 40%, var(--card))); }
/* Высоты столбиков живут здесь, а не в атрибуте style: политика лендинга
   разрешает style-src 'self', то есть инлайновые стили в разметке browser
   молча отбрасывает — столбики получались нулевой высоты. */
.bars span:nth-child(1) { --h: 82%; }
.bars span:nth-child(2) { --h: 54%; }
.bars span:nth-child(3) { --h: 96%; }
.bars span:nth-child(4) { --h: 38%; }
.bars span:nth-child(5) { --h: 67%; }
.bars span:nth-child(6) { --h: 47%; }
.bars span:nth-child(7) { --h: 73%; }
.bars span:nth-child(8) { --h: 29%; }

/* Печатная бирка — тот же макет, что кабинет выводит в PDF: рамка, QR,
   название, жирный инвентарный номер. Код настоящий и ведёт на карточку
   того же перфоратора, что показан на экране телефона выше. */
.tag {
  width: 196px; margin: 0; padding: 12px 12px 14px;
  background: #fff; border: 1px solid #cfd8d3; border-radius: 3px;
  box-shadow: 0 14px 30px rgba(6, 18, 14, .28);
  text-align: center;
}
.tag__code { display: block; width: 118px; height: auto; margin: 0 auto; }
.tag__meta { display: grid; gap: 3px; margin-top: 9px; }
.tag__name {
  font-size: 11.5px; line-height: 1.3; color: var(--text); text-wrap: balance;
}
.tag__inv {
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 700;
  letter-spacing: .06em; color: var(--text);
}

/* ── Роли ─────────────────────────────────────────────────────────── */

.tablewrap { margin-top: clamp(30px, 4vw, 44px); overflow-x: auto; border-radius: var(--r-lg); }
.roles {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--card); font-size: 15.5px;
}
.roles th, .roles td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.roles thead th {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: #f8faf8;
}
.roles tbody th { font-weight: 650; }
.roles td { text-align: center; width: 130px; font-weight: 650; }
.roles tr:last-child th, .roles tr:last-child td { border-bottom: 0; }
.roles .y { color: var(--brand); }
.roles .n { color: var(--muted); }

/* ── Устройство ───────────────────────────────────────────────────── */

.trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px); margin-top: clamp(36px, 5vw, 56px);
}
.trust__it { padding-top: 20px; border-top: 2px solid var(--line-dark); }
.trust__it h3 { font-size: 18px; font-weight: 700; color: var(--on-dark); }
.trust__it p { margin-top: 9px; font-size: 15.5px; color: var(--on-dark-mu); }

/* ── Вопросы ──────────────────────────────────────────────────────── */

.faq { margin-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0;
  font-size: clamp(17px, 2vw, 20px); font-weight: 700; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { padding-bottom: 24px; max-width: 68ch; color: var(--muted); }

/* ── Финальный призыв и подвал ────────────────────────────────────── */

.cta {
  position: relative; overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0;
  background: radial-gradient(90% 120% at 50% 0%, #1c332c 0%, var(--ink) 62%);
  color: var(--on-dark); text-align: center;
}
.cta .wrap { position: relative; }
.cta__h { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; }
.cta__p { max-width: 52ch; margin: 20px auto 0; font-size: 18px; color: var(--on-dark-mu); }
.cta .hero__cta { justify-content: center; }

.foot { padding: 48px 0 34px; background: var(--ink); color: var(--on-dark-mu); }
.foot__in {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line-dark);
}
.foot__brand { display: flex; gap: 14px; max-width: 42ch; font-size: 14.5px; }
.foot__brand .brand__mark { width: 26px; height: 26px; fill: var(--brand-lift); }
.foot__nav { display: grid; gap: 10px; font-size: 14.5px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--on-dark); text-decoration: underline; }
.foot__copy { max-width: var(--wrap); margin: 24px auto 0; padding-inline: var(--pad); font-size: 13px; }

/* ── Появление при прокрутке ──────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* forwards, а не both. При both кадр «from» действует и до входа в
       диапазон — и если браузер не успел активировать таймлайн (заход по
       якорю, обновление страницы в середине), блок навсегда остаётся с
       opacity: 0. С forwards базовое состояние видимое, а анимация только
       доигрывает появление и фиксирует конец. */
    .reveal {
      animation: rise linear forwards;
      animation-timeline: view();
      animation-range: entry 5% cover 26%;
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: none; }
    }
  }
}

/* Широкий экран: текст и макеты продукта встают в две колонки, иначе правая
   половина первого экрана остаётся пустой, а «висит ответственности на» —
   главный аргумент — уезжает ниже сгиба. */
@media (min-width: 1100px) {
  .hero__in {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: clamp(40px, 5vw, 72px);
    align-items: center;
  }
  /* В две колонки заголовок мельче: в полном размере жёсткие переносы
     разваливаются на «за / инструмент / —». */
  .hero__h1 { font-size: clamp(3.3rem, 4.5vw, 4.4rem); }
  .hero__lead { max-width: 40ch; }
  /* Пять текстовых блоков колонки слева; макет занимает ровно их высоту,
     иначе он растягивает первую строку и заголовок уезжает под него. */
  .hero__in > :not(.hero__mock) { grid-column: 1; justify-self: start; }
  .hero__mock {
    grid-column: 2; grid-row: 1 / span 5;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch; margin-top: 0;
  }
  .hero__mock .board { order: -1; }
  .hero__mock .phone {
    width: 240px; margin: -72px auto 0 0; padding: 8px; border-radius: 34px;
  }
  .hero__mock .phone__screen { border-radius: 26px; }
}

/* ── Адаптив ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .menu { display: block; }
  .hero__mock { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hero__mock .board { order: -1; width: 100%; }
  .pains, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .pains, .trust, .bento { grid-template-columns: minmax(0, 1fr); }
  .cell--wide, .cell--accent { grid-column: span 1; }
  .cell--accent { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .board__rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .board__cnt { grid-column: 1; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}

@media (max-width: 400px) {
  /* Перед каждым <br> в заголовках стоит пробел: скрытый перенос иначе
     склеивал слова — «Кто отвечаетза инструмент» на большинстве Android. */
  .hero__h1 br, .h2 br, .cta__h br { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* ── Цены ─────────────────────────────────────────────────────────── */

.price {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px); margin-top: clamp(32px, 4.5vw, 52px);
}
.price__it {
  display: grid; gap: 4px; align-content: start;
  padding: 24px 24px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.price__name { font-size: 20px; font-weight: 750; }
.price__limit { color: var(--muted); font-size: 15.5px; }
.price__sum {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price__sum span { font-size: .6em; font-weight: 700; color: var(--muted); }
.price__per {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
/* Бесплатная ступень — вход, а не «ещё один тариф»: выделена рамкой бренда,
   чтобы с первого взгляда читалось, с чего начинать. */
#plan-free10 { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.price__notes {
  display: grid; gap: 8px; margin-top: clamp(24px, 3vw, 32px);
  max-width: 72ch; color: var(--muted); font-size: 15.5px;
}
.price__notes li { padding-left: 18px; position: relative; }
.price__notes li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}
.price__notes a { color: var(--brand); }

@media (max-width: 960px) {
  .price { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .price { grid-template-columns: minmax(0, 1fr); }
}
