:root {
  --bg: #0B1F1A;
  --deep: #07150F;
  --surface: #12302A;
  --line: #24493F;
  --ink: #F2F6EC;
  --ink-2: #A8BDB2;
  --lime: #C6F432;
  --lime-hi: #D8FB62;
  --lime-ink: #10210A;
  --lime-ink-2: #3A4D12;
  --font: 'Wix Madefor Display', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: clamp(18px, 2vw, 28px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { flex: none; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.sec--lime :focus-visible, .plan--top :focus-visible { outline-color: var(--lime-ink); }
.sec--lime ::selection { background: var(--lime-ink); color: var(--lime); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 20px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.skip:focus { top: 16px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; transition: background-color .25s, color .25s, border-color .25s, translate .4s var(--ease), box-shadow .4s var(--ease); }
.btn svg { width: 20px; height: 20px; transition: rotate .4s var(--ease); }
.btn:hover svg { rotate: 45deg; }
.btn:active { translate: 0 1px; }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 18px 40px -20px rgba(198, 244, 50, .7); }
.btn--lime:hover { background: var(--lime-hi); }
.btn--dark { background: var(--lime-ink); color: var(--ink); }
.btn--dark:hover { background: #000; color: var(--lime); }
.btn--line { border-color: var(--line); }
.btn--line:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost { border-color: rgba(16, 33, 10, .45); color: var(--lime-ink); }
.btn--ghost:hover { background: var(--lime-ink); color: var(--lime); }
.btn--ghost:hover svg { rotate: none; }
.btn--l { min-height: 66px; padding: 0 32px; font-size: 1.0625rem; }
.btn--full { width: 100%; }
.btn:disabled { background: var(--surface); color: #6F887C; box-shadow: none; cursor: not-allowed; }

/* Шапка */
.top__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand b { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.brand i { font-style: normal; color: var(--lime); }
.brand span { max-width: 20ch; font-size: .8125rem; line-height: 1.3; color: var(--ink-2); }
.top__nav { display: flex; gap: 4px 26px; font-weight: 500; font-size: .9375rem; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); transition: color .2s; }
.top__nav a:hover { color: var(--lime); }
.top__msg { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); transition: background-color .2s, color .2s, border-color .2s; }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.top__call { display: flex; flex-direction: column; align-items: flex-end; }
.top__call a { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .2s; }
.top__call a:hover { color: var(--lime); }
.top__call button { min-height: 26px; font-size: .8125rem; color: var(--lime); text-decoration: underline dashed; text-underline-offset: 4px; }

/* Первый экран */
.hero { overflow-x: clip; position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; z-index: -1; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 244, 50, .16), transparent); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.4vw, 30px); }
h1 { font-weight: 800; font-size: clamp(1.875rem, 4vw, 3.625rem); line-height: 1.04; letter-spacing: -.035em; }
h1 em, h2 em { font-style: normal; color: var(--lime); }
.hero__copy p { max-width: 40ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); }

