/* KÖHB – стили. Без фреймворков. Шрифты self-hosted: сабсеты cyrillic+latin, woff2. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/unbounded-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/unbounded-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo2-300-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo2-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo2-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo2-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --font-t: 'Exo 2', 'Manrope', system-ui, sans-serif;
  --font-h: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-b: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-m: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1280px;
  --pad: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root[data-theme="dark"] {
  --bg: #07080d; --bg2: #0c0e16; --fg: #f2f3f7; --mute: #8d93a6;
  --line: rgba(255,255,255,.1); --card: rgba(255,255,255,.035); --card2: rgba(255,255,255,.07);
  --acc: #6ee7ff; --acc2: #a78bfa; --acc3: #ff7a9a;
  --p1: #7df0ff; --p2: #b79cff; --p3: #ffffff;
  --hero-bg: radial-gradient(60% 60% at 50% 45%, #141a38 0%, #0a0c18 55%, #07080d 100%);
  --glow: radial-gradient(circle, rgba(120,235,255,.55) 0%, rgba(167,139,250,.32) 30%, rgba(90,70,200,.12) 48%, rgba(7,8,13,0) 68%);
  --rim-glow: rgba(140,200,255,.45); --cursor-glow: radial-gradient(circle, rgba(120,160,255,.22) 0%, rgba(120,160,255,0) 60%);
  --btn-fg: #07080d;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fff6f1; --bg2: #fff1ea; --fg: #1a1716; --mute: #6f6560;
  --line: rgba(0,0,0,.1); --card: rgba(255,255,255,.55); --card2: rgba(255,255,255,.8);
  --acc: #ff6a4d; --acc2: #ff9a7a; --acc3: #ffd36b;
  --p1: #ff6a48; --p2: #ff3d6e; --p3: #fff1b8;
  --hero-bg: linear-gradient(160deg, #fff4e6 0%, #fbd3bd 45%, #f79b86 100%);
  --glow: radial-gradient(circle, rgba(255,120,90,.55) 0%, rgba(255,170,130,.35) 38%, rgba(255,246,241,0) 66%);
  --rim-glow: rgba(255,230,200,.9); --cursor-glow: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,240,220,.25) 30%, rgba(255,255,255,0) 60%);
  --btn-fg: #1a1716;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .hero__rim, .ticker__track, .hero__hint::after, .wiz__bar { animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-b); font-size: 17px; line-height: 1.55; font-weight: 400;
  overflow-x: hidden; transition: background .5s, color .5s;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 500; letter-spacing: -.01em; margin: 0; }
.mono { font-family: var(--font-m); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 120px 0; }
.eyebrow { color: var(--mute); margin: 0 0 20px; }
.h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.12; margin-bottom: 48px; max-width: 18ch; }
.lead { font-size: 19px; color: var(--mute); max-width: 56ch; margin: -24px 0 40px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 24px; font: 600 15px/1 var(--font-b); color: var(--fg); background: var(--card);
  cursor: pointer; text-decoration: none; transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--card2); }
.btn--primary {
  color: var(--btn-fg); border-color: transparent;
  background: linear-gradient(120deg, var(--acc), var(--acc2));
  box-shadow: 0 10px 30px -12px var(--acc);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px var(--acc2); background: linear-gradient(120deg, var(--acc), var(--acc2)); }
.btn--ghost { background: transparent; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-mono { font-family: var(--font-m); font-size: 12px; letter-spacing: .14em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-mono:hover { color: var(--acc); }

/* ---------- прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--bg); transition: opacity .6s .15s, visibility 0s .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__scene { perspective: 700px; width: 120px; height: 120px; }
.loader__cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.loader.is-done .loader__cube { transform: rotateX(-92deg) translateZ(0); }
.loader__face { position: absolute; inset: 0; background: var(--fg); display: grid; place-items: center; backface-visibility: hidden; }
.loader__face--front { transform: translateZ(60px); }
.loader__face--top { transform: rotateX(90deg) translateZ(60px); background: var(--acc); }
.loader__logo { width: 84px; height: 40px; color: var(--bg); }
.loader__pct { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--mute); }

/* ---------- шапка ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad); pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { display: block; color: var(--fg); }
.brand__logo, .loader__logo, .footer__logo { fill: currentColor; }
.brand__logo { width: 92px; height: 44px; display: block; }
.top__right { display: flex; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; color: var(--fg);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.icon-btn:hover { transform: translateY(-2px); }
.menu-btn { gap: 4px; grid-auto-flow: row; align-content: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; }
.theme-btn__dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--fg) 50%, transparent 50%); border: 1.5px solid currentColor; }

/* ---------- меню ---------- */
.menu {
  position: fixed; top: 20px; right: var(--pad); z-index: 60; width: min(400px, calc(100vw - 48px));
  background: var(--card2); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 22px;
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transform-origin: top right; transform: scale(.92) translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5);
}
.menu.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__close { position: absolute; top: 12px; right: 14px; border: 0; background: none; color: var(--mute); font-size: 26px; cursor: pointer; line-height: 1; }
.menu__list { list-style: none; margin: 0 0 20px; padding: 0; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; gap: 18px; align-items: baseline; padding: 13px 0; text-decoration: none; font: 500 15px/1.2 var(--font-b); letter-spacing: .04em; transition: color .2s, padding-left .3s var(--ease); }
.menu__list a:hover { color: var(--acc); padding-left: 6px; }
.menu__list .mono { color: var(--mute); }
.menu__links { display: flex; gap: 22px; flex-wrap: wrap; }
.menu__links a { text-decoration: none; color: var(--mute); }
.menu__links a:hover { color: var(--fg); }

