/* PROTOFLOW · страница услуги «Поддержка и доработка сайта». 2026-11-20.
   Продающая страница, а не статья: блоки на всю ширину, в каждом одна главная вещь, крупный шрифт, много воздуха.
   Фон - общий фон главной (/fon/fon.css + fon.js), свой фон body и секций не рисуем.
   Значения только через токены ниже (модуль МОДУЛИ/Анти-ИИ/токены). Нужен новый - сначала токен. */

@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* 01. Токены: цвет (роли) -------------------------------------------------- */
:root {
  color-scheme: dark;
  --c-ink: #f4f2ff;
  --c-ink-2: rgba(244, 242, 255, 0.84);
  --c-ink-3: rgba(236, 234, 255, 0.66);
  --c-line: rgba(255, 255, 255, 0.1);
  --c-line-strong: rgba(255, 255, 255, 0.2);
  --c-accent: #b47cff;
  --c-accent-2: #ff9ffc;
  --c-accent-soft: rgba(180, 124, 255, 0.16);
  --c-link: #d9b8ff;
  --c-link-hover: #ff9ffc;
  --c-on-accent: #ffffff;
  --c-btn: linear-gradient(120deg, #5227ff, #8a3df0 55%, #c04ee8);
  --c-btn-hover: linear-gradient(120deg, #4a1fef, #7d33e3 55%, #b343db);
  /* плашки как на главной: полупрозрачные, фон главной просвечивает */
  --c-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(160, 80, 255, 0.05));
  --c-glass-hover: linear-gradient(145deg, rgba(160, 80, 255, 0.16), rgba(255, 110, 220, 0.07));
  --c-glass-line: rgba(255, 255, 255, 0.12);
  --c-glass-line-hover: rgba(255, 159, 252, 0.36);
  --c-plate: rgba(18, 10, 34, 0.72);
  --c-select: rgba(180, 124, 255, 0.38);
  --c-header: rgba(10, 6, 18, 0.78);
  --c-shadow: rgba(0, 0, 0, 0.45);
  /* чек: холодная бумага (не кремовая) */
  --c-paper: #f3f1fa;
  --c-paper-ink: #17121f;
  --c-paper-ink-2: #4b4360;
  --c-paper-line: rgba(23, 18, 31, 0.28);
  --c-mask: #000;
  --c-star: #ff9ffc;
  --c-star-head: #ffffff;
  --c-glare: rgba(255, 236, 252, 0.55);
  --c-text-shade: rgba(8, 5, 15, 0.85);
}

/* 01б. Токены: шрифт, размеры, отступы, радиусы, движение ----------------- */
:root {
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Егор 20.11: основной 18-20 px на компьютере, 17-18 на телефоне, вторичный не мельче 15, заголовки 48-64 */
  --fs-xs: 0.9375rem;
  --fs-sm: 1rem;
  --fs-base: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --fs-2xl: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 2.8vw, 3.75rem);
  --fs-h1: clamp(2.5rem, 1.3rem + 4vw, 4.75rem);
  --fs-big: clamp(2.5rem, 1.6rem + 4.8vw, 6rem);
  --lh-tight: 1.05;
  --lh-head: 1.12;
  --lh-text: 1.55;
  --fw-head: 600;
  --ls-display: -0.03em;
  --ls-head: -0.02em;
  --ls-brand: 0.02em;
  --ls-caps: 0.06em;
  --w-line: 34em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  /* отступ между блоками: 72 на телефоне → 152 на большом экране (бриф, раздел 0, п. 3) */
  --sec-y: clamp(72px, 2.5rem + 7vw, 152px);

  --r-xs: 5px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --w-page: 1240px;
  --w-text: 760px;
  --w-faq: 920px;
  --w-shot-max: 1280px; /* не растягивать скрин работы больше его размера */
  --w-h2: 24ch;
  --w-h1-m: 12ch;
  --w-h1: 22ch;
  --w-cta-title: 14ch;
  --bullet-y: 0.7em;
  --w-receipt: 480px;
  --h-btn: 48px;
  --h-btn-big: 56px;
  --h-btn-huge: 68px;
  --h-tile: 96px;
  --st-flow: 120px;
  --st-flow-m: 64px;
  --st-bag: 170px;
  --st-bag-m: 96px;
  --st-own: 220px;
  --st-own-m: 120px;
  --st-cta: 112px;
  --dot: 16px;
  --zz: 10px;
  --tag-notch: 30px;
  --sh-shot: 0 40px 80px -30px var(--c-shadow);
  --sh-dot: 0 0 0 5px rgba(10, 6, 18, 0.9);
  --sh-ring: inset 0 0 0 1px var(--c-line-strong);
  --sh-step: inset 0 0 0 2px var(--c-line-strong);
  --sh-step-on: inset 0 0 0 2px var(--c-accent-2);
  --sh-text: 0 1px 2px var(--c-text-shade), 0 0 18px var(--c-text-shade);
  --tick: 22px;

  --t-lap: 2600ms;
  --t-lap-hover: 900ms;
  --t-glare: 650ms;
  --t-tick: 260ms;
  --d-tick: 90ms;
  --t-fast: 160ms;
  --t-base: 420ms;
  --t-slow: 700ms;
  --t-print: 900ms;
  --t-fill: 2400ms;
  --t-swing: 1200ms;
  --d-1: 120ms;
  --d-2: 200ms;
  --d-3: 240ms;
  --d-4: 360ms;
  --d-5: 650ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 719px) {
  :root { --fs-base: 1.0625rem; --fs-lg: 1.25rem; }
}

