/* MIHNOF — дизайн-система. Один файл на весь сайт. */
:root {
  --ink: #0c0d10;
  --ink-2: #14161b;
  --ink-3: #1d2027;
  --ink-4: #2a2e37;
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --white: #fbfaf6;
  --text: #15171c;
  --muted: #5b5e66;
  --muted-light: #a2a6af;
  --line: rgba(21, 23, 28, .13);
  --line-strong: rgba(21, 23, 28, .24);
  --line-light: rgba(255, 255, 255, .11);
  --line-light-strong: rgba(255, 255, 255, .22);
  --accent: #ff5b1f;
  --accent-hover: #ff7a45;
  --accent-deep: #b93c0c;
  --accent-soft: rgba(255, 91, 31, .12);
  --ok: #3ccf8e;
  --font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1 em, h2 em, .footer-cta-title em, .display em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Типографика ---------- */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker-light { color: var(--accent); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow .dot, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 31, .18); display: inline-block; flex: none; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: inherit; opacity: .78; max-width: 62ch; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h3, h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.15; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover .ico { transform: translate(2px, -2px); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line-strong); background: transparent; }
.btn-line:hover { border-color: var(--text); }
.btn-line-light { border-color: var(--line-light-strong); color: var(--white); background: rgba(255, 255, 255, .02); }
.btn-line-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

/* ---------- Шапка ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background .3s, border-color .3s, height .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .nav-open .site-header { background: rgba(12, 13, 16, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line-light); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-mark rect { fill: var(--accent); }
.logo-mark path { fill: var(--ink); }
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: .06em; line-height: 1; display: flex; flex-direction: column; gap: 5px; }
.brand-word small { font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { padding: 10px 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(251, 250, 246, .82); border-radius: 8px; transition: color .2s; }
.nav-link:hover, .nav-link[aria-current], .nav-link[data-active] { color: var(--white); }
.nav-link[aria-current]::after, .nav-link[data-active]::after { content: ""; display: block; height: 2px; background: var(--accent); margin-top: 4px; border-radius: 2px; }
.nav-cta { margin-left: 14px; min-height: 44px; }
.mega-toggle { display: none; }
.mega { position: absolute; top: calc(100% + 14px); left: -220px; width: min(880px, 92vw); background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 22px; padding: 14px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { padding: 4px; border-radius: 14px; }
.mega-link { display: flex; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega-link:hover { background: var(--ink-3); }
.mega-link .ico { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.mega-link b { display: block; font-weight: 600; font-size: 15px; color: var(--white); }
.mega-link small { display: block; font-size: 13px; line-height: 1.45; color: var(--muted-light); margin-top: 3px; }
.mega-sub { display: block; margin: 0 0 4px 52px; padding: 4px 0; font-size: 13.5px; color: rgba(251, 250, 246, .78); text-decoration: none; }
.mega-sub::before { content: "↳ "; color: var(--accent); }
.mega-sub:hover { color: var(--white); text-decoration: underline; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 91, 31, .08); font-size: 14px; color: var(--muted-light); }
.mega-foot a { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mega-foot .ico { width: 16px; height: 16px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light-strong); background: transparent; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), top .3s; }
.nav-toggle i:first-of-type { top: 18px; }
.nav-toggle i:last-of-type { top: 26px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { top: 22px; transform: rotate(-45deg); }

/* ---------- Секции ---------- */
.sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec-light { background: var(--white); }
.sec-paper { background: var(--paper); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink-2 { background: var(--ink-2); color: var(--white); }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head > p, .sec-head-side { font-size: 18px; color: var(--muted); max-width: 52ch; }
.sec-ink .sec-head > p, .sec-ink-2 .sec-head > p { color: var(--muted-light); }
.sec-ink h2 em, .page-hero h1 em, .hero h1 em { color: var(--accent); }
.sec-head-solo { display: block; max-width: 900px; }
.sec-head-solo > p { margin-top: 24px; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 3px 3px; }

/* ---------- Главный экран ---------- */
.hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; background: radial-gradient(closest-side, rgba(255, 91, 31, .16), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(44px, 6.3vw, 92px); letter-spacing: -.045em; line-height: .98; }
.hero h1 .h1-sub { display: block; font-size: clamp(19px, 1.75vw, 25px); letter-spacing: -.015em; line-height: 1.35; margin-top: 26px; color: var(--white); font-weight: 500; max-width: 30em; }
.hero .lead { margin-top: 28px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); margin-top: clamp(56px, 7vw, 96px); }
.hero-proof li { padding: 26px 24px 30px 0; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--muted-light); }
.hero-proof li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.hero-proof b { display: block; color: var(--white); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.hero-proof .ico { color: var(--accent); width: 24px; height: 24px; }

.system-map { width: 100%; height: auto; overflow: visible; }
.system-map .wire { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; }
.system-map .wire-flow { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 14; animation: flow 2.6s linear infinite; opacity: .85; }
.system-map .wire-out { stroke: var(--ok); }
.system-map .node rect { fill: var(--ink-3); stroke: rgba(255, 255, 255, .12); }
.system-map .node text { fill: var(--white); font: 600 13px var(--font); }
.system-map .node .sub { fill: var(--muted-light); font: 400 10.5px var(--mono); letter-spacing: .06em; }
.system-map .node-out rect { fill: rgba(60, 207, 142, .08); stroke: rgba(60, 207, 142, .45); }
.system-map .core-ring { fill: none; stroke: rgba(255, 91, 31, .35); stroke-dasharray: 2 6; transform-origin: 330px 300px; animation: spin 40s linear infinite; }
.system-map .core-ring-2 { stroke: rgba(255, 255, 255, .12); stroke-dasharray: none; }
.system-map .core-bg { fill: var(--ink-2); stroke: var(--accent); stroke-width: 1.5; }
.system-map .core-m { fill: var(--accent); }
.system-map .core-label { fill: var(--muted-light); font: 500 10.5px var(--mono); letter-spacing: .14em; }
.system-map .packet { fill: var(--accent); }
.system-map .packet-out { fill: var(--ok); }
.system-map .pulse { fill: none; stroke: var(--accent); transform-origin: 330px 300px; animation: pulse 2.8s var(--ease) infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Внутренний hero ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 36px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -260px; background: radial-gradient(closest-side, rgba(255, 91, 31, .14), transparent 70%); pointer-events: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--muted-light); margin-bottom: clamp(36px, 5vw, 64px); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: rgba(251, 250, 246, .9); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px 72px; align-items: end; position: relative; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.045em; line-height: 1; }
.page-hero .lead { margin-top: 26px; }
.hero-facts { border-top: 1px solid var(--line-light); }
.hero-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.hero-facts span { color: var(--muted-light); }
.hero-facts b { font-weight: 600; text-align: right; }
.hero-art-box { margin-bottom: 26px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, .02); padding: 22px; }