.serp { position: relative; padding: clamp(16px, 2vw, 24px); border-radius: var(--r); background: #FAFBF7; color: #17201B; box-shadow: 0 50px 90px -40px #000, 0 0 0 8px rgba(255, 255, 255, .06); rotate: 2deg; }
.serp__bar { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid #17201B; font-weight: 500; }
.serp__bar svg { width: 20px; height: 20px; }
.serp__bar i { width: 2px; height: 20px; margin-left: -6px; background: #17201B; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp__ad { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--lime); color: var(--lime-ink); transition: opacity .3s, translate .5s var(--ease); }
.serp__ad.is-out { opacity: 0; translate: 0 10px; }
.serp__flag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--lime-ink); color: var(--lime); font-size: .75rem; font-weight: 700; }
.serp__ad b { margin-top: 6px; font-weight: 800; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.2; letter-spacing: -.02em; min-height: 2.4em; }
.serp__url { font-size: .875rem; font-weight: 600; color: var(--lime-ink-2); }
.serp__txt { font-size: .875rem; line-height: 1.4; color: var(--lime-ink-2); }
.serp__row { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 4px; }
.serp__row i { height: 10px; border-radius: 6px; background: #DDE3D8; }
.serp__row i:nth-child(1) { width: 62%; height: 12px; background: #C3CCBD; }
.serp__row i:nth-child(3) { width: 78%; }
.serp__demo { position: absolute; right: 18px; bottom: -28px; font-size: .75rem; color: var(--ink-2); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); }
.trio li { display: flex; align-items: center; gap: 18px; padding: 22px clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.trio li:first-child { border-left: 0; padding-left: 0; }
.trio b { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -.04em; color: var(--lime); white-space: nowrap; }
.trio span { max-width: 26ch; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); }

/* Секции */
.sec { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.sec--deep { background: var(--deep); border-radius: var(--r); }
.sec--lime { background: var(--lime); color: var(--lime-ink); border-radius: var(--r); }
h2 { max-width: 21em; font-weight: 800; font-size: clamp(1.5rem, 3.3vw, 2.875rem); line-height: 1.07; letter-spacing: -.035em; }
.sub { max-width: 62ch; margin-top: 16px; color: var(--ink-2); }
h2 + :not(.sub), .sub + * { margin-top: clamp(28px, 4vw, 52px); }

/* Выгоды */
.gain { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.gain p { margin-top: 18px; max-width: 54ch; color: var(--ink-2); }
.gain__list { margin: 0 !important; }
.gain__list li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 1.125rem; line-height: 1.35; }
.gain__list li:last-child { border-bottom: 1px solid var(--line); }
.gain__list svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }

/* Кейсы */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: translate .5s var(--ease), border-color .3s; }
.case:hover { translate: 0 -8px; border-color: var(--lime); }
.case__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.case__pic img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.case:hover .case__pic img { scale: 1.06; }
.case__pic span { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--deep); font-size: .8125rem; font-weight: 600; }
.case h3 { padding-inline: 8px; min-height: 2.4em; font-weight: 700; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.02em; }
.case__big { padding-inline: 8px; font-size: .9375rem; color: var(--ink-2); }
.case__big b { display: block; font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.75rem); line-height: .95; letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; }
.case dl { flex-grow: 1; padding-inline: 8px; }
.case dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.case dt { color: var(--ink-2); }
.case dd { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.case .btn { min-height: 50px; padding-inline: 12px; font-size: .9375rem; }

/* Квиз */
.quiz { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.quiz__side { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.6vw, 32px); background: var(--deep); }
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.who div { display: flex; flex-direction: column; line-height: 1.3; }
.who b { font-weight: 700; }
.who span { font-size: .875rem; color: var(--ink-2); }
.quiz__ask { font-size: .9375rem; color: var(--ink-2); }
.quiz__ask a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.quiz__meter { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.quiz__bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--lime); transition: width .6s var(--ease); }
.quiz__main { display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 3vw, 40px); min-height: 430px; }
.quiz fieldset { display: flex; flex-direction: column; }
.quiz fieldset:not([hidden]) { animation: step .5s var(--ease); }
@keyframes step { from { opacity: 0; translate: 18px 0; } }
.say { order: -1; align-self: flex-start; max-width: 58ch; margin-bottom: 22px; padding: 14px 18px; border-radius: 4px 18px 18px 18px; background: rgba(255, 255, 255, .07); font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.quiz legend { float: left; width: 100%; margin-bottom: 18px; font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.quiz legend + * { clear: both; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.opts--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s, translate .35s var(--ease); }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #4F7366; transition: all .2s; }
.opt:hover { border-color: var(--lime); translate: 0 -2px; }
.opt:has(input:checked) { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); }
.opt:has(input:checked)::before { border-color: var(--lime-ink); background: var(--lime-ink); box-shadow: inset 0 0 0 4px var(--lime); }
.opt:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.quiz__hint { margin: -6px 0 18px; color: var(--ink-2); }
.quiz__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; }
.quiz__nav [data-q-back] { margin-right: auto; }
.quiz__done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.quiz__done svg { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.quiz__done h3 { font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; }

/* Поля */
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead--row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.lead--row .field { flex: 1 1 240px; }
.lead--row .consent, .lead--row .lead__done { flex: 1 1 100%; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.field input { width: 100%; max-width: 520px; height: 56px; padding: 0 20px; border-radius: 999px; background: var(--deep); border: 1.5px solid var(--line); caret-color: var(--lime); transition: border-color .2s; }
.lead .field input { max-width: none; }
.field input::placeholder { color: #6F887C; }
.field input:hover { border-color: #3B6B5C; }
.field input:focus { outline: none; border-color: var(--lime); }
.field input[aria-invalid="true"] { border-color: #FF8A7A; }
.field__err { padding-left: 20px; font-size: .8125rem; font-weight: 500; color: #FF9C8E; }
.sec--lime .field input { background: #fff; border-color: transparent; color: var(--lime-ink); caret-color: var(--lime-ink); }
.sec--lime .field input::placeholder { color: #6B7560; }
.sec--lime .field input:focus { border-color: var(--lime-ink); }
.sec--lime .field input[aria-invalid="true"] { border-color: #A3200F; }
.sec--lime .field__err { color: #8A1C0A; }
.consent { font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }
.consent button { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent button:hover { color: var(--lime); }
.sec--lime .consent, .sec--lime .demo-note { color: var(--lime-ink-2); }
.sec--lime .consent button:hover { color: var(--lime-ink); }
.demo-note { font-size: .8125rem; color: var(--ink-2); }
.lead__done { display: flex; align-items: flex-start; gap: 14px; }
.lead__done svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.sec--lime .lead__done svg { background: var(--lime-ink); color: var(--lime); }
.lead__done b { display: block; font-weight: 800; font-size: 1.125rem; }
.lead__done span { display: block; margin-top: 4px; font-size: .9375rem; }

/* Аудит */
.sec--lime { overflow: hidden; }
.audit { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 32px; align-items: center; }
.audit__copy p { max-width: 52ch; margin-top: 16px; font-size: 1.125rem; color: var(--lime-ink-2); }
.audit__img { justify-self: center; width: min(100%, 260px); margin-block: clamp(-40px, -3vw, -20px) clamp(-160px, -12vw, -90px); rotate: 8deg; filter: drop-shadow(0 30px 30px rgba(16, 33, 10, .3)); }

/* Этапы */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: d; border-top: 2px solid var(--lime); }
.days > li { counter-increment: d; position: relative; padding: 30px 18px 0 0; border-left: 1px solid var(--line); padding-left: 18px; }
.days > li:first-child { border-left: 0; padding-left: 0; }
.days > li::before { content: 'День ' counter(d); display: inline-block; margin-bottom: 18px; padding: 5px 14px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: .875rem; }
.days h3 { font-weight: 700; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.02em; min-height: 3.6em; }
.days ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; line-height: 1.35; }
.days ul li { padding-left: 16px; position: relative; }
.days ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.days p { margin-top: 16px; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan--top { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.plan h3 { font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; }
.plan > p { font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.plan--top > p { color: var(--lime-ink-2); }
.plan .plan__price { font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.plan--top .plan__price { color: var(--lime-ink); }
.plan ul { flex-grow: 1; display: flex; flex-direction: column; padding-block: 6px; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.35; }
.plan--top li { border-color: rgba(16, 33, 10, .2); }

/* Гарантии */
.terms { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.terms__who { position: relative; border-radius: var(--r); overflow: hidden; }
.terms__who img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; }
.terms__who figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(7, 21, 15, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.terms__who b { display: block; font-weight: 800; }
.terms__who span { font-size: .875rem; color: var(--ink-2); }
.terms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 32px; }
.terms__list div { padding: 20px 0; border-top: 1px solid var(--line); }
.terms__list dt { font-weight: 700; font-size: 1.1875rem; letter-spacing: -.02em; }
.terms__list dd { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.team__title { max-width: 26em; margin-top: clamp(48px, 6vw, 80px); font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.5rem); letter-spacing: -.02em; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.team li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.team i { flex: none; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--lime-ink); font-style: normal; font-weight: 800; }
.team b { display: block; font-weight: 700; }
.team span { font-size: .875rem; color: var(--ink-2); }

/* Отзывы */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quotes li { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.stars { display: flex; gap: 3px; color: var(--lime); }
.stars svg { width: 18px; height: 18px; }
.quotes blockquote { flex-grow: 1; max-width: 62ch; }
.quotes footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.quotes b { font-weight: 700; }
.quotes time { font-size: .875rem; color: var(--ink-2); }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq__list { margin: 0 !important; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.3; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1.5px solid var(--line); transition: rotate .4s var(--ease), background-color .2s, color .2s, border-color .2s; }
.faq summary:hover { color: var(--lime); }
.faq details[open] summary svg { rotate: 45deg; background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.faq details p { padding: 0 60px 24px 0; max-width: 66ch; color: var(--ink-2); }

/* Финал */
.final p { max-width: 56ch; margin-top: 16px; font-size: 1.125rem; color: var(--lime-ink-2); }
.final__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.final__tel { margin-left: auto; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Подвал */
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 32px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: .9375rem; color: var(--ink-2); }
.foot__nav a { display: inline-flex; align-items: center; min-height: 40px; transition: color .2s; }
.foot__nav a:hover { color: var(--lime); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .8125rem; color: #7F978B; }
.foot__legal p { max-width: 80ch; }
.foot__legal button { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal button:hover { color: var(--lime); }

/* Окна */
.modal { width: min(500px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 60px 120px -40px #000; overflow: auto; }
.modal::backdrop { background: rgba(4, 12, 9, .8); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal h2 { padding-right: 44px; font-size: clamp(1.375rem, 3vw, 1.75rem); }
.modal__lead { margin: 12px 0 22px !important; color: var(--ink-2); }
.modal__x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); transition: background-color .2s, color .2s, rotate .4s var(--ease); }
.modal__x svg { width: 18px; height: 18px; }
.modal__x:hover { background: var(--lime); color: var(--lime-ink); rotate: 90deg; }
.modal--text { width: min(720px, calc(100vw - 24px)); }
.modal--text p { margin-top: 14px !important; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .serp { animation: rise 1s var(--ease) backwards .25s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

@media (max-width: 1080px) {
  .top__nav, .brand span { display: none; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days { grid-template-columns: 1fr; border-top: 0; }
  .days > li, .days > li:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .days h3 { min-height: 0; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .gain, .quiz, .terms, .faq { grid-template-columns: 1fr; }
  .serp { rotate: none; }
  .trio { grid-template-columns: 1fr; }
  .trio li, .trio li:first-child { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .trio li:first-child { border-top: 0; }
  .quiz__side { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .quiz__ask { display: none; }
  .quiz__meter { margin: 0 0 0 auto; min-width: 120px; }
  .quiz__main { min-height: 0; }
  .audit { grid-template-columns: 1fr; }
  .audit__img { display: none; }
  .terms__who { max-width: 420px; }
  .team, .quotes { grid-template-columns: 1fr; }
  .final__tel { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .top__call a { font-size: 1rem; }
  .brand b { font-size: 1.25rem; }
  .btn--l { width: 100%; min-height: 60px; padding: 0 18px; font-size: 1rem; }
  .cases { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 82vw; scroll-snap-align: start; }
  .opts--row, .terms__list { grid-template-columns: 1fr; }
  .quiz__nav { flex-wrap: wrap; }
  .quiz__nav .btn, .final__row .btn, .lead--row .btn { flex: 1 1 100%; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.audit .lead { margin-top: 26px; }

/* Якоря: заголовок раздела встаёт сразу под шапкой, без лишнего отступа сверху */
section.sec[id] { scroll-margin-top: calc(24px - clamp(64px, 9vw, 120px)); }
