/* Local fonts: Google CSS API, original unicode ranges. */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Oranienbaum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/oranienbaum-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oranienbaum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/oranienbaum-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Oranienbaum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/oranienbaum-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oranienbaum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/oranienbaum-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 {
  --night: #08171c;
  --night-2: #0d2229;
  --paper: #eef1ee;
  --paper-2: #e3e8e4;
  --ink: #0e1e23;
  --muted: #586a70;
  --line: rgba(14, 30, 35, .14);
  --star: #e9f0ee;
  --amber: #f2b33d;
  --amber-ink: #8a5a00;
  --cyan: #7fd6e8;
  --display: "Oranienbaum", "Times New Roman", serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  --section-space: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- заставка ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--night);
  transition: opacity .5s ease, visibility .5s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__mark { display: flex; align-items: center; gap: 14px; color: var(--star); font-family: var(--display); font-size: clamp(30px, 5vw, 54px); }
.intro__dot { width: .34em; height: .34em; border-radius: 50%; background: var(--amber); transform: scale(0); animation: dotIn .5s cubic-bezier(.2, 1.4, .4, 1) .1s forwards; }
.intro__word span { opacity: 0; display: inline-block; transform: translateY(.18em); animation: chIn .4s ease forwards; white-space: pre; }
@keyframes dotIn { to { transform: scale(1); } }
@keyframes chIn { to { opacity: 1; transform: none; } }