/* ---------- Подменю страницы ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(251, 250, 246, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-row { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 58px; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 999px; transition: background .2s, color .2s; }
.subnav a:hover { color: var(--text); background: rgba(21, 23, 28, .05); }
.subnav a.is-active { color: var(--text); background: rgba(21, 23, 28, .08); }
.subnav .subnav-cta { margin-left: auto; color: var(--accent-deep); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.subnav .subnav-cta .ico { width: 15px; height: 15px; }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card { position: relative; background: var(--white); padding: 30px 28px 28px; display: flex; flex-direction: column; min-height: 320px; transition: background .25s; }
.svc-card:hover { background: #fffdf8; }
.svc-card-wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 12px 48px; min-height: 0; background: var(--ink); color: var(--white); align-items: start; }
.svc-card-wide:hover { background: var(--ink-2); }
.svc-card-wide .svc-top { grid-row: span 3; flex-direction: column; align-items: flex-start; gap: 18px; }
.svc-card-wide h3 { font-size: clamp(26px, 2.6vw, 36px); }
.svc-card-wide p { color: var(--muted-light) !important; }
.svc-card-wide .svc-more { grid-column: 3; grid-row: 1; justify-self: end; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.svc-card-wide .svc-num { color: var(--muted-light); }
.svc-top .ico { width: 36px; height: 36px; color: var(--accent-deep); stroke-width: 1.4; }
.svc-card-wide .svc-top .ico { color: var(--accent); width: 44px; height: 44px; }
.svc-card h3 a { text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.svc-subs { position: relative; z-index: 2; margin-top: 16px; display: grid; gap: 6px; }
.svc-subs a { font-size: 14px; font-weight: 500; color: var(--accent-deep); text-decoration: none; }
.svc-card-wide .svc-subs a { color: var(--accent); }
.svc-subs a::before { content: "↳ "; }
.svc-subs a:hover { text-decoration: underline; }
.svc-more { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.svc-more .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .ico { transform: translate(3px, -3px); color: var(--accent); }

/* ---------- Сценарии (интерактивная схема) ---------- */
.scn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.scn-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-light-strong); background: transparent; color: var(--muted-light); font-weight: 500; font-size: 15px; cursor: pointer; transition: all .2s; }
.scn-tabs button:hover { color: var(--white); border-color: var(--white); }
.scn-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.scn-panel { border: 1px solid var(--line-light); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); overflow: hidden; }
.scn-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line-light); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.scn-head span:first-child { display: inline-flex; gap: 10px; align-items: center; color: var(--white); }
.scn-flow { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; padding: 28px 24px; gap: 0; }
.scn-step { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.scn-step-core { border-color: rgba(255, 91, 31, .45); background: radial-gradient(120% 80% at 50% 0%, rgba(255, 91, 31, .12), transparent 60%), var(--ink-2); }
.scn-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.scn-source { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--ink-3); }
.scn-source .ico { color: var(--accent); width: 30px; height: 30px; }
.scn-source b { display: block; font-size: 15px; }
.scn-source small { color: var(--muted-light); font-size: 12.5px; font-family: var(--mono); }
.scn-fields { display: grid; gap: 8px; font-size: 14px; }
.scn-fields div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-light); }
.scn-fields span { color: var(--muted-light); }
.scn-checks { display: grid; gap: 10px; font-size: 14.5px; }
.scn-checks li { display: flex; gap: 10px; align-items: center; }
.scn-checks .ico { width: 18px; height: 18px; color: var(--accent); }
.scn-core-title { font-size: 18px; font-weight: 600; }
.scn-arrow { display: grid; place-items: center; color: var(--accent); position: relative; }
.scn-arrow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1.5px dashed rgba(255, 91, 31, .5); }
.scn-arrow span { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 1px solid var(--accent); display: grid; place-items: center; font-size: 13px; }
.scn-result-title { display: flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 600; }
.scn-result-title i { width: 26px; height: 26px; border-radius: 50%; background: rgba(60, 207, 142, .16); color: var(--ok); display: grid; place-items: center; font-style: normal; font-size: 14px; }
.scn-desc { color: var(--muted-light); font-size: 14.5px; }
.scn-status { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ok); padding: 8px 12px; border-radius: 8px; background: rgba(60, 207, 142, .08); align-self: flex-start; }
.scn-exception { margin-top: auto; font-size: 13.5px; color: #ffc6ad; padding: 10px 12px; border-left: 2px solid var(--accent); background: rgba(255, 91, 31, .07); border-radius: 0 8px 8px 0; }
.scn-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: var(--muted-light); }
.scn-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.scn-foot a:hover { text-decoration: underline; }
.scn-panel.is-switching .scn-step { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Для крупных компаний ---------- */
.ent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.ent-card { background: var(--ink); padding: 32px 30px; }
.ent-card .ico { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.4; margin-bottom: 30px; }
.ent-card h3 { font-size: 21px; }
.ent-card p { color: var(--muted-light); margin-top: 12px; font-size: 15.5px; }
.ent-offer { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 34px; border-radius: var(--radius); background: linear-gradient(115deg, rgba(255, 91, 31, .16), rgba(255, 91, 31, .03) 60%); border: 1px solid rgba(255, 91, 31, .35); }
.ent-offer h3 { font-size: clamp(24px, 2.4vw, 32px); }
.ent-offer p { color: rgba(251, 250, 246, .78); margin-top: 10px; }
.ent-offer ul { display: grid; gap: 8px; font-size: 15px; }
.ent-offer li { display: flex; gap: 10px; }
.ent-offer li .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }

