/* Демо-сайт агентства. Бренд: чёрный / белый / серый + один оранжевый акцент (как у Hermès, ~#F37021).
 * Кнопки оранжевые с чёрным текстом в обеих темах; оранжевого мало; без градиентов и других цветов.
 * Шрифты: Sora (заголовки), Inter (текст). Две темы через data-theme. */
@font-face { font-family: "Pixel"; src: url("../fonts/pixel.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-cyr.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --accent: #F37021;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1180px;
}
:root[data-theme="dark"] {
  --green: #86C4A0;
  --bg: #0A0A0A; --panel: #161616; --line: #2A2A2A; --text: #F5F5F5; --muted: #A3A3A3; --accent-text: #F37021;
}
:root[data-theme="light"] {
  --green: #1C6242;
  --bg: #FFFFFF; --panel: #F4F4F4; --line: #E2E2E2; --text: #0A0A0A; --muted: #5C5C5C; --accent-text: #C2530A;
}

*, *::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: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; transition: background .25s, color .25s; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #0A0A0A; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* заглушки текста */
.ph { color: var(--muted); font-style: normal; letter-spacing: .02em; }
.display.ph, h3.ph { font-weight: 600; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 "Sora", sans-serif; letter-spacing: .02em; }
.brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.tools { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: transparent; min-width: 40px; min-height: 32px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.theme svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn--primary { background: var(--accent); color: #0A0A0A; }
.btn--primary:hover { transform: translateY(-1px); background: #ff7f33; }
.btn--ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn:active { transform: translateY(0) scale(.99); }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }

/* hero */
.hero { padding: clamp(56px, 11vw, 140px) 0 clamp(40px, 7vw, 90px); }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.display { font: 700 clamp(40px, 7.4vw, 104px)/1.02 "Sora", "Inter", sans-serif; letter-spacing: -.035em; margin: 22px 0 22px; max-width: 14ch; }
.lead { font-size: clamp(18px, 1.7vw, 22px); max-width: 52ch; margin-bottom: 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rule { width: 96px; height: 3px; background: var(--accent); margin-top: clamp(40px, 7vw, 80px); }

/* секции */
.section { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font: 700 clamp(28px, 3.6vw, 48px)/1.08 "Sora", "Inter", sans-serif; letter-spacing: -.025em; }
.sec-head .sub, .sub { color: var(--muted); margin-top: 10px; max-width: 60ch; }
.idx { font: 600 14px/1 "Sora", sans-serif; color: var(--accent-text); letter-spacing: .08em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.num { font: 700 14px/1 "Sora", sans-serif; color: var(--accent-text); }
.card h3, .steps h3 { font: 600 20px/1.25 "Sora", "Inter", sans-serif; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }

/* таблица услуг */
.table { border-top: 1px solid var(--text); }
.tr { display: grid; grid-template-columns: 1fr 160px 160px; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s; }
#services-rows .tr:hover { background: var(--panel); }
.th { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 0; }
.svc { display: flex; gap: 16px; align-items: baseline; font-size: 18px; font-weight: 500; }
.svc .n { font: 600 13px/1 "Sora", sans-serif; color: var(--accent-text); font-style: normal; min-width: 24px; }
.price { font: 600 17px/1.2 "Sora", "Inter", sans-serif; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.th span:nth-child(n+2) { text-align: right; }

/* пакеты */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; }
.pkg h3 { font: 700 28px/1 "Sora", sans-serif; letter-spacing: -.02em; }
.pkg__first { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.big { font: 700 clamp(30px, 3vw, 40px)/1.05 "Sora", sans-serif; letter-spacing: -.03em; color: var(--accent-text); }
.big2 { font: 600 22px/1.1 "Sora", sans-serif; }
.unit { color: var(--muted); font-size: 14.5px; }
.pkg__month { margin-top: 2px; }
.pkg__sep { color: var(--muted); font-size: 13.5px; margin: 10px 0 20px; text-decoration: none; }
.pkg__list { display: grid; gap: 10px; }
.pkg__list li, .facts li { position: relative; padding-left: 22px; font-size: 15.5px; }
.pkg__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--accent); }

/* отрасли */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); padding: 12px 18px; border-radius: 999px; font-size: 15.5px; transition: border-color .2s, background .2s; }
.chips li:hover { border-color: var(--accent); }

/* проекты */
.proj { min-height: 220px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.soon { font-size: 13.5px; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* опрос */
.sv { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3.4vw, 44px); max-width: 860px; }
.sv__bar { height: 3px; background: var(--line); margin-bottom: 18px; }
.sv__bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .35s var(--ease); }
.sv__meta { display: flex; justify-content: space-between; align-items: center; min-height: 36px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.sv__q { font: 600 clamp(22px, 2.4vw, 30px)/1.2 "Sora", "Inter", sans-serif; letter-spacing: -.02em; margin: 14px 0 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.opt { border: 1px solid var(--line); background: transparent; border-radius: 999px; min-height: 46px; padding: 0 20px; font-size: 16px; transition: border-color .2s, background .2s, color .2s; }
.opt:hover { border-color: var(--text); }
.opt[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.sv__foot { margin-top: 22px; }
.sv__err, .form__msg.is-err { color: #E5484D; min-height: 1.4em; font-size: 14.5px; }
.form__msg.is-ok { color: var(--accent-text); }

/* about, faq, contacts */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.facts { display: grid; gap: 14px; }
.facts li { display: grid; gap: 2px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.facts li::before, .channels li::before { display: none; }
.facts b, .channels b { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 600 19px/1.3 "Sora", "Inter", sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; max-width: 70ch; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.channels { display: grid; gap: 22px; align-content: start; }
.channels li { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 19px; }
.form { display: grid; gap: 8px; }
.form label { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.form input:not([type=checkbox]), .form textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; font-size: 16px; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 10px 0; color: var(--text); }
.form .check input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; }
.form .btn { justify-self: start; margin-top: 6px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

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

@media (max-width: 900px) {
  .nav { display: none; }
  .grid3, .pkgs, .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .about, .contacts__grid { grid-template-columns: 1fr; gap: 28px; }
  .tr { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .tr .svc { grid-column: 1 / -1; }
  .tr .price { text-align: left; display: flex; flex-direction: column; gap: 2px; }
  .tr .price::before { content: attr(data-l); font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .th { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 6px; }
  .svc { font-size: 16.5px; }
}
@media (max-width: 520px) {
  .top { padding-inline: 16px; }
  .brand span { font-size: 16px; }
  .btn { width: 100%; }
}

/* ——— блоки по тексту NOVA ——— */
.problems { display: grid; gap: 0; border-top: 1px solid var(--text); counter-reset: p; }
.problems li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: clamp(18px, 1.7vw, 22px); }
.problems .num { font-size: 14px; }
.how { border-top: 1px solid var(--text); margin-bottom: 52px; }
.how__row { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how__head { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 0; }
.how__cell:first-child { font-weight: 600; font-family: "Sora", "Inter", sans-serif; }
.how__cell:last-child { color: var(--accent-text); font-weight: 500; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); }
.fine { margin-top: 20px; color: var(--muted); font-size: 14.5px; }
.fine a { color: var(--accent-text); }
.svc { align-items: flex-start; }
.svc b { font: 600 18px/1.3 "Sora", "Inter", sans-serif; display: block; margin-bottom: 4px; }
.svc__text { color: var(--muted); font-size: 15px; font-weight: 400; max-width: 62ch; }
.pkg__text { margin-top: 6px; font-size: 15.5px; color: var(--text); }
.inds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--text); }
.inds li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.inds b { font: 600 17px/1.3 "Sora", "Inter", sans-serif; }
.inds span { color: var(--muted); font-size: 15px; }
.proj__dl { display: grid; gap: 4px; margin-top: 8px; }
.proj__dl dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.proj__dl dd { margin: 0; }
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.about__text { font-size: clamp(18px, 1.6vw, 21px); max-width: 52ch; }
.beliefs { display: grid; gap: 0; margin-top: 14px; border-top: 1px solid var(--line); }
.beliefs li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.beliefs b { font-family: "Sora", "Inter", sans-serif; }
.beliefs span { color: var(--muted); }
.sv__rec { font: 700 clamp(24px, 2.6vw, 34px)/1.15 "Sora", sans-serif; margin: 6px 0 16px; }
.final { padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.final .display { max-width: 18ch; }
@media (max-width: 900px) {
  .how__head { display: none; }
  .how__row { grid-template-columns: 1fr; gap: 10px; }
  .how__cell::before { content: attr(data-l); display: block; font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
  .inds { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .problems li { grid-template-columns: 40px 1fr; }
}

/* ——— строгая «хакерская» тема: моноширинные акценты, скобки, терминал, поле символов ——— */
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
#glyphs { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body > :not(#glyphs) { position: relative; z-index: 1; }
.top { position: sticky; }
.kicker.mono { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker .br, .kicker .sl { color: var(--accent-text); }
.idx { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: .04em; }
.idx::before { content: "[ "; color: var(--muted); }
.idx::after { content: " ]"; color: var(--muted); }
.num, .svc .n { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; }
.th, .how__head, .tag, .proj__dl dt, .channels b { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; }
.btn { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.btn--primary::after { content: "  →"; white-space: pre; }
.nav a { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover { color: var(--accent-text); }
.brand { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; letter-spacing: .18em; }
.brand span::before { content: "["; color: var(--muted); margin-right: 6px; }
.brand span::after { content: "]"; color: var(--muted); margin-left: 6px; }

/* hero в две колонки, справа терминал */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__rule { grid-column: 1 / -1; height: 1px; background: var(--line); position: relative; margin-top: clamp(28px, 5vw, 56px); width: 100%; }
.hero__rule i { position: absolute; left: 0; top: -1px; width: 96px; height: 3px; background: var(--accent); animation: scan 5.2s var(--ease) infinite; }
@keyframes scan { 0% { left: 0; opacity: 1; } 70% { left: calc(100% - 96px); opacity: 1; } 100% { left: calc(100% - 96px); opacity: 0; } }
.display { max-width: 16ch; }
.display .wd { display: inline-block; white-space: nowrap; }
.display .ch { display: inline-block; text-align: center; white-space: pre; }
.display .ch.scr { color: var(--accent-text); }
.display .ch.scr2 { color: var(--muted); opacity: .7; }
.term { border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 80%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); position: relative; }
.term::before, .term::after, .card::before, .card::after, .pkg::before, .pkg::after, .sv::before, .sv::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--accent); pointer-events: none; }
.term::before, .card::before, .pkg::before, .sv::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.term::after, .card::after, .pkg::after, .sv::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.card, .pkg, .sv { position: relative; border-radius: 0; background: color-mix(in srgb, var(--panel) 82%, transparent); }
.term__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.term__body { margin: 0; padding: 18px 18px 22px; min-height: 230px; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; color: var(--text); }
.term__body .p { color: var(--green); }
.term__body .d { color: var(--muted); }
.term__body .ok { color: var(--text); }
.term__caret { display: inline-block; width: .6em; height: 1.05em; background: var(--green); vertical-align: -.18em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tr { transition: background .2s, padding-left .25s var(--ease); }
#services-rows .tr:hover { padding-left: 10px; background: color-mix(in srgb, var(--panel) 70%, transparent); }
#services-rows .tr:hover .n { color: var(--accent-text); }
.opt, .chips li { border-radius: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; }
.section, .final { background: transparent; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .term { order: 2; }
  .term__body { min-height: 190px; font-size: 12.5px; }
}

.display { font-size: clamp(34px, 4.9vw, 72px); max-width: 17ch; line-height: 1.04; }
@media (max-width: 900px) { .display { font-size: clamp(34px, 9vw, 56px); } }
.display .ch.scr2 { opacity: .42; font-weight: 400; }
.display .ch.scr { opacity: .9; }

/* ——— крупнее правая часть hero, схема подключения, мягкое появление ——— */
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.term { align-self: center; }
.term__bar { padding: 14px 20px; font-size: 12px; }
.term__body { padding: 24px 24px 28px; min-height: 300px; font-size: 15.5px; line-height: 2; }
.term::selection { background: var(--accent); }
.flow { border-top: 1px solid var(--line); padding: 20px 24px 26px; position: relative; }
.flow__cap { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.flow__nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 12.5px; letter-spacing: .02em; }
.flow__nodes li { border: 1px solid var(--line); padding: 12px 10px; display: grid; gap: 6px; color: var(--muted); background: color-mix(in srgb, var(--bg) 60%, transparent); animation: nodeOn 6.4s infinite; }
.flow__nodes li span { font-size: 11px; color: var(--accent-text); }
.flow__nodes li:nth-child(2) { animation-delay: 1.4s; }
.flow__nodes li:nth-child(3) { animation-delay: 2.8s; }
.flow__nodes li:nth-child(4) { animation-delay: 4.2s; }
@keyframes nodeOn {
  0%, 30%, 100% { border-color: var(--line); color: var(--muted); }
  6%, 22% { border-color: var(--accent); color: var(--text); }
}
.flow__line { position: relative; height: 1px; background: var(--line); margin-top: 18px; }
.flow__line i { position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--accent); animation: pulse 6.4s var(--ease) infinite; }
@keyframes pulse { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 56px); opacity: 0; } }
.fx-hero .hero__main > .kicker { animation: rise .8s var(--ease) .1s both; }
.fx-hero .hero .lead { animation: rise .9s var(--ease) 1.9s both; }
.fx-hero .hero .cta { animation: rise .9s var(--ease) 2.3s both; }
.fx-hero .hero .term { animation: rise 1s var(--ease) .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .term__body { min-height: 220px; font-size: 13px; line-height: 1.9; padding: 18px; }
  .flow { padding: 16px 18px 22px; }
  .flow__nodes { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .flow__nodes li, .flow__line i { animation: none !important; }
  .fx-hero .hero__main > .kicker, .fx-hero .hero .lead, .fx-hero .hero .cta, .fx-hero .hero .term { animation: none !important; }
}
@media (max-width: 900px) { .display { max-width: none; } .kicker.mono { font-size: 11.5px; } }

/* ——— анимации по ходу страницы ——— */
#progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 40; pointer-events: none; }
#progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.fx-on .fx { transition: opacity .75s var(--ease), transform .75s var(--ease), border-color .25s, background .25s; transition-delay: calc(var(--i, 0) * 80ms); }
.fx-on .fx-item { opacity: 0; transform: translateY(22px); }
.fx-on .fx-left { opacity: 0; transform: translateX(-28px); }
.fx-on .fx-item.in, .fx-on .fx-left.in { opacity: 1; transform: none; }
.fx-on .fx-head { opacity: 0; transform: translateY(10px); }
.fx-on .fx-head.in { opacity: 1; transform: none; }
.sec-head { position: relative; padding-bottom: 18px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line); }
.sec-head::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 72px; background: var(--accent); transform-origin: 0 50%; z-index: 1; }
.fx-on .fx-head::before { transform: scaleX(0); transition: transform 1s var(--ease) .15s; }
.fx-on .fx-head.in::before { transform: scaleX(1); }
.fx-on .fx-steps.fx { opacity: 1; transform: none; position: relative; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(1); }
.fx-on .fx-steps::before { transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.fx-on .fx-steps.in::before { transform: scaleX(1); }
.fx-on .fx-steps { border-top-color: var(--line); }
.display.fx { opacity: 1; transform: none; }
.pkg, .card { transition: border-color .25s, transform .35s var(--ease); }
.fx-on .pkg.in:hover, .fx-on .card.in:hover { transform: translateY(-4px); border-color: var(--accent); }
.pkg:hover, .card:hover { border-color: var(--accent); }
.fx-on .pkg.in .pkg__list li { animation: itemIn .6s var(--ease) both; }
.fx-on .pkg.in .pkg__list li:nth-child(1) { animation-delay: .35s; } .fx-on .pkg.in .pkg__list li:nth-child(2) { animation-delay: .45s; }
.fx-on .pkg.in .pkg__list li:nth-child(3) { animation-delay: .55s; } .fx-on .pkg.in .pkg__list li:nth-child(4) { animation-delay: .65s; }
.fx-on .pkg.in .pkg__list li:nth-child(5) { animation-delay: .75s; } .fx-on .pkg.in .pkg__list li:nth-child(6) { animation-delay: .85s; }
@keyframes itemIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.inds li { position: relative; transition: padding-left .3s var(--ease); }
.inds li::before { content: ">"; position: absolute; left: 0; top: 18px; color: var(--accent-text); font-family: "JetBrains Mono", ui-monospace, monospace; opacity: 0; transition: opacity .2s; }
.inds li:hover { padding-left: 20px; }
.inds li:hover::before { opacity: 1; }
.problems li { transition: padding-left .3s var(--ease); }
.problems li:hover { padding-left: 8px; }
.problems li:hover .num { color: var(--text); }
.how__row:not(.how__head) { transition: background .25s; }
.how__row:not(.how__head):hover { background: color-mix(in srgb, var(--panel) 70%, transparent); }
.faq summary:hover { color: var(--accent-text); }
.faq details { overflow: hidden; }
.opts .opt { animation: itemIn .5s var(--ease) both; }
.opts .opt:nth-child(2) { animation-delay: .04s; } .opts .opt:nth-child(3) { animation-delay: .08s; } .opts .opt:nth-child(4) { animation-delay: .12s; }
.opts .opt:nth-child(5) { animation-delay: .16s; } .opts .opt:nth-child(6) { animation-delay: .2s; } .opts .opt:nth-child(n+7) { animation-delay: .24s; }
.sv__q { animation: itemIn .5s var(--ease) both; }
.final .display { font-size: clamp(34px, 5.6vw, 84px); }
.final .display .wd { display: inline-block; white-space: nowrap; }
.final .display .ch { display: inline-block; text-align: center; white-space: pre; }
.final .display .ch.scr { color: var(--accent-text); }
.final .display .ch.scr2 { color: var(--muted); opacity: .42; }
.sec-head h2 .wd { display: inline-block; white-space: nowrap; }
.sec-head h2 .ch { display: inline-block; text-align: center; white-space: pre; }
.sec-head h2 .ch.scr { color: var(--accent-text); }
.sec-head h2 .ch.scr2 { color: var(--muted); opacity: .45; }
@media (prefers-reduced-motion: reduce) {
  #progress i { transform: scaleX(0) !important; }
  .fx, .pkg__list li, .opts .opt, .sv__q { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ——— разные анимации вместо одинаковой расшифровки ——— */
.h-wipe { clip-path: inset(0 100% 0 0); }
.h-wipe.h-wipe-on { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.mi { display: inline-block; transform: translateY(115%); transition: transform .9s var(--ease); }
.h-mask-on .mi { transform: none; }
.h-type { position: relative; }
.h-type .tg { visibility: hidden; }
.h-type .tl { position: absolute; left: 0; top: 0; right: 0; }
.tc { display: inline-block; width: .5em; height: .85em; background: var(--accent); margin-left: 4px; vertical-align: -.02em; animation: blink 1s steps(1) infinite; }
.tc.off { opacity: 0; animation: none; }

/* шаги: линия растёт вместе с прокруткой */
.fx-on .steps::before { transform: scaleX(var(--p, 0)); transition: none; }
.fx-on .fx-steps.in::before { transform: scaleX(var(--p, 0)); }
.steps li::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; background: var(--accent); }
.steps li { position: relative; }

/* пакеты: параллакс, наклон, подсветка */
.fx-on .pkg { translate: 0 var(--py, 0px); }
.fx-on .pkg.in, .fx-on .proj.in, .fx-on .card.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, border-color .25s, opacity .75s var(--ease); }
.fx-on .pkg.in:hover, .fx-on .card.in:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* услуги: линия под строкой прорисовывается, номер подсвечивается */
.tr { position: relative; }
#services-rows .tr::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.fx-on #services-rows .tr.in::after { animation: draw 1.1s var(--ease) calc(var(--i, 0) * 90ms + .2s) both; }
@keyframes draw { 0% { transform: scaleX(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* отрасли: пробег отметки по строкам */
.fx-on .inds li::after { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; background: var(--accent); transform: translateY(-50%) scale(0); opacity: 0; }
.fx-on .inds li.in::after { animation: tick .9s var(--ease) calc(var(--i, 0) * 70ms + .15s) both; }
@keyframes tick { 0% { opacity: 1; transform: translateY(-50%) scale(1); } 100% { opacity: 0; transform: translateY(-50%) scale(1) translateX(22px); } }

/* строки «Как это работает»: акцентная полоска у колонки результата */
.how__cell:last-child { position: relative; }
.fx-on .how__row.in .how__cell:last-child::after { content: ""; position: absolute; left: 0; bottom: -10px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; animation: draw 1.2s var(--ease) calc(var(--i, 0) * 120ms + .3s) both; }

/* панель опроса: рамка прорисовывается */
.fx-on .sv.in { box-shadow: 0 0 0 1px var(--line); }
.fx-on .sv .sv__bar i { box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }

/* убрать прежнее общее «выкатывание» заголовка, чтобы не мешало новым */
.fx-on .fx-head { transform: none; transition: opacity .4s; }
@media (prefers-reduced-motion: reduce) {
  .h-wipe, .mi, .tc { clip-path: none !important; transform: none !important; animation: none !important; }
  .fx-on .pkg { translate: none !important; }
}

/* ——— спокойная база: меньше движения ——— */
.fx-on .fx { transition-delay: calc(var(--i, 0) * 45ms); }
.fx-on .fx-item { transform: translateY(14px); }
.fx-on .pkg { translate: none; }
#services-rows .tr::after, .inds li::after, .how__row .how__cell:last-child::after, .steps li::after { display: none !important; animation: none !important; }
.fx-on .pkg.in .pkg__list li { animation: none; }
.opts .opt, .sv__q { animation: none; }
.fx-on .sv .sv__bar i { box-shadow: none; }

/* калькулятор */
.calc { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--text); padding-top: 28px; }
.calc__head h3 { font: 700 clamp(22px, 2.4vw, 30px)/1.15 "Sora", sans-serif; letter-spacing: -.02em; }
.calc__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 22px; align-items: start; }
.calc__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc__item { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); padding: 14px; transition: border-color .2s, background .2s; }
.calc__item:hover { border-color: var(--text); }
.calc__item[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.calc__box { flex: none; width: 18px; height: 18px; border: 1px solid var(--muted); margin-top: 2px; position: relative; }
.calc__item[aria-pressed="true"] .calc__box { background: var(--accent); border-color: var(--accent); }
.calc__item[aria-pressed="true"] .calc__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #0A0A0A; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.calc__t b { display: block; font: 600 15.5px/1.3 "Sora", "Inter", sans-serif; }
.calc__t small { color: var(--muted); font-size: 13px; }
.calc__sum { position: sticky; top: 90px; border: 1px solid var(--line); padding: 24px; background: color-mix(in srgb, var(--panel) 82%, transparent); display: grid; gap: 8px; }
.calc__big { font: 700 clamp(28px, 3vw, 40px)/1.05 "Sora", sans-serif; letter-spacing: -.03em; color: var(--accent-text); }
.calc__mid { font: 600 22px/1.1 "Sora", sans-serif; }
.calc__big em, .calc__mid em { font: 400 14px/1 "Inter", sans-serif; color: var(--muted); font-style: normal; }
.calc__note { color: var(--muted); font-size: 14.5px; min-height: 3.2em; margin: 8px 0 12px; }
.calc__sum .btn { justify-self: start; }

/* демо-переписки, лента со свайпом */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; cursor: grab; -webkit-overflow-scrolling: touch; outline-offset: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.chat { flex: 0 0 min(86%, 380px); scroll-snap-align: start; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 82%, transparent); padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.chat__tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chat__title { font: 600 20px/1.25 "Sora", "Inter", sans-serif; }
.chat__box { display: grid; gap: 10px; margin-top: 6px; }
.bub { margin: 0; padding: 11px 14px; font-size: 15px; line-height: 1.4; max-width: 88%; border: 1px solid var(--line); }
.bub--c { background: var(--bg); justify-self: start; color: var(--text); }
.bub--a { justify-self: end; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.rail__ctl { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.rail__btn { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 18px; transition: border-color .2s, color .2s; }
.rail__btn:hover { border-color: var(--accent); color: var(--accent-text); }
.rail__bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.rail__bar i { position: absolute; left: 0; top: 0; height: 100%; width: 30%; background: var(--accent); transition: transform .15s linear; }
@media (max-width: 900px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc__list { grid-template-columns: 1fr; }
  .calc__sum { position: static; }
}

/* убрать сдвиг по наведению у списка проблем */
.problems li, .problems li:hover { padding-left: 0; transition: none; }
.problems li:hover .num { color: var(--accent-text); }

/* лента крутится сама: без привязки к карточкам */
.rail { scroll-snap-type: none; }
.chat { scroll-snap-align: none; }

/* проекты: блок целиком — ссылка */
a.proj { text-decoration: none; color: inherit; display: grid; gap: 12px; align-content: start; min-height: 230px; cursor: pointer; }
.proj__text { color: var(--muted); font-size: 15.5px; max-width: 36ch; }
.proj__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13.5px; }
.proj__go { font-style: normal; font-size: 20px; color: var(--accent-text); transition: transform .25s var(--ease); }
a.proj:hover .proj__go { transform: translate(3px, -3px); }
a.proj:hover h3 { color: var(--accent-text); }
a.proj:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#projects-list { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { #projects-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { #projects-list { grid-template-columns: 1fr; } }

/* телефон: всё в одну колонку (поздние правила hero не должны возвращать две колонки) */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main, .term { min-width: 0; width: 100%; }
  .term__bar { flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px; }
  .flow__nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__nodes li { min-width: 0; }
  .cta .btn { width: 100%; }
}

/* телефон: больше воздуха */
@media (max-width: 900px) {
  :root { --pad: 24px; }
  body { line-height: 1.65; }
  .top { padding: 16px var(--pad); }
  .hero { padding: 64px 0 48px; gap: 36px; }
  .kicker.mono { line-height: 1.7; }
  .display { line-height: 1.1; margin: 24px 0 26px; }
  .lead { margin-bottom: 34px; line-height: 1.6; }
  .cta { gap: 16px; }
  .btn { min-height: 56px; }
  .hero__rule { margin-top: 40px; }
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; padding-bottom: 20px; gap: 10px; }
  .sec-head .sub, .sub { margin-top: 14px; line-height: 1.65; }
  .problems li { padding: 28px 0; gap: 16px; line-height: 1.55; }
  .how__row { padding: 30px 0; gap: 16px; }
  .how__cell { line-height: 1.6; }
  .steps li, .steps li + li { padding: 30px 0; gap: 12px; }
  .tr { padding: 26px 0; gap: 10px 20px; }
  .svc { gap: 18px; }
  .svc__text { margin-top: 6px; line-height: 1.6; }
  .pkgs { gap: 22px; }
  .pkg { padding: 32px 26px; gap: 10px; }
  .pkg__first { margin-bottom: 22px; padding-bottom: 22px; }
  .pkg__list { gap: 14px; }
  .calc { margin-top: 56px; padding-top: 34px; }
  .calc__grid { gap: 32px; margin-top: 28px; }
  .calc__list { gap: 14px; }
  .calc__item { padding: 18px 16px; }
  .calc__sum { padding: 28px 24px; gap: 12px; }
  .inds li { padding: 24px 0; gap: 8px; }
  .chat { padding: 26px 22px; gap: 16px; }
  .chat__box { gap: 14px; }
  .bub { padding: 14px 16px; line-height: 1.5; }
  .rail { gap: 18px; }
  .rail__ctl { margin-top: 18px; }
  #projects-list { gap: 20px; }
  a.proj { padding: 26px 24px; min-height: 0; gap: 14px; }
  .sv { padding: 28px 24px; }
  .opts { gap: 14px; }
  .opt { min-height: 52px; padding: 0 22px; }
  .about { gap: 36px; }
  .beliefs li { padding: 22px 0; line-height: 1.6; }
  .faq details { padding: 26px 0; }
  .faq summary { line-height: 1.4; }
  .contacts__grid { gap: 40px; }
  .channels { gap: 28px; }
  .form { gap: 12px; }
  .form label { margin-top: 12px; }
  .final { padding: 88px 0; }
  .foot { padding: 36px 0 52px; gap: 12px; }
  .term__body { line-height: 2; }
  .flow { padding: 20px 20px 26px; }
  .flow__nodes { gap: 14px; }
  .flow__nodes li { padding: 16px 14px; }
}

/* компьютер: больше воздуха */
@media (min-width: 901px) {
  :root { --pad: clamp(28px, 5.5vw, 88px); }
  body { line-height: 1.65; }
  .top { padding: 18px var(--pad); }
  .hero { padding: clamp(96px, 11vw, 168px) 0 clamp(64px, 7vw, 112px); gap: clamp(48px, 6vw, 96px); }
  .display { margin: 30px 0 32px; line-height: 1.08; }
  .lead { margin-bottom: 44px; line-height: 1.62; }
  .cta { gap: 18px; }
  .hero__rule { margin-top: clamp(56px, 7vw, 96px); }
  .section { padding: clamp(96px, 9vw, 156px) 0; }
  .sec-head { margin-bottom: clamp(44px, 4.4vw, 72px); padding-bottom: 24px; }
  .sec-head .sub, .sub { margin-top: 16px; line-height: 1.65; max-width: 64ch; }
  .grid3, .pkgs { gap: 24px; }
  .card { padding: 34px; gap: 14px; }
  .problems li { padding: 30px 0; }
  .how__row { padding: 30px 0; gap: 36px; }
  .how { margin-bottom: 72px; }
  .steps li { padding: 36px 36px 36px 0; gap: 12px; }
  .steps li + li { padding-left: 36px; }
  .tr { padding: 26px 0; }
  .svc { gap: 20px; }
  .svc__text { margin-top: 6px; }
  .pkg { padding: 40px 34px; gap: 8px; }
  .pkg__first { margin-bottom: 22px; padding-bottom: 22px; }
  .pkg__list { gap: 14px; }
  .fine { margin-top: 28px; }
  .calc { margin-top: 80px; padding-top: 40px; }
  .calc__grid { gap: 40px; margin-top: 30px; }
  .calc__list { gap: 14px; }
  .calc__item { padding: 20px 18px; }
  .calc__sum { padding: 32px 30px; gap: 12px; }
  .inds { gap: 0 72px; }
  .inds li { padding: 24px 0; gap: 6px; }
  .chat { padding: 28px; gap: 16px; }
  .chat__box { gap: 14px; }
  .bub { padding: 14px 18px; line-height: 1.5; }
  .rail { gap: 22px; }
  .rail__ctl { margin-top: 22px; }
  #projects-list { gap: 24px; }
  a.proj { padding: 32px 30px; gap: 14px; min-height: 270px; }
  .sv { padding: clamp(32px, 3.8vw, 56px); }
  .opts { gap: 14px; }
  .opt { min-height: 50px; padding: 0 24px; }
  .about { gap: clamp(56px, 7vw, 112px); }
  .beliefs li { padding: 22px 0; }
  .faq details { padding: 28px 0; }
  .contacts__grid { gap: 72px; }
  .channels { gap: 30px; }
  .form { gap: 12px; }
  .form label { margin-top: 12px; }
  .final { padding: clamp(110px, 12vw, 190px) 0; }
  .foot { padding: 40px 0 56px; }
  .term__body { line-height: 2.05; }
}

/* цифры-индексы: ноль без точки внутри */
.idx, .num, .svc .n, .flow__nodes li span, .stmt__t { font-family: "Sora", "Inter", sans-serif; font-feature-settings: "zero" 0; font-variant-numeric: tabular-nums; }

/* проблемы и принципы: простое наведение (без сдвига текста) — остальные строки притухают, у текущей рисуется линия */
.problems li, .beliefs li { position: relative; transition: opacity .3s ease, background .3s ease; }
.problems li::after, .beliefs li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.fx-on .problems:hover li.fx-item.in, .fx-on .beliefs:hover li.fx-item.in { opacity: .42; }
.problems:hover li, .beliefs:hover li { opacity: .42; }
.fx-on .problems li.fx-item.in:hover, .fx-on .beliefs li.fx-item.in:hover, .problems li:hover, .beliefs li:hover { opacity: 1; background: color-mix(in srgb, var(--panel) 60%, transparent); }
.problems li:hover::after, .beliefs li:hover::after { transform: scaleX(1); }
.problems li:hover .num { color: var(--accent-text); }
@media (hover: none) { .problems:hover li, .beliefs:hover li, .fx-on .problems:hover li.fx-item.in, .fx-on .beliefs:hover li.fx-item.in { opacity: 1; } }

/* 16-й блок в отраслях: приглашение на опрос */
.inds__cta a { display: grid; gap: 6px; position: relative; text-decoration: none; color: inherit; border: 1px solid var(--accent); padding: 20px 56px 20px 20px; margin: 6px 0; transition: background .25s, transform .25s var(--ease); }
.inds__cta b { font: 600 17px/1.3 "Sora", "Inter", sans-serif; }
.inds__cta span { color: var(--muted); font-size: 15px; }
.inds__cta i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 22px; color: var(--accent-text); transition: transform .25s var(--ease); }
.inds__cta a:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.inds__cta a:hover i { transform: translate(5px, -50%); }
.inds li.inds__cta { border-bottom: 0; }
.inds li.inds__cta::before, .inds li.inds__cta::after { display: none; }
.inds li.inds__cta:hover { padding-left: 0; }

/* FAQ: аккордеон на кнопках, плавное раскрытие без измерений (grid 0fr → 1fr), старый открывается закрытым одновременно */
.faq { border-top: 1px solid var(--line); }
.faqi { border-bottom: 1px solid var(--line); }
.faqi__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; background: none; border: 0; padding: 26px 0; font: 600 19px/1.35 "Sora", "Inter", sans-serif; color: var(--text); cursor: pointer; transition: color .25s; }
.faqi__q:hover { color: var(--accent-text); }
.faqi__pm { position: relative; flex: none; width: 18px; height: 18px; }
.faqi__pm::before, .faqi__pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: var(--accent); transition: transform .35s var(--ease); }
.faqi__pm::after { transform: rotate(90deg); }
.faqi.is-open .faqi__pm::after { transform: rotate(0deg); }
.faqi__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faqi.is-open .faqi__a { grid-template-rows: 1fr; }
.faqi__in { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .4s var(--ease); }
.faqi.is-open .faqi__in { opacity: 1; transform: none; transition-delay: .05s; }
.faqi__in p { padding: 0 0 28px; max-width: 70ch; color: var(--text); }
.faqi:not(.is-open) .faqi__in { visibility: hidden; transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .4s; }
@media (max-width: 900px) { .faqi__q { padding: 28px 0; font-size: 17.5px; } }
@media (prefers-reduced-motion: reduce) { .faqi__a, .faqi__in, .faqi__pm::before, .faqi__pm::after { transition: none !important; } }

/* проекты: подвал карточки прижат вниз, домен и линия на одной высоте у всех */
a.proj { display: flex; flex-direction: column; gap: 14px; }
a.proj .proj__text { flex: 0 0 auto; }
a.proj .proj__foot { margin-top: auto; }
#projects-list { align-items: stretch; }

/* строки списков и таблиц: внутренние поля, подсветка при наведении не липнет к краю текста */
.problems li, .problems li:hover,
.beliefs li, .beliefs li:hover { padding-left: 22px; padding-right: 22px; }
.how__row, .how__row:hover { padding-left: 22px; padding-right: 22px; }
.tr, #services-rows .tr:hover { padding-left: 22px; padding-right: 22px; }
.inds li, .inds li:hover { padding-left: 20px; padding-right: 20px; }
.inds li::before { left: 4px; }
.faqi__q { padding-left: 22px; padding-right: 22px; }
.faqi__in p { padding-left: 22px; padding-right: 22px; }
.fx-on .inds li.in::after, .fx-on .inds li::after { display: none; }
@media (max-width: 900px) {
  .problems li, .problems li:hover, .beliefs li, .beliefs li:hover { padding-left: 16px; padding-right: 16px; }
  .how__row, .how__row:hover { padding-left: 16px; padding-right: 16px; }
  .tr, #services-rows .tr:hover { padding-left: 16px; padding-right: 16px; }
  .inds li, .inds li:hover { padding-left: 16px; padding-right: 16px; }
  .faqi__q, .faqi__in p { padding-left: 16px; padding-right: 16px; }
}

/* ——— бегущая лента переписок: без ручной прокрутки, края рассыпаются на символы ——— */
.marq { position: relative; overflow: hidden; padding: 12px 0; }
.marq__clip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(110px, 12vw, 190px), #000 calc(100% - clamp(110px, 12vw, 190px)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 clamp(110px, 12vw, 190px), #000 calc(100% - clamp(110px, 12vw, 190px)), transparent 100%); }
.marq__track { display: flex; width: max-content; animation: marqmove var(--dur, 60s) linear infinite; will-change: transform; }
.marq__set { display: flex; gap: 18px; padding-right: 18px; }
@keyframes marqmove { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift, 1000px))); } }
.marq__fx { position: absolute; left: 0; top: 0; pointer-events: none; }
.marq .chat { flex: 0 0 min(80vw, 380px); width: min(80vw, 380px); scroll-snap-align: none; }
.chat { border-radius: 0; border-color: var(--line); background: color-mix(in srgb, var(--panel) 90%, var(--bg)); }
.chat::before, .chat::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--accent); pointer-events: none; }
.chat::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.chat::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.chat__tag { color: var(--accent-text); }
.chat__title { font-size: 19px; }
.chat .bub { border-radius: 0; }
.chat .bub--c { border-left: 2px solid var(--muted); }
.chat .bub--a { border-left: 2px solid var(--accent); }
@media (prefers-reduced-motion: reduce) { .marq__track { animation: none; } }