/* 02. База --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-20); interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  color: var(--c-ink);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--c-select); color: var(--c-ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { color: var(--c-link-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--c-accent-2); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3 { margin: 0; font-weight: var(--fw-head); }
p, ul, ol, dl, dd { margin: 0; }
b { font-weight: var(--fw-head); color: var(--c-ink); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: calc(-1 * var(--s-20)); z-index: 30; padding: var(--s-2) var(--s-4); background: var(--c-plate); color: var(--c-ink); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-2); }

.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s-5); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s-8); } }

/* 03. Шапка и подвал (как в блоге) --------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--c-header); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--c-line); }
.top__in { max-width: var(--w-page); margin: 0 auto; padding: var(--s-3) var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
@media (min-width: 720px) { .top__in { padding: var(--s-3) var(--s-8); } }
.top a:first-child { display: inline-flex; align-items: center; }
.top .logo { width: 150px; height: auto; overflow: visible; display: block; }
.top__in { flex-wrap: wrap; }
.top__nav { display: flex; gap: var(--s-1) var(--s-5); font-size: var(--fs-sm); }
.top__nav a { color: var(--c-ink-2); text-decoration: none; padding: var(--s-2) 0; }
.top__nav a:hover { color: var(--c-link-hover); }
/* телефон: ссылки второй строкой под логотипом, листаются вбок внутри себя */
@media (max-width: 899px) {
  .top__nav { order: 3; flex: 1 0 100%; gap: var(--s-5); overflow-x: auto; scrollbar-width: none; margin-top: calc(-1 * var(--s-2)); }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { white-space: nowrap; }
}
@media (min-width: 900px) { .top__nav { margin-left: auto; margin-right: var(--s-6); } }
.logo__wordmark { fill: var(--c-ink); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: bar-grow linear both; animation-timeline: scroll(root); }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--h-btn); padding: var(--s-2) var(--s-5);
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: 600 var(--fs-sm)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--main { background: var(--c-btn); color: var(--c-on-accent); }
.btn--main:hover { background: var(--c-btn-hover); color: var(--c-on-accent); }
.btn--ghost { background: var(--c-plate); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { color: var(--c-ink); border-color: var(--c-accent-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--big { min-height: var(--h-btn-big); padding: var(--s-3) var(--s-8); font-size: var(--fs-base); }
.btn--huge { min-height: var(--h-btn-huge); padding: var(--s-4) var(--s-10); font-size: var(--fs-lg); }

.foot { margin-top: var(--sec-y); border-top: 1px solid var(--c-line); background: var(--c-plate); }
.foot__in { max-width: var(--w-page); margin: 0 auto; padding: var(--s-12) var(--s-5) var(--s-16); display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); font-size: var(--fs-sm); color: var(--c-ink-3); }
@media (min-width: 560px) { .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .foot__in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); padding-left: var(--s-8); padding-right: var(--s-8); } }
.foot__col { display: grid; gap: var(--s-2); align-content: start; }
.foot__col p { max-width: var(--w-line); line-height: 1.5; }
.foot__brand { color: var(--c-ink); font-weight: 600; letter-spacing: var(--ls-brand); }
.foot__h { color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-1); }
.foot a[aria-current] { color: var(--c-ink); }
.foot a { color: var(--c-ink-2); text-decoration: none; }
.foot a:hover { color: var(--c-link-hover); }