/* ---------- hero ---------- */
.hero { height: 230vh; position: relative; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--hero-bg); transition: background .6s; }
.hero__glow, .hero__canvas {
  position: absolute; left: 50%; top: 60%; width: min(92vmin, 980px); height: min(92vmin, 980px);
  transform: translate(calc(-50% - var(--p, 0) * 30vw), -50%) scale(calc(1 + var(--p, 0) * .22));
  will-change: transform;
}
.hero__glow { background: var(--glow); filter: blur(14px); }
/* светящийся ободок сферы (как в референсе): диаметр = проекция радиуса 1.0 в sphere.js ≈ 62,5 % холста */
.hero__rim { position: absolute; left: 50%; top: 60%; width: calc(min(92vmin, 980px) * .625); height: calc(min(92vmin, 980px) * .625); border-radius: 50%; pointer-events: none;
  transform: translate(calc(-50% - var(--p, 0) * 30vw), -50%) scale(calc(1 + var(--p, 0) * .22));
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 0 24px 6px rgba(255,255,255,.55), 0 0 90px 30px var(--rim-glow), inset 0 0 50px 10px rgba(255,255,255,.35);
  animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1.5px rgba(255,255,255,.75), 0 0 34px 10px rgba(255,255,255,.65), 0 0 120px 40px var(--rim-glow), inset 0 0 70px 16px rgba(255,255,255,.45); } }
