/* Заказ-Радар — лендинг. Светлая тема, голубой акцент.
   Ни фреймворков, ни веб-шрифтов: системный шрифт рисуется мгновенно, а сэкономленные
   сотни килобайт на мобильном интернете заметнее любой типографики. */

:root {
  --bg: #ffffff;
  --bg-2: #f4f8fd;
  --card: #ffffff;
  --line: #dfe8f3;
  --line-2: #eaf1f9;
  --ink: #0d1b2a;
  --ink-2: #4a5d73;
  --muted: #5d7188;          /* было #7f93a8 — 3,2:1 на белом, ниже порога WCAG AA 4,5:1 */
  --accent: #0a84ff;
  --accent-2: #38b6ff;
  --accent-ink: #0369a1;
  --wash: #e8f3ff;
  --good: #0fa968;
  --bad: #e5484d;
  --radius: 18px;
  --gut: 20px;
  --max: 1140px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .04), 0 8px 24px -12px rgba(13, 27, 42, .12);
  --shadow-lg: 0 2px 6px rgba(13, 27, 42, .05), 0 24px 60px -24px rgba(10, 132, 255, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.022em; }
h1 { font-size: clamp(34px, 6.2vw, 60px); font-weight: 800; }
h2 { font-size: clamp(27px, 4vw, 42px); font-weight: 780; }
h3 { font-size: 19px; font-weight: 660; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding-left: 1.1em; }
li { margin: .35em 0; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* ---------- заставка: стрела в мишень ---------- */
.intro {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: #fff;
  animation: introOut .7s cubic-bezier(.65,0,.35,1) 2.05s forwards;
}
.intro-svg { width: min(88vw, 720px); height: auto; overflow: visible; }
.intro .ring { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; transform-origin: 690px 210px; }
.intro .r1 { stroke-opacity: .22; animation: ringIn .5s ease .05s forwards; }
.intro .r2 { stroke-opacity: .38; animation: ringIn .5s ease .13s forwards; }
.intro .r3 { stroke-opacity: .6;  animation: ringIn .5s ease .21s forwards; }
.intro .bull { fill: var(--accent); opacity: 0; transform-origin: 690px 210px; animation: ringIn .5s ease .29s forwards; }
.intro .trail {
  fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600; opacity: .5;
  animation: trailIn .62s cubic-bezier(.4,0,.2,1) .55s forwards, trailOut .5s ease 1.2s forwards;
}
.intro .arrow {
  transform: translateX(-220px); opacity: 0;
  animation: arrowFly .62s cubic-bezier(.4,0,.25,1) .55s forwards;
}
.intro .shaft, .intro .tip, .intro .fletch {
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
}
.intro .fletch { stroke: var(--accent); stroke-width: 4; }
.intro .shock {
  fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; transform-origin: 690px 210px;
  animation: shock .75s cubic-bezier(.2,.8,.3,1) 1.16s forwards;
}
.intro-word {
  margin: 0; font-size: clamp(18px, 3vw, 26px); font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); opacity: 0; animation: wordIn .5s ease 1.3s forwards;
}
@keyframes ringIn { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes trailIn { to { stroke-dashoffset: 0; } }
@keyframes trailOut { to { opacity: 0; } }
@keyframes arrowFly { 0% { transform: translateX(-220px); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateX(520px); opacity: 1; } }
@keyframes shock { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(5.2); } }
@keyframes wordIn { to { opacity: 1; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro.done { display: none; }

/* ---------- шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gut);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.nav.stuck { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 750; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 27px; height: 27px; color: var(--accent); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav nav a { color: var(--ink-2); font-weight: 500; }
.nav nav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 640; font-size: 16px; white-space: nowrap; border: 1px solid transparent;
  box-shadow: 0 6px 18px -8px rgba(10, 132, 255, .75);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 30px -12px rgba(10, 132, 255, .9); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------- первый экран ---------- */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 60px var(--gut) 78px; }
.hero::before {
  content: ""; position: absolute; inset: -200px -40% auto -40%; height: 620px; z-index: -1;
  background: radial-gradient(48% 55% at 30% 40%, rgba(10, 132, 255, .10), transparent 70%),
              radial-gradient(40% 46% at 78% 18%, rgba(56, 182, 255, .12), transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  background: var(--wash); color: var(--accent-ink); border-radius: 99px;
  padding: 6px 14px; font-size: 13.5px; font-weight: 620;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(15, 169, 104, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(15, 169, 104, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 169, 104, 0); } }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }

.stats { display: flex; gap: 34px; margin: 0; flex-wrap: wrap; }
.stats div { margin: 0; }
.stats dt { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.stats dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.stats b { font-size: 29px; font-weight: 780; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- телефон ---------- */
.hero-visual { display: grid; place-items: center; }
.phone {
  width: 312px; padding: 13px; border-radius: 28px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.phone-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 4px 6px 12px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.bubble {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 15px;
  padding: 13px; margin-bottom: 10px; font-size: 13px;
  opacity: 0; transform: translateY(10px); animation: pop .6s ease forwards;
}
.bubble { animation-play-state: paused; }
body.go .bubble { animation-play-state: running; }
.pop1 { animation-delay: .35s; }
.pop2 { animation-delay: 1.25s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.b-head { color: var(--accent-ink); font-size: 11.5px; font-weight: 650; margin-bottom: 4px; }
.b-title { font-weight: 660; margin-bottom: 9px; line-height: 1.3; }
.b-table { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; margin-bottom: 8px; background: #fff; }
.b-table span { color: var(--muted); font-size: 11px; }
.b-table b { font-size: 12.5px; font-weight: 650; }
.b-line { color: var(--ink-2); font-size: 11.5px; margin-bottom: 3px; }
.b-btns { display: flex; gap: 6px; margin-top: 10px; }
.b-btns i { flex: 1; text-align: center; font-style: normal; font-size: 11px; padding: 7px 4px; border-radius: 9px; background: rgba(15, 169, 104, .12); color: var(--good); font-weight: 600; }
.b-btns .alt { background: var(--wash); color: var(--accent-ink); }

/* ---------- секции ---------- */
.band { max-width: var(--max); margin: 0 auto; padding: 76px var(--gut); }
.band.alt { background: var(--bg-2); max-width: none; border-block: 1px solid var(--line-2); }
.band.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.band h2 { text-align: center; }
.sub { text-align: center; color: var(--ink-2); max-width: 60ch; margin: 0 auto 40px; }

/* ---------- песочница ---------- */
.sandbox { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.sb-controls {
  position: sticky; top: 84px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow);
}
.sb-result { text-align: center; padding: 6px 0 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 18px; }
.sb-result b {
  display: block; font-size: 54px; font-weight: 820; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sb-result span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.sb-field { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sb-field label { font-weight: 620; font-size: 15px; }
.sb-field output { color: var(--accent-ink); font-weight: 680; font-variant-numeric: tabular-nums; }
.sb-label { font-weight: 620; font-size: 15px; margin: 20px 0 10px; }
.sb-hint { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

input[type="range"] { width: 100%; margin: 0 0 4px; accent-color: var(--accent); height: 22px; }
input[type="text"] {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
input[type="text"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 132, 255, .14); }

.sb-cats { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 99px; padding: 7px 13px; font: inherit; font-size: 13.5px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.sb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sb-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 13px; padding: 13px 16px; background: #fff;
  transition: opacity .25s, transform .25s, border-color .2s;
}
.sb-list li.out { opacity: .32; border-style: dashed; }
.sb-list li.in-hit { border-color: rgba(10, 132, 255, .5); box-shadow: 0 0 0 3px rgba(10, 132, 255, .07); }
.sb-name { font-weight: 600; line-height: 1.35; }
.sb-meta { color: var(--muted); font-size: 13px; grid-column: 1; }
.sb-price { font-weight: 720; white-space: nowrap; font-variant-numeric: tabular-nums; grid-row: 1 / span 2; }
.sb-empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- бегущая лента ---------- */
.ticker { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.tk {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 13px 16px; box-shadow: var(--shadow);
  animation: slideIn .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } }
.tk-cat { font-size: 12px; font-weight: 640; color: var(--accent-ink); background: var(--wash); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.tk-name { flex: 1; font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- сравнение / карточки / цены ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.col { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow); }
.col h3 { margin-bottom: 14px; }
.col ul { list-style: none; padding: 0; }
.col li { position: relative; padding-left: 28px; color: var(--ink-2); }
.col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.bad li::before { content: "×"; color: var(--bad); font-size: 20px; line-height: 1.3; }
.good { border-color: rgba(15, 169, 104, .35); }
.good li::before { content: "✓"; color: var(--good); }

.mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.m b {
  font-size: clamp(30px, 4vw, 42px); font-weight: 820; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.m span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat p { color: var(--ink-2); margin: 0; font-size: 15.5px; }

/* stretch + margin-top:auto у кнопки = кнопки обеих карточек на одной линии,
   сколько бы пунктов ни было в списке выше */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); gap: 20px; justify-content: center; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.best { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.badge { position: absolute; top: -12px; left: 30px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; }
.p-price { font-size: 35px; font-weight: 820; margin: 6px 0 18px; }
.p-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; text-align: center; }
.p-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; text-align: center; }

.faq { max-width: 780px; margin: 36px auto 0; }
details { border: 1px solid var(--line); border-radius: 13px; background: #fff; margin-bottom: 10px; overflow: hidden; }
summary { cursor: pointer; padding: 17px 52px 17px 20px; font-weight: 620; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 23px; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 20px 18px; color: var(--ink-2); margin: 0; }

.final { text-align: center; padding: 92px var(--gut) 100px; background: linear-gradient(180deg, #fff, var(--wash)); }
.final p { color: var(--ink-2); font-size: 19px; margin-bottom: 28px; }

footer { border-top: 1px solid var(--line); padding: 30px var(--gut); text-align: center; color: var(--muted); font-size: 14px; }
footer p { margin: .3em 0; }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* Кому анимация мешает — тому её не показываем, включая заставку. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro { display: none; }
  .bubble, .tk { animation: none; opacity: 1; transform: none; }
  .pulse { animation: none; }
  .btn:hover, .feat:hover { transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .cards, .mstats { grid-template-columns: repeat(2, 1fr); }
  .sandbox { grid-template-columns: 1fr; }
  .sb-controls { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .hero { padding: 34px var(--gut) 54px; }
  .band { padding: 54px var(--gut); }
  .vs, .cards, .mstats, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 420px; margin: 0 auto; }
  .stats { gap: 24px; }
  .stats b { font-size: 25px; }
  .cta .btn { flex: 1 1 auto; text-align: center; }
  .sb-result b { font-size: 46px; }
  .tk-cat { display: none; }
}

/* ---------- текстовые страницы (условия, данные) ---------- */
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 6px; }
.doc h2 { text-align: left; font-size: 22px; margin: 34px 0 12px; }
.doc .doc-date { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.doc ul { padding-left: 1.2em; }
.doc li { color: var(--ink-2); margin: .5em 0; }
.doc p { color: var(--ink-2); }
.doc b { color: var(--ink); }
.doc code { background: var(--wash); color: var(--accent-ink); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.doc-note {
  margin-top: 40px; padding: 16px 18px; border-left: 3px solid var(--accent);
  background: var(--bg-2); border-radius: 0 12px 12px 0; font-size: 15px;
}

/* ---------- калькулятор окупаемости ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; max-width: 900px; margin: 36px auto 0; }
.roi-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.roi-out {
  text-align: center; border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 30px 24px; background: linear-gradient(180deg, #fff, var(--wash)); box-shadow: var(--shadow-lg);
}
.roi-out b {
  display: block; font-size: clamp(34px, 6vw, 52px); font-weight: 820; line-height: 1.05; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roi-out .roi-cap { display: block; color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.roi-out .roi-pay { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 600; }
.roi-note { color: var(--muted); font-size: 13px; text-align: center; margin: 16px auto 0; max-width: 60ch; }
@media (max-width: 860px) { .roi { grid-template-columns: 1fr; } }

/* ---------- заставка: объём ---------- */
/* Плоская стрела, летящая слева направо, читается как гифка из девяностых. Немного перспективы,
   поворот сцены и прилёт из глубины — и тот же SVG выглядит объёмным, без единой картинки. */
.intro { perspective: 900px; perspective-origin: 62% 50%; }
.intro-svg { transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; }
.intro .tgt { transform-box: fill-box; }
.intro .arrow { transform-box: view-box; }

/* ---------- срок подписки кнопками ---------- */
.roi-terms { margin-bottom: 4px; }
.roi-terms .chip { font-variant-numeric: tabular-nums; }
.roi-terms .chip small { opacity: .75; margin-left: 5px; font-size: 11.5px; }
.roi-terms .chip[aria-pressed="true"] small { opacity: .9; }
.roi-sum { display: block; margin-top: 10px; color: var(--muted); font-size: 13.5px; }

/* ---------- лестница тарифов ---------- */
.ladder { max-width: 760px; margin: 34px auto 0; }
.ladder-cap { text-align: center; color: var(--ink-2); margin-bottom: 16px; }
.ladder-rows { display: grid; gap: 8px; }
.lr {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: #fff;
}
.lr-name { font-weight: 600; }
.lr-per { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 15px; }
.lr-sum { font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lr-off {
  grid-column: 3; background: var(--wash); color: var(--accent-ink); border-radius: 99px;
  padding: 3px 9px; font-size: 12px; font-weight: 650; white-space: nowrap;
}
.lr.best { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 132, 255, .08); }
/* полоска-индикатор выгоды: видно глазом, а не только цифрой */
.lr-bar { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.lr-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@media (max-width: 560px) {
  .lr { grid-template-columns: 1fr auto; }
  .lr-off { grid-column: 2; }
  .lr-per { grid-column: 1; font-size: 13.5px; }
}

/* «скоро» под списком PRO: обещание должно выглядеть как обещание, а не как пункт тарифа */
.p-soon { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- SEO-правки 2026-09-29: подпись бренда, новые блоки, подстраницы ---------- */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-sub { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 420px) { .brand-sub { display: none; } }

.hero-note { color: var(--ink-2); font-size: 15px; margin: -4px 0 0; }
.stats-note .stats-date, .stats-note.center { display: inline; }
.stats-note.center { display: block; text-align: center; margin-top: 22px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.duo p { color: var(--ink-2); }
.band h2.h2-left { text-align: left; font-size: clamp(23px, 3vw, 30px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.step { counter-increment: st; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow); margin: 0; }
.step::before { content: counter(st); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wash); color: var(--accent-ink); font-weight: 750; margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

.checks { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; columns: 2; column-gap: 34px; }
.checks li { break-inside: avoid; position: relative; padding-left: 26px; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.checks b { color: var(--ink); }
.more { text-align: center; color: var(--ink-2); margin: 28px auto 0; max-width: 62ch; }
.sb-cta { display: block; text-align: center; margin-top: 18px; white-space: normal; }

.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0; }
.foot-links a { color: var(--ink-2); }
footer b { color: var(--ink); }

/* подстраницы */
.page { max-width: 820px; margin: 0 auto; padding: 36px var(--gut) 70px; }
.page h1 { font-size: clamp(30px, 5vw, 46px); }
.page h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 42px; }
.page h3 { margin-top: 26px; }
.page p, .page li { color: var(--ink-2); }
.page b, .page strong { color: var(--ink); }
.page ul, .page ol { padding-left: 1.2em; }
.page .lead { max-width: none; }
.page .cta { margin: 26px 0 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; }
.flow li { margin: 0; background: var(--wash); color: var(--accent-ink); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 15px; }
.flow li + li::before { content: "→"; margin-right: 8px; color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; margin: 16px 0; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { color: var(--muted); font-weight: 600; font-size: 14px; }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl-wrap { overflow-x: auto; }
.callout { border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 22px 0; }
.callout p { margin: 0; }
.page .ladder { margin-top: 18px; }

/* фокус с клавиатуры виден везде, мышью — не мешает */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }
summary:focus-visible { outline-offset: -3px; }
.chip { min-height: 36px; }

/* Без JavaScript блоки .reveal остались бы прозрачными навсегда: показываем сразу */
@media (scripting: none) {
  .reveal, .bubble { opacity: 1; transform: none; animation: none; }
  .intro { display: none; }
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .duo, .steps { grid-template-columns: 1fr; }
  .checks { columns: 1; }
  .nav { gap: 12px; }
  .nav .btn-sm { padding: 8px 12px; font-size: 13.5px; white-space: normal; text-align: center; line-height: 1.2; }
}
@media (max-width: 360px) {
  :root { --gut: 14px; }
  h1 { font-size: 30px; }
  .btn-lg { padding: 14px 18px; font-size: 16px; white-space: normal; }
}

/* ---------- доступность (Lighthouse 29.09): контраст ссылок и выбранных чипов ---------- */
/* #0a84ff на белом — 3,6:1, ниже AA 4,5:1. Для текста — тёмный вариант акцента (5,9:1);
   кнопки остаются яркими: белый текст на градиенте у них крупный и жирный. */
a { color: var(--accent-ink); }
.btn, .btn:hover { color: #fff; }
.btn-ghost, .btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover { color: var(--accent-ink); }
.brand, .brand:hover { color: var(--ink); }
/* ссылка внутри текста должна отличаться не только цветом */
main p a, main li a, .more a, .callout a, .crumbs a, .doc a { text-decoration: underline; text-underline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--accent-ink); border-color: var(--accent-ink); }
.nav nav a { color: var(--ink); }
/* Свечение первого экрана (.hero::before) шире окна намеренно. overflow-x: hidden на body его
   режет, но iOS Safari иногда всё равно даёт увести страницу вбок; clip на html — нет, и при
   этом не ломает position: sticky у шапки (clip не создаёт контейнер прокрутки). */
html { overflow-x: clip; }
/* Узкие экраны: колонка грида не может быть уже своего содержимого (min-width: auto), а макет
   телефона — 312px + поля. На 320px он растягивал сетку, и текст первого экрана уезжал за край. */
.hero-grid > * { min-width: 0; }
.phone { width: min(312px, 100%); }
.eyebrow { max-width: 100%; }
h1 { overflow-wrap: break-word; }
/* скидка в чипе срока: полупрозрачный серый давал 3,7:1 — берём сплошной цвет */
.roi-terms .chip small { opacity: 1; color: var(--accent-ink); }
.roi-terms .chip[aria-pressed="true"] small { color: #fff; }