/* ——— опрос: вступительный экран ——— */
.sv { max-width: none; }
#sv-run { max-width: 860px; }
.svi { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.svi__left { display: grid; gap: 28px; align-content: start; }
.svi__steps { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.svi__steps li { border: 1px solid var(--line); text-align: center; padding: 12px 0; font: 600 13px/1 "Sora", sans-serif; color: var(--muted); transition: border-color .25s, color .25s, background .25s; }
.svi__steps li.done { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--text); }
.svi__steps li.on { border-color: var(--accent); background: var(--accent); color: #0A0A0A; }
.svi__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svi__facts li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.svi__facts b { font: 600 16px/1.3 "Sora", "Inter", sans-serif; }
.svi__facts span { color: var(--muted); font-size: 15.5px; }
.svi__right { display: grid; gap: 22px; align-content: space-between; }
.svi__card { border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 24px 24px 26px; position: relative; display: grid; gap: 16px; }
.svi__card::before, .svi__card::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--accent); }
.svi__card::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.svi__card::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.svi__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.svi__q { font: 600 clamp(20px, 2vw, 26px)/1.25 "Sora", "Inter", sans-serif; letter-spacing: -.02em; }
.svi__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svi__chips span { border: 1px solid var(--line); padding: 9px 14px; font-size: 14.5px; color: var(--muted); }
.svi__chips .more { border-style: dashed; color: var(--accent-text); }
#sv-start { width: 100%; min-height: 62px; justify-content: space-between; padding: 0 28px; }
@media (max-width: 900px) {
  .svi { grid-template-columns: 1fr; gap: 32px; }
  .svi__facts li { grid-template-columns: 1fr; gap: 4px; }
  .svi__steps { gap: 6px; }
  .svi__steps li { padding: 10px 0; font-size: 12px; }
}

/* «О нас»: текст в окне терминала */
.about { align-items: start; }
.term--about { align-self: start; }
.term--about .term__body { position: relative; min-height: 0; font-size: 15.5px; line-height: 1.95; padding: 26px 26px 30px; white-space: pre-wrap; display: block; }
.about-ghost { visibility: hidden; display: block; }
.about-live { position: absolute; left: 26px; right: 26px; top: 26px; display: block; white-space: pre-wrap; }
.about-live .p, .about-ghost .p { color: var(--green); }
@media (max-width: 900px) { .term--about .term__body { font-size: 14px; padding: 20px; } .about-live { left: 20px; right: 20px; top: 20px; } }

/* главный экран: быстрее появление */
.fx-hero .hero .lead { animation-delay: .85s; }
.fx-hero .hero .cta { animation-delay: 1.05s; }
.fx-hero .hero .term { animation-delay: .3s; }

/* текст только для программ чтения с экрана */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