/* ---------- Калькулятор окупаемости ---------- */
.roi { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.roi-inputs { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; }
.roi-field { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; }
.roi-field label { font-size: 15.5px; font-weight: 500; }
.roi-field output { font-family: var(--mono); font-size: 17px; font-weight: 600; min-width: 56px; text-align: right; }
.roi-field input { grid-column: span 2; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--paper-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
.roi-currency { display: flex; gap: 6px; }
.roi-currency label { position: relative; }
.roi-currency input { position: absolute; opacity: 0; }
.roi-currency label { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.roi-currency label:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.roi-currency label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.roi-result { background: var(--ink); color: var(--white); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.roi-label { font-size: 15px; color: var(--muted-light); }
.roi-big { font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.roi-big small { font-size: 18px; color: var(--muted-light); letter-spacing: 0; font-weight: 400; }
.roi-rows { display: grid; border-top: 1px solid var(--line-light); }
.roi-rows p { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.roi-rows span { color: var(--muted-light); }
.roi-rows b { font-variant-numeric: tabular-nums; }
.roi-note { font-size: 13.5px; color: var(--muted-light); }
.roi-result .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Мастер оценки ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.wizard-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 26px; }
.wizard-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wizard-form legend { width: 100%; font-weight: 600; font-size: 16px; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.wizard-form legend b { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.wizard-form .btn { justify-self: start; }
.wizard-result { position: sticky; top: calc(var(--header-h) + 80px); background: var(--ink); color: var(--white); border-radius: 22px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.wizard-result:focus { outline: none; }
.wizard-placeholder { border: 1px dashed var(--line-strong); border-radius: 22px; padding: 36px; color: var(--muted); display: grid; gap: 10px; align-content: start; }
.wiz-level { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--accent); }
.wiz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; border-block: 1px solid var(--line-light); }
.wiz-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.wizard-result [data-wiz-text] { color: rgba(251, 250, 246, .8); }
.wizard-result .btn { justify-self: start; margin-top: 8px; }

/* ---------- Списки, карточки ---------- */
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b93c0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.sec-ink .check-list li::before, .wizard-result .check-list li::before { background-color: rgba(255, 91, 31, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5b1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
.cards { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.sec-light .card { background: var(--paper); border-color: transparent; }
.sec-ink .card, .sec-ink-2 .card { background: var(--ink-2); border-color: var(--line-light); }
.card-num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent-deep); }
.sec-ink .card-num, .sec-ink-2 .card-num { color: var(--accent); }
.card p { color: var(--muted); font-size: 15.5px; }
.sec-ink .card p, .sec-ink-2 .card p { color: var(--muted-light); }
.card .ico-lg { width: 34px; height: 34px; color: var(--accent-deep); stroke-width: 1.4; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.sec-ink .card .ico-lg { color: var(--accent); }
.card-tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.sec-ink .card-tag { color: var(--accent); background: rgba(255, 91, 31, .12); }
.card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sec-ink .card .meta { border-color: var(--line-light); color: var(--muted-light); }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 48px 80px; align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 90px); }
.split-aside p { color: var(--muted); margin-top: 20px; }
.sec-ink .split-aside p { color: var(--muted-light); }

.signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.signals li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; font-size: 16px; }
.signals li:nth-child(odd) { border-right: 1px solid var(--line); }
.signals li:nth-child(even) { padding-left: 24px; }
.signals b { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); padding-top: 4px; }

.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: st; border-top: 1px solid var(--line-light); }
.flow-steps li { padding: 28px 28px 8px 0; position: relative; }
.flow-steps li + li { padding-left: 28px; border-left: 1px solid var(--line-light); }
.flow-steps .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.flow-steps h3 { margin: 40px 0 12px; font-size: 22px; }
.flow-steps p { color: var(--muted-light); font-size: 15px; }
.flow-steps .out { margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--line-light); font-size: 14px; }
.flow-steps .out span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 4px; }
.sec-light .flow-steps, .sec-paper .flow-steps { border-color: var(--line); }
.sec-light .flow-steps li + li, .sec-paper .flow-steps li + li { border-color: var(--line); }
.sec-light .flow-steps .num, .sec-paper .flow-steps .num { color: var(--accent-deep); }
.sec-light .flow-steps p, .sec-paper .flow-steps p, .sec-light .flow-steps .out span, .sec-paper .flow-steps .out span { color: var(--muted); }
.sec-light .flow-steps .out, .sec-paper .flow-steps .out { border-color: var(--line); }

/* Мини-схема процесса на странице услуги */
.pipe { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; margin-top: 8px; }
.pipe-step { position: relative; padding: 22px 22px 22px 0; }
.pipe-step + .pipe-step { padding-left: 22px; }
.pipe-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.pipe-step:first-child::before { background: linear-gradient(90deg, var(--accent), var(--line)); }
.pipe-step .dot { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; box-shadow: none; }
.pipe-step + .pipe-step .dot { left: 22px; }
.pipe-step b { display: block; font-size: 17px; margin: 12px 0 6px; letter-spacing: -.01em; }
.pipe-step span { font-size: 14.5px; color: var(--muted); }
.pipe-step small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- Цены ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tier-featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier-featured::before { content: "Чаще всего начинают здесь"; position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600; }
.tier-name { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.tier-for { color: var(--muted); font-size: 15px; min-height: 3em; }
.tier-featured .tier-for, .tier-featured .tier-note { color: var(--muted-light); }
.tier-price { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.tier-price-tbd { font-size: 17px; font-weight: 600; letter-spacing: 0; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.tier-featured .tier-price-tbd { background: var(--ink-3); }
.tier-term { display: flex; justify-content: space-between; padding: 12px 0; border-block: 1px solid var(--line); font-size: 15px; }
.tier-featured .tier-term { border-color: var(--line-light); }
.tier-term span { color: var(--muted); }
.tier-featured .tier-term span { color: var(--muted-light); }
.tier-list { display: grid; gap: 10px; font-size: 15px; }
.tier-list li { display: flex; gap: 10px; }
.tier-list .ico { width: 18px; height: 18px; color: var(--accent-deep); margin-top: 3px; }
.tier-featured .tier-list .ico { color: var(--accent); }
.tier-note { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.price-factors { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; padding: 22px 28px; border-radius: 18px; border: 1px dashed var(--line-strong); }
.price-factors-title { font-weight: 600; }
.price-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.price-factors ul { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); }
.price-factors li::before { content: "•"; color: var(--accent-deep); margin-right: 8px; }

/* ---------- Отрасли, статьи, связанные ---------- */
.ind-grid, .rel-grid, .art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind-card, .rel-card, .art-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line); background: var(--white); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; min-height: 220px; }
.ind-card:hover, .rel-card:hover, .art-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .35); }
.ind-card > .ico, .rel-card > .ico { width: 34px; height: 34px; color: var(--accent-deep); stroke-width: 1.4; margin-bottom: 20px; }
.ind-card b, .rel-card b, .art-card b { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; font-weight: 600; }
.ind-card span, .rel-card span { color: var(--muted); font-size: 15px; }
.ind-card i, .rel-card i, .art-card i { margin-top: auto; padding-top: 14px; font-style: normal; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.ind-card i .ico, .rel-card i .ico, .art-card i .ico { width: 16px; height: 16px; }
.sec-ink .ind-card { background: var(--ink-2); border-color: var(--line-light); }
.sec-ink .ind-card span { color: var(--muted-light); }
.sec-ink .ind-card > .ico { color: var(--accent); }
.sec-ink .ind-card:hover { border-color: var(--accent); }
.sec-light .rel-card, .sec-light .art-card { background: var(--paper); border-color: transparent; }
.sec-light .rel-card:hover, .sec-light .art-card:hover { border-color: var(--ink); }
.related-sec h2 { margin-bottom: 32px; }
.art-tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px; margin-bottom: 18px; }

/* ---------- Практика ---------- */
.work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.work-card { border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.work-card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.work-card-big { grid-row: span 2; }
.work-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-card-dark .work-meta { color: var(--muted-light); }
.status { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-live { color: #13784a; background: rgba(60, 207, 142, .14); }
.status-demo { color: var(--accent-deep); background: var(--accent-soft); }
.status-dev { color: #6b5bd6; background: rgba(107, 91, 214, .1); }
.work-card-dark .status-live { color: var(--ok); }
.work-card-dark .status-demo { color: var(--accent); background: rgba(255, 91, 31, .14); }
.work-card-dark .status-dev { color: #a99cff; background: rgba(169, 156, 255, .12); }
.work-card p { color: var(--muted); }
.work-card-dark p { color: var(--muted-light); }
.work-card h3 { font-size: clamp(24px, 2.4vw, 32px); }
.work-card details { margin-top: auto; border-top: 1px solid var(--line-light); padding-top: 14px; }
.work-card details summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.work-card details summary::-webkit-details-marker { display: none; }
.work-card details summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.work-card details[open] summary::after { content: "−"; }
.work-card details p { margin-top: 10px; font-size: 14.5px; }
.work-card details img { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line-light); }
.inbox-mock { border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-light); padding: 18px; display: grid; gap: 12px; font-size: 14px; }
.inbox-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--ink-3); }
.inbox-row .ico { color: var(--accent); width: 20px; height: 20px; }
.inbox-row small { color: var(--muted-light); display: block; font-size: 12.5px; }
.inbox-row em { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 91, 31, .14); color: var(--accent); }
.inbox-row em.ok { background: rgba(60, 207, 142, .12); color: var(--ok); }
.inbox-draft { padding: 14px; border-radius: 10px; border: 1px dashed rgba(255, 91, 31, .45); color: var(--muted-light); font-size: 13.5px; }
.inbox-draft b { color: var(--white); display: block; margin-bottom: 4px; }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; }
.wave i { flex: 1; background: var(--accent); border-radius: 2px; opacity: .8; }

