/* ==========================================================================
   start99.ru — стили лендинга
   Чистый CSS без сборки и без внешних подключений.
   Порядок: 1 токены → 2 база → 3 компоненты → 4 секции → 5 страница документов → 6 адаптив
   ========================================================================== */

/* ---------- 1. Шрифты (локальные) ---------- */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-cyrillic-500-italic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-latin-500-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. Токены ---------- */
:root {
  --ink: #16161A;
  --milk: #FAF7F1;
  --line: #E8E2D6;
  --muted: #6B6A72;
  --white: #fff;
  --lime: #D4F53C;
  --lime-soft: #EEFBB4;
  --lime-dark: #7C9A00;      /* для значков и мелких акцентов на светлом */
  --brand: #B00A65;          /* цвет из логотипа */
  --danger: #D92D32;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Cormorant Garamond", Georgia, serif;

  --shadow-soft: 0 1px 2px rgba(22,22,26,.04), 0 12px 32px -12px rgba(22,22,26,.12);
  --shadow-lift: 0 2px 4px rgba(22,22,26,.04), 0 24px 48px -16px rgba(22,22,26,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 3. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--milk); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
sup { font-size: .75em; line-height: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1152px; margin-inline: auto; padding-inline: 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Кнопки ---------- */
.btn { white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; transition: transform .25s, box-shadow .25s, background-color .25s, color .25s, filter .25s; }
.btn .i { transition: transform .3s; }
.btn:hover .i { transform: translateX(4px); }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--md { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { filter: brightness(1.04); }
.btn--hero { box-shadow: 0 10px 30px -10px rgba(124,154,0,.9); }
.btn--hero:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(124,154,0,1); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: rgba(22,22,26,.85); }
.btn--outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--shine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite 2s; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.link-under { font-weight: 600; color: rgba(22,22,26,.8); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 6px; padding: 8px; transition: color .2s, text-decoration-color .2s; }
.link-under:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- Заголовки секций ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.section { padding-block: 80px; }
.section--white { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 672px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Верхняя плашка ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 10px; text-align: center; }
.topbar__dim { display: none; color: rgba(255,255,255,.6); }
.pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(250,247,241,.84); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.site-header__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { height: 38px; width: auto; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.nav { display: none; gap: 28px; font-size: 15px; }
.nav a { color: rgba(22,22,26,.7); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: none; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.btn-long { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
/* Фон: мягкие цветные пятна + расходящиеся кольца (вместо клетки) */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 52% at 88% 18%, rgba(212,245,60,.55), transparent 72%),
    radial-gradient(38% 46% at 4% 96%, rgba(176,10,101,.10), transparent 72%),
    radial-gradient(34% 40% at 58% 104%, rgba(212,245,60,.28), transparent 72%); }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 76% 40%, transparent 0 52px, rgba(22,22,26,.055) 52px 53px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 76% 40%, #000 10%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 70% at 76% 40%, #000 10%, transparent 72%); }
.hero__in { position: relative; display: grid; gap: 56px; align-items: center; padding-block: 40px 80px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: rgba(22,22,26,.8); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-dark); }
.hero h1 { margin-top: 24px; font-size: clamp(38px, 9.5vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.marker { background-image: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 94%, transparent 94%); background-repeat: no-repeat; background-size: 0 100%; transition: background-size 1s cubic-bezier(.6,.1,.2,1) .5s; -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: nowrap; }
.is-loaded .marker, .no-js .marker { background-size: 100% 100%; }
.hero__price { margin-top: 24px; font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.hero__lead { margin-top: 20px; max-width: 576px; font-size: 18px; line-height: 1.6; color: rgba(22,22,26,.7); }
.hero__actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.perks { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; color: rgba(22,22,26,.75); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks .ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.perks .ico .i { width: 16px; height: 16px; }
.perks sup, .muted { color: var(--muted); }

/* ---------- Чек ---------- */
.receipt-box { position: relative; width: 100%; max-width: 380px; margin-inline: auto; }
.float-badge { display: none; position: absolute; z-index: 20; left: -48px; top: -56px; align-items: center; gap: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lift); padding: 12px 16px; font-size: 14px; line-height: 1.25; animation: floatY 5s ease-in-out infinite; }
.float-badge__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); }
.float-badge small { display: block; color: var(--muted); font-size: inherit; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.printer { position: relative; z-index: 10; height: 24px; border-radius: 999px; background: var(--ink); box-shadow: inset 0 -4px 0 rgba(255,255,255,.08); }
.receipt-wrap { position: relative; margin: -12px 16px 0; filter: drop-shadow(0 22px 30px rgba(22,22,26,.16)) drop-shadow(0 2px 3px rgba(22,22,26,.06)); }
.receipt { position: relative; background: #fff; padding: 32px 24px 24px; font-family: var(--mono); font-size: 13px; line-height: 24px; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: conic-gradient(from -45deg at bottom, #fff 90deg, #0000 0) 0 0 / 20px 100%; }
.js .receipt { clip-path: inset(0 0 100% 0); }
.js .is-loaded .receipt { clip-path: inset(0 0 -14px 0); transition: clip-path 2.6s cubic-bezier(.45,.05,.25,1) .25s; }
.r-title { text-align: center; }
.r-title b { display: block; font-size: 12px; letter-spacing: .18em; }
.r-title span { font-size: 12px; color: var(--muted); }
.r-hr { margin: 12px 0; border-top: 1.5px dashed rgba(22,22,26,.25); }
.r-row { display: flex; align-items: flex-end; }
.leader { flex: 1; min-width: 16px; margin: 0 8px 5px; border-bottom: 1.5px dotted #C9C3B6; }
.r-ok { font-weight: 700; }
.r-hl { margin: 4px -8px 0; padding: 2px 8px; border-radius: 4px; background: rgba(212,245,60,.6); }
.r-hl .leader { border-color: rgba(22,22,26,.3); }
.r-total { font-size: 17px; font-weight: 700; }
.r-note { font-size: 12px; line-height: 18px; color: var(--muted); margin-top: 4px; }
.r-fine { margin-top: 8px; font-size: 11px; line-height: 16px; color: var(--muted); }
.barcode { height: 38px; opacity: .9; background: repeating-linear-gradient(90deg, #16161A 0 2px, transparent 2px 4px, #16161A 4px 5px, transparent 5px 8px, #16161A 8px 11px, transparent 11px 12px, #16161A 12px 13px, transparent 13px 16px); }
.js .r-row, .js .r-line { opacity: 0; transform: translateY(-3px); transition: opacity .35s ease, transform .35s ease; }
.js .r-row.on, .js .r-line.on { opacity: 1; transform: none; }
.stamp { position: absolute; z-index: 20; right: -4px; bottom: 0; pointer-events: none; transform: rotate(-12deg); }
.js .stamp { opacity: 0; }
.js .stamp.on { animation: stamp .5s cubic-bezier(.2,1.5,.4,1) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.stamp div { border: 3px solid var(--ink); border-radius: 12px; background: rgba(212,245,60,.92); box-shadow: var(--shadow-soft); padding: 8px 14px; text-align: center; font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: .03em; }
.stamp small { display: block; font-size: 11px; letter-spacing: .2em; }
.stamp strong { font-size: 18px; }

/* ---------- Бегущая строка ---------- */
.marquee-box { overflow: hidden; border-block: 1px solid var(--line); background: #fff; }
.marquee { display: flex; width: max-content; padding-block: 16px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; animation: marquee 44s linear infinite; }
.marquee-set { display: flex; flex: none; align-items: center; }
.marquee-set span { padding-inline: 24px; }
.marquee-set span.star { padding: 0; color: var(--lime-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Что входит ---------- */
.cards { margin-top: 48px; display: grid; gap: 20px; }
.card { position: relative; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 28px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.card__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--milk); border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.card__ico .i { width: 24px; height: 24px; stroke-width: 1.9; }
.card:hover .card__ico { background: var(--lime); border-color: var(--lime); }
.card__num { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.card h3 { position: relative; margin-top: 28px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.card p { position: relative; margin-top: 12px; color: rgba(22,22,26,.7); line-height: 1.6; }
.card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--dark::before { content: ""; position: absolute; right: -64px; top: -64px; width: 192px; height: 192px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,245,60,.35), transparent); }
.card--dark .card__ico { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.card--dark .card__num { color: rgba(255,255,255,.5); }
.card--dark p { color: rgba(255,255,255,.72); }

/* Формула */
.formula { margin-top: 56px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.6); padding: 20px; }
.formula__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.f-token { opacity: 1; }
.js .f-token { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease, transform .5s cubic-bezier(.2,1.3,.4,1); transition-delay: var(--d, 0ms); }
.js .formula.in .f-token { opacity: 1; transform: none; }
.pill { border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 10px 20px; }
.pill--lime { background: var(--lime); border-color: var(--lime); box-shadow: none; }
.pill--ink { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; padding-inline: 24px; }
.formula__op { color: var(--muted); }
.formula__note { margin-top: 24px; text-align: center; }
.formula__note p { color: rgba(22,22,26,.65); }
.formula__note .deal { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; border-radius: 999px; background: var(--lime-soft); padding: 8px 16px; font-weight: 600; color: var(--ink); }
.formula__note .deal .pulse { background: var(--lime-dark); }

/* Блок «всё ваше» */
.owner { margin-top: 20px; display: grid; gap: 14px; border-radius: 28px; background: var(--ink); color: #fff; padding: 28px; position: relative; overflow: hidden; }
.owner::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,245,60,.25), transparent); }
.owner h3 { position: relative; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.owner > p { position: relative; color: rgba(255,255,255,.7); }
.owner ul { position: relative; display: grid; gap: 12px; margin-top: 6px; }
.owner li { display: flex; gap: 12px; align-items: flex-start; }
.owner li .i { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--ink); stroke-width: 3; }
.owner li span { color: rgba(255,255,255,.9); }
.owner li b { color: #fff; }

/* ---------- Тарифы ---------- */
.plans { margin: 56px auto 0; max-width: 1024px; display: grid; gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: 28px; padding: 28px; }
.plan--start { border: 1px solid var(--line); background: var(--milk); }
.plan h3 { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.plan__sub { margin-top: 8px; color: rgba(22,22,26,.65); }
.plan__price { margin-top: 28px; font-size: clamp(44px, 9vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.plan__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan__tag { flex: none; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; }
.split { margin-top: 24px; }
.split__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--line); }
.split__bar span { display: block; height: 100%; width: var(--w); }
.js .split__bar span { width: 0; transition: width 1.3s cubic-bezier(.6,.1,.2,1); transition-delay: var(--d, 300ms); }
.js .split.in .split__bar span { width: var(--w); }
.split__legend { margin-top: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.split__legend span { display: flex; align-items: center; gap: 6px; }
.split__legend i { width: 8px; height: 8px; border-radius: 50%; }
.plan__list { margin-top: 32px; display: grid; gap: 14px; font-size: 15.5px; }
.plan__list li { display: flex; gap: 12px; }
.plan__list .i { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.6; color: var(--lime-dark); }
.plan__list li.is-new { padding: 10px 12px; margin-inline: -12px; border-radius: 12px; background: rgba(212,245,60,.35); }
.plan__cta { margin-top: auto; padding-top: 36px; }
.plan-glow { border-radius: 30px; padding: 2px; box-shadow: 0 30px 60px -24px rgba(22,22,26,.55); background: conic-gradient(from var(--a, 0deg), #D4F53C, rgba(212,245,60,.08) 25%, rgba(212,245,60,.08) 60%, #D4F53C 85%); animation: spin 6s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.plan--biz { position: relative; overflow: hidden; height: 100%; background: var(--ink); color: #fff; border-radius: 28px; }
.plan--biz::before { content: ""; position: absolute; right: -96px; top: -96px; width: 288px; height: 288px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,245,60,.22), transparent); }
.plan--biz > * { position: relative; }
.plan--biz .plan__sub { color: rgba(255,255,255,.65); }
.plan--biz .split__bar { background: rgba(255,255,255,.1); }
.plan--biz .split__legend { color: rgba(255,255,255,.65); }
.plan--biz .plan__list { color: rgba(255,255,255,.9); }
.plan--biz .plan__list .i { color: var(--lime); }
.plan--biz .plan__list li.is-new { background: rgba(212,245,60,.14); }
.plan-note { margin: 40px auto 0; max-width: 768px; text-align: center; }
.plan-note p { color: rgba(22,22,26,.75); }
.plan-note p + p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.plan-note b { color: var(--ink); }

/* ---------- Работы ---------- */
.cases-head { display: flex; flex-direction: column; gap: 20px; }
.cases-head p { max-width: 384px; color: rgba(22,22,26,.65); }
.cases { margin-top: 48px; display: grid; gap: 28px; }
.case { display: block; }
.case__frame { border-radius: 22px; background: #fff; border: 1px solid var(--line); padding: 8px; box-shadow: var(--shadow-soft); transition: box-shadow .5s; }
.case:hover .case__frame { box-shadow: var(--shadow-lift); }
.case__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; }
.case__bar i { width: 10px; height: 10px; border-radius: 50%; }
.case__bar i:nth-child(1) { background: #FF5F57; } .case__bar i:nth-child(2) { background: #FEBC2E; } .case__bar i:nth-child(3) { background: #28C840; }
.case__url { margin-left: 12px; flex: 1; max-width: 320px; border-radius: 6px; background: var(--milk); font-size: 12px; color: var(--muted); padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case__stage { position: relative; }
.case__view { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 11; background: var(--milk); scrollbar-width: none; cursor: ns-resize; }
.case__view::-webkit-scrollbar { display: none; }
.case__shot { display: block; width: 100%; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.case__hint { position: absolute; right: 12px; top: 12px; z-index: 2; border-radius: 999px; background: rgba(22,22,26,.82); color: #fff; font-size: 11px; line-height: 1.2; padding: 5px 11px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; transition: opacity .3s; }
.case__hint .h-touch { display: none; }
.case.is-used .case__hint, .case.is-hover .case__hint { opacity: 0; }
/* Касание: первое нажатие включает прокрутку пальцем внутри, пока страница прокручивается как обычно */
@media (hover: none) {
  .case__hint .h-mouse { display: none; }
  .case__hint .h-touch { display: inline; }
  .case__view { cursor: default; }
  .case.is-active .case__view { overflow-y: auto; overscroll-behavior-y: auto; touch-action: pan-y; outline: 3px solid var(--lime); outline-offset: -3px; }
  .case.is-active .case__hint { opacity: 0; }
}
.case__meta { margin-top: 18px; padding-inline: 4px; }
.case__meta h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.case__meta p { margin-top: 4px; color: rgba(22,22,26,.6); }

/* ---------- Обо мне ---------- */
.about { overflow: hidden; }
.about__in { display: grid; gap: 48px; align-items: center; }
.about__photo { position: relative; width: 100%; max-width: 384px; margin-inline: auto; }
.about__photo::before { content: ""; position: absolute; inset: -16px; border-radius: 36px; background: var(--lime); transform: rotate(-4deg); }
.about__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 28px; background: #2A2A31; }
.about__badge { position: absolute; right: -8px; bottom: -20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lift); padding: 14px 20px; }
.about__badge b { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.about__badge > span { font-size: 13px; color: var(--muted); }
.about__text { margin-top: 28px; display: grid; gap: 16px; font-size: 18px; line-height: 1.65; color: rgba(22,22,26,.75); }
.quote { position: relative; margin-top: 32px; border-radius: 16px; background: var(--milk); border: 1px solid var(--line); padding: 24px 24px 24px 28px; }
.quote::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: var(--lime-dark); }
.quote p { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.quote footer { margin-top: 12px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; color: rgba(22,22,26,.8); }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.fact b { display: block; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.fact > span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.25; color: var(--muted); }

/* ---------- Шаги ---------- */
.track { position: relative; margin-top: 56px; }
.track__line { position: absolute; border-radius: 999px; background: var(--line); }
.track__line i { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--ink); }
.track__line--x { display: none; left: 6px; right: 6px; top: 27px; height: 3px; }
.track__line--x i { transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.6,.1,.2,1) .2s; }
.track__line--y { top: 6px; bottom: 6px; left: 27px; width: 3px; }
.track__line--y i { transform: scaleY(0); transform-origin: top; transition: transform 2.2s cubic-bezier(.6,.1,.2,1) .2s; }
.track.in .track__line i { transform: none; }
.no-js .track__line i { transform: none; }
.steps { position: relative; display: grid; gap: 32px; }
.step { display: flex; gap: 20px; }
.node { position: relative; z-index: 10; display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); font-family: var(--mono); font-weight: 700; }
.node--finish { background: var(--lime); }
.node--finish .i { width: 24px; height: 24px; stroke-width: 3; }
.js .node { opacity: 0; transform: scale(.5); transition: opacity .4s ease, transform .5s cubic-bezier(.2,1.6,.4,1); transition-delay: var(--d, 0ms); }
.js .track.in .node { opacity: 1; transform: none; }
.step__card h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.step__card p { margin-top: 8px; color: rgba(22,22,26,.7); line-height: 1.6; }
.js .step__card { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .track.in .step__card { opacity: 1; transform: none; }
.step__card--end { border-radius: 16px; background: var(--ink); color: #fff; padding: 20px; margin-top: -4px; }
.step__card--end p { color: rgba(255,255,255,.65); font-size: 14px; }
.confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; animation: confetti 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes confetti { 0% { transform: translate(0,0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq__intro p { margin-top: 20px; max-width: 384px; color: rgba(22,22,26,.65); }
.faq__list { display: grid; gap: 12px; align-content: start; }
.qa { border-radius: 16px; border: 1px solid var(--line); background: var(--milk); transition: background-color .25s, box-shadow .25s, border-color .25s; }
.qa.is-open { background: #fff; border-color: transparent; box-shadow: var(--shadow-soft); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: 0; background: none; text-align: left; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.qa__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,1.3,.4,1), background-color .25s; }
.qa__ico .i { width: 16px; height: 16px; stroke-width: 2.4; }
.qa.is-open .qa__ico { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa.is-open .qa__a, .no-js .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 24px 24px; color: rgba(22,22,26,.72); line-height: 1.65; }
.qa__a p + p { margin-top: -10px; }
.qa__a a { text-underline-offset: 3px; }

/* ---------- Заявка ---------- */
.lead { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
/* Фон: свечение и диагональные лучи вместо клетки */
.lead__bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40% 55% at 0% 100%, rgba(212,245,60,.20), transparent 70%),
  radial-gradient(34% 45% at 100% 0%, rgba(176,10,101,.22), transparent 70%); }
.lead__bg::after { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000, transparent 75%); }
.lead__in { position: relative; display: grid; gap: 48px; align-items: center; }
.lead h2 { font-size: clamp(38px, 8vw, 60px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; }
.lead__text { margin-top: 24px; max-width: 512px; font-size: 18px; color: rgba(255,255,255,.7); }
.lead__price { margin-top: 16px; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.lead__price span { color: var(--lime); }
.lead__small { margin-top: 16px; max-width: 512px; color: rgba(255,255,255,.7); }
.countdown { margin-top: 40px; }
.countdown > p { font-size: 14px; color: rgba(255,255,255,.55); }
.countdown__row { margin-top: 12px; display: flex; gap: 10px; }
.countdown__cell { width: 78px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 12px 0; text-align: center; }
.countdown__cell b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.countdown__cell span { display: block; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.55); }
.contacts { margin-top: 36px; }
.contacts__label { font-size: 14px; color: rgba(255,255,255,.55); }
.contacts__main { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 20px; font-weight: 700; }
.contacts__main a { text-decoration: none; }
.contacts__main a:hover { color: var(--lime); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.chip--dark { border-color: var(--line); }
.chip--dark:hover { border-color: var(--lime); }

.form-card { position: relative; border-radius: 28px; background: #fff; color: var(--ink); padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.form-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.form-card__sub { margin-top: 6px; color: var(--muted); }
fieldset { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: block; border: 2px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 14px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.opt small { display: block; font-size: 11px; font-weight: 400; color: rgba(22,22,26,.6); }
.opt input:checked + span { border-color: var(--ink); background: var(--lime); }
.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(212,245,60,.7); }
.fields { margin-top: 20px; display: grid; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); font-size: inherit; }
.input { display: block; width: 100%; margin-top: 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--milk); padding: 14px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.input::placeholder { color: rgba(22,22,26,.4); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212,245,60,.55); background: #fff; }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217,45,50,.12); }
.input.is-valid { border-color: var(--lime-dark); }
.err { display: none; margin-top: 6px; font-size: 13px; color: var(--danger); }
.err.show { display: block; animation: errIn .25s ease; }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.shake { animation: shake .4s ease; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 20px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.consent span { font-size: 13px; line-height: 1.4; color: rgba(22,22,26,.65); }
.consent a { text-underline-offset: 2px; }
.consent a:hover { color: var(--ink); }
.form-card .btn { margin-top: 24px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.form-foot { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.form-error { display: none; margin-top: 14px; border-radius: 12px; background: #FDECEC; color: #9B1C1F; padding: 12px 14px; font-size: 14px; }
.form-error.show { display: block; }
.success { padding: 40px 0; text-align: center; }
.success__ico { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; background: var(--lime); }
.success__ico .i { width: 40px; height: 40px; stroke-width: 2.6; }
.success h3 { margin-top: 24px; font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.success p { margin: 12px auto 0; max-width: 320px; color: rgba(22,22,26,.7); }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.1); }
.footer__in { display: grid; gap: 40px; padding-block: 48px 32px; }
.footer .brand__name { color: #fff; }
.footer__tag { margin-top: 14px; color: #fff; font-weight: 600; }
.footer__sub { font-size: 14px; }
.footer__grid { display: grid; gap: 32px; }
.footer h4 { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer ul { display: grid; gap: 8px; font-size: 14.5px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.55; }
.legal-line { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; font-size: 12.5px; line-height: 1.65; display: grid; gap: 8px; }
.legal-line a { text-decoration: underline; text-underline-offset: 2px; }
.legal-line a:hover { color: #fff; }
.legal-line .req { color: rgba(255,255,255,.8); }

/* ---------- Липкая кнопка ---------- */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 12px; transform: translateY(120%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.sticky-cta.show { transform: none; }
.sticky-cta a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 999px; background: var(--ink); color: #fff; padding: 8px 8px 8px 20px; text-decoration: none; box-shadow: 0 12px 40px -8px rgba(0,0,0,.5); }
.sticky-cta small { display: block; font-size: 11px; color: rgba(255,255,255,.5); }
.sticky-cta .t { font-size: 14px; line-height: 1.25; }
.sticky-cta .t span { color: rgba(255,255,255,.6); }
.sticky-cta .t b { font-size: 15px; }
.sticky-cta .go { border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; padding: 12px 20px; white-space: nowrap; }

/* ---------- Уведомление о cookie ---------- */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 560px; border-radius: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: 16px 18px; font-size: 13px; line-height: 1.5; display: none; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie.show { display: flex; }
.cookie p { flex: 1 1 260px; color: rgba(22,22,26,.75); }
.cookie a { text-underline-offset: 2px; }
.cookie .btn { padding: 10px 20px; font-size: 14px; }
body.has-sticky .cookie { bottom: 84px; }

/* ---------- 5. Страница документов ---------- */
.doc { padding-block: 56px 96px; }
.doc__grid { display: grid; gap: 40px; }
.doc h1 { margin-top: 16px; font-size: clamp(32px, 6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.doc__date { margin-top: 16px; font-size: 14px; color: var(--muted); }
.doc__toc { margin-top: 28px; display: none; gap: 6px; font-size: 14px; }
.doc__toc a { color: var(--muted); text-decoration: none; }
.doc__toc a:hover { color: var(--ink); }
.legal { max-width: 768px; color: rgba(22,22,26,.8); line-height: 1.7; }
.legal h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.legal li::marker { color: var(--lime-dark); }
.legal a { text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal table + p { margin-top: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--milk); font-weight: 600; width: 34%; }
.legal .req-box { margin-top: 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 16px 20px; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.page-404 b { display: block; font-size: clamp(80px, 22vw, 180px); line-height: 1; font-weight: 800; letter-spacing: -.05em; }

/* ---------- 6. Адаптив ---------- */
@media (min-width: 640px) {
  .wrap { padding-inline: 24px; }
  .topbar { font-size: 14px; }
  .topbar__dim { display: inline; }
  .btn-long { display: inline; }
  .btn-short { display: none; }
  .hero__actions { flex-direction: row; align-items: center; gap: 20px; }
  .float-badge { display: flex; }
  .stamp { right: -24px; }
  .card { padding: 32px; }
  .formula { padding: 32px; }
  .formula__row { font-size: 24px; }
  .plan { padding: 36px; }
  .form-card { padding: 36px; }
  .about__badge { right: -32px; }
  .opt span { padding-inline: 8px; }
}
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cases-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .cases-head p { text-align: right; }
  .owner { grid-template-columns: 1.1fr 1fr; gap: 28px 40px; padding: 40px; align-items: center; }
  .owner ul { margin-top: 0; }
  .footer__in { grid-template-columns: 1fr 1.6fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .section { padding-block: 112px; }
  .nav { display: flex; }
  .nav { gap: 22px; }
  .hero__in { grid-template-columns: 1.12fr .88fr; gap: 40px; padding-block: 64px 112px; }
  .receipt-box { margin-right: 0; }
  .plans { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__in { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .track__line--x { display: block; }
  .track__line--y { display: none; }
  .step { display: block; }
  .step__card { margin-top: 28px; }
  .step__card--end { margin-top: 28px; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .lead__in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .sticky-cta { display: none; }
  .doc__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .doc__side { position: sticky; top: 104px; align-self: start; }
  .doc__toc { display: grid; }
  .cookie { left: 24px; bottom: 24px; }
}
@media (max-width: 1023.98px) {
  .sticky-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .topbar, .site-header, .sticky-cta, .cookie { display: none !important; }
}
@media (min-width: 1200px) {
  .nav { gap: 28px; }
  .header-phone { display: block; }
}

/* Пояснения мелким шрифтом */
.plan__list small, .owner li small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; opacity: .65; }
.owner li small { color: #fff; }