/* ---------- шапка ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px max(24px, calc((100% - var(--wrap)) / 2));
  color: var(--star);
  transition: background .3s, color .3s, box-shadow .3s, padding .3s;
}
.nav.is-light { background: rgba(238, 241, 238, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); padding-block: 12px; backdrop-filter: blur(8px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 23px; text-decoration: none; letter-spacing: .01em; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav__links a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px;
  font: 500 15px/1 var(--text); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: #201300; }
.btn--amber:hover { background: #ffc657; }
.btn--ghost { border-color: currentColor; color: inherit; opacity: .9; }
.btn--ghost:hover { opacity: 1; background: rgba(127, 214, 232, .12); }
.nav__cta { padding: 10px 16px; font-size: 14px; }

/* ---------- первый экран ---------- */
.hero {
  position: relative; min-height: min(100svh, 1100px);
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 70% 10%, var(--night-2), var(--night) 60%);
  color: var(--star); overflow: hidden;
  padding: 120px 0 110px;
}
.hero__field, .contact__field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow { margin: 0 0 26px; max-width: 46ch; font: 400 13px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); }
.headline { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 96px); line-height: 1.04; letter-spacing: 0; }
.headline__line { display: block; }
.headline .w { display: inline-block; white-space: nowrap; }
.headline .ch { display: inline-block; opacity: 0; filter: blur(5px); transition: opacity .4s ease, filter .4s ease; }
.headline .ch.is-on { opacity: 1; filter: none; }
.headline .ch--dot { color: var(--amber); }
.hero__after { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.hero__after.is-on { opacity: 1; transform: none; }
.hero__lead { margin: 34px 0 0; max-width: 56ch; font-size: clamp(17px, 1.35vw, 20px); color: rgba(233, 240, 238, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__chain {
  position: absolute; left: 0; right: 0; bottom: 34px;
  width: min(var(--wrap), 100% - 48px); margin: 0 auto; padding: 18px 0 0;
  display: flex; gap: 0; list-style: none;
  border-top: 1px solid rgba(233, 240, 238, .16);
  font: 400 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(233, 240, 238, .62);
  opacity: 0; transition: opacity .8s ease .2s;
}
.hero__chain.is-on { opacity: 1; }
.hero__chain li { flex: 1; display: flex; align-items: center; gap: 12px; }
.hero__chain li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- общие секции ---------- */
.sec { padding: var(--section-space) 0; }
.label { margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.h2 { margin: 0; max-width: 24ch; text-wrap: balance; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.08; }
.h3 { margin: 0; font: 600 19px/1.3 var(--text); }
.sec__intro { margin: 22px 0 0; max-width: 58ch; color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- точечные диаграммы ---------- */
.loss__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.matrix { margin: 0; }
.matrix__dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 260px; }
.matrix__dots i { aspect-ratio: 1; border-radius: 50%; background: var(--ink); transition: background .35s ease, transform .35s ease, opacity .35s ease; }
.matrix__dots i.is-lost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(14, 30, 35, .32); transform: scale(.82); }
.matrix__dots i.is-away { background: var(--amber); }
.matrix figcaption { margin-top: 24px; display: grid; gap: 8px; }
.matrix__num { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.matrix figcaption span { max-width: 34ch; }
.matrix cite { font: 400 12px/1.4 var(--mono); font-style: normal; color: var(--muted); }

/* ---------- три шага ---------- */
.chain { background: var(--paper-2); }
.chain__cols { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; padding-right: 0; }
.step__n { margin: 0 0 40px; font-family: var(--display); font-size: 64px; line-height: .9; color: var(--amber-ink); }
.step__text { margin: 10px 0 26px; color: var(--muted); max-width: 32ch; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plist b { font: 500 13px/1.3 var(--mono); white-space: nowrap; }

/* ---------- отрасли ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--ink); }
.tab { appearance: none; border: 0; background: none; cursor: pointer; padding: 14px 18px; margin-bottom: -1px; font: 500 16px/1.2 var(--text); color: var(--muted); border-bottom: 3px solid transparent; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--amber); }
.panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(32px, 4vw, 56px); }
.panel[hidden] { display: none; }
.panel__quote { margin: 0; font-family: var(--display); font-size: clamp(26px, 3vw, 42px); line-height: 1.16; }
.flow { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 30px 1fr; padding: 13px 0; border-top: 1px solid var(--line); }
.flow li::before { content: counter(f); font: 500 13px/1.7 var(--mono); color: var(--amber-ink); }
.panel__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* ---------- цены ---------- */
.prices { background: var(--paper-2); }
.ptable { margin-top: clamp(32px, 4vw, 56px); }
.ptable__group { margin: 44px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ptable__group:first-child { margin-top: 0; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) 130px 150px; gap: 20px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); }
.prow b { display: block; font-weight: 600; }
.prow span { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); max-width: 62ch; }
.prow em { font: 400 13px/1.4 var(--mono); font-style: normal; color: var(--muted); }
.prow strong { font: 500 15px/1.4 var(--mono); text-align: right; white-space: nowrap; }

/* ---------- как работаем ---------- */
.timeline { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.timeline li { position: relative; padding: 30px 24px 0 0; border-top: 1px solid var(--ink); }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--paper); }
.timeline__when { display: block; margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.timeline p { margin: 10px 0 0; font-size: 15.5px; color: var(--muted); }

/* ---------- кто делает ---------- */
.who { background: var(--night); color: var(--star); }
.who .label { color: rgba(233, 240, 238, .6); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.who__text p { margin: 0 0 18px; color: rgba(233, 240, 238, .84); }
.who__text p:last-child { margin-bottom: 0; color: var(--star); }

/* ---------- вопросы ---------- */
.faq__list { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); max-width: 860px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--text); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--mono); color: var(--amber-ink); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: 0 0 22px; max-width: 64ch; color: var(--muted); }

/* ---------- контакт ---------- */
.contact { position: relative; overflow: hidden; background: radial-gradient(110% 120% at 20% 100%, var(--night-2), var(--night) 65%); color: var(--star); padding: var(--section-space) 0; }
.contact__inner { position: relative; }
.contact__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 92px); line-height: 1.04; }
.contact__lead { margin: 24px 0 0; max-width: 50ch; font-size: clamp(17px, 1.35vw, 20px); color: rgba(233, 240, 238, .82); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact__actions.is-todo .btn { opacity: .45; pointer-events: none; }
.contact__todo { margin: 16px 0 0; font: 400 13px/1.5 var(--mono); color: var(--cyan); }

.foot { background: var(--night); color: rgba(233, 240, 238, .7); padding: 26px 0 34px; border-top: 1px solid rgba(233, 240, 238, .12); }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand--foot { color: var(--star); font-size: 20px; }
.foot__meta { font: 400 12px/1.4 var(--mono); }

/* ---------- калькулятор и проверка нейросетей ---------- */
.calcsec #calc { margin-top: clamp(32px, 4vw, 56px); }
.probe { background: var(--night); color: var(--star); }
.probe .label { color: rgba(233, 240, 238, .6); }
.probe .sec__intro { color: rgba(233, 240, 238, .78); }
.probe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.probe__box { border: 1px solid rgba(233, 240, 238, .18); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); }
.probe__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.probe__fields label { display: grid; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(233, 240, 238, .6); }
.probe__fields input { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(233, 240, 238, .24); background: rgba(233, 240, 238, .05); color: var(--star); font: 400 16px/1.2 var(--text); text-transform: none; letter-spacing: 0; }
.probe__fields input::placeholder { color: rgba(233, 240, 238, .38); }
.probe__fields input:focus { outline: none; border-color: var(--amber); }
.probe__q { margin: 20px 0 0; min-height: 3.2em; font-family: var(--display); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; }
.probe__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.probe__links .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.probe__note { margin: 18px 0 0; font-size: 14px; color: rgba(233, 240, 238, .62); }