/* 04. Общее для блоков ---------------------------------------------------- */
.sec { padding-top: var(--sec-y); }
.sec__title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--ls-head); text-wrap: balance; max-width: var(--w-h2); }
.sec__lead { margin-top: var(--s-5); font-size: var(--fs-lg); line-height: 1.45; color: var(--c-ink-2); max-width: var(--w-line); }
.sec__aside { margin-top: var(--s-10); font-size: var(--fs-sm); color: var(--c-ink-3); max-width: var(--w-text); }

/* раскрывашка «подробнее»: подробности спрятаны, главное остаётся крупным */
.more-d { margin-top: var(--s-12); max-width: var(--w-text); }
.more-d summary {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--h-btn);
  padding: var(--s-2) var(--s-6); border-radius: var(--r-pill); border: 1px solid var(--c-glass-line);
  background: var(--c-glass); cursor: pointer; list-style: none; font-weight: 500; color: var(--c-ink-2);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.more-d summary::-webkit-details-marker { display: none; }
.more-d summary::after { content: "+"; font-size: var(--fs-lg); line-height: 1; color: var(--c-ink-3); transition: rotate var(--t-base) var(--ease); }
.more-d[open] summary::after { rotate: 45deg; }
.more-d summary:hover { border-color: var(--c-glass-line-hover); color: var(--c-ink); }
.more-d__list { list-style: none; padding: var(--s-6) 0 0; display: grid; gap: var(--s-4); color: var(--c-ink-2); }
.crumbs { text-shadow: var(--sh-text); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-xs); color: var(--c-ink-3); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); }
.crumbs a { color: var(--c-ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--c-link-hover); }
.hero__title { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-display); text-wrap: balance; max-width: var(--w-h1-m); }
@media (min-width: 960px) { .hero__title { grid-column: 1 / -1; max-width: var(--w-h1); } }
/* 12. Вопросы: плашки как на главной -------------------------------------- */
.faq__list { margin-top: var(--s-12); display: grid; gap: var(--s-3); max-width: var(--w-faq); }
.qa { border-radius: var(--r-lg); border: 1px solid var(--c-glass-line); background: var(--c-glass); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.qa:hover, .qa[open] { border-color: var(--c-glass-line-hover); background: var(--c-glass-hover); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-6); font-weight: 600; font-size: var(--fs-lg); line-height: 1.3; border-radius: var(--r-lg); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 400; font-size: var(--fs-xl); line-height: 1; color: var(--c-ink-3); transition: rotate var(--t-base) var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa__a { padding: 0 var(--s-6) var(--s-6); color: var(--c-ink-2); max-width: var(--w-line); }
@media (prefers-reduced-motion: no-preference) {
  .qa::details-content, .more-d::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-base) var(--ease), content-visibility var(--t-base) allow-discrete; }
  .qa[open]::details-content, .more-d[open]::details-content { block-size: auto; }
}

