@font-face { font-family: 'Onest'; src: url('/fonts/Onest-Cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
             unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('/fonts/Onest-CyrillicExt.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
             unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; src: url('/fonts/Onest-Latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
             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: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

/* AMLCORE — главная, четвёртая версия (29.11.2026). Белая страница, первый экран и два акцентных блока —
   сине-фиолетовые со скруглением, всё по центру; дальше светло-голубые карточки и синие кнопки-«пилюли».
   Своё у страницы — шкала риска из четырёх уровней (виджет первого экрана, вкладки категорий, значки). */
:root {
  --ink: #0c1220; --text: #1b2330; --muted: #5b6b7f; --faint: #8b97a8; --line: #e3e8f0;
  --paper: #fff; --card: #eef3fb; --card-d: #e3ebf8;
  --accent: #2b5bff; --accent-d: #1d49e6; --accent-soft: #e4ecff;
  --indigo: linear-gradient(116deg, #241c6e 0%, #25327f 46%, #1a4b90 100%);
  --low: #17804f; --low-bg: #dff3e9; --medium: #a85d06; --medium-bg: #fdefd8; --high: #c8322b; --high-bg: #fde6e4; --severe: #8f1420; --severe-bg: #f8d5d9;
  --n-low: #4be0a4; --n-medium: #ffc45a; --n-high: #ff9069; --n-severe: #ff6676;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1080px; --pad: 24px; --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[data-dark] :focus-visible, .on-dark :focus-visible, .band :focus-visible, .final :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 2px var(--accent); }
.skip:focus { top: 12px; }

h1 { font-size: clamp(33px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.7vw, 44px); line-height: 1.12; font-weight: 650; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sec-lead { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 58ch; text-wrap: balance; }

/* ---- кнопки: «пилюли» ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s var(--ease); }
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-small { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-big { height: 60px; padding: 0 34px; font-size: 18px; }
.btn-wide { width: 100%; }
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { background: var(--accent-d); box-shadow: 0 14px 28px -14px #2b5bffcc; }
.btn-white { background: radial-gradient(70% 160% at 72% 50%, #cddcff 0%, #fff 62%); color: var(--ink); }
.btn-white:hover { box-shadow: 0 0 0 4px #ffffff33; }
.btn-outline { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-outline:hover { background: #ffffff1f; }
.btn-soft { background: var(--accent-soft); color: var(--accent-d); }
.btn-soft:hover { background: #d5e1ff; }
.btn-cta { min-width: min(340px, 100%); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--accent-d); }
.more svg { transition: transform 0.25s var(--ease); }
.more:hover svg { transform: translateX(3px); }

/* ---- подсказка о языке ---- */
.hint { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 44px 9px 16px; position: relative; z-index: 31; background: var(--ink); color: #dfe4ec; font-size: 14px; }
.hint a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hint button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.hint button:hover { background: #ffffff1f; }

/* ---- шапка: над первым экраном прозрачная, дальше — плавающая светлая «пилюля» ---- */
.top { position: sticky; top: 0; z-index: 30; height: 0; }
.top-pill { position: relative; top: 20px; display: flex; align-items: center; gap: 28px; width: min(calc(var(--wrap) + 28px), calc(100% - 40px)); height: 62px; margin: 0 auto; padding: 0 12px 0 22px;
  border-radius: 999px; background: #eef3fbf0; box-shadow: 0 14px 30px -22px #1b2a5a66; color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.on-dark .top-pill { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo { display: flex; align-items: center; flex: none; }
.logo-white { display: none; }
.on-dark .logo-white { display: block; }
.on-dark .logo-ink { display: none; }
.top-nav { display: flex; gap: 2px; margin: 0 auto; }
.top-nav a { padding: 9px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; transition: background-color 0.15s ease; }
.top-nav a:hover { background: #0c12200f; }
.on-dark .top-nav a:hover { background: #ffffff1f; }
.top-side { display: flex; align-items: center; gap: 6px; }
.lang, .top-login { padding: 9px 12px; border-radius: 999px; font-size: 15.5px; font-weight: 600; }
.lang { font-size: 14px; }
.lang:hover, .top-login:hover { background: #0c12200f; }
.on-dark .lang:hover, .on-dark .top-login:hover { background: #ffffff1f; }
.btn-sign { background: var(--ink); color: #fff; }
.btn-sign:hover { background: #1c2740; }
.on-dark .btn-sign { background: #fff; color: var(--ink); }
.on-dark .btn-sign:hover { background: #e4ecff; }
.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: #0c12200f; }
.on-dark .menu summary:hover { background: #ffffff1f; }
.menu-panel { position: absolute; right: -12px; top: 56px; width: min(320px, calc(100vw - 24px)); padding: 12px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px #0b1220a6; }
.menu-panel nav a { display: block; padding: 13px 14px; border-radius: 14px; font-size: 17px; font-weight: 550; }
.menu-panel nav a:hover { background: var(--card); }
.menu-side { display: grid; gap: 6px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.menu-lang { padding: 10px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }

/* ---- синие блоки: первый экран, цифры, финал ---- */
.hero, .band, .final { position: relative; overflow: hidden; margin: 0 10px; border-radius: 36px; background: var(--indigo); color: #fff; text-align: center; isolation: isolate; }
.hero::before, .band::before, .final::before { content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(46% 60% at 88% 34%, #2f6fd066 0%, #2f6fd000 70%), radial-gradient(40% 50% at 6% 88%, #4a2fb04d 0%, #4a2fb000 70%); }
.lines { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; fill: none; stroke: #ffffff24; stroke-width: 1; pointer-events: none; }
.lines circle, .lines rect { fill: #ffffff0d; stroke: #ffffff33; }

.hero { margin-top: 10px; padding: 148px 0 56px; }
.hero h1 { color: #b9c9ff; }
.hero h1 .acc { color: #fff; }
.hero .lead { max-width: 47ch; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #e2e8fb; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero .actions { margin-top: 36px; }
.hero .actions .btn { min-width: 250px; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 15.5px; font-weight: 500; color: #dbe4fb; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--n-low); }

/* ---- виджет проверки ---- */
.scan { --lvc: var(--n-low); position: relative; max-width: 760px; margin: 52px auto 0; padding: 22px 24px; border-radius: 28px; background: #ffffff17; box-shadow: inset 0 0 0 1px #ffffff38, 0 40px 70px -40px #050a2499; text-align: left;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scan.lv-medium { --lvc: var(--n-medium); } .scan.lv-high { --lvc: var(--n-high); } .scan.lv-severe { --lvc: var(--n-severe); }
.scan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; color: #fff; }
.scan-net { padding: 5px 11px; border-radius: 999px; background: #ffffff1f; font-family: var(--mono); font-size: 12.5px; color: #e2e8fb; white-space: nowrap; }
.scan-tabs { display: flex; gap: 6px; margin: 16px -24px 0; padding: 0 24px 2px; overflow-x: auto; scrollbar-width: none; }
.scan-tabs::-webkit-scrollbar { display: none; }
.scan-tab { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #ffffff1a; font-size: 14.5px; font-weight: 550; color: #dbe4fb; white-space: nowrap; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.scan-tab:hover { background: #ffffff2e; color: #fff; }
.scan-tab[aria-selected='true'] { background: #fff; color: var(--ink); }
.ts { display: none; }
.scan-panel { position: relative; margin-top: 16px; }
.scan-addr { display: flex; align-items: center; min-height: 50px; padding: 0 18px; border-radius: 16px; background: #0b103066; box-shadow: inset 0 0 0 1px #ffffff26; }
.scan-addr code { font-family: var(--mono); font-size: 15px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-addr code::after { content: ''; display: none; width: 8px; height: 17px; margin-left: 2px; vertical-align: -3px; background: #b9c9ff; }
.scan.is-typing .scan-addr code::after { display: inline-block; }
.scan-steps { display: none; position: absolute; inset: 70px 0 auto; gap: 14px; padding: 4px; font-size: 16.5px; color: #aab7de; }
.scan-steps li { display: flex; align-items: center; gap: 10px; transition: color 0.25s ease; }
.scan-steps svg { color: #ffffff40; transition: color 0.25s ease; }
.scan-steps li.on { color: #fff; }
.scan-steps li.on svg { color: var(--n-low); }
.scan.is-scanning .scan-steps { display: grid; }
.scan-result { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); grid-template-areas: 'score sub' 'scale cats' 'reason cats'; grid-template-rows: auto auto 1fr; column-gap: 36px; align-items: start; min-height: 166px; margin-top: 20px; transition: opacity 0.35s ease; }
.scan.is-scanning .scan-result { opacity: 0; }
.scan-score { grid-area: score; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.scan-num { display: flex; align-items: baseline; gap: 8px; }
.scan-num b { font-size: 64px; line-height: 0.9; font-weight: 650; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.scan-num span { font-size: 15px; color: #b6c2e6; }
.scan-lv { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #0b103059; font-size: 15px; font-weight: 600; color: var(--lvc); white-space: nowrap; }
.scale { grid-area: scale; width: 100%; height: 14px; margin-top: 16px; overflow: visible; }
.sc { opacity: 0.38; } .sc-low { fill: var(--n-low); } .sc-medium { fill: var(--n-medium); } .sc-high { fill: var(--n-high); } .sc-severe { fill: var(--n-severe); }
.lv-low .sc-low, .lv-medium .sc-medium, .lv-high .sc-high, .lv-severe .sc-severe { opacity: 1; }
.scale-at { fill: #fff; transition: x 0.7s var(--ease); }
.scan-reason { grid-area: reason; margin-top: 16px; padding-left: 12px; border-left: 3px solid var(--lvc); font-size: 15.5px; line-height: 1.4; font-weight: 550; color: #fff; }
.scan-sub { grid-area: sub; font-size: 13.5px; color: #b6c2e6; }
.cats { grid-area: cats; display: grid; gap: 11px; margin-top: 12px; }
.cat { display: grid; grid-template-columns: 16px minmax(0, 1fr) 60px 40px; align-items: center; gap: 10px; font-size: 14.5px; color: #eef2fd; }
.cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.cat-bar { width: 100%; height: 6px; }
.cat-track { fill: #ffffff26; }
.cat-fill { fill: var(--n-low); }
.cat-fill.grow { transform-box: fill-box; transform-origin: 0 50%; animation: grow 0.7s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.cat-low .lv { color: var(--n-low); } .cat-medium .lv { color: var(--n-medium); } .cat-high .lv { color: var(--n-high); } .cat-severe .lv { color: var(--n-severe); }
.cat-medium .cat-fill { fill: var(--n-medium); } .cat-high .cat-fill { fill: var(--n-high); } .cat-severe .cat-fill { fill: var(--n-severe); }
.scan-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff26; font-size: 13px; line-height: 1.35; color: #b6c2e6; }
.scan-pdf { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border-radius: 999px; background: #ffffff1f; font-size: 14px; font-weight: 600; color: #fff; }
.scan-pdf:hover { background: #ffffff33; }

/* ---- блок с цифрами ---- */
.band { margin-top: 96px; padding: 68px 0 72px; }
.band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; }
.stats div { padding: 0 20px; }
.stats div + div { border-left: 1px solid #ffffff33; }
.stats dt { font-size: clamp(40px, 5vw, 62px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stats dd { margin: 12px auto 0; max-width: 18ch; font-size: 17px; line-height: 1.35; color: #cfdaf7; }

/* ---- разделы ---- */
.sec { padding-top: 112px; }
.sec-head { display: grid; justify-items: center; text-align: center; }
.sec-head h2 { max-width: 24ch; }

/* почему: три колонки с разделителями */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px; }
.why div { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; align-content: start; padding: 0 32px; }
.why div:first-child { padding-left: 0; } .why div:last-child { padding-right: 0; }
.why div + div { border-left: 1px solid var(--line); }
.why .art { grid-row: span 2; width: 64px; height: 64px; }
.why dt { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.why dd { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* карточки */
.card { padding: 36px; border-radius: 28px; background: var(--card); }
.card h3 { font-size: 24px; letter-spacing: -0.015em; }
.card p { margin-top: 10px; font-size: 16.5px; color: var(--muted); }
.card-big { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 40px; align-items: center; margin-top: 56px; padding: 40px; }
.card-big h3 { font-size: 28px; letter-spacing: -0.02em; }
.card-pill { display: inline-block; margin-top: 20px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--accent-d); }
.card .card-pill { color: var(--accent-d); }
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.card-demo figcaption, .split-demo figcaption { margin-top: 12px; font-size: 13px; color: var(--faint); }
.card-pic { width: 104px; height: 104px; margin: -8px 0 14px -8px; }
.nets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.net { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -10px #1b2a5a40; }
.net b { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.net span { display: flex; gap: 4px; }
.net i { padding: 2px 6px; border-radius: 6px; background: var(--card); font-family: var(--mono); font-size: 11.5px; font-style: normal; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.demo { position: relative; width: 100%; border-radius: 22px; background: #dfe6f3; }
.demo-trace { aspect-ratio: 660 / 290; }
.demo-api { aspect-ratio: 358 / 404; background: #0f151b; }
.demo[data-live] { background: none; aspect-ratio: auto; }
.demo-trace .ss-stage { box-shadow: 0 20px 40px -28px #1b2a5a59; }

/* категории: вкладки по уровням риска и плитки */
.lv { flex: none; }
.cat-tabs { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.js .cat-tabs { display: flex; }
.tab { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--card); font-size: 16px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.tab i { padding: 2px 8px; border-radius: 999px; background: #fff; font-size: 13px; font-style: normal; font-weight: 600; color: var(--muted); }
.tab:hover { background: var(--card-d); color: var(--ink); }
.tab-low .lv { color: var(--low); } .tab-medium .lv { color: var(--medium); } .tab-high .lv { color: var(--high); } .tab-severe .lv { color: var(--severe); }
.tab[aria-selected='true'] { color: var(--ink); }
.tab-low[aria-selected='true'] { background: var(--low-bg); } .tab-medium[aria-selected='true'] { background: var(--medium-bg); }
.tab-high[aria-selected='true'] { background: var(--high-bg); } .tab-severe[aria-selected='true'] { background: var(--severe-bg); }
.tab[aria-selected='true'] i { color: var(--ink); }
.cat-panels { margin-top: 20px; }
.cat-panel + .cat-panel { margin-top: 28px; }
.js .cat-panel + .cat-panel { margin-top: 0; }
.cat-panel-h { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 17px; }
.js .cat-panel-h { display: none; }
.cts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ct { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 20px; border-radius: 22px; background: var(--card); font-size: 16px; line-height: 1.3; font-weight: 550; color: var(--ink); }
.ct .lv { width: 36px; height: 36px; padding: 10px; border-radius: 12px; }
.ct-low .lv { background: var(--low-bg); color: var(--low); } .ct-medium .lv { background: var(--medium-bg); color: var(--medium); }
.ct-high .lv { background: var(--high-bg); color: var(--high); } .ct-severe .lv { background: var(--severe-bg); color: var(--severe); }
.sources { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px 40px; margin-top: 40px; padding: 30px 36px; border-radius: 28px; background: var(--card); }
.sources h3 { font-size: 20px; }
.sources ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 16.5px; }
.sources li { position: relative; padding-left: 20px; color: var(--text); }
.sources li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* три шага: крупные номера */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 96px; }
.steps li { position: relative; padding: 72px 32px 34px; border-radius: 28px; background: var(--card); }
.step-n { position: absolute; left: 28px; top: -46px; font-size: 108px; line-height: 1; font-weight: 650; letter-spacing: -0.05em; color: var(--accent); }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 10px; font-size: 16.5px; color: var(--muted); }
.cta-line { display: grid; justify-items: center; gap: 30px; margin-top: 72px; text-align: center; }
.cta-line p { max-width: 24ch; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }

/* API: светлый блок, слева текст, справа сцена */
.block { padding: 64px; border-radius: 36px; background: var(--card); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.3vw, 40px); }
.split .sec-lead { text-wrap: pretty; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; font-size: 17px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 3px; color: var(--accent); }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 28px; background: var(--card); }
.plan-best { background: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 34px 60px -40px #2b5bff99; }
.plan-tag { position: absolute; right: 22px; top: 22px; padding: 6px 12px; border-radius: 999px; background: var(--accent); font-size: 13px; font-weight: 600; color: #fff; }
.plan h3 { font-size: 26px; letter-spacing: -0.02em; }
.plan-for { margin-top: 6px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.plan-price b { font-size: 60px; line-height: 0.95; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); }
.plan-price span { font-size: 15px; color: var(--muted); }
.spec { margin: 26px 0 28px; border-top: 1px solid #d6dfee; }
.spec div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #d6dfee; font-size: 15.5px; }
.plan-best .spec, .plan-best .spec div { border-color: var(--line); }
.spec dt { color: var(--muted); }
.spec dd { text-align: right; font-weight: 600; color: var(--ink); }
.plan .btn { margin-top: auto; height: 54px; font-size: 16.5px; }
.plan .btn-soft { background: #fff; }
.plan .btn-soft:hover { background: var(--accent-soft); }
.plans-note { margin-top: 24px; text-align: center; font-size: 15px; color: var(--faint); }

/* кому нужно */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.who div { padding: 28px; border-radius: 28px; background: var(--card); }
.who dt { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.who dd { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* вопросы */
.faq-in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 56px; }
.faq-side { padding: 28px; border-radius: 28px; background: var(--card); }
.faq-side p { margin: 10px 0 22px; font-size: 16px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); list-style: none; cursor: pointer; }
.faq details:first-child summary { padding-top: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-d); }
.chev { flex: none; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { max-width: 68ch; padding: 0 44px 24px 0; color: var(--muted); }

/* финальный блок и подвал */
.final { margin-top: 112px; padding: 92px 0 96px; }
.final h2 { max-width: 20ch; margin: 0 auto; color: #fff; }
.final p { max-width: 50ch; margin: 18px auto 34px; font-size: 19px; color: #d6e0fa; }
.foot { padding: 52px 0 44px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.foot nav a:hover { color: var(--accent-d); }
.foot-note { max-width: 80ch; font-size: 14px; line-height: 1.5; }
.foot-note + .foot-note { margin-top: 10px; }

/* вход первого экрана: один раз, при загрузке */
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .hero-in > * { animation: settle 0.7s var(--ease) both; }
.js .hero-in > :nth-child(2) { animation-delay: 0.07s; } .js .hero-in > :nth-child(3) { animation-delay: 0.14s; }
.js .hero-in > :nth-child(4) { animation-delay: 0.24s; } .js .hero-in > :nth-child(5) { animation-delay: 0.32s; }

/* страница 404 и заготовка картинки для соцсетей */
.lost { padding: 180px var(--pad) 160px; }
.lost h1 { color: var(--ink); }
.lost p { margin: 18px 0 32px; font-size: 19px; color: var(--muted); }
.lost .actions { justify-content: flex-start; }
.lost .btn-outline { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.og { width: 1200px; height: 630px; overflow: hidden; }
.og-card { position: relative; width: 1200px; height: 630px; background: var(--indigo); overflow: hidden; }
.og-mark { position: absolute; right: -90px; top: 55px; width: 520px; height: 520px; fill: #ffffff1a; }
.og-text { position: absolute; left: 72px; top: 64px; width: 800px; color: #fff; }
.og-text p { margin-top: 92px; font-size: 26px; font-weight: 550; color: #dbe4ff; }
.og-text h1 { margin-top: 12px; font-size: 68px; line-height: 1.03; color: #fff; }
.og-text span { display: block; margin-top: 46px; font-size: 21px; font-weight: 550; color: #dbe4ff; }

/* ---- планшет ---- */
@media (max-width: 1040px) {
  .top-nav a { padding: 9px 10px; }
  .card-big { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why div { padding: 0 20px; grid-template-columns: minmax(0, 1fr); }
  .why .art { grid-row: auto; margin-bottom: 14px; }
  .block { padding: 44px; }
}
@media (max-width: 880px) {
  .top-nav, .top-login, .lang { display: none; }
  .menu { display: block; }
  .top-side { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stats div:nth-child(3) { border-left: 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split-demo { max-width: 420px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .trio, .duo { grid-template-columns: minmax(0, 1fr); }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-side { order: 2; }
  .sources { grid-template-columns: minmax(0, 1fr); }
  .cts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---- телефон ---- */
@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 16.5px; }
  html { scroll-padding-top: 84px; }
  .top-pill { top: 12px; height: 56px; width: calc(100% - 24px); padding: 0 8px 0 18px; gap: 12px; }
  .top-pill .logo img { width: 113px; height: 19px; }
  .menu-panel { right: -8px; top: 52px; }
  .hero, .band, .final { margin-left: 6px; margin-right: 6px; border-radius: 28px; }
  .hero { margin-top: 6px; padding: 104px 0 36px; }
  .hero .lead { margin-top: 18px; }
  .hero .actions { margin-top: 28px; gap: 10px; }
  .hero .actions .btn, .btn-cta { width: 100%; min-width: 0; }
  .btn-big { height: 58px; font-size: 17px; }
  .scan { margin-top: 36px; padding: 18px; border-radius: 24px; }
  .scan-tabs { margin: 14px -18px 0; padding: 0 18px 2px; }
  .scan-tab { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .scan-result { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'score' 'scale' 'reason' 'sub' 'cats'; grid-template-rows: none; min-height: 336px; }
  .scan-sub { margin-top: 18px; }
  .scan-num b { font-size: 56px; }
  .cat { grid-template-columns: 16px minmax(0, 1fr) 56px 38px; gap: 8px; font-size: 14px; }
  .cat-name { white-space: normal; overflow: visible; line-height: 1.25; }
  .scan-foot { align-items: flex-start; }
  .ticks { flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
  .band { margin-top: 64px; padding: 48px 0 52px; }
  .stats { margin-top: 32px; row-gap: 30px; }
  .stats div { padding: 0 10px; }
  .stats dd { font-size: 15.5px; }
  .sec { padding-top: 76px; }
  .sec-lead { font-size: 17.5px; }
  .why { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .why div, .why div:first-child, .why div:last-child { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; }
  .why div:first-child { padding-top: 0; }
  .why div + div { border-left: 0; border-top: 1px solid var(--line); }
  .why .art { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .card-big { margin-top: 36px; padding: 24px; gap: 22px; }
  .card-big h3 { font-size: 24px; }
  .trio, .duo { gap: 10px; margin-top: 10px; }
  .card { padding: 24px; border-radius: 24px; }
  .card h3 { font-size: 22px; }
  .card-pic { width: 88px; height: 88px; margin: -6px 0 10px -6px; }
  .demo { border-radius: 16px; }
  .demo-trace { aspect-ratio: 358 / 250; }
  .cat-tabs { flex-wrap: nowrap; justify-content: flex-start; margin: 28px -18px 0; padding: 0 18px 2px; overflow-x: auto; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; height: 44px; padding: 0 14px; font-size: 15.5px; }
  .cts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ct { min-height: 62px; padding: 12px 16px; border-radius: 18px; }
  .sources { margin-top: 28px; padding: 24px; border-radius: 24px; }
  .sources ul { grid-template-columns: minmax(0, 1fr); }
  .steps { margin-top: 80px; gap: 56px; }
  .steps li { padding: 62px 24px 26px; border-radius: 24px; }
  .step-n { left: 22px; top: -40px; font-size: 92px; }
  .cta-line { gap: 24px; margin-top: 52px; }
  .block { padding: 28px 22px; border-radius: 28px; }
  .plans { gap: 10px; margin-top: 36px; }
  .plan { padding: 24px; border-radius: 24px; }
  .plan-price b { font-size: 52px; }
  .plan-tag { right: 18px; top: 18px; }
  .who { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 36px; }
  .who div { padding: 24px; border-radius: 24px; }
  .faq-in { margin-top: 32px; }
  .faq summary { padding: 18px 0; font-size: 17.5px; }
  .faq details p { padding-right: 0; }
  .final { margin-top: 76px; padding: 60px 0 64px; }
  .final p { font-size: 17.5px; }
  .foot { padding: 40px 0 32px; }
}
@media (max-width: 480px) {
  .tl { display: none; } .ts { display: inline; }
  .scan-tab { flex: 1 1 0; }
  .scan-score { flex-direction: column; align-items: flex-start; gap: 12px; }
  .scan-result { min-height: 380px; }
}
@media (max-width: 380px) {
  .btn-small { padding: 0 14px; font-size: 14px; }
  .scan-num b { font-size: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