/* пятно света, идущее за курсором по фону */
.hero__cursor { position: absolute; left: 0; top: 0; width: 60vmax; height: 60vmax; border-radius: 50%; pointer-events: none; background: var(--cursor-glow); filter: blur(30px); transform: translate(calc(var(--cx, 50vw) - 50%), calc(var(--cy, 50vh) - 50%)); transition: transform .9s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.hero__bg { background-position: calc(50% + var(--mx, 0) * 6%) calc(50% + var(--my, 0) * 6%); background-size: 120% 120%; }
.hero__canvas { display: block; }
.no-webgl .hero__glow { background: var(--glow), radial-gradient(circle closest-side at 50% 50%, var(--p2) 0 62.5%, transparent 63%); filter: blur(2px); }
.hero__title {
  position: absolute; left: 50%; top: 13vh; transform: translateX(-50%); width: min(92vw, 1100px); text-align: center;
  opacity: calc(1 - var(--p, 0) * 2.2);
}
.hero__title h1 { font-size: clamp(26px, 4.6vw, 62px); line-height: 1.1; font-weight: 500; }
.hero__sub { margin: 24px 0 0; color: var(--mute); font-size: 15px; letter-spacing: .18em; }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.words .w i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .7s var(--ease); }
.words.in .w i { transform: none; }
.hero__text {
  position: absolute; right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); top: 50%; width: min(520px, 42vw);
  transform: translateY(calc(-50% + (1 - var(--q, 0)) * 60px)); opacity: var(--q, 0);
  font-family: var(--font-t); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.35; font-weight: 400; letter-spacing: .005em;
}
.hero__text p { margin: 0 0 1.1em; }
.hero__hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: var(--mute); text-decoration: none; opacity: calc(1 - var(--p, 0) * 3); font-size: 14px; }
.hero__hint::after { content: ''; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: currentColor; animation: hint 1.8s infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- направления ---------- */
.dirs { background: var(--bg); }
.dir { border-top: 1px solid var(--line); }
.dir:last-child { border-bottom: 1px solid var(--line); }
.dir__head {
  width: 100%; display: grid; grid-template-columns: 64px 1.1fr 1.4fr 40px; align-items: center; gap: 24px;
  padding: 30px 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font-family: inherit;
}
.dir__num { color: var(--mute); }
.dir__title { font-family: var(--font-h); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; transition: color .3s; }
.dir__head:hover .dir__title { color: var(--acc); }
.dir__lead { color: var(--mute); font-size: 16px; }
.dir__plus { position: relative; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; justify-self: end; transition: transform .5s var(--ease), background .3s; }
.dir__plus::before, .dir__plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.dir__plus::before { width: 14px; height: 1.5px; } .dir__plus::after { width: 1.5px; height: 14px; }
.dir.is-open .dir__plus { transform: rotate(45deg); background: var(--card2); }
.dir__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.dir__inner { overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; min-height: 0; }
.dir.is-open .dir__body { grid-template-rows: 1fr; }
.dir__list { margin: 0 0 40px 88px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 17px; }
.dir__list li { position: relative; padding-left: 22px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.dir__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(120deg, var(--acc), var(--acc2)); }
.dir.is-open .dir__list li { opacity: 1; transform: none; }
.dir.is-open .dir__list li:nth-child(2) { transition-delay: .06s; } .dir.is-open .dir__list li:nth-child(3) { transition-delay: .12s; }
.dir.is-open .dir__list li:nth-child(4) { transition-delay: .18s; } .dir.is-open .dir__list li:nth-child(5) { transition-delay: .24s; }
.dir__aside { padding: 0 0 40px; color: var(--mute); }
.dir__aside p { margin: 0 0 20px; }

/* ---------- бегущая строка ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 48px; width: max-content; color: var(--mute); animation: tick 60s linear infinite; }
.ticker__track span::before { content: '·'; margin-right: 48px; color: var(--acc); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- процесс ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; min-height: 240px; display: flex; flex-direction: column; transition: transform .4s var(--ease), background .3s; }
.step:hover { transform: translateY(-6px); background: var(--card2); }
.step__num { color: var(--acc); margin-bottom: auto; }
.step h3 { font-size: 20px; margin: 28px 0 10px; }
.step p { margin: 0; color: var(--mute); font-size: 15.5px; }

/* ---------- цифры и кейсы ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.num { border-top: 1px solid var(--line); padding-top: 18px; }
.num b { display: block; font-family: var(--font-h); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; background: linear-gradient(120deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.num span { color: var(--mute); font-size: 15px; }
.cases__sub { font-size: clamp(20px, 2.2vw, 28px); margin: 56px 0 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { background: var(--card); border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); border-radius: 20px; padding: 28px 26px; transition: transform .4s var(--ease), background .3s; }
.case:hover { transform: translateY(-6px); background: var(--card2); }
.case__tag { color: var(--acc); display: block; margin-bottom: 16px; }
.case h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
.case p { margin: 0; color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } .nums { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- визард ---------- */
.wizard { background: var(--bg2); position: relative; }
.wiz {
  position: relative; max-width: 960px; border-radius: 28px; border: 1px solid var(--line); background: var(--card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden;
  box-shadow: 0 40px 120px -60px rgba(0,0,0,.6);
}
.wiz::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, var(--acc), transparent 40%, transparent 60%, var(--acc2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; }
.wiz__progress { height: 3px; background: var(--line); }
.wiz__bar { height: 100%; width: 5%; background: linear-gradient(90deg, var(--acc), var(--acc2)); transition: width .6s var(--ease); }
.wiz__form { padding: 36px clamp(20px, 5vw, 56px) 32px; }
.wiz__counter { color: var(--mute); margin-bottom: 18px; }
.wiz__stage { position: relative; min-height: 320px; }
.wstep { animation: stepIn .55s var(--ease) both; }
.wstep.out { animation: stepOut .3s var(--ease) both; position: absolute; inset: 0; pointer-events: none; }
.wstep.back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-30px); } }
.wstep h3 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; margin-bottom: 10px; }
.wstep__hint { color: var(--mute); margin: 0 0 26px; font-size: 15.5px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.opt {
  position: relative; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 16px 18px 16px 18px;
  color: inherit; font-family: inherit; cursor: pointer; transition: transform .35s var(--ease), border-color .25s, background .25s, box-shadow .3s;
  display: flex; flex-direction: column; gap: 4px;
}
.opt:hover { transform: translateY(-3px); background: var(--card2); }
.opt b { font-weight: 600; font-size: 16px; padding-right: 24px; }
.opt small { color: var(--mute); font-size: 13.5px; line-height: 1.35; }
.opt::after { content: ''; position: absolute; right: 14px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); transition: background .25s, border-color .25s, box-shadow .25s; }
.opt.is-on { border-color: var(--acc); background: var(--card2); box-shadow: 0 0 0 1px var(--acc), 0 12px 40px -20px var(--acc); }
.opt.is-on::after { background: linear-gradient(120deg, var(--acc), var(--acc2)); border-color: transparent; }
.opt[data-multi]::after { border-radius: 5px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; color: var(--mute); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 12px; padding: 14px 16px;
  font: 500 16px/1.4 var(--font-b); outline: none; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--acc3); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--card); color: inherit; border-radius: 999px; padding: 9px 16px; font: 600 14px/1 var(--font-b); cursor: pointer; transition: all .25s; }