.excl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ink); }
.excl p, .excl ul { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }
.excl ul { padding: 0; list-style: none; }
.excl li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; }
.excl li::before { content: "—"; position: absolute; left: 0; color: var(--amber-ink); }
.more { display: inline-block; margin-top: 18px; font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.more::after { content: " →"; }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.foot__links a { text-decoration: none; opacity: .8; }
.foot__links a:hover { opacity: 1; }
@media (max-width: 920px) { .probe__grid, .excl { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .probe__fields { grid-template-columns: 1fr; } }

/* ---------- v2: боли, ИИ-ведущий, движение ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.bgfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .75; pointer-events: none; }
.probe, .who, .avatar { position: relative; overflow: hidden; }
.probe .wrap, .who .wrap, .avatar .wrap { position: relative; }

[data-reveal] { transition-delay: var(--d, 0s); }
.split[data-reveal] { opacity: 1; transform: none; }
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .wd > span { display: inline-block; transform: translateY(108%); transition: transform .85s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .wd > span { transform: none; }
.label::before { animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 179, 61, .55); } 50% { box-shadow: 0 0 0 7px rgba(242, 179, 61, 0); } }

.chain__cols, .tabs, .faq__list, .excl { position: relative; }
.chain__cols { border-top-color: transparent; }
.chain__cols::before, .timeline::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.chain__cols.is-in::before, .timeline.is-in::before { transform: scaleX(1); }
.timeline { position: relative; }
.timeline li { border-top-color: transparent; }
.timeline li::before { transform: scale(0); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--d, 0s) + .25s); }
.timeline li.is-in::before { transform: scale(1); }
.step__n { display: inline-block; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s; transition-delay: var(--d, 0s); }
.step:not(.is-in) .step__n { transform: translateY(24px) scale(.8); opacity: 0; }
.prow { transition: background .25s, padding .25s; }
.prow:hover { background: rgba(14, 30, 35, .04); padding-inline: 12px; }
.btn--amber { position: relative; overflow: hidden; }
.btn--amber::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
.btn--amber:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.hero__chain li::before { animation: relay 4.5s linear infinite; }
.hero__chain li:nth-child(2)::before { animation-delay: 1.5s; }
.hero__chain li:nth-child(3)::before { animation-delay: 3s; }
@keyframes relay { 0%, 22% { box-shadow: 0 0 0 0 rgba(242, 179, 61, .7); transform: scale(1.5); } 33%, 100% { box-shadow: 0 0 0 9px rgba(242, 179, 61, 0); transform: scale(1); } }

/* боли */
.pains__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(36px, 4.5vw, 64px); align-items: start; }
.pains__group { margin: 26px 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pains__group:first-child { margin-top: 0; }
.pains__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pain { appearance: none; cursor: pointer; padding: 11px 16px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 15.5px/1.25 var(--text); text-align: left; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.pain:hover { border-color: var(--ink); transform: translateY(-1px); }
.pain.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pains__answer { position: sticky; top: 96px; border-top: 3px solid var(--amber); background: var(--paper-2); border-radius: 0 0 14px 14px; padding: clamp(22px, 2.6vw, 36px); min-height: 300px; }
.ans[hidden] { display: none; }
.ans { animation: ansIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes ansIn { from { opacity: 0; transform: translateY(12px); } }
.ans__q { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.ans__a { margin: 16px 0 0; color: var(--muted); }
.ans__p { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.ans__p span { font-weight: 600; }
.ans__p b { font: 500 14px/1.3 var(--mono); white-space: nowrap; }

/* ИИ-ведущий */
.avatar { background: radial-gradient(90% 120% at 85% 40%, var(--night-2), var(--night) 62%); color: var(--star); }
.avatar .label { color: rgba(233, 240, 238, .6); }
.avatar .sec__intro { color: rgba(233, 240, 238, .8); }
.avatar__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.avatar__list { list-style: none; margin: 26px 0 0; padding: 0; }
.avatar__list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid rgba(233, 240, 238, .14); color: rgba(233, 240, 238, .86); font-size: 16px; }
.avatar__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.avatar__price { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 26px 0 28px; border-top: 1px solid rgba(233, 240, 238, .3); border-bottom: 1px solid rgba(233, 240, 238, .3); }
.avatar__price div { padding: 16px 0; display: grid; gap: 6px; }
.avatar__price div + div { padding-left: 22px; border-left: 1px solid rgba(233, 240, 238, .14); }
.avatar__price span { font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(233, 240, 238, .6); }
.avatar__price b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.phone { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 1px solid rgba(233, 240, 238, .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); animation: floaty 7s ease-in-out infinite; }
.phone--b { margin-top: 56px; animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1.5%); } }
.phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 23, 28, .88) 0%, rgba(8, 23, 28, 0) 46%); }
.phone__badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(8, 23, 28, .72); backdrop-filter: blur(6px); font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.phone__sub { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 40px; min-height: 2.5em; font: 600 clamp(14px, 1.25vw, 18px)/1.25 var(--text); color: #fff; text-wrap: balance; }
.phone__sub::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--amber); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wave { position: absolute; z-index: 2; left: 14px; bottom: 16px; display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.wave i { width: 3px; border-radius: 2px; background: var(--amber); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1) { animation-delay: -.9s; } .wave i:nth-child(2) { animation-delay: -.3s; } .wave i:nth-child(3) { animation-delay: -.6s; }
.wave i:nth-child(4) { animation-delay: -.1s; } .wave i:nth-child(5) { animation-delay: -.75s; } .wave i:nth-child(6) { animation-delay: -.45s; } .wave i:nth-child(7) { animation-delay: -.2s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.phones__note { grid-column: 1 / -1; margin: 6px 0 0; font: 400 12px/1.5 var(--mono); color: rgba(233, 240, 238, .55); }

@media (max-width: 920px) {
  .bgfield { opacity: .4; }
  .pains__grid, .avatar__grid { grid-template-columns: 1fr; }
  .pains__answer { position: static; min-height: 0; }
  .phones { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .split .wd > span, .step__n, .timeline li::before { transform: none !important; opacity: 1 !important; transition: none; }
  .chain__cols::before, .timeline::before { transform: scaleX(1); transition: none; }
  .phone, .phone img, .wave i, .label::before, .hero__chain li::before, .ans { animation: none; }
  .wave i { height: 10px; }
}

/* ---------- v4: фотографии ---------- */
.band { position: relative; height: clamp(320px, 58vh, 580px); overflow: hidden; color: var(--star); background: var(--night); }
.band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 23, 28, .86) 0%, rgba(8, 23, 28, .45) 45%, rgba(8, 23, 28, .05) 100%), linear-gradient(0deg, rgba(8, 23, 28, .7) 0%, rgba(8, 23, 28, 0) 40%); }
.band__inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(32px, 5vw, 64px); }
.band__text { margin: 0; max-width: 15ch; font-family: var(--display); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.06; text-wrap: balance; }
.panel__lead { min-width: 0; }
.panel__img { margin: clamp(20px, 2.4vw, 32px) 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); clip-path: inset(0 100% 0 0 round 14px); transition: clip-path 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.panel__img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .15s; }
.panel.is-on .panel__lead.is-in .panel__img, .panel__lead.is-in .panel__img { clip-path: inset(0 0 0 0 round 14px); }
.panel__lead.is-in .panel__img img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .band img { transform: none; }
  .panel__img { clip-path: none; transition: none; }
  .panel__img img { transform: none; transition: none; }
}

