:root {
  --paper: #f6f7f0;
  --paper-raised: #ffffff;
  --tint: #ecefe2;
  --ink: #18241b;
  --muted: #5f6858;
  --accent: #2f7a45;
  --accent-hover: #276a3b;
  --accent-ink: #ffffff;
  --accent-soft: #dcefd9;
  --lime: #d4f27a;
  --peach: #ffc9a3;
  --accent-2: #b5404c;
  --protein: #3f8fd8;
  --fat: #f0a33a;
  --carb: #2f7a45;
  --line: rgba(24, 36, 27, 0.12);
  --line-strong: var(--ink);
  --shadow: 0 1px 2px rgba(24, 36, 27, .06), 0 12px 32px -12px rgba(24, 36, 27, .18);
  --shadow-lg: 0 2px 4px rgba(24, 36, 27, .05), 0 30px 60px -20px rgba(24, 36, 27, .35);
  --radius: 22px;

  --font-display: "Unbounded", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101712;
    --paper-raised: #172019;
    --tint: #141d16;
    --ink: #edf1e8;
    --muted: #9ba592;
    --accent: #6cc17f;
    --accent-hover: #82d193;
    --accent-ink: #0b170e;
    --accent-soft: #1f3324;
    --lime: #b9dc5c;
    --peach: #e7a47c;
    --accent-2: #e8949d;
    --line: rgba(237, 241, 232, 0.12);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"] {
  --paper: #101712;
  --paper-raised: #172019;
  --tint: #141d16;
  --ink: #edf1e8;
  --muted: #9ba592;
  --accent: #6cc17f;
  --accent-hover: #82d193;
  --accent-ink: #0b170e;
  --accent-soft: #1f3324;
  --lime: #b9dc5c;
  --peach: #e7a47c;
  --accent-2: #e8949d;
  --line: rgba(237, 241, 232, 0.12);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(0,0,0,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
  display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none;
}
.wordmark .dot { color: var(--accent); }
.wordmark-sm { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.nav-links { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.nav-links a { white-space: nowrap; text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--tint); }
/* Пять пунктов не влезают в одну строку на ноутбуках — второстепенные прячем раньше. */
@media (max-width: 1140px) { .nav-links .nav-extra { display: none; } }
@media (max-width: 820px) { .nav-links { display: none; } }

@media (max-width: 400px) {
  .wordmark { font-size: 16px; }
  .nav .btn-sm { padding: 9px 14px; font-size: 13px; }
  .nav .btn-sm span { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-lg { font-size: 16px; padding: 16px 28px; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: var(--paper-raised); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: #18241b; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn-block { width: 100%; }
.btn .tg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; overflow: clip; padding-bottom: 8px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: var(--lime); top: -180px; right: -120px; }
.b2 { width: 420px; height: 420px; background: var(--peach); bottom: -120px; right: 28%; opacity: .45; }
.b3 { width: 380px; height: 380px; background: var(--accent-soft); top: 10%; left: -160px; opacity: .9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blob { opacity: .14; } }
:root[data-theme="dark"] .blob { opacity: .14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { background: linear-gradient(transparent 70%, color-mix(in srgb, var(--accent) 30%, transparent) 70%, color-mix(in srgb, var(--accent) 30%, transparent) 92%, transparent 92%); } }
:root[data-theme="dark"] .hl { background: linear-gradient(transparent 70%, color-mix(in srgb, var(--accent) 30%, transparent) 70%, color-mix(in srgb, var(--accent) 30%, transparent) 92%, transparent 92%); }

.hero { position: relative; z-index: 1; padding: 64px 28px 56px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 48px; } }
@media (max-width: 640px) { .hero { padding-left: 16px; padding-right: 16px; } .hero .lead { font-size: 16.5px; } .hero-ctas .btn { flex: 1 1 100%; } }
/* Рядом с телефоном (420px) колонка текста = ширина окна − ~532px; самое длинное слово
   «Сфотографируй» ≈ 11 кеглей шириной — кегль считаем от колонки, а не от окна. */
@media (min-width: 921px) { .hero .hero-copy h1 { font-size: clamp(32px, calc((min(100vw, 1120px) - 532px) / 11.5), 62px); } }

.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-raised); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 80%,100% { box-shadow: 0 0 0 8px transparent; } }

.hero h1 { margin-top: 22px; font-size: clamp(24px, 7.8vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.hl {
  color: var(--accent); position: relative; white-space: nowrap;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 80%, transparent) 62%, color-mix(in srgb, var(--lime) 80%, transparent) 92%, transparent 92%);
  padding: 0 .08em;
}
.hero .lead { margin-top: 22px; max-width: 48ch; font-size: 18px; color: var(--muted); }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; }