/* 13. Призыв -------------------------------------------------------------- */
.cta { position: relative; display: grid; justify-items: start; gap: var(--s-5); padding: var(--s-12) var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line-hover); background: var(--c-glass); overflow: hidden; }
@media (min-width: 900px) { .cta { padding: var(--s-20) var(--s-16); } }
.cta__st { width: var(--st-cta); filter: drop-shadow(0 18px 22px var(--c-shadow)); }
@media (min-width: 900px) { .cta__st { position: absolute; right: var(--s-16); top: 50%; translate: 0 -50%; width: calc(var(--st-cta) * 1.6); } }
.cta__title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--ls-head); max-width: var(--w-cta-title); }
.cta__text { font-size: var(--fs-lg); color: var(--c-ink-2); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
.cta__tel { color: var(--c-ink); font-weight: 600; font-size: var(--fs-lg); text-decoration: none; white-space: nowrap; padding: var(--s-2) 0; }
/* 14. Статьи: тихий выход -------------------------------------------------- */
.reads { padding-top: var(--s-20); }
.reads__title { font-size: var(--fs-lg); color: var(--c-ink-2); font-weight: 500; }
.reads__title--2 { margin-top: var(--s-8); }
.reads__list { list-style: none; padding: 0; margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.reads__list a { display: inline-flex; align-items: center; min-height: var(--h-btn); padding: var(--s-2) var(--s-5); border-radius: var(--r-pill); border: 1px solid var(--c-glass-line); background: var(--c-plate); color: var(--c-ink-2); text-decoration: none; font-size: var(--fs-sm); transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.reads__list a:hover { border-color: var(--c-glass-line-hover); color: var(--c-ink); }
/* 16. Свет по краю главной кнопки - React Bits «Star Border» (DavidHDev/react-bits, Animations/StarBorder).
   Там холст и бесконечный круг; у нас CSS: розовая искра обходит кнопку 3 раза после загрузки и один быстрый
   круг при наведении или фокусе (как hover «lap» в оригинале), дальше кнопка спокойна - без вечного движения. */
@property --star-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.star { position: relative; isolation: isolate; }
.star::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--star-a), transparent 0 72%, var(--c-star) 92%, var(--c-star-head) 97%, transparent 100%);
  -webkit-mask: linear-gradient(var(--c-mask) 0 0) content-box, linear-gradient(var(--c-mask) 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(var(--c-mask) 0 0) content-box, linear-gradient(var(--c-mask) 0 0);
          mask-composite: exclude;
  filter: drop-shadow(0 0 6px var(--c-star));
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .star::after { opacity: 1; animation: star-lap var(--t-lap) linear var(--t-slow) 3 both; }
  .js .star:hover::after, .js .star:focus-visible::after { animation: star-lap-hover var(--t-lap-hover) var(--ease) 1 both; }
}
@keyframes star-lap { from { --star-a: 0deg; } to { --star-a: 360deg; } }
@keyframes star-lap-hover { from { --star-a: 0deg; } to { --star-a: 360deg; } }


/* ===== Своё для страницы «Поддержка и доработка сайта» ===================== */

/* 20. Токены страницы ------------------------------------------------------- */
:root {
  --c-ok: #7be3a6;
  --c-ok-soft: rgba(123, 227, 166, 0.16);
  --c-bad: #ff8794;
  --c-bad-soft: rgba(255, 135, 148, 0.16);
  --c-bar: rgba(123, 227, 166, 0.82);
  --c-spot-a: rgba(255, 159, 252, 0.2);
  --c-spot-b: rgba(150, 80, 255, 0.1);
  --c-spot-edge: rgba(255, 210, 252, 0.95);
  --c-spot-edge-2: rgba(255, 159, 252, 0.4);
  --fs-li: 1.0625rem;
  --fs-price: clamp(2.5rem, 1.6rem + 3.2vw, 3.875rem);
  --fs-tf: clamp(3rem, 2rem + 2.4vw, 4rem);
  --fs-48: clamp(5.5rem, 3rem + 9vw, 9.5rem);
  --fs-num: clamp(4rem, 2.5rem + 5vw, 6.5rem);
  --st-hero: 150px;
  --st-hero-m: 92px;
  --st-route: 120px;
  --w-ring: 300px;
  --w-ring-m: 220px;
  --ring-sw: 5px;
  --h-bar: 44px;
  --h-bar-sm: 36px;
  --w-coin: 30px;
  --w-track: 76px;
  --h-track: 42px;
  --n-step: 52px;
  --spot: 520px;
  --t-ping: 1600ms;
  --t-flip: 520ms;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 21. Первый экран ----------------------------------------------------------- */
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8) var(--s-12); padding-top: var(--s-6); padding-bottom: var(--s-8); align-items: center; }
.hero__crumbs { grid-column: 1 / -1; }
.hero__lead { text-shadow: var(--sh-text); font-size: var(--fs-lg); line-height: 1.45; color: var(--c-ink-2); max-width: 24em; }
.hero__price { text-shadow: var(--sh-text); margin-top: var(--s-10); font-size: var(--fs-price); font-weight: 600; line-height: 1; letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums; }
.hero__from { font-size: var(--fs-xl); font-weight: 500; letter-spacing: 0; color: var(--c-ink-2); }
.hero__per { font-size: var(--fs-lg); font-weight: 500; letter-spacing: 0; color: var(--c-ink-2); }
.hero__fact { text-shadow: var(--sh-text); margin-top: var(--s-4); font-size: var(--fs-base); color: var(--c-ink-2); max-width: 24em; }
.hero__act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-10); }