/* ---------- v5: видео в телефонах ---------- */
.phones--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phones--3 .phone--b { margin-top: 0; }
.phones--3 .phone--a, .phones--3 .phone--c { margin-top: 44px; }
.phones--3 .phone--c { animation-delay: -2s; }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--night-2); transition: opacity .45s ease; }
.phone video.is-switching { opacity: 0; }
@media (max-width: 920px) { .phones--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: none; } .phones--3 .phone--a, .phones--3 .phone--c { margin-top: 24px; } .phone__badge { font-size: 9px; padding: 5px 7px; } .phone__sub { font-size: 12px; bottom: 30px; } }
@media (max-width: 560px) { .phones--3 { grid-template-columns: 1fr 1fr; } .phones--3 .phone--c { grid-column: 1 / -1; width: 60%; max-width: 60%; margin: 0 auto; } }

/* ---------- адаптив ---------- */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .loss__grid, .chain__cols, .panel, .who__grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0 8px; border-right: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step__n { margin-bottom: 18px; font-size: 48px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; }
  .prow em { grid-column: 1; grid-row: 2; }
  .prow strong { grid-column: 2; grid-row: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .hero__inner, .hero__chain { width: calc(100% - 36px); }
  .hero { padding: 104px 0 96px; }
  .hero__chain { font-size: 11px; bottom: 22px; }
  .hero__chain li { gap: 7px; }
  .timeline { grid-template-columns: 1fr; }
  .tab { padding: 12px 10px; font-size: 15px; }
  .btn { width: 100%; }
  .nav__cta { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .headline .ch, .hero__after, .hero__chain, [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
  .matrix__dots i { transition: none; }
}

/* Проход 3: общий ритм и доступные состояния. */
.btn, .pain, .tab { min-height: 44px; }
.btn { white-space: normal; line-height: 1.25; text-align: center; }
.nav__toggle { display: none; }
.nav__mobile-contact { display: none !important; }
.headline, .contact__title, .panel__quote, .ans__q { text-wrap: balance; }
.sec p, .page .flow p { max-width: 64ch; }
section[id] { scroll-margin-top: 88px; }
.hero__field, .contact__field { opacity: .42; }
.bgfield { opacity: .38; }
.hero__lead, .contact__lead { color: var(--star); }
.panel__img img, .industry-photo, .phone img, .band img { filter: saturate(.88) brightness(.94); }
.nav__links a, .foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.nav__links a:hover, .nav__links a:focus-visible, .foot__links a:hover, .foot__links a:focus-visible { opacity: 1; text-decoration: underline; }
.nav:not(.is-light) { background: rgba(8, 23, 28, .94); }
.nav.is-menu-open { background: var(--night); }
.nav.is-menu-open.is-light { background: var(--paper); }
.tab:hover, .tab:focus-visible, .faq__list summary:hover, .faq__list summary:focus-visible { background: rgba(14, 30, 35, .05); }
.pain:focus-visible { border-color: var(--ink); }
.prow:focus-within { background: rgba(14, 30, 35, .04); }
.prow:hover { padding-inline: 0; }
.more:hover, .more:focus-visible { color: var(--amber-ink); }
.phone { border-radius: 14px; }
@media (max-width: 920px) {
  .nav { flex-wrap: wrap; gap: 12px; background: rgba(8, 23, 28, .96); }
  .has-menu .nav__toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-height: 44px; padding: 10px 14px; border: 1px solid currentColor; border-radius: 10px; background: transparent; color: inherit; font: 500 14px/1 var(--text); cursor: pointer; }
  .nav__toggle:hover { background: rgba(127, 214, 232, .12); }
  .nav__cta { margin-left: 0; }
  .nav__links { display: flex; width: 100%; margin: 0; flex-wrap: wrap; gap: 4px 20px; }
  .has-menu .nav__links { display: none; }
  .has-menu .is-menu-open .nav__links { display: flex; order: 4; border-top: 1px solid currentColor; padding-top: 10px; }
  .hero { min-height: 760px; padding-top: 140px; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 18px; gap: 10px; }
  .brand { font-size: 21px; white-space: nowrap; }
  .nav__cta { display: none; }
  .nav__mobile-contact { display: inline-flex !important; }
  .nav__links a { width: calc(50% - 10px); }
  .hero { min-height: 740px; padding: 112px 0 118px; }
  .eyebrow { margin-bottom: 22px; }
  .headline { font-size: clamp(36px, 9.7vw, 54px); }
  .hero__lead { margin-top: 26px; }
  .hero__chain { gap: 12px; line-height: 1.4; letter-spacing: 0; }
  .hero__chain li { min-width: 0; gap: 6px; }
  .hero__chain li::before { flex: none; }
  .phones { gap: 12px; }
  .phone__badge { top: 10px; left: 8px; padding: 6px 7px; font-size: 9px; }
  .phone__sub { left: 10px; right: 10px; font-size: 14px; }
  .ans__p { flex-wrap: wrap; gap: 8px; }
  .prow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .prow em, .prow strong { grid-column: 1; grid-row: auto; text-align: left; }
  .foot__links { gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn::after, .phone__sub::after { animation: none; transition: none; }
}