/* ---------- Принципы / гарантии ---------- */
.promise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.promise-list li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.promise-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.promise-list li:nth-child(even) { padding-left: 28px; }
.promise-list .ico { width: 30px; height: 30px; color: var(--accent-deep); stroke-width: 1.5; }
.promise-list b { display: block; font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; }
.promise-list p { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-a { padding: 0 60px 26px 0; color: var(--muted); }
.faq-a p + p { margin-top: 10px; }

/* ---------- Форма ---------- */
.contact-sec { overflow: hidden; }
.contact-sec::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -340px; background: radial-gradient(closest-side, rgba(255, 91, 31, .13), transparent 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; position: relative; }
.contact-intro h2 { font-size: clamp(36px, 4.4vw, 58px); }
.contact-intro .lead { margin-top: 22px; }
.next-steps { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.next-steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 15.5px; }
.next-steps b { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.contact-direct { margin-top: 28px; display: grid; gap: 10px; }
.contact-direct li { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 500; }
.contact-direct .ico { color: var(--accent); }
.contact-direct a { text-decoration: none; border-bottom: 1px solid var(--line-light-strong); }
.contact-direct a:hover { border-color: var(--accent); }
.founder-line { margin-top: 28px; display: flex; gap: 14px; align-items: center; font-size: 14.5px; color: var(--muted-light); }
.founder-line b { color: var(--white); display: block; font-size: 15.5px; }
.avatar { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--accent); color: var(--accent); font-weight: 600; letter-spacing: .05em; }
.lead-form { background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 38px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: var(--white); box-shadow: 0 0 0 4px rgba(255, 91, 31, .18); }
.field [aria-invalid="true"] { border-color: #d0341a; background-color: #fff4f1; }
.field-error { font-size: 13px; color: #b42318; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-deep); flex: none; }
.consent a { color: var(--text); }
.consent.is-invalid { color: #b42318; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-promise { font-size: 13.5px; color: var(--muted); max-width: 34ch; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: 15px; background: rgba(60, 207, 142, .12); color: #0d5c38; }
.form-status.is-error { background: #fff1ec; color: #9a2f0b; }
.form-fallback { padding: 18px; border-radius: 14px; background: var(--paper); display: grid; gap: 12px; font-size: 14.5px; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fallback-actions .btn { min-height: 42px; font-size: 14px; }
.fallback-actions .ico { width: 18px; height: 18px; }
.alt-link { display: inline-flex; gap: 8px; align-items: center; padding: 0 16px; min-height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: 14px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.lead-form [data-submit][disabled] { opacity: .6; cursor: progress; }
.lead-form-compact { box-shadow: none; border: 1px solid var(--line); }

.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 20px; border-radius: 18px; background: var(--ink-2); color: var(--white); border: 1px solid var(--line-light-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); font-size: 14.5px; }
.consent-bar p { flex: 1 1 260px; color: var(--muted-light); }
.consent-bar a { color: var(--white); }
.consent-bar .btn { min-height: 42px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; border-top: 1px solid var(--line-light); }
main:has(#zayavka) ~ .site-footer .footer-cta { display: none; }
main:has(#zayavka) ~ .site-footer .footer-grid { padding-top: 0; }
.footer-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; padding-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line-light); }
.footer-cta .kicker { grid-column: span 2; margin-bottom: 0; }
.footer-cta-title { font-size: clamp(30px, 4vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 56px 0; }
.footer-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.footer-h2 { margin-top: 30px; }
.footer-grid ul { display: grid; gap: 10px; font-size: 15px; }
.footer-grid a { text-decoration: none; color: rgba(251, 250, 246, .85); }
.footer-grid a:hover { color: var(--accent); }
.footer-small { margin-top: 20px; font-size: 13.5px; color: var(--muted-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0; border-top: 1px solid var(--line-light); font-size: 13.5px; color: var(--muted-light); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-wordmark { font-size: clamp(90px, 22vw, 340px); font-weight: 700; letter-spacing: -.06em; line-height: .76; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); margin: 10px 0 -2px -.04em; user-select: none; white-space: nowrap; }

/* ---------- Статьи ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 760px); gap: 64px; justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14.5px; }
.toc p { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { display: grid; gap: 10px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--text); }
.prose { font-size: 18px; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-deep); }
.prose a { color: var(--accent-deep); }
.prose strong { font-weight: 600; }
.prose blockquote { margin-left: 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 14px 14px 0; font-size: 17px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--white); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; }
.formula { font-family: var(--mono); font-size: 15.5px; background: var(--ink); color: var(--white); padding: 18px 22px; border-radius: 14px; overflow-x: auto; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: 18px; background: var(--ink); color: var(--white); }
.callout .ico { color: var(--accent); width: 30px; height: 30px; }
.callout p { color: var(--muted-light); font-size: 16px; }
.callout b { color: var(--white); display: block; font-size: 18px; margin-bottom: 4px; }
.callout a { color: var(--accent); }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-size: 14.5px; color: var(--muted-light); }
.byline b { color: var(--white); font-weight: 600; }

/* ---------- Таблица сравнения ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 26%; }
.table-scroll { overflow-x: auto; border-radius: 18px; }

/* ---------- Интро-заставка (только первый визит в сессии) ---------- */
.intro { display: none; }
.intro-on .intro { display: grid; position: fixed; inset: 0; z-index: 300; place-items: center; background: var(--ink); color: var(--white); animation: intro-out .7s var(--ease) 1.45s forwards; pointer-events: none; }
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro-mark { width: 92px; height: 92px; }
.intro-path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw .9s var(--ease) .1s forwards; }
.intro-path-2 { stroke: var(--white); stroke-width: 3; animation-delay: .35s; }
.intro-word { display: flex; gap: .2em; font-weight: 700; font-size: 26px; letter-spacing: .12em; }
.intro-word span { opacity: 0; transform: translateY(12px); animation: letter .5s var(--ease) forwards; }
.intro-word span:nth-child(1) { animation-delay: .45s; } .intro-word span:nth-child(2) { animation-delay: .5s; } .intro-word span:nth-child(3) { animation-delay: .55s; }
.intro-word span:nth-child(4) { animation-delay: .6s; } .intro-word span:nth-child(5) { animation-delay: .65s; } .intro-word span:nth-child(6) { animation-delay: .7s; }
.intro-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); opacity: 0; animation: letter .5s var(--ease) .8s forwards; }
.intro-bar { width: 160px; height: 2px; background: var(--ink-4); overflow: hidden; border-radius: 2px; }
.intro-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: bar 1.25s var(--ease) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes letter { to { opacity: 1; transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: translateY(-2%); } }

/* Появление при прокрутке — только с JS и без reduced-motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .brand-word small { display: none; }
  .nav-link { padding: 10px 9px; font-size: 14.5px; }
  .nav-cta { margin-left: 8px; padding: 0 18px; }
  .mega { left: -140px; }
}
@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  /* backdrop-filter делает шапку контейнером для position:fixed — на мобильных меню должно считаться от окна */
  .site-header.is-scrolled, .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 13, 16, .97); }
  .nav { position: fixed; inset: var(--header-h) 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-light); }
  .nav-link { flex: 1; padding: 18px 0; font-size: 20px; font-weight: 600; }
  .nav-link[aria-current]::after, .nav-link[data-active]::after { display: none; }
  .nav-link[aria-current], .nav-link[data-active] { color: var(--accent); }
  .mega-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-light-strong); border-radius: 50%; background: transparent; cursor: pointer; }
  .mega-toggle .ico { transition: transform .3s; }
  .mega-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .mega { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; padding: 0 0 16px; background: transparent; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-link small { display: none; }
  .mega-foot { display: none; }
  .nav-cta { margin: 24px 0 0; min-height: 56px; }
  body.nav-open { overflow: hidden; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-proof li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .page-hero-grid, .sec-head, .split, .faq-grid, .contact-grid, .wizard { grid-template-columns: 1fr; }
  .split-aside { position: static; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .svc-card-wide .svc-top { grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .svc-card-wide .svc-more { grid-column: auto; grid-row: auto; justify-self: start; }
  .ent-grid, .tiers, .ind-grid, .rel-grid, .art-grid, .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-offer { grid-template-columns: 1fr; }
  .scn-flow { grid-template-columns: 1fr; gap: 0; }
  .scn-arrow { height: 40px; }
  .scn-arrow::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 1.5px dashed rgba(255, 91, 31, .5); }
  .scn-arrow span { transform: rotate(90deg); }
  .scn-step { min-height: 0; }
  .roi { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-big { grid-row: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe-step:nth-child(3) { padding-left: 0; }
  .pipe-step:nth-child(3) .dot { left: 0; }
  .wizard-result { position: static; }
  .price-factors { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand-word small { display: none; }
  .hero h1 { font-size: clamp(31px, 10.2vw, 54px); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li, .hero-proof li + li { padding: 18px 0; border-left: 0; }
  .hero-proof li + li { border-top: 1px solid var(--line-light); }
  .hero-actions .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(34px, 9.5vw, 48px); }
  .svc-grid, .ent-grid, .tiers, .ind-grid, .rel-grid, .art-grid, .cards-2, .cards-3, .cards-4, .flow-steps, .signals, .promise-list, .footer-grid, .pipe, .form-row-2, .wiz-cols { grid-template-columns: 1fr; }
  .svc-card-wide { grid-column: auto; }
  .svc-card { min-height: 0; }
  .flow-steps li, .flow-steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .sec-light .flow-steps li, .sec-paper .flow-steps li { border-color: var(--line); }
  .flow-steps h3 { margin-top: 16px; }
  .signals li, .signals li:nth-child(even), .promise-list li, .promise-list li:nth-child(even) { padding: 20px 0; border-right: 0; }
  .pipe-step, .pipe-step + .pipe-step { padding: 18px 0 18px 22px; }
  .pipe-step::before { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
  .pipe-step:first-child::before { background: linear-gradient(180deg, var(--accent), var(--line)); }
  .pipe-step .dot, .pipe-step + .pipe-step .dot, .pipe-step:nth-child(3) .dot { top: 24px; left: -3px; }
  .pipe-step b { margin-top: 6px; }
  .tier-featured { margin-top: 10px; }
  .faq-a { padding-right: 0; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-cta .kicker { grid-column: auto; }
  .footer-cta .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
  .ent-offer { padding: 24px; }
  .scn-flow { padding: 18px; }
  .scn-head { flex-direction: column; gap: 4px; }
  .compare { font-size: 14.5px; min-width: 560px; }
  .callout { grid-template-columns: 1fr; }
}

/* =====================================================================
   МОУШН-СЛОЙ
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.has-motion .reveal { opacity: 1; transform: none; transition: none; }
[class*="split-line"] { padding: 0 .12em .12em 0; margin: 0 -.12em -.12em 0; }

/* Переходы между страницами (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 130; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Canvas-поток */
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero > .shell, .page-hero > .shell { position: relative; z-index: 1; }

/* Первый экран */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hero h1 .h1-main { display: block; }
.hero-visual { position: relative; min-height: 600px; }
.hero-core { position: absolute; left: 46%; top: 40%; width: 108px; height: 108px; transform: translate(-50%, -50%); }
.hero-chip { position: absolute; left: var(--x, auto); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--white); background: rgba(20, 22, 27, .72); border: 1px solid var(--line-light-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; animation: chip-float 7s ease-in-out infinite alternate; }
.hero-chip:nth-child(3) { animation-delay: -2s; } .hero-chip:nth-child(4) { animation-delay: -4s; } .hero-chip:nth-child(5) { animation-delay: -1s; }
.chip-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chip-out { left: auto; right: 0; margin-top: -18px; color: var(--ok); border-color: rgba(60, 207, 142, .4); background: rgba(12, 30, 22, .7); animation: none; }
@keyframes chip-float { to { translate: 0 -12px; } }
.hero-ticker { position: absolute; right: 0; bottom: 0; width: min(350px, 100%); padding: 14px 16px 10px; border-radius: 16px; background: rgba(12, 13, 16, .74); border: 1px solid var(--line-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-ticker > p { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.hero-ticker > p em { margin-left: auto; font-style: normal; color: var(--muted-light); letter-spacing: .06em; text-transform: none; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(60, 207, 142, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(60, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 142, 0); } }
.hero-ticker ul { display: grid; }
.tk-row { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line-light); font-size: 12.5px; line-height: 1.35; }
.tk-row time { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--muted-light); padding-top: 1px; }
.tk-row b { font-weight: 500; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-row span { color: var(--ok); }
.tk-warn span { color: var(--accent); }
.tk-new { animation: tk-in .6s var(--ease); }
@keyframes tk-in { from { opacity: 0; transform: translateY(-10px); background: rgba(255, 91, 31, .12); } }

/* Бегущая строка */
.marquee { background: var(--ink); color: var(--white); padding: 26px 0 30px; border-top: 1px solid var(--line-light); overflow: hidden; }
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; animation: marquee 48s linear infinite; font-size: clamp(34px, 5.6vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; will-change: transform; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: .45em; }
.marquee-row-2 .marquee-track { animation-direction: reverse; animation-duration: 60s; font-size: clamp(24px, 3.4vw, 48px); }
.marquee-row-2 span { color: transparent; -webkit-text-stroke: 1px rgba(251, 250, 246, .4); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Услуги крупным списком */
.svc-list { border-top: 1px solid var(--line-light); }
.svc-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 56px; gap: 12px 28px; align-items: center; padding: 30px 12px; border-bottom: 1px solid var(--line-light); isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 91, 31, .12), rgba(255, 91, 31, .02)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row-num { font-family: var(--mono); font-size: 13px; color: var(--muted-light); }
.svc-row-main { display: grid; gap: 10px; }
.svc-row-link { font-size: clamp(26px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--white); text-decoration: none; transition: color .3s, transform .5s var(--ease); display: inline-block; }
.svc-row-link::after { content: ""; position: absolute; inset: 0; }
.svc-row:hover .svc-row-link { color: var(--accent); transform: translateX(10px); }
.svc-row-subs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-row-subs a { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-light-strong); color: rgba(251, 250, 246, .8); text-decoration: none; transition: border-color .2s, color .2s; }
.svc-row-subs a:hover { border-color: var(--accent); color: var(--white); }
.svc-row-desc { color: var(--muted-light); font-size: 15.5px; }
.svc-row-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light-strong); display: grid; place-items: center; color: var(--white); transition: background .3s, border-color .3s, transform .5s var(--ease), color .3s; }
.svc-row:hover .svc-row-arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }
.svc-preview { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; margin: -100px 0 0 40px; border-radius: 18px; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255, 91, 31, .45); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); pointer-events: none; opacity: 0; scale: .8; transition: opacity .3s, scale .45s var(--ease); }
.svc-preview.is-on { opacity: 1; scale: 1; }
.pv { display: none; }
.pv.is-active { display: block; }
.pv svg { width: 100%; height: auto; }
.pv-t { fill: var(--muted-light); font: 500 10px var(--mono); letter-spacing: .14em; }
.pv-l { fill: var(--white); font: 600 12px var(--font); text-anchor: middle; }
.pv-s { fill: var(--white); font: 500 11px var(--font); }
.pv-dark { fill: var(--ink); font-weight: 600; }
.pv-box { fill: var(--ink-3); stroke: rgba(255, 255, 255, .14); }
.pv-box-acc { stroke: var(--accent); }
.pv-box-ok { stroke: var(--ok); }
.pv-line { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 4 4; fill: none; }
.pv-draw { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 420; animation: pv-draw 3s var(--ease) infinite; }
.pv-pin { fill: var(--ink-2); stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pv-pop 3s var(--ease) infinite; }
.pv-pin-ok { stroke: var(--ok); fill: var(--ok); }
.pv-move { fill: var(--accent); animation: pv-move 2.4s var(--ease) infinite; }
.pv-typing circle { fill: var(--muted-light); animation: pv-blink 1.2s infinite; }
.pv-typing circle:nth-child(2) { animation-delay: .2s; } .pv-typing circle:nth-child(3) { animation-delay: .4s; }
.pv-bubble { fill: var(--accent); animation: pv-fade 3s infinite; }
.pv-pkt { fill: var(--accent); animation: pv-pkt 1.8s linear infinite; }
.pv-pkt-2 { fill: var(--ok); animation-direction: reverse; animation-duration: 2.2s; }
.pv-pkt-3 { animation-delay: -.9s; }
.pv-paper { fill: #f3efe6; }
.pv-ink { stroke: rgba(21, 23, 28, .32); stroke-width: 6; stroke-linecap: round; }
.pv-hl { fill: rgba(255, 91, 31, .22); stroke: var(--accent); animation: pv-blink 2.4s infinite; }
.pv-scan { fill: var(--accent); animation: pv-scan 2.4s ease-in-out infinite; }
.pv-bar { fill: rgba(255, 255, 255, .2); transform-box: fill-box; transform-origin: bottom; animation: pv-grow 2.8s var(--ease) var(--d) infinite; }
.pv-bar-acc { fill: var(--accent); } .pv-bar-ok { fill: var(--ok); }
.pv-code { fill: rgba(255, 255, 255, .22); transform-box: fill-box; transform-origin: left; animation: pv-type 3s steps(12) var(--d) infinite; }
.pv-code-acc { fill: var(--accent); } .pv-code-ok { fill: var(--ok); }
@keyframes pv-draw { from { stroke-dashoffset: 420; } 60%, to { stroke-dashoffset: 0; } }
@keyframes pv-pop { 0%, 15% { transform: scale(0); } 30%, 100% { transform: scale(1); } }
@keyframes pv-move { from { transform: translateX(84px); } to { transform: translateX(196px); } }
@keyframes pv-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pv-fade { 0%, 30% { opacity: 0; } 45%, 100% { opacity: 1; } }
@keyframes pv-pkt { from { transform: translateX(0); } to { transform: translateX(82px); } }
@keyframes pv-scan { 0% { transform: translateY(0); } 50% { transform: translateY(146px); } 100% { transform: translateY(0); } }
@keyframes pv-grow { 0% { transform: scaleY(.08); } 45%, 100% { transform: scaleY(1); } }
@keyframes pv-type { 0% { transform: scaleX(0); } 50%, 100% { transform: scaleX(1); } }

/* Закреплённая история счёта */
.story { background: var(--paper); position: relative; }
.story-stage { padding: clamp(80px, 10vw, 140px) 0; }
.story-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; margin-bottom: 48px; }
.story-head > p { color: var(--muted); max-width: 52ch; }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 64px; align-items: center; }
.story-steps { border-top: 1px solid var(--line); }
.story-step { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .4s; }
.story-num { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); padding-top: 4px; }
.story-step b { display: block; font-size: 20px; letter-spacing: -.02em; }
.story-step p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.story-device { background: var(--ink); color: var(--white); border-radius: 24px; border: 1px solid var(--ink-4); box-shadow: 0 50px 100px -40px rgba(12, 13, 16, .55); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-light); }
.device-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.device-bar > i:first-child { background: var(--accent); }
.device-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted-light); }
.device-bar em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: rgba(255, 91, 31, .12); }
.device-screen { display: grid; gap: 14px; padding: 18px; }
.scene { background: var(--ink-2); border-radius: 16px; padding: 18px; }
.device-progress { display: none; height: 3px; background: var(--ink-3); }
.device-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.scene-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 12px; }
.scene-chip { display: inline-flex; margin-top: 12px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--accent); background: rgba(255, 91, 31, .12); }
.scene-chip-ok { color: var(--ok); background: rgba(60, 207, 142, .12); }
.mail-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; margin-bottom: 8px; border-radius: 12px; background: var(--ink-3); border: 1px solid transparent; }
.mail-row b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-row small { color: var(--muted-light); font-size: 12px; }
.mail-row time { font-family: var(--mono); font-size: 12px; color: var(--muted-light); }
.mail-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); font-weight: 600; font-size: 14px; }
.mail-new { border-color: rgba(255, 91, 31, .6); background: rgba(255, 91, 31, .08); }
.mail-new .mail-ava { background: var(--accent); color: var(--ink); }
.scene-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.doc-paper { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 16px; }
.doc-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.doc-line { font-size: 12px; padding: 2px 6px; margin: 0 -6px 4px; border-radius: 4px; }
.doc-hl { background: rgba(255, 91, 31, .18); box-shadow: inset 0 0 0 1px var(--accent); }
.doc-sum { font-weight: 700; margin-top: 6px; }
.doc-table { display: grid; gap: 6px; margin: 10px 0; }
.doc-table span { height: 8px; border-radius: 4px; background: rgba(21, 23, 28, .12); }
.doc-table span:nth-child(2) { width: 85%; } .doc-table span:nth-child(3) { width: 92%; } .doc-table span:nth-child(4) { width: 70%; }
.doc-scan { display: none; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px 4px rgba(255, 91, 31, .45); }
.doc-fields { display: grid; gap: 6px; }
.doc-fields li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--ink-3); font-size: 13px; }
.doc-fields span { color: var(--muted-light); }
.doc-fields em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ok); }
.checks { display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); font-size: 14px; }
.checks i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.checks i::after { content: "✓"; color: var(--ink); font-size: 13px; font-weight: 700; font-style: normal; }
.checks b { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted-light); }
.reg { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-light); }
.reg-head, .reg-row { display: grid; grid-template-columns: 56px 1.4fr 1fr 1.2fr; gap: 10px; padding: 11px 14px; font-size: 13px; }
.reg-head { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); background: var(--ink-3); }
.reg-row { border-top: 1px solid var(--line-light); }
.reg-new { background: rgba(60, 207, 142, .1); box-shadow: inset 3px 0 0 var(--ok); }
.st-ok { color: var(--ok); font-weight: 600; } .st-warn { color: var(--accent); font-weight: 600; }
.tg { background: #17212b; border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.tg-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.tg-head small { color: var(--muted-light); }
.tg-ava { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 700; }
.tg-msg { max-width: 88%; background: #182533; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.tg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tg-btns span { text-align: center; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #6ab3f3; font-size: 13px; font-weight: 600; }
.tg-me { margin-left: auto; background: #2b5278; border-radius: 14px 14px 4px 14px; }
/* режим закрепления (desktop + GSAP) */
.story.is-pinned .story-stage { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 28px) 0 40px; }
.story.is-pinned .story-head { margin-bottom: 32px; }
.story.is-pinned .story-step { cursor: pointer; opacity: .38; }
.story.is-pinned .story-step.is-done { opacity: .6; }
.story.is-pinned .story-step.is-active { opacity: 1; }
.story.is-pinned .story-step p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.story.is-pinned .story-step.is-active p { max-height: 120px; opacity: 1; }
.story.is-pinned .story-step.is-active .story-num { color: var(--accent); }
.story.is-pinned .device-screen { position: relative; display: block; height: clamp(300px, calc(100vh - 340px), 440px); padding: 0; }
@media (max-height: 760px) { .story.is-pinned .story-head > p { display: none; } .story.is-pinned .story-head { margin-bottom: 20px; } }
.story.is-pinned .scene { position: absolute; inset: 0; border-radius: 0; background: transparent; padding: 24px; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s, transform .6s var(--ease), visibility .45s; }
.story.is-pinned .scene.is-active { opacity: 1; visibility: visible; transform: none; }
.story.is-pinned .device-progress { display: block; }
.story.is-pinned .scene.is-active .mail-new { animation: sc-in .7s var(--ease) .15s both; }
.story.is-pinned .scene.is-active .scene-chip { animation: sc-in .6s var(--ease) .9s both; }
.story.is-pinned .scene.is-active .doc-scan { display: block; animation: sc-scan 1.6s ease-in-out both; }
.story.is-pinned .scene.is-active .doc-hl { animation: sc-hl .5s var(--ease) var(--d) both; }
.story.is-pinned .scene.is-active .doc-fields li { animation: sc-side .5s var(--ease) var(--d) both; }
.story.is-pinned .scene.is-active .checks li { animation: sc-in .5s var(--ease) var(--d) both; }
.story.is-pinned .scene.is-active .checks i { animation: sc-tick .4s var(--ease) calc(var(--d) + .3s) both; }
.story.is-pinned .scene.is-active .reg-new { animation: sc-row .8s var(--ease) .2s both; }
.story.is-pinned .scene.is-active .tg-msg { animation: sc-pop .5s var(--ease) .2s both; }
.story.is-pinned .scene.is-active .tg-me { animation-delay: 1.3s; }
@keyframes sc-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes sc-side { from { opacity: 0; transform: translateX(14px); } }
@keyframes sc-scan { from { top: 0; } to { top: 100%; } }
@keyframes sc-hl { from { background: transparent; box-shadow: none; } }
@keyframes sc-tick { from { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-4); transform: scale(.6); } }
@keyframes sc-row { from { opacity: 0; transform: translateY(-16px); background: rgba(60, 207, 142, .35); } }
@keyframes sc-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* Bento для крупных компаний */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.bento-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: var(--ink); border: 1px solid var(--line-light); overflow: hidden; }
.bento-tile h3 { font-size: 21px; }
.bento-tile p { color: var(--muted-light); font-size: 15px; }
.bento-big { grid-row: span 2; }
.bento-wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.bv { position: relative; height: 110px; margin-bottom: 12px; }
.bento-big .bv { height: 300px; margin-bottom: auto; }
.bv-server { display: grid; place-items: center; }
.rack { display: grid; gap: 10px; width: min(240px, 70%); position: relative; z-index: 1; }
.rack i { height: 34px; border-radius: 8px; background: var(--ink-3); border: 1px solid var(--line-light-strong); position: relative; }
.rack i::before { content: ""; position: absolute; left: 14px; top: 50%; width: 46%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.rack i::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pv-blink 1.6s infinite; }
.rack i:nth-child(2)::after { animation-delay: .4s; } .rack i:nth-child(3)::after { animation-delay: .8s; background: var(--accent); box-shadow: 0 0 10px var(--accent); } .rack i:nth-child(4)::after { animation-delay: 1.2s; }
.perimeter { position: absolute; inset: 12px 8%; border: 1.5px dashed rgba(255, 91, 31, .55); border-radius: 28px; animation: perimeter 3s ease-in-out infinite; }
@keyframes perimeter { 50% { box-shadow: 0 0 0 8px rgba(255, 91, 31, .06), inset 0 0 40px rgba(255, 91, 31, .08); } }
.bv-tag { position: absolute; top: 0; left: 12%; z-index: 2; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.bv-lock svg { height: 100%; width: auto; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.bv-lock .ring { stroke: var(--accent); stroke-dasharray: 5 8; transform-origin: 40px 40px; animation: spin 14s linear infinite; }
.bv-graph svg { height: 100%; width: auto; max-width: 100%; }
.bv-graph .edge { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-dasharray: 4 5; animation: flow 1.6s linear infinite; }
.bv-graph circle { fill: var(--ink-3); stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; }
.bv-graph .hub { fill: var(--accent); stroke: var(--accent); animation: pv-blink 2s infinite; }
.bv-accept { display: grid; gap: 9px; align-content: center; }
.acc-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; }
.acc-row i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-light-strong); animation: acc-tick 4.5s infinite; }
.acc-row:nth-child(2) i { animation-delay: .6s; } .acc-row:nth-child(3) i { animation-delay: 1.2s; }
.acc-row span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.acc-row:nth-child(2) span { width: 80%; } .acc-row:nth-child(3) span { width: 64%; }
.acc-bar { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; margin-top: 4px; }
.acc-bar b { display: block; height: 100%; background: var(--ok); transform-origin: left; animation: acc-bar 4.5s var(--ease) infinite; }
@keyframes acc-tick { 0%, 20% { background: transparent; border-color: var(--line-light-strong); } 30%, 90% { background: var(--ok); border-color: var(--ok); } 100% { background: transparent; } }
@keyframes acc-bar { 0% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.bv-count { display: flex; flex-direction: column; justify-content: center; }
.bv-count b { font-size: 68px; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.bv-count small { color: var(--muted-light); font-size: 13.5px; margin-top: 6px; }
.bv-budget { display: flex; gap: 6px; height: 64px; margin: 0; }
.bv-budget span { flex: 0 0 var(--w); display: flex; align-items: flex-end; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--ink-3); border: 1px solid var(--line-light); animation: budget 6s infinite; }
.bv-budget span:nth-child(2) { animation-delay: 1s; } .bv-budget span:nth-child(3) { animation-delay: 2s; }
@keyframes budget { 0%, 8% { background: var(--ink-3); color: var(--white); } 16%, 80% { background: var(--accent); color: var(--ink); border-color: var(--accent); } 100% { background: var(--ink-3); } }

/* Горизонтальная прокрутка этапов */
.hscroll { position: relative; background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.hs-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hs-intro { grid-column: 1 / -1; margin-bottom: 24px; }
.hs-intro h2 { max-width: 16ch; }
.hs-intro > p:not(.kicker) { color: var(--muted-light); max-width: 52ch; margin-top: 22px; font-size: 18px; }
.hs-hint { display: none; margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); align-items: center; gap: 10px; }
.hs-hint .ico { transform: rotate(45deg); width: 16px; height: 16px; color: var(--accent); }
.hs-step { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line-light); overflow: hidden; min-height: 340px; }
.hs-num { font-size: clamp(90px, 10vw, 160px); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: auto; }
.hs-step h3 { font-size: clamp(30px, 3vw, 44px); margin-top: 40px; }
.hs-step > p:not(.hs-out) { color: var(--muted-light); margin-top: 14px; font-size: 16px; }
.hs-out { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line-light-strong); font-weight: 600; }
.hs-out span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin-bottom: 4px; }
.hscroll.is-pinned { height: 100vh; padding: 0; display: flex; align-items: center; }
.hscroll.is-pinned .hs-track { display: flex; flex-wrap: nowrap; gap: 24px; width: max-content; max-width: none; margin: 0; padding: var(--header-h) 12vw 0 max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))); }
.hscroll.is-pinned .hs-panel { flex: 0 0 auto; }
.hscroll.is-pinned .hs-intro { width: min(600px, 44vw); margin: 0 4vw 0 0; align-self: center; }
.hscroll.is-pinned .hs-hint { display: inline-flex; }
.hscroll.is-pinned .hs-step { width: min(500px, 36vw); height: min(560px, 68vh); }