/* карточка проверки: главное на первом экране */
.scan { position: relative; margin: 0; }
.scan__card { padding: var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line-hover); background: var(--c-plate); box-shadow: var(--sh-shot); }
.scan__head { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-lg); font-weight: 600; }
.scan__live { position: relative; flex: none; width: var(--s-3); height: var(--s-3); border-radius: 50%; background: var(--c-ok); }
.scan__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-ok); opacity: 0; }
.scan__list { list-style: none; padding: 0; margin-top: var(--s-6); display: grid; gap: var(--s-4); font-size: var(--fs-base); }
.scan__list li { display: flex; align-items: center; gap: var(--s-4); }
.scan__tick { position: relative; flex: none; width: var(--s-6); height: var(--s-6); border-radius: 50%; background: var(--c-ok-soft); box-shadow: inset 0 0 0 2px var(--c-ok); }
.scan__tick::after { content: ""; position: absolute; left: 50%; top: 46%; width: 5px; height: 10px; border: solid var(--c-ok); border-width: 0 2px 2px 0; translate: -50% -50%; rotate: 45deg; }
.scan__bars { display: flex; gap: var(--s-1); align-items: stretch; height: var(--h-bar); margin-top: var(--s-8); }
.scan__bars i { flex: 1; border-radius: var(--r-xs); background: var(--c-bar); transform-origin: 50% 100%; }
.scan__legend { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--c-ink-3); }
.scan figcaption { text-shadow: var(--sh-text); margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--c-ink-3); }
.scan__st { position: absolute; width: var(--st-hero-m); right: calc(-1 * var(--s-2)); top: calc(-1 * var(--s-16)); filter: drop-shadow(0 18px 22px var(--c-shadow)); pointer-events: none; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); padding-bottom: var(--s-16); row-gap: var(--s-10); }
  .scan__card { padding: var(--s-10); }
  .scan__st { width: var(--st-hero); right: calc(-1 * var(--s-6)); top: calc(-1 * var(--s-12)); }
}