/* Phone */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone {
  position: relative; width: 340px; max-width: 100%;
  background: #0f1511; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a332c;
  transform: rotate(2deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #0f1511; border-radius: 20px; z-index: 3; }
.phone > .tg-head, .phone > .tg-chat, .phone > .tg-input { position: relative; }
.tg-head {
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: #18241b; border-radius: 34px 34px 0 0;
  padding: 46px 18px 12px; border-bottom: 1px solid #e7eae2;
}
.tg-ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #3c9a57, #1f5c33); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.tg-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.tg-status { font-size: 12px; color: #7d8678; }
.tg-chat {
  background: #dfe8d4 radial-gradient(circle at 20% 20%, rgba(255,255,255,.5) 0 2px, transparent 3px) 0 0 / 28px 28px;
  padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 10px; color: #18241b;
}
.msg { position: relative; max-width: 88%; padding: 9px 12px 18px; border-radius: 16px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg .time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: #7d8678; }
.msg-out { align-self: flex-end; background: #e3f7c8; border-bottom-right-radius: 4px; padding-right: 70px; }
.msg-out .time { color: #4f9a4a; }
.msg-in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.card { max-width: 100%; width: 100%; padding: 12px 12px 22px; }
.card-head { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.ring { position: relative; width: 96px; height: 96px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring-track { stroke: #edf0e8; }
.ring-val { stroke: #2f7a45; stroke-dasharray: 32 100; animation: ringIn 1.4s .4s cubic-bezier(.2,.7,.3,1) both; }
@keyframes ringIn { from { stroke-dasharray: 0 100; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-label b { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.ring-label span { font-size: 11px; color: #7d8678; margin-top: 3px; }
.macros { display: flex; flex-direction: column; gap: 7px; }
.macro { display: grid; grid-template-columns: 1fr auto; font-size: 12px; row-gap: 3px; }
.macro span { color: #5f6858; }
.macro b { font-weight: 700; font-size: 12.5px; }
.macro .bar { grid-column: 1 / -1; height: 5px; background: #edf0e8; border-radius: 9px; overflow: hidden; display: block; }
.macro .bar em { display: block; height: 100%; width: var(--w); border-radius: 9px; animation: grow 1.2s .6s cubic-bezier(.2,.7,.3,1) both; }
@keyframes grow { from { width: 0; } }
.m-p { background: #3f8fd8; } .m-f { background: #f0a33a; } .m-c { background: #2f7a45; }
.ingr { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid #edf0e8; }
.ingr li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e4e8de; font-size: 12.5px; }
.ingr li span:last-child { color: #7d8678; white-space: nowrap; }
.tip { margin-top: 10px; background: #f3f8ec; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; color: #33452f; }
.tg-input { background: #fff; border-radius: 0 0 34px 34px; padding: 12px 18px 18px; display: flex; justify-content: space-between; color: #9aa293; font-size: 14px; border-top: 1px solid #e7eae2; }

.float-chip {
  position: absolute; z-index: 4;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: floaty2 6s ease-in-out infinite;
}
.phone-wrap { position: relative; width: 340px; max-width: 100%; }
.phone-wrap .phone { width: 100%; }
.chip-speed { bottom: 3%; left: -34px; }
.chip-streak { top: 10%; right: -30px; animation-delay: -3s; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 480px) { .float-chip { font-size: 12px; padding: 8px 11px; } .chip-speed { left: -4px; } .chip-streak { right: -4px; } }

/* Ticker */
.ticker { position: relative; z-index: 1; border-block: 1px solid var(--line); background: var(--paper-raised); overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.ticker-track span { font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; color: var(--muted); }
.ticker-track span::after { content: "✦"; color: var(--accent); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.count { font-family: var(--font-display); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; font-size: 26px; }
.step-index { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--line); }
.step h3 { margin-top: 22px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.tile h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.tile-icon { font-size: 26px; margin-bottom: 16px; }
.tile-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--paper-raised) 40%, var(--accent-soft)); }
.tile-big h3 { font-size: clamp(20px, 2.2vw, 26px); }
.tile-big p { font-size: 15.5px; max-width: 42ch; }
.tile-dark { grid-column: span 2; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile-dark p { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tile-dark code { background: color-mix(in srgb, var(--paper) 15%, transparent); color: var(--paper); }
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile-big, .tile-dark { grid-column: auto; grid-row: auto; } }

.stack { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.stack-row { display: grid; grid-template-columns: 82px 1fr 40px; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; }
.stack-row i { display: block; height: 14px; border-radius: 9px; background: var(--accent); width: var(--w); min-width: 8px; }
.stack-row:nth-child(1) i { background: var(--fat); }
.stack-row:nth-child(2) i { background: var(--accent-2); }
.stack-row:nth-child(3) i { background: var(--protein); }
.stack-row b { font-family: var(--font-display); font-size: 13px; text-align: right; }

/* Facts */
.facts-panel { position: relative; border-radius: var(--radius); background: var(--ink); color: var(--paper); overflow: hidden; box-shadow: var(--shadow-lg); }
.facts-panel::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: .35; top: -160px; left: -100px; }
#factsTrack { position: relative; min-height: 190px; }
.fact-slide { display: none; grid-template-columns: minmax(150px, auto) 1fr; gap: 36px; align-items: center; padding: 44px 44px 36px; }
.fact-slide.active { display: grid; animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.fact-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 8vw, 92px); line-height: 1; color: var(--lime); white-space: nowrap; }
.fact-num sup { font-size: 0.32em; margin-left: 4px; color: color-mix(in srgb, var(--paper) 60%, transparent); vertical-align: super; }
.fact-text { font-size: 18px; max-width: 58ch; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.fact-text b { color: var(--peach); }
@media (max-width: 640px) { .fact-slide { grid-template-columns: 1fr; gap: 14px; padding: 30px 22px 24px; } .fact-text { font-size: 16px; } }
.facts-controls { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px 18px; }
.facts-dots { display: flex; gap: 8px; }
.facts-dots button { width: 8px; height: 8px; border-radius: 9px; border: none; background: color-mix(in srgb, var(--paper) 25%, transparent); cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.facts-dots button[aria-current="true"] { background: var(--lime); width: 24px; }
.facts-arrows { display: flex; gap: 8px; }
.facts-arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); background: transparent; color: var(--paper); cursor: pointer; font-size: 16px; line-height: 1; transition: background .15s, color .15s; }
.facts-arrows button:hover { background: var(--lime); color: #18241b; border-color: var(--lime); }
.facts-progress { position: relative; height: 3px; background: color-mix(in srgb, var(--paper) 10%, transparent); }
.facts-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lime); }
.facts-progress span.run { animation: progress 6s linear both; }
@keyframes progress { to { width: 100%; } }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .pricing-wrap { grid-template-columns: 1fr; gap: 40px; } }
.price-label {
  position: relative; background: var(--paper-raised); border: 3px solid var(--line-strong); border-radius: 18px;
  box-shadow: 10px 10px 0 var(--accent);
}
@media (max-width: 480px) { .price-label { box-shadow: 6px 6px 0 var(--accent); } }
.price-ribbon {
  position: absolute; top: -16px; right: 18px;
  background: var(--lime); color: #18241b; font-weight: 800; font-size: 12.5px;
  padding: 7px 14px; border-radius: 999px; border: 2px solid var(--line-strong);
  transform: rotate(2deg);
}
.price-head { padding: 22px 22px 12px; border-bottom: 10px solid var(--line-strong); }
.price-head .k { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.price-head .u { margin-top: 4px; color: var(--muted); font-size: 13px; }
.price-big { display: flex; align-items: baseline; gap: 10px; padding: 14px 22px; border-bottom: 6px solid var(--line-strong); }
.price-big .num { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.price-big .cur { font-weight: 700; color: var(--muted); }
.price-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.price-row .v { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--accent); white-space: nowrap; }
.price-cta { padding: 20px 22px 12px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 12px; }
.pay-methods span { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; }
.price-fine { padding: 0 22px 20px; font-size: 12px; color: var(--muted); }

.pricing-side h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.pricing-side p { margin-top: 12px; color: var(--muted); max-width: 44ch; font-size: 16px; }
.compare { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.compare-top { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.compare-top b { font-family: var(--font-display); font-size: 14px; }
.compare-bar { height: 12px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.compare-bar > span { display: block; height: 100%; width: var(--w); background: color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 99px; }
.compare-row.is-us .compare-bar > span { background: var(--accent); }
.compare-row.is-us .compare-top { color: var(--accent); }
.js .compare-bar > span { width: 0; transition: width 1.2s cubic-bezier(.2,.7,.3,1); }
.js .in .compare-bar > span { width: var(--w); }

/* Tariffs: 1 / 3 / 12 месяцев */
.section-sub { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .tariffs { grid-template-columns: 1fr; max-width: 460px; } }
.tariff {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--paper-raised); border: 2px solid var(--line); border-radius: 18px; padding: 24px 22px 22px;
}
.tariff .btn { margin-top: auto; }
.tariff-head { padding-bottom: 12px; border-bottom: 6px solid var(--line-strong); margin-bottom: 8px; }
.tariff-head .k { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.tariff-head .u { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.tariff-price { display: flex; align-items: baseline; gap: 8px; }
.tariff-price .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.tariff-price .cur { font-weight: 700; font-size: 20px; color: var(--muted); }
.tariff-per { font-weight: 700; }
.tariff-save { display: inline-block; align-self: flex-start; margin: 6px 0 18px; font-size: 13px; font-weight: 800; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 11px; }
.tariff-save-none { color: var(--muted); background: var(--tint); }
.tariff-best { border: 3px solid var(--line-strong); box-shadow: 10px 10px 0 var(--accent); }
@media (max-width: 480px) { .tariff-best { box-shadow: 6px 6px 0 var(--accent); } }
@media (min-width: 861px) { .tariff-best { transform: translateY(-8px); } }
.tariff-common { margin-top: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
@media (max-width: 860px) { .tariff-common { grid-template-columns: 1fr; } }
.tariff-incl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.tariff-incl li { display: flex; gap: 10px; align-items: flex-start; }
.tariff-pay .pay-methods { padding: 0 0 10px; }
.tariff-pay .price-fine { padding: 0; }

/* News */
.news-list { display: flex; flex-direction: column; position: relative; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }
.news-date { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.news-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.news-title { font-weight: 700; font-size: 17px; }
.news-body { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 62ch; }
.news-more { border-top: 1px solid var(--line); }
.news-more summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-size: 15px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.news-more summary::-webkit-details-marker { display: none; }
.news-more summary::after { content: "↓"; transition: transform .2s; }
.news-more[open] summary::after { transform: rotate(180deg); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 18px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; max-width: 60ch; }

/* Final CTA */
.final-cta { padding: 24px 0 96px; background: var(--tint); }
.final-inner {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #1f5c33, #2f7a45 55%, #4f9a4a);
  color: #fff; border-radius: 32px; padding: 72px 32px;
}
.final-inner::before, .final-inner::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.final-inner::before { width: 320px; height: 320px; background: #d4f27a; top: -140px; right: -60px; }
.final-inner::after { width: 260px; height: 260px; background: #ffc9a3; bottom: -140px; left: -40px; opacity: .35; }
.final-inner > * { position: relative; z-index: 1; }
.final-inner h2 { font-size: clamp(28px, 4.2vw, 48px); font-weight: 800; line-height: 1.1; max-width: 20ch; margin: 0 auto; letter-spacing: -0.02em; }
.hl-light { color: #d4f27a; }
.final-inner p { margin: 18px auto 30px; max-width: 46ch; font-size: 17px; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .final-inner { padding: 52px 22px; border-radius: 24px; } }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 30px; font-size: 13.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 30px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 12px; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.footer-line { display: block; padding: 4px 0; }
.lead-narrow { max-width: 36ch; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 16px 36px -10px rgba(0,0,0,.45);
  }
  .mobile-cta.show { transform: none; }
  footer.site { padding-bottom: 100px; }
}


/* Ширины полосок без inline style= (CSP: style-src 'self') */
[data-w="5"] { --w: 5%; }
[data-w="16"] { --w: 16%; }
[data-w="22"] { --w: 22%; }
[data-w="32"] { --w: 32%; }
[data-w="41"] { --w: 41%; }
[data-w="45"] { --w: 45%; }
[data-w="48"] { --w: 48%; }
[data-w="58"] { --w: 58%; }
[data-w="73"] { --w: 73%; }
[data-w="100"] { --w: 100%; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.phone-stage { animation: rise .9s .15s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .compare-bar > span { width: var(--w); }
  html { scroll-behavior: auto; }
}

/* Баннер согласия на cookies (script.js, блок «Согласие на cookies») */
.cookie-banner {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px 20px;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); font-size: 14.5px;
}
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }
.footer-cookie { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