/* Курсор */
.cursor { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; }
.cursor-ring, .cursor-dot, .cursor-label { position: fixed; left: 0; top: 0; opacity: 0; transition: opacity .3s; }
.cursor.is-on .cursor-ring, .cursor.is-on .cursor-dot { opacity: 1; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(255, 91, 31, .75); transition: opacity .3s, scale .35s var(--ease), background .3s, border-color .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.cursor.is-link .cursor-ring { scale: 1.7; background: rgba(255, 91, 31, .1); }
.cursor.is-field .cursor-ring { scale: .55; }
.cursor.has-label .cursor-ring { scale: 2.6; background: var(--accent); border-color: var(--accent); }
.cursor.has-label .cursor-dot { opacity: 0; }
.cursor-label { translate: -50% -50%; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cursor.has-label .cursor-label { opacity: 1; }

/* Подсветка карточек под курсором */
.has-spot :is(.card, .svc-card, .bento-tile, .ind-card, .rel-card, .art-card, .work-card, .svc-row) { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 91, 31, .09), transparent 45%); }

/* Анимированная рамка у рекомендуемого тарифа */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tier-featured { border: 1px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, conic-gradient(from var(--ang), rgba(255, 255, 255, .08) 0 62%, var(--accent) 80%, rgba(255, 255, 255, .08) 96%) border-box; animation: ang 5s linear infinite; }
@keyframes ang { to { --ang: 360deg; } }