.chip.is-on { border-color: var(--acc); color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.drop {
  border: 1.5px dashed var(--line); border-radius: 16px; padding: 34px 20px; text-align: center; color: var(--mute); cursor: pointer;
  transition: border-color .25s, background .25s;
}
.drop.is-over, .drop:hover { border-color: var(--acc); background: var(--card2); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop { position: relative; }
.drop:focus-within { border-color: var(--acc); }
.drop b { color: var(--fg); }
.files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.files li button { border: 0; background: none; color: var(--mute); cursor: pointer; font-size: 18px; line-height: 1; }
.files li .mono { color: var(--mute); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); margin-top: 6px; }
.consent input { margin-top: 4px; accent-color: var(--acc); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--fg); }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.wiz__err { color: var(--acc3); font-size: 14px; margin: 14px 0 0; min-height: 1.4em; }
.wiz__done { text-align: center; padding: 40px 0 20px; }
.wiz__done h3 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 14px; }
.wiz__done p { color: var(--mute); max-width: 48ch; margin: 0 auto 10px; }
.wiz__done .sum { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.wiz__done .sum span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; }
.wiz__done .ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; background: linear-gradient(120deg, var(--acc), var(--acc2)); display: grid; place-items: center; color: var(--btn-fg); font-size: 32px; animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.bot-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wiz.is-busy .wiz__nav .btn { opacity: .5; pointer-events: none; }
.wiz.is-busy .wiz__bar { animation: busy 1.2s linear infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, var(--acc), var(--acc2), var(--acc)); }
@keyframes busy { to { background-position: -200% 0; } }