/* 22. С чем пришли ----------------------------------------------------------- */
.route__grid { list-style: none; padding: 0; margin-top: var(--s-12); display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .route__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
.rt { position: relative; display: grid; gap: var(--s-2); align-content: end; min-height: 100%; padding: var(--s-6) var(--s-6) var(--s-8); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line); background: var(--c-glass); color: var(--c-ink); text-decoration: none; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), translate var(--t-base) var(--ease-out); }
.rt:hover, .rt:focus-visible { border-color: var(--c-glass-line-hover); background: var(--c-glass-hover); translate: 0 calc(-1 * var(--s-1)); color: var(--c-ink); }
.rt__st { height: var(--st-route); width: auto; max-width: 100%; margin-bottom: var(--s-6); object-fit: contain; object-position: left center; filter: drop-shadow(0 14px 18px var(--c-shadow)); }
.rt__t { font-size: var(--fs-2xl); font-weight: 600; line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.rt__s { font-size: var(--fs-sm); color: var(--c-ink-3); }

/* 23. Тарифы ----------------------------------------------------------------- */
.plans__grid { list-style: none; padding: 0; margin-top: var(--s-16); display: grid; gap: var(--s-6); align-items: stretch; }
@media (min-width: 1000px) { .plans__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tf { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: var(--s-8) var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line); background: var(--c-glass); }
@media (min-width: 720px) { .tf { padding: var(--s-10) var(--s-8); } .tf__rec { left: var(--s-8); } }
.tf { padding-top: calc(var(--s-8) + var(--s-8)); }
.tf--rec { border-color: var(--c-glass-line-hover); background: var(--c-glass-hover); }
.tf__rec { position: absolute; left: var(--s-6); top: var(--s-5); padding: var(--s-1) var(--s-4); border-radius: var(--r-pill); background: var(--c-btn); color: var(--c-on-accent); font-size: var(--fs-xs); font-weight: 600; }
.tf__name { font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.tf__price { margin-top: var(--s-5); display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) 0; }
.tf__num { font-size: var(--fs-tf); font-weight: 600; line-height: 1; letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums; }
.tf__cur { font-size: var(--fs-base); color: var(--c-ink-2); }
.tf__for { margin-top: var(--s-4); color: var(--c-ink-2); font-size: var(--fs-base); line-height: 1.5; }
.tf__list { list-style: none; padding: var(--s-6) 0 0; margin-top: var(--s-6); border-top: 1px solid var(--c-line); display: grid; gap: var(--s-4); flex: 1; align-content: start; }
.tf__list li { position: relative; padding-left: var(--s-8); font-size: var(--fs-li); line-height: 1.45; color: var(--c-ink-2); }
.tf__list li::before { content: ""; position: absolute; left: var(--s-1); top: 0.42em; width: 6px; height: 11px; border: solid var(--c-accent-2); border-width: 0 2px 2px 0; rotate: 45deg; }
.tf__sub { display: block; margin-top: var(--s-1); font-size: var(--fs-xs); line-height: 1.4; color: var(--c-ink-3); }
.tf__btn { margin-top: var(--s-8); width: 100%; }
.plans .more-d { margin-top: var(--s-16); }
.plans .sec__aside { font-size: var(--fs-base); color: var(--c-ink-2); max-width: var(--w-line); }

/* свет за курсором: React Bits «Spotlight Card» (DavidHDev/react-bits, Components/SpotlightCard).
   В оригинале градиент перерисовывается на каждый кадр; у нас круг света статичный и едет через translate. */
.spot__light, .spot__edge { position: absolute; pointer-events: none; opacity: 0; transition: opacity var(--t-base) var(--ease); }
.spot__light { z-index: -1; inset: 0; }
.spot__edge { z-index: 1; inset: 0; border-radius: inherit; padding: 1px; overflow: hidden; -webkit-mask: linear-gradient(var(--c-mask) 0 0) content-box, linear-gradient(var(--c-mask) 0 0); -webkit-mask-composite: xor; mask: linear-gradient(var(--c-mask) 0 0) content-box exclude, linear-gradient(var(--c-mask) 0 0); }
.spot__light i, .spot__edge i { position: absolute; left: 0; top: 0; width: var(--spot); height: var(--spot); margin: calc(var(--spot) / -2) 0 0 calc(var(--spot) / -2); border-radius: 50%; will-change: transform; }
.spot__light i { background: radial-gradient(circle, var(--c-spot-a), var(--c-spot-b) 40%, transparent 70%); }
.spot__edge i { background: radial-gradient(circle, var(--c-spot-edge), var(--c-spot-edge-2) 35%, transparent 65%); }
.tf.is-lit .spot__light, .tf.is-lit .spot__edge { opacity: 1; }

/* 24. Разовые доработки: прайс ---------------------------------------------- */
.pl { list-style: none; padding: 0; margin-top: var(--s-16); display: grid; column-gap: var(--s-16); }
@media (min-width: 900px) { .pl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--c-line-strong); transition: border-color var(--t-fast) var(--ease); }
.pl__row:hover { border-color: var(--c-accent-2); }
.pl__t span { display: block; font-size: var(--fs-base); line-height: 1.35; color: var(--c-ink-2); }
.pl__t small { display: block; margin-top: var(--s-1); font-size: var(--fs-xs); line-height: 1.4; color: var(--c-ink-3); }
.pl__p { flex: none; font-size: var(--fs-2xl); font-weight: 600; line-height: 1; letter-spacing: var(--ls-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.one__extra { margin-top: var(--s-12); display: grid; gap: var(--s-3); font-size: var(--fs-base); color: var(--c-ink-2); max-width: var(--w-text); }
.one__act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-10); }