/* Схема процесса загорается при прокрутке */
.pipe.is-scrub .pipe-step::before { background: var(--line); transition: background .5s; }
.pipe.is-scrub .pipe-step.is-lit::before { background: var(--accent); }
.pipe.is-scrub .pipe-step .dot { background: var(--line-strong); transition: background .4s, box-shadow .4s; }
.pipe.is-scrub .pipe-step.is-lit .dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 91, 31, .2); }
.pipe.is-scrub .pipe-step > :not(.dot) { opacity: .4; transition: opacity .5s; }
.pipe.is-scrub .pipe-step.is-lit > :not(.dot) { opacity: 1; }

@media (max-width: 1060px) {
  .hero { min-height: 0; }
  .hero-visual { min-height: 440px; margin-top: 8px; }
  .hero-core { left: 52%; top: 42%; width: 84px; height: 84px; }
  .chip-out { font-size: 12px; }
  .story-head, .story-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-big { grid-row: auto; grid-column: span 2; }
  .bento-big .bv { height: 220px; }
  .bento-wide { grid-column: span 2; }
  .svc-row { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .svc-row-desc { grid-column: 2; grid-row: 2; }
  .svc-row-arrow { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
}
@media (max-width: 680px) {
  .hero-visual { min-height: 360px; margin: 0 -8px; }
  .hero-core { left: 50%; top: 40%; }
  .hero-chip { font-size: 11.5px; padding: 6px 10px; }
  .hero-chip.chip-src:nth-of-type(4), .hero-chip.chip-src:nth-of-type(5) { display: none; }
  .hero-ticker { display: none; }
  .marquee { padding: 18px 0 22px; }
  .svc-row { grid-template-columns: 36px minmax(0, 1fr); padding: 22px 4px; }
  .svc-row-desc { grid-column: 2; }
  .svc-row-arrow { display: none; }
  .scene-doc { grid-template-columns: 1fr; }
  .reg-head, .reg-row { grid-template-columns: 44px 1.3fr 1fr; }
  .reg-head span:last-child, .reg-row span:last-child { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-big, .bento-wide { grid-column: auto; }
  .bento-wide { grid-template-columns: 1fr; }
  .hs-track { grid-template-columns: 1fr; }
  .hs-step { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .system-map .packet, .system-map .pulse { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .subnav, .contact-sec, .intro, .toc, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: #fff; color: #000; padding: 0 0 24px; }
  .page-hero .lead, .crumbs, .byline { color: #333; opacity: 1; }
  .prose { font-size: 12pt; }
}