/* ---------- подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.footer__logo { width: 92px; height: 44px; color: var(--fg); display: block; margin-bottom: 10px; }
.footer__copy { margin: 0; color: var(--mute); font-size: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.footer__links a { text-decoration: none; color: var(--mute); } .footer__links a:hover { color: var(--fg); }
.footer__legal { grid-column: 1 / -1; margin: 10px 0 0; font-size: 13px; color: var(--mute); max-width: 80ch; }
.footer__legal p { margin: 0 0 6px; } .footer__legal a { color: var(--fg); }

/* ---------- cookie (site-standards п.7) ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px; background: rgba(20,20,20,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; line-height: 1.4; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar button { flex: 0 0 auto; padding: 6px 18px; cursor: pointer; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; background: transparent; color: #fff; font: 500 13px/1.4 var(--font-b); }
.cookie-bar button:hover { background: rgba(255,255,255,.15); }
.cookie-bar.is-hidden { display: none; }
@media (max-width: 575px) { .cookie-bar { font-size: 12px; gap: 10px; padding: 8px 12px; text-align: left; } }

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

/* ---------- мобильные ---------- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { height: 200vh; }
  .hero__glow, .hero__canvas { top: 50%; width: 110vmin; height: 110vmin; transform: translate(calc(-50% - var(--p, 0) * 10vw), calc(-50% - var(--p, 0) * 22vh)) scale(calc(1 - var(--p, 0) * .25)); }
  .hero__rim { top: 50%; width: calc(110vmin * .625); height: calc(110vmin * .625); transform: translate(calc(-50% - var(--p, 0) * 10vw), calc(-50% - var(--p, 0) * 22vh)) scale(calc(1 - var(--p, 0) * .25)); }
  .hero__cursor { display: none; }
  .hero__title { top: 11vh; }
  .hero__title h1 { font-size: clamp(24px, 7vw, 40px); }
  .hero__text { right: var(--pad); left: var(--pad); width: auto; top: auto; bottom: 14vh; transform: translateY(calc((1 - var(--q, 0)) * 40px)); font-size: 19px; }
  .hero__hint { display: none; }
  .dir__head { grid-template-columns: 40px 1fr 36px; gap: 14px; padding: 22px 0; }
  .dir__lead { grid-column: 2; font-size: 14px; }
  .dir__plus { grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; }
  .dir__inner { grid-template-columns: 1fr; gap: 0; }
  .dir__list { margin-left: 0; margin-bottom: 24px; font-size: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 0; }
  .fields-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { align-items: flex-start; text-align: left; }
  .wiz__stage { min-height: 260px; }
  .brand__logo { width: 72px; height: 34px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .wiz__nav { flex-direction: column-reverse; }
  .wiz__nav .btn { justify-content: center; }
}

/* ---------- визард: шрифт +15 % (Максим, 14.10) ---------- */
.wiz__counter { font-size: 14px; }
.wstep h3 { font-size: clamp(23px, 2.8vw, 34px); }
.wstep__hint { font-size: 18px; }
.opt b { font-size: 18px; } .opt small { font-size: 15.5px; }
.field > span { font-size: 15px; } .field input, .field textarea, .field select { font-size: 18px; }
.chip { font-size: 16px; padding: 10px 18px; }
.drop { font-size: 18px; } .files li { font-size: 16px; }
.consent { font-size: 16px; }
.wiz__err { font-size: 16px; }
.wiz__nav .btn { font-size: 17px; padding: 16px 28px; }
.wiz__done p { font-size: 19px; } .wiz__done .sum span { font-size: 15.5px; }