/* 25. 48 часов --------------------------------------------------------------- */
.h48__in { display: grid; gap: var(--s-10); align-items: center; justify-items: start; }
@media (min-width: 800px) { .h48__in { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-20); } }
.h48__fig { position: relative; width: var(--w-ring-m); aspect-ratio: 1; display: grid; place-items: center; }
@media (min-width: 800px) { .h48__fig { width: var(--w-ring); } }
.h48__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.h48__ring-bg, .h48__ring-fg { fill: none; stroke-width: var(--ring-sw); }
.h48__ring-bg { stroke: var(--c-line-strong); }
.h48__ring-fg { stroke: var(--c-accent-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.h48__num { display: grid; justify-items: center; font-size: var(--fs-48); font-weight: 600; line-height: 0.9; letter-spacing: var(--ls-display); }
.h48__num span { margin-top: var(--s-2); font-size: var(--fs-lg); font-weight: 500; letter-spacing: 0; color: var(--c-ink-2); }

/* 26. Сайт упал: переключатель.
   Uiverse.io, AbanoubMagdy1 «fluffy-octopus-90» (MIT): монетка переворачивается, пока бегунок едет.
   Свои: монетка круглая и крупнее, пружинный ход, цвета статуса, подписи по краям, переключение целого блока. */
.inc__stage { position: relative; margin-top: var(--s-12); display: grid; gap: var(--s-10); align-items: start; }
@media (min-width: 960px) { .inc__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-20); grid-template-rows: auto 1fr; } .steps { grid-column: 2; grid-row: 1 / span 2; } }
.inc__cb { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sw { display: inline-flex; align-items: center; gap: var(--s-5); cursor: pointer; font-size: var(--fs-lg); font-weight: 600; justify-self: start; padding: var(--s-2) 0; }
.sw__side { transition: color var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.sw__side--ok { color: var(--c-ok); }
.sw__side--bad { color: var(--c-ink-3); }
.sw__track { position: relative; flex: none; width: var(--w-track); height: var(--h-track); border-radius: var(--r-pill); background: var(--c-ok-soft); box-shadow: inset 0 0 0 2px var(--c-ok); transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.sw__coin { position: absolute; left: var(--s-2); top: 50%; width: var(--w-coin); height: var(--w-coin); margin-top: calc(var(--w-coin) / -2); transform-style: preserve-3d; transition: translate var(--t-flip) var(--ease-spring), rotate var(--t-flip) var(--ease); }
.sw__face { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; transition: transform var(--t-flip) var(--ease); }
.sw__face--ok { background: var(--c-ok); }
.sw__face--bad { background: var(--c-bad); transform: rotateY(180deg); }
.inc__cb:checked + .sw .sw__track { background: var(--c-bad-soft); box-shadow: inset 0 0 0 2px var(--c-bad); }
.inc__cb:checked + .sw .sw__coin { translate: calc(var(--w-track) - var(--w-coin) - var(--s-4)) 0; }
.inc__cb:checked + .sw .sw__face--ok { transform: rotateY(-180deg); }
.inc__cb:checked + .sw .sw__face--bad { transform: rotateY(0); }
.inc__cb:checked + .sw .sw__side--ok { color: var(--c-ink-3); }
.inc__cb:checked + .sw .sw__side--bad { color: var(--c-bad); }
.inc__cb:focus-visible + .sw .sw__track { outline: 2px solid var(--c-accent-2); outline-offset: 4px; }

.mock { padding: var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line); background: var(--c-plate); transition: border-color var(--t-base) var(--ease); }
.mock__head { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-xl); font-weight: 600; }
.mock__dot { flex: none; width: var(--s-3); height: var(--s-3); border-radius: 50%; background: var(--c-ok); transition: background var(--t-base) var(--ease); }
.mock__bad { display: none; color: var(--c-bad); }
.mock__bars { display: flex; gap: var(--s-1); height: var(--h-bar-sm); margin-top: var(--s-6); }
.mock__bars i { flex: 1; border-radius: var(--r-xs); background: var(--c-bar); transition: background var(--t-base) var(--ease); }
.inc__cb:checked ~ .mock { border-color: var(--c-bad); }
.inc__cb:checked ~ .mock .mock__dot { background: var(--c-bad); }
.inc__cb:checked ~ .mock .mock__ok { display: none; }
.inc__cb:checked ~ .mock .mock__bad { display: inline; }
.inc__cb:checked ~ .mock .mock__bars i:nth-last-child(-n+4) { background: var(--c-bad); }

.steps { list-style: none; padding: 0; display: grid; gap: var(--s-8); }
.step { display: grid; grid-template-columns: var(--n-step) minmax(0, 1fr); column-gap: var(--s-5); align-items: center; }
.step__n { grid-row: 1 / span 2; display: grid; place-items: center; width: var(--n-step); height: var(--n-step); border-radius: 50%; font-size: var(--fs-xl); font-weight: 600; box-shadow: inset 0 0 0 2px var(--c-line-strong); transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.step__t { font-size: var(--fs-xl); line-height: var(--lh-head); color: var(--c-ink-2); transition: color var(--t-base) var(--ease); }
.step__s { font-size: var(--fs-base); color: var(--c-ink-3); }
.inc__cb:checked ~ .steps .step__t { color: var(--c-ink); }
.inc__cb:checked ~ .steps .step__n { background: var(--c-btn); box-shadow: none; }
.inc__cb:checked ~ .steps .step:nth-child(2) .step__t, .inc__cb:checked ~ .steps .step:nth-child(2) .step__n { transition-delay: var(--d-3); }
.inc__cb:checked ~ .steps .step:nth-child(3) .step__t, .inc__cb:checked ~ .steps .step:nth-child(3) .step__n { transition-delay: var(--d-5); }
.inc__cb:checked ~ .steps .step:nth-child(4) .step__t, .inc__cb:checked ~ .steps .step:nth-child(4) .step__n { transition-delay: var(--t-slow); }

.inc__more-t { margin-top: var(--s-20); font-size: var(--fs-lg); font-weight: 500; color: var(--c-ink-2); }
.inc__links { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .inc__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inc__links a { display: grid; gap: var(--s-1); height: 100%; padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); border: 1px solid var(--c-glass-line); background: var(--c-glass); text-decoration: none; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.inc__links a:hover { border-color: var(--c-glass-line-hover); background: var(--c-glass-hover); }
.inc__links b { font-size: var(--fs-lg); line-height: 1.3; }
.inc__links span { font-size: var(--fs-sm); color: var(--c-ink-3); }

/* 27. Проще переделать ------------------------------------------------------- */
.redo__grid { list-style: none; padding: 0; margin-top: var(--s-12); display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .redo__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 959px) { .redo__w--3 { display: none; } }
.redo__w a { display: grid; gap: var(--s-3); text-decoration: none; color: var(--c-ink-3); font-size: var(--fs-sm); }
.redo__media { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-glass-line); transition: border-color var(--t-fast) var(--ease); }
.redo__media img { width: 100%; max-width: var(--w-shot-max); height: auto; }
.redo__w a:hover .redo__media, .redo__w a:focus-visible .redo__media { border-color: var(--c-glass-line-hover); }
.redo__act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-12); }

/* 28. Как начать ------------------------------------------------------------- */
.how__list { list-style: none; padding: 0; margin-top: var(--s-12); display: grid; gap: var(--s-10); }
@media (min-width: 800px) { .how__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); } }
.how__n { font-size: var(--fs-num); font-weight: 600; line-height: 1; letter-spacing: var(--ls-display); color: var(--c-accent); opacity: 0.85; }
.how__t { margin-top: var(--s-4); font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.how__s { margin-top: var(--s-2); font-size: var(--fs-base); color: var(--c-ink-3); }

/* 29. Появление и ход анимаций ---------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-in="title"] { animation: in-fade var(--t-base) var(--ease) both; }
  .js [data-in="lead"] { animation: in-fade var(--t-base) var(--ease) var(--d-1) both; }
  .js [data-in="tag"] { animation: in-fade var(--t-base) var(--ease) var(--d-2) both; }
  .js [data-in="act"] { animation: in-fade var(--t-base) var(--ease) var(--d-4) both; }
  .js [data-in="shot"] .scan__card { animation: in-rise var(--t-slow) var(--ease-out) var(--d-2) both; }
  .js [data-in="shot"] .scan__st { animation: in-drop var(--t-slow) var(--ease-out) var(--d-5) both; }

  /* проверка: пункты по очереди зажигают галочки, полоса проверок вырастает слева направо */
  .js .scan__list li { animation: in-fade var(--t-base) var(--ease) calc(var(--d-5) + var(--n) * var(--d-4)) both; }
  .js .scan__tick { animation: tick-pop var(--t-base) var(--ease-spring) calc(var(--d-5) + var(--n) * var(--d-4) + var(--d-2)) both; }
  .js .scan__bars i { animation: bar-up var(--t-base) var(--ease-out) calc(var(--d-5) + var(--i) * 30ms) both; }
  .js .scan__live::after { animation: ping var(--t-ping) var(--ease-out) var(--d-5) 3 both; }

  .js [data-r] { opacity: 0; translate: 0 var(--s-6); transition: opacity var(--t-slow) var(--ease), translate var(--t-slow) var(--ease-out); }
  .js [data-r].is-in { opacity: 1; translate: 0 0; }
  .js .h48__ring-fg { stroke-dashoffset: 100; transition: stroke-dashoffset var(--t-fill) var(--ease-out); }
  .js .h48__fig.is-in .h48__ring-fg { stroke-dashoffset: 0; }
}
@keyframes in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-rise { from { opacity: 0; translate: 0 var(--s-8); } to { opacity: 1; translate: 0 0; } }
@keyframes in-drop { from { opacity: 0; translate: 0 calc(-1 * var(--s-8)); rotate: -12deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes tick-pop { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes bar-up { from { scale: 1 0.12; opacity: 0; } to { scale: 1 1; opacity: 1; } }
@keyframes ping { from { opacity: 0.7; scale: 1; } to { opacity: 0; scale: 3.2; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important; }
}

/* 2026-11-20, итоговая проверка (доступность.py): подпись поверх сияния давала контраст 3,9 */
.scan figcaption { display: inline-block; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: rgb(12 7 22 / 0.82); color: var(--c-ink); }
