/* Эрви · сайт 2026 — единый стиль главной, решений, статей и служебных страниц. */

@font-face {
  font-family: "Ervi Serif";
  src: url("/assets/fonts/ervi-serif-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0020-007F, U+00A0-00FF, U+0400-045F, U+2013-2014, U+2018-201E, U+2026, U+20BD, U+2116, U+2192;
}

:root {
  --bg: #05050c;
  --bg-soft: #0a0a17;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f3fb;
  --text-2: #cdcae0;
  --muted: #a19db9;
  --dim: #75718d;
  --cyan: #74e2ff;
  --blue: #7d8fff;
  --violet: #a58bff;
  --pink: #f39bff;
  --warm: #ffc98f;
  --ok: #5fe6ab;
  --danger: #ff8fa3;
  --grad: linear-gradient(95deg, #86e8ff 0%, #a595ff 48%, #f5a3ff 100%);
  --grad-warm: linear-gradient(95deg, #ffd494 0%, #ff9fae 55%, #f5a3ff 100%);
  --btn: linear-gradient(100deg, #9aecff 0%, #b3a6ff 52%, #f6b2ff 100%);
  --radius: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Ervi Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% -8%, rgba(110, 96, 255, .16), transparent 70%),
    radial-gradient(40% 30% at 100% 30%, rgba(80, 200, 255, .06), transparent 70%),
    radial-gradient(40% 30% at 0% 70%, rgba(180, 100, 255, .05), transparent 70%);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
::selection { background: rgba(143, 233, 255, .3); color: #fff; }
:focus-visible { outline: 2px solid #8fe9ff; outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; }
.grad {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.grad--warm { background-image: var(--grad-warm); }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 10px 14px; border-radius: 10px; background: #fff; color: #05050c; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #a9bcff;
}
.eyebrow .ic { width: 16px; height: 16px; }
.eyebrow--warm { color: var(--warm); }
.h2 {
  margin: 0 0 18px;
  font-size: clamp(31px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
}
.lead { color: var(--text-2); font-size: clamp(16.5px, 1.32vw, 19px); line-height: 1.6; }
.section-head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { max-width: 680px; }
.section-head--center .lead { margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn, .button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 14px;
  font-size: 15.5px; font-weight: 650; line-height: 1.15; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 19px; height: 19px; }
.btn--primary, .button-primary {
  color: #07071a;
  background: var(--btn);
  box-shadow: 0 12px 34px -12px rgba(150, 150, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.btn--primary::after, .button-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 45%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover, .button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(160, 150, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--primary:hover::after, .button-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn--ghost, .button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover, .button-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.btn:active, .button:active { transform: translateY(0) scale(.985); }
.btn[disabled], .button[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14.5px; }
.btn--sm .ic { width: 17px; height: 17px; }
.btn--lg { min-height: 54px; padding: 0 24px; border-radius: 16px; font-size: 16px; }
.btn--xl { min-height: 62px; padding: 0 26px; border-radius: 18px; font-size: 17px; }
.btn--xl .ic { width: 21px; height: 21px; }
.btn--block { width: 100%; }
.btn__stack { display: grid; gap: 2px; text-align: left; line-height: 1.12; }
.btn__stack b { font-weight: 700; }
.btn__stack small { font-size: 12.5px; font-weight: 550; opacity: .72; }
.btn.is-busy { pointer-events: none; opacity: .75; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #c4e3ff; font-weight: 650; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid rgba(196, 227, 255, .25); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(7, 7, 16, .78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.site-header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; filter: drop-shadow(0 4px 14px rgba(120, 120, 255, .45)); }
.site-nav { display: flex; gap: 2px; margin-left: 8px; }
.site-nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 550; text-decoration: none; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; place-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease); }
.site-header.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--header-h) + clamp(24px, min(4.5vw, 6vh), 72px)) 0 clamp(40px, 5vw, 64px); overflow: hidden; overflow: clip; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 55% at 74% 42%, rgba(90, 78, 255, .30), transparent 70%),
    radial-gradient(35% 38% at 92% 14%, rgba(70, 200, 255, .16), transparent 70%),
    radial-gradient(45% 50% at 8% 0%, rgba(170, 90, 255, .14), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .045); color: var(--text-2); font-size: 13.5px; font-weight: 550; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.hero__badge:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(95, 230, 171, .6); animation: ping 2.2s infinite; }
.hero__badge b { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text); font-weight: 650; font-size: 12.5px; }
.hero__title {
  margin: 18px 0 18px;
  font-size: clamp(38px, min(4.7vw, 7.8vh), 68px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  color: #c9ecff;
  padding-right: .04em;
}
.hero__lead { max-width: 36em; color: var(--text-2); font-size: clamp(16.5px, min(1.35vw, 2.5vh), 19.5px); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4vh, 32px); }
.hero__micro { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero__micro li { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro .ic { width: 16px; height: 16px; color: var(--ok); }

.hero__visual { position: relative; width: 100%; max-width: min(520px, 76vh); justify-self: center; aspect-ratio: 1 / 1.08; }
.orb { position: absolute; left: 8%; right: 8%; top: 0; aspect-ratio: 1; display: grid; place-items: center; }
.orb__img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 80px rgba(80, 90, 255, .38)); animation: float 7s ease-in-out infinite; user-select: none; -webkit-user-drag: none; }
.orb__halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(115, 110, 255, .38), rgba(80, 180, 255, .08) 45%, transparent 66%); filter: blur(12px); animation: breathe 6s ease-in-out infinite; }
.orb__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(170, 180, 255, .16); }
.orb__ring--a { inset: -5%; animation: spin 22s linear infinite; }
.orb__ring--b { inset: -15%; border-style: dashed; border-color: rgba(170, 180, 255, .1); animation: spin 48s linear infinite reverse; }
.orb__ring--a::before, .orb__ring--b::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #a4ecff; box-shadow: 0 0 16px 2px rgba(143, 233, 255, .8); }
.orb__ring--b::before { top: auto; bottom: 14%; left: 4%; width: 6px; height: 6px; background: #f5b0ff; box-shadow: 0 0 14px 2px rgba(245, 160, 255, .7); }
.orbit-tags { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.orbit-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
  background: rgba(12, 12, 28, .66); color: var(--text-2); font-size: 13px; font-weight: 600; white-space: nowrap;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
}
.orbit-tag .ic { width: 16px; height: 16px; color: var(--cyan); }
.orbit-tag--1 { top: 7%; left: -2%; }
.orbit-tag--2 { top: 13%; right: -3%; animation-delay: -1.5s; }
.orbit-tag--2 .ic { color: #ffc98f; }
.orbit-tag--3 { top: 33%; left: -8%; animation-delay: -3s; }
.orbit-tag--3 .ic { color: #b9a6ff; }
.orbit-tag--4 { top: 31%; right: -7%; animation-delay: -4.5s; }
.orbit-tag--4 .ic { color: var(--ok); }
.chat {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(430px, 94%); padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px;
  background: rgba(12, 12, 28, .74);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.chat__head { display: flex; align-items: center; gap: 8px; padding: 0 2px; color: var(--dim); font-size: 12.5px; }
.chat__head b { color: var(--text); font-size: 13.5px; }
.chat__live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(95, 230, 171, .8); }
.chat__body { display: grid; gap: 8px; min-height: 116px; margin-top: 10px; align-content: start; }
.msg { width: fit-content; max-width: 90%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.msg--user { justify-self: end; border: 1px solid rgba(165, 160, 255, .3); border-bottom-right-radius: 6px; background: linear-gradient(100deg, rgba(120, 110, 255, .38), rgba(90, 170, 255, .26)); color: #fff; }
.msg--ervi { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--text-2); }
.msg__ok { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(95, 230, 171, .16); color: var(--ok); }
.msg__ok .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.msg.is-hidden { opacity: 0; transform: translateY(6px); }
.msg--ervi.is-typing .msg__ok, .msg--ervi.is-typing [data-chat-text] { display: none; }
.msg--ervi.is-typing::before { content: ""; width: 34px; height: 18px; background: radial-gradient(circle, var(--text-2) 2.5px, transparent 3px) 0 50% / 12px 100% repeat-x; animation: dots 1s steps(3) infinite; }
.chat__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); color: var(--dim); font-size: 13.5px; }
.chat__foot .ic { width: 17px; height: 17px; color: var(--cyan); }

/* ── Ticker & trust ─────────────────────────────────────────── */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 12px; margin: 0; padding: 14px 6px; list-style: none; }
.ticker li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: 14px; white-space: nowrap; }
.ticker li .ic { width: 15px; height: 15px; color: var(--cyan); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 28px 8px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.trust__item > .ic { width: 28px; height: 28px; color: var(--cyan); }
.trust__item b { display: block; font-size: 15px; line-height: 1.3; }
.trust__item span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.trust__item a { color: #c4e3ff; }

/* ── Sections & cards ───────────────────────────────────────── */
.section { position: relative; padding-block: clamp(72px, 9vw, 124px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--tint { background: linear-gradient(180deg, transparent, rgba(120, 110, 255, .05) 25%, rgba(120, 110, 255, .05) 75%, transparent); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .048), rgba(255, 255, 255, .014));
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(150, 160, 255, .13), transparent 42%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(165, 175, 255, .24); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border: 1px solid rgba(165, 185, 255, .22); border-radius: 14px;
  background: linear-gradient(135deg, rgba(120, 205, 255, .18), rgba(165, 125, 255, .18));
  color: #c7e4ff;
}
.card__icon .ic { width: 24px; height: 24px; }
.card__title { margin: 0 0 8px; font-size: 19px; font-weight: 680; line-height: 1.25; letter-spacing: -.012em; }
.card__text { color: var(--muted); font-size: 15px; line-height: 1.58; }
.card__cmd {
  display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 8px 12px;
  border: 1px solid rgba(116, 226, 255, .18); border-radius: 12px; background: rgba(116, 226, 255, .07);
  color: #c5f1ff; font-size: 13.5px; line-height: 1.4;
}
.card__cmd .ic { width: 15px; height: 15px; margin-top: 2px; color: var(--cyan); }
.card__tag { position: absolute; top: 28px; right: 24px; color: var(--dim); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.card--safe .card__icon { border-color: rgba(95, 230, 171, .24); background: rgba(95, 230, 171, .1); color: #93f1c8; }
.card--scenario .card__icon { border-color: rgba(255, 190, 140, .28); background: linear-gradient(135deg, rgba(255, 190, 120, .16), rgba(255, 120, 180, .14)); color: #ffd6ad; }
.features__more { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; color: var(--muted); font-size: 15px; text-align: center; }
.features__more .ic { color: var(--pink); }

/* ── How it works ───────────────────────────────────────────── */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.how__step { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.how__step > .ic { width: 30px; height: 30px; color: var(--cyan); }
.how__num { position: absolute; top: 12px; right: 20px; color: rgba(255, 255, 255, .055); font: 800 76px/1 var(--font-display); }
.how__step b { display: block; margin: 16px 0 8px; font-size: 20px; letter-spacing: -.015em; }
.how__step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.how--compact .how__step { padding: 22px; }
.how--compact .how__step b { margin-top: 42px; }
.how__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 18px 20px 18px 24px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.req { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.req .ic { color: var(--cyan); }

/* ── Video player ───────────────────────────────────────────── */
.player {
  position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong); border-radius: 26px; background: #06060e;
  box-shadow: 0 50px 110px -40px rgba(80, 90, 255, .5);
}
.player__video { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.player__big {
  position: absolute; left: 36%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 24px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
  background: rgba(10, 10, 26, .55); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: opacity .3s, transform .3s var(--ease), background-color .3s;
}
.player__big .ic { width: 46px; height: 46px; padding: 13px 11px 13px 15px; border-radius: 50%; background: var(--btn); color: #07071a; fill: currentColor; }
.player__big:hover { transform: translate(-50%, -50%) scale(1.04); background: rgba(10, 10, 26, .7); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; }
.player__bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px;
  background: rgba(8, 8, 20, .66); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.player.is-playing:hover .player__bar, .player.is-playing:focus-within .player__bar, .player.is-playing.show-bar .player__bar { opacity: 1; transform: none; pointer-events: auto; }
.player__btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.player__btn:hover { background: rgba(255, 255, 255, .1); }
.player__btn .ic { width: 18px; height: 18px; }
.player__btn .ic--play { fill: currentColor; }
.player__pause { display: none; width: 12px; height: 14px; border-inline: 4px solid #fff; }
.player.is-playing .player__btn .ic--play { display: none; }
.player.is-playing .player__pause { display: block; }
.player__track { position: relative; flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .18); cursor: pointer; }
.player__fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fe9ff, #b8a2ff); }
.player__time { min-width: 38px; color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.player.is-muted [data-sound] { opacity: .45; }
.player.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

/* ── Safety & compare ───────────────────────────────────────── */
.section--safety { background: radial-gradient(60% 50% at 20% 30%, rgba(95, 230, 171, .05), transparent 70%); }
.safety__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.compare { max-width: 940px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }

.kb-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.kb-table__row { display: grid; grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr)); border-top: 1px solid var(--line); min-width: 820px; }
.kb-table__row:first-child { border-top: 0; }
.kb-table__row > * { padding: 14px 16px; font-size: 14px; line-height: 1.45; }
.kb-table__row > span:first-child, .kb-table__row > b:first-child { color: var(--text-2); font-weight: 650; }
.kb-table__row--head { background: rgba(255,255,255,.04); }
.kb-table__row--head > * { font-weight: 750; }
.compare__row { display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > * { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: 15px; line-height: 1.4; }
.compare__row > span:first-child { color: var(--text-2); font-weight: 550; }
.compare__row--head { background: rgba(255, 255, 255, .03); }
.compare__row--head > * { font-size: 15px; font-weight: 700; }
.compare__row--head img { width: 24px; height: 24px; }
.compare__ervi { background: linear-gradient(180deg, rgba(125, 143, 255, .12), rgba(125, 143, 255, .07)); color: var(--text); font-weight: 600; }
.compare__ervi .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.compare__cloud { color: var(--muted); }
.compare--two { margin: 0; }
.compare--two .compare__row { grid-template-columns: 1fr 1fr; }
.compare--two .compare__row > span:first-child { color: var(--text); font-weight: 600; }

/* ── Business ───────────────────────────────────────────────── */
.section--business { overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 170, 120, .035), transparent 30%); }
.business__glow {
  position: absolute; inset: 0 0 auto 0; height: 720px; pointer-events: none;
  background: radial-gradient(45% 60% at 78% 0%, rgba(255, 150, 100, .14), transparent 70%), radial-gradient(40% 50% at 12% 8%, rgba(255, 110, 190, .1), transparent 70%);
}
.section--business .wrap { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 14.5px; font-weight: 600; }
.chips .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }
.business__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.subhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: clamp(56px, 7vw, 88px) 0 22px; }
.subhead .h3 { margin: 0; }
.subhead p { color: var(--muted); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(12, 11, 22, .72); }
.step__num { display: inline-grid; place-items: center; min-width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 190, 120, .22), rgba(255, 120, 180, .2)); color: #ffd6ad; font-weight: 750; font-size: 14px; }
.step b { display: block; margin-bottom: 6px; font-size: 17px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.steps::before { content: ""; position: absolute; top: 41px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 190, 140, .45), rgba(245, 160, 255, .35), transparent); }

.calc { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); margin-top: clamp(56px, 7vw, 88px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.calc__inputs { padding: clamp(24px, 3.4vw, 44px); }
.calc__inputs .eyebrow { color: var(--warm); }
.calc__result { display: flex; flex-direction: column; gap: 4px; padding: clamp(24px, 3.4vw, 44px); border-left: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 170, 110, .13), rgba(255, 110, 180, .1) 60%, rgba(150, 120, 255, .1)); }
.calc__result > small { color: var(--text-2); font-size: 14px; }
.calc__cost { margin-bottom: 14px; font: 750 clamp(34px, 4vw, 50px)/1.05 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__save { margin-bottom: 6px; color: #ffe2bf; font-size: clamp(19px, 1.8vw, 23px); font-weight: 750; font-variant-numeric: tabular-nums; }
.calc__payback { margin: 6px 0 20px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.calc__note { margin-top: 12px; color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; margin-top: 24px; }
.range span { color: var(--text-2); font-size: 15px; }
.range output { font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #ffc98f var(--fill, 50%), rgba(255, 255, 255, .14) var(--fill, 50%)); }
.range input::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.range input::-moz-range-progress { height: 6px; border-radius: 99px; background: #ffc98f; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 5px rgba(255, 201, 143, .22); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 5px rgba(255, 201, 143, .22); }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.package--featured { border-color: rgba(255, 195, 145, .5); background: linear-gradient(180deg, rgba(255, 170, 110, .11), rgba(255, 255, 255, .02)); box-shadow: 0 34px 80px -34px rgba(255, 140, 110, .45); }
.package__badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px; background: var(--grad-warm); color: #1d0e12; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.package__title { margin: 0 0 6px; font-size: 22px; letter-spacing: -.015em; }
.package__lead { min-height: 2.9em; margin-bottom: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.package__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.package__price b { font: 750 34px/1.05 var(--font-display); letter-spacing: -.03em; }
.package__price span { color: var(--muted); font-size: 14px; }
.package .btn { margin-top: auto; }
.ticks { display: grid; align-content: start; gap: 11px; margin: 0 0 24px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); stroke-width: 2.4; }
.subscription { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 30px; margin-top: 16px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.subscription__head { display: grid; gap: 2px; }
.subscription__head b { font-size: 16px; }
.subscription__head span { font-size: 20px; font-weight: 750; }
.subscription__head small { color: var(--muted); font-size: 13px; font-weight: 500; }
.subscription > p { color: var(--muted); font-size: 15px; }
.subscription__items { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; }
.subscription__items li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; }
.subscription__items .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }

.leadbox { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 4vw, 48px); overflow: hidden; border: 1px solid rgba(255, 195, 145, .3); border-radius: 30px; background: linear-gradient(140deg, rgba(255, 170, 110, .09), rgba(150, 120, 255, .07) 60%, rgba(255, 255, 255, .02)); scroll-margin-top: calc(var(--header-h) + 12px); }
.leadbox__title { margin: 0 0 14px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.026em; }
.leadbox__intro .eyebrow { color: var(--warm); }
.leadbox__intro > p { color: var(--text-2); line-height: 1.6; }
.leadbox__points { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.leadbox__points li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.leadbox__points .ic { width: 20px; height: 20px; color: #ffd6ad; }
.leadbox__done { display: grid; place-items: center; align-content: center; gap: 10px; padding: 24px; text-align: center; }
.leadbox__done h3 { font-size: 26px; }
.leadbox__done p { max-width: 30em; color: var(--text-2); }
.leadbox__done a { color: #c4e3ff; }
.leadbox__done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(95, 230, 171, .14); color: var(--ok); }
.leadbox__done-icon .ic { width: 32px; height: 32px; stroke-width: 2.4; }

/* ── Forms ──────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; align-content: start; }
.form__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.form__row--end { align-items: end; grid-template-columns: minmax(0, 1fr) auto; }
.field { display: grid; gap: 7px; }
.field > span { color: var(--text-2); font-size: 13.5px; font-weight: 650; }
.field small { color: var(--dim); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(4, 4, 12, .55); color: var(--text); font-size: 15.5px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  padding-right: 40px; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b9b5d0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { background: #12121f; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #6d6987; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: rgba(143, 233, 255, .6); box-shadow: 0 0 0 4px rgba(143, 233, 255, .12); background: rgba(4, 4, 12, .75); }
.field.is-invalid input, .field.is-invalid textarea { border-color: rgba(255, 143, 163, .7); }
.pills, .segmented { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pills legend, .segmented legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: var(--text-2); font-size: 13.5px; font-weight: 650; }
.pills label, .segmented label { position: relative; }
.pills input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.pills span, .segmented span { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.pills input:checked + span { border-color: rgba(255, 195, 145, .6); background: rgba(255, 190, 140, .16); color: #ffe6ca; }
.segmented label { flex: 1; }
.segmented span { justify-content: center; width: 100%; border-radius: 12px; padding: 11px 12px; }
.segmented input:checked + span { border-color: rgba(143, 233, 255, .55); background: rgba(143, 233, 255, .12); color: #e3f8ff; }
.pills input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid #8fe9ff; outline-offset: 2px; }
.form__note { color: var(--dim); font-size: 12.5px; line-height: 1.45; text-align: center; }
.form__error { margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 110, 140, .32); border-radius: 12px; background: rgba(255, 90, 120, .1); color: #ffc0cb; font-size: 14px; }
.form__status { min-height: 1.4em; color: var(--muted); font-size: 14px; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: #ffc0cb; }
.upload { position: relative; display: flex; align-items: center; min-height: 50px; padding: 8px 14px; border: 1px dashed var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .2s; }
.upload:hover { border-color: rgba(255, 255, 255, .3); }
.upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload span { display: flex; align-items: center; gap: 10px; }
.upload span .ic { color: var(--cyan); }
.upload b { font-size: 14.5px; }
.upload small { color: var(--dim); font-size: 12.5px; }
.upload.is-set { border-color: rgba(95, 230, 171, .55); }

/* ── Reviews & pricing ──────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.reviews__links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; }
.reviews__wall { display: grid; gap: 18px; }
.review { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #0b0b14; box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8); transform: rotate(-1deg); }
.review:nth-child(2) { transform: rotate(1.1deg) translateX(clamp(0px, 3vw, 32px)); }
.review figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.plan__name { color: var(--muted); font-size: 12.5px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 10px; }
.plan__price b { font: 750 clamp(32px, 3.2vw, 42px)/1 var(--font-display); letter-spacing: -.035em; }
.plan__price span { color: var(--muted); }
.plan__lead { min-height: 3em; margin-bottom: 20px; color: var(--text-2); line-height: 1.5; }
.plan .ticks { flex: 1; }
.plan--express { border-color: rgba(143, 233, 255, .34); background: linear-gradient(180deg, rgba(120, 200, 255, .1), rgba(255, 255, 255, .02)); }
.plan--business { border-color: rgba(255, 195, 145, .3); background: linear-gradient(180deg, rgba(255, 170, 110, .08), rgba(255, 255, 255, .02)); }

/* ── Live news (разметка templates/news-live.php) ───────────── */
.live-news {
  position: relative; width: min(1200px, 100% - 32px); margin: clamp(24px, 4vw, 48px) auto; padding: 28px 28px 22px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(circle at 12% 0%, rgba(142, 111, 255, .15), transparent 38%), radial-gradient(circle at 88% 100%, rgba(75, 206, 255, .09), transparent 34%), linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.live-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.live-news-kicker { display: flex; align-items: center; gap: 8px; color: #a9bcff; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.live-news-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f7e; box-shadow: 0 0 0 0 rgba(255, 95, 126, .6); animation: ping 2s infinite; }
.live-news h2 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 40px); font-weight: 750; line-height: 1; letter-spacing: -.035em; }
.live-news h2 em { font-style: normal; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live-news-controls { display: flex; gap: 8px; }
.live-news-controls button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .045); color: var(--text); font-size: 16px; cursor: pointer; transition: transform .2s, background-color .2s; }
.live-news-controls button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.live-story-rail { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 2px 12px; outline: none; }
.live-story-rail::-webkit-scrollbar { display: none; }
.live-story-chip { flex: 0 0 86px; width: 86px; padding: 0; border: 0; background: none; color: inherit; text-align: center; cursor: pointer; scroll-snap-align: start; }
.live-story-ring { display: block; width: 78px; height: 78px; margin: 0 auto; padding: 2.5px; border-radius: 50%; background: conic-gradient(from 205deg, #74e2ff, #9a86ff, #f39bff, #74e2ff); box-shadow: 0 12px 32px rgba(86, 117, 255, .16); transition: transform .3s var(--ease), box-shadow .3s; }
.live-story-chip.is-seen .live-story-ring { background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); }
.live-story-thumb { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border: 3px solid #0a0913; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #322649, #111019 68%, #09080d); }
.live-story-thumb > img, .live-story-thumb > video { width: 100%; height: 100%; object-fit: cover; }
.live-story-thumb.is-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.live-story-collage-cell { display: grid; place-items: center; min-width: 0; overflow: hidden; background: #161321; }
.live-story-collage-cell img { width: 100%; height: 100%; object-fit: cover; }
.live-story-collage-cell b { color: #8f7ca8; font-size: 12px; }
.live-story-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; padding-left: 1px; border-radius: 50%; background: rgba(5, 4, 8, .55); color: #fff; font-size: 9px; transform: translate(-50%, -50%); }
.live-story-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; background: radial-gradient(circle at 38% 30%, rgba(154, 91, 233, .2), transparent 58%); }
.live-story-placeholder b { color: #bda7d7; font-size: 17px; }
.live-story-placeholder small { color: #716680; font-size: 7px; letter-spacing: .13em; text-transform: uppercase; }
.live-story-chip.is-missing .live-story-ring { opacity: .75; filter: saturate(.7); }
.live-story-time { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.live-story-chip:hover .live-story-ring { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 36px rgba(93, 116, 255, .24); }
.live-news-hint { margin-top: 2px; color: var(--dim); font-size: 13px; }
.live-viewer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); animation: fade .22s ease; }
.live-viewer-backdrop { position: absolute; inset: 0; background: rgba(3, 2, 6, .8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.live-viewer-shell { position: relative; z-index: 2; width: min(460px, 94vw); height: min(820px, 92svh); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; background: #09070d; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.live-progress { position: absolute; z-index: 8; top: 10px; left: 14px; right: 14px; display: flex; gap: 4px; }
.live-progress i { position: relative; flex: 1; height: 2px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.live-progress i span { position: absolute; inset: 0; background: linear-gradient(90deg, #8fe9ff, #b8a2ff); transform: scaleX(0); transform-origin: left center; }
.live-viewer-top { position: absolute; z-index: 7; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 16px 12px; background: linear-gradient(180deg, rgba(4, 3, 6, .85), transparent); }
.live-viewer-author { display: flex; align-items: center; gap: 9px; }
.live-viewer-author img { border-radius: 50%; }
.live-viewer-author span { display: grid; gap: 1px; }
.live-viewer-author b { font-size: 13px; }
.live-viewer-author small { color: var(--muted); font-size: 11.5px; }
.live-viewer-top > button { width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.live-viewer-stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.live-slide { position: absolute; inset: 0; }
.live-slide-media { position: absolute; inset: 0; display: grid; place-items: center; background: #07060a; }
.live-slide-media > img, .live-slide-media > video { width: 100%; height: 100%; object-fit: contain; background: #060508; }
.live-slide-media.is-collage { grid-template-rows: 1fr 1fr; gap: 2px; }
.live-slide-media.is-collage > * { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.live-missing-media { display: grid; place-items: center; align-content: center; gap: 7px; height: 100%; padding: 30px; text-align: center; }
.live-missing-media b { color: #d8d0df; font-size: 15px; }
.live-missing-media span { color: var(--dim); font-size: 12px; }
.live-slide-caption { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); max-height: 42%; overflow: auto; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: rgba(7, 6, 12, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.live-slide-caption p { color: #eee9f2; font-size: 14px; line-height: 1.55; }
.live-slide-caption a { display: inline-block; margin-top: 8px; color: #9fe6ff; font-size: 13px; font-weight: 650; }
.live-nav { position: absolute; z-index: 5; top: 50%; width: 46px; height: 76px; margin-top: -38px; padding: 0; border: 0; background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; }
.live-nav span { display: grid; place-items: center; width: 34px; height: 34px; margin: auto; border-radius: 50%; background: rgba(8, 6, 11, .45); font-size: 26px; line-height: 1; }
.live-nav-prev { left: 2px; }
.live-nav-next { right: 2px; }
body.live-viewer-open { overflow: hidden; }
.ervi-motion .ervi-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ervi-motion .ervi-reveal.is-visible { opacity: 1; transform: none; }

/* ── FAQ, final, support ────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .25s, background-color .25s; }
.faq__item[open] { border-color: rgba(165, 175, 255, .28); background: rgba(255, 255, 255, .05); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16.5px; font-weight: 650; line-height: 1.4; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-2); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; padding: 0 20px 18px; color: var(--text-2); }
.faq__answer p { line-height: 1.62; }
.faq__answer a { color: #c4e3ff; font-weight: 600; }

.final { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 140px); text-align: center; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(100, 90, 255, .24), rgba(70, 180, 255, .06) 60%, transparent); pointer-events: none; }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 780px; }
.final__orb { width: 170px; margin-bottom: 20px; filter: drop-shadow(0 20px 60px rgba(90, 100, 255, .55)); animation: float 7s ease-in-out infinite; }
.final__inner .lead { max-width: 560px; }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.section--support { padding-top: 0; }
.support { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.support__copy p { margin-top: 6px; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { max-width: 36ch; margin: 14px 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text-2); font-size: 14px; text-decoration: none; transition: border-color .2s, color .2s; }
.site-footer__social a:hover { border-color: var(--line-strong); color: var(--text); }
.site-footer__social .ic { width: 17px; height: 17px; }
.site-footer__col { display: grid; align-content: start; gap: 10px; }
.site-footer__col b { margin-bottom: 4px; font-size: 14px; }
.site-footer__col a { color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); }
.site-footer__bottom small { font-size: 13px; }

/* ── Mobile CTA & sheets ────────────────────────────────────── */
.mobile-cta { display: none; }
.sheet { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 9, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .2s ease; }
.sheet__panel { position: relative; width: min(440px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: 30px 26px 24px; border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(180deg, #14142a, #0a0a17); box-shadow: 0 40px 100px rgba(0, 0, 0, .65); animation: pop .3s var(--ease); }
.sheet__panel--wide { width: min(520px, 100%); }
.sheet__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--text-2); cursor: pointer; }
.sheet__close .ic { width: 18px; height: 18px; }
.sheet__badge { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(120, 205, 255, .2), rgba(165, 125, 255, .2)); color: #d3e9ff; }
.sheet__badge .ic { width: 28px; height: 28px; }
.sheet h3 { margin: 0 34px 10px 0; font-size: 22px; line-height: 1.22; letter-spacing: -.02em; }
.sheet p { margin-bottom: 18px; color: var(--text-2); line-height: 1.55; }
.sheet .ticks { margin-bottom: 20px; }
.sheet__actions { display: grid; gap: 10px; }
.sheet__link { display: block; margin-top: 16px; color: var(--muted); font-size: 14px; text-align: center; }
body.has-sheet { overflow: hidden; }

/* ── Toast после скачивания ─────────────────────────────────── */
.toast {
  position: fixed; z-index: 140; left: 16px; bottom: 16px; display: grid; gap: 4px;
  width: min(420px, calc(100% - 32px)); padding: 16px 46px 16px 18px;
  border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg, #16162c, #0c0c19);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: pop .35s var(--ease);
}
.toast b { font-size: 15.5px; }
.toast span { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.toast a { color: #c4e3ff; }
.toast__close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .06); color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }

/* ── Subpages: hero, crumbs, article, related, verify ───────── */
.page-hero { position: relative; overflow: hidden; overflow: clip; padding: calc(var(--header-h) + clamp(44px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); }
.page-hero__inner > * { max-width: 920px; }
.page-hero__title { margin: 0 0 20px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 750; line-height: 1.05; letter-spacing: -.034em; text-wrap: balance; }
.page-hero .hero__cta { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--dim); font-size: 13.5px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article { display: grid; gap: 34px; max-width: 820px; }
.article__block p { margin-bottom: 14px; color: var(--text-2); font-size: 17px; line-height: 1.72; }
.article__block .ticks li { font-size: 16px; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related__item { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px 50px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.related__item:hover { transform: translateY(-3px); border-color: rgba(165, 175, 255, .3); }
.related__item b { font-size: 16px; line-height: 1.35; }
.related__item span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.related__item small { color: #a9bcff; font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.related__item i { position: absolute; top: 20px; right: 18px; color: var(--muted); }
.verify { display: grid; gap: 16px; max-width: 900px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); }
.verify__meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.verify__meta div { display: grid; gap: 4px; }
.verify__meta dt, .verify__label { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.verify__meta dd { margin: 0; font-weight: 650; word-break: break-all; }
.verify__hash { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .35); color: #cdf3ff; font: 500 14px/1.5 var(--mono); word-break: break-all; }
.verify__hint { color: var(--muted); font-size: 14px; }
.verify__hint code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); font: 500 13px/1.6 var(--mono); word-break: break-all; }
.verify .btn { justify-self: start; }

/* ── Plain pages (спасибо, Express-ссылка, ошибки) ──────────── */
.site--plain::before { background: radial-gradient(60% 50% at 50% 20%, rgba(110, 96, 255, .22), transparent 70%); }
.subpage-shell { display: grid; place-items: center; min-height: 100svh; padding: 32px 16px; }
.subpage-card { width: min(580px, 100%); padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 36px); border: 1px solid var(--line-strong); border-radius: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); box-shadow: 0 40px 120px -40px rgba(80, 90, 255, .5); text-align: center; }
.subpage-orb { width: 150px; margin: 0 auto 18px; filter: drop-shadow(0 20px 50px rgba(90, 100, 255, .5)); animation: float 7s ease-in-out infinite; }
.subpage-card .eyebrow { justify-content: center; }
.subpage-card h1 { margin: 6px 0 14px; font-size: clamp(30px, 4.2vw, 42px); font-weight: 750; line-height: 1.1; letter-spacing: -.03em; white-space: pre-line; }
.subpage-card p { color: var(--text-2); line-height: 1.6; }
.subpage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.subpage-status { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--muted); font-size: 14px; line-height: 1.55; }
.subpage-status a { color: #c4e3ff; }
.express-progress { margin-top: 18px; }
.express-progress span { display: block; height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.express-progress i { display: block; height: 100%; background: linear-gradient(90deg, #8fe9ff, #b8a2ff); transform: scaleX(0); transform-origin: left center; transition: transform .2s; }
.express-progress b { display: block; margin-top: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; }

/* ── Reveal ─────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; padding: 20px; }
.js .card[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 230, 171, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(95, 230, 171, 0); } }
@keyframes dots { from { background-size: 0 100%; } to { background-size: 12px 100%; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-nav a { padding: 8px 9px; font-size: 14px; }
  .orbit-tag--3 { left: -3%; }
  .orbit-tag--4 { right: -2%; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; gap: 2px; margin: 0; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); background: rgba(7, 7, 16, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 12px; font-size: 16px; }
  .nav-toggle { display: grid; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__visual { max-width: 480px; margin-top: 8px; }
  .grid-3, .packages, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .calc, .leadbox, .reviews, .faq-layout, .support { grid-template-columns: 1fr; }
  .calc__result { border-left: 0; border-top: 1px solid var(--line); }
  .faq-layout .section-head { position: static; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: 1fr; }
  .review:nth-child(2) { transform: rotate(1deg); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .hide-sm { display: none !important; }
  .hero__title { font-size: clamp(34px, 9.6vw, 48px); letter-spacing: -.034em; }
  .hero__cta .btn { width: 100%; }
  .hero__micro { gap: 8px 16px; font-size: 13.5px; }
  .hero__visual { width: 100%; max-width: 420px; aspect-ratio: 1 / 1.16; }
  .orbit-tag { font-size: 12px; padding: 6px 10px; }
  .orbit-tag--3, .orbit-tag--4 { display: none; }
  .chat { width: 100%; }
  .grid-3, .packages, .plans, .steps, .related, .related--list { grid-template-columns: 1fr; }
  .card, .how__step, .package, .plan { padding: 22px 20px; }
  .card__tag { top: 24px; right: 20px; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; color: var(--muted); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
  .compare__row--head > span:first-child { display: none; }
  .compare__row > * { padding: 12px 16px; font-size: 14.5px; }
  .compare--two .compare__row > span:first-child { grid-column: auto; padding-bottom: 12px; color: var(--text); font-size: 14.5px; text-transform: none; letter-spacing: 0; }
  .rail-sm { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(50% - 50vw); padding: 4px calc(50vw - 50%) 14px; scroll-padding-inline: calc(50vw - 50%); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail-sm::-webkit-scrollbar { display: none; }
  .rail-sm > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .js .rail-sm > [data-reveal] { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 20px; }
  .trust__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .trust__item > .ic { width: 24px; height: 24px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .subscription { grid-template-columns: 1fr; }
  .subscription > p { grid-column: auto; }
  .form__row, .form__row--end { grid-template-columns: 1fr; }
  .how__foot { flex-direction: column; align-items: stretch; }
  .how__foot .btn { width: 100%; }
  .business__cta .btn, .final__cta .btn { width: 100%; }
  .final__orb { width: 130px; }
  .live-news { padding: 20px 14px 16px; border-radius: 22px; }
  .live-news-controls { display: none; }
  .live-story-rail { gap: 12px; }
  .live-story-chip { flex-basis: 72px; width: 72px; }
  .live-story-ring { width: 66px; height: 66px; }
  .live-viewer { padding: 0; }
  .live-viewer-shell { width: 100%; height: 100svh; border: 0; border-radius: 0; }
  .live-nav { width: 38%; height: 58%; top: 21%; margin: 0; }
  .live-nav span { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site { padding-bottom: 86px; }
  .site--plain { padding-bottom: 0; }
  .mobile-cta {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 8px;
    border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(10, 10, 22, .86);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
    transform: translateY(150%); transition: transform .4s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta.is-visible.is-suppressed { transform: translateY(150%); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
  .sheet { place-items: end center; padding: 0; }
  .sheet__panel, .sheet__panel--wide { width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); animation: slideup .32s var(--ease); }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 24px); }
  .btn--xl { min-height: 58px; padding: 0 18px; font-size: 16px; }
  .site-header__actions .btn--sm { padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .ervi-motion .ervi-reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* ── Тарифы, кабинет, партнёрка (r8) ───────────────────────────────────── */
.plan--personal { border-color: rgba(143, 233, 255, .3); background: linear-gradient(180deg, rgba(120, 200, 255, .08), rgba(255, 255, 255, .02)); }
.plan--pro { border-color: rgba(165, 139, 255, .42); background: linear-gradient(180deg, rgba(150, 120, 255, .13), rgba(255, 255, 255, .02)); box-shadow: 0 40px 90px -50px rgba(140, 120, 255, .8); }
.plan__badge { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--btn); color: #07071a; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.plan { position: relative; }
.plan__trial { margin: -4px 0 16px; color: var(--ok); font-size: 13.5px; font-weight: 650; }
.plan__meta { margin-top: 14px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.plan__price small { color: var(--muted); font-size: 14px; font-weight: 500; }

.period-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(28px, 4vw, 44px); padding: 6px; width: fit-content; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.period-switch button { position: relative; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14.5px; font-weight: 650; cursor: pointer; transition: color .2s, background-color .2s; }
.period-switch button:hover { color: var(--text); }
.period-switch button[aria-pressed="true"] { background: var(--btn); color: #07071a; }
.period-switch em { display: block; font-size: 11.5px; font-style: normal; font-weight: 600; opacity: .8; }

.acc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.acc__nav { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.acc__nav button { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
.acc__nav button .ic { width: 18px; height: 18px; }
.acc__nav button:hover { color: var(--text); background: var(--surface-2); }
.acc__nav button[aria-current="true"] { color: #07071a; background: var(--btn); }
.acc__nav b { padding: 10px 13px 4px; color: var(--dim); font-size: 11.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.acc__panes > section { display: none; }
.acc__panes > section.is-active { display: block; }
.acc__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.acc__head h2 { margin: 0; font-size: clamp(23px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.acc__head p { color: var(--muted); font-size: 14.5px; }

.card-soft { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.card-soft + .card-soft { margin-top: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-tile { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.stat-tile b { display: block; font: 750 clamp(21px, 2vw, 27px)/1.1 var(--font-display); letter-spacing: -.025em; }
.stat-tile span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.stat-tile--ok b { color: var(--ok); }
.stat-tile--warn b { color: var(--warm); }

.keycard { display: grid; gap: 14px; padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(150deg, rgba(150, 130, 255, .1), rgba(255, 255, 255, .02)); }
.keycard + .keycard { margin-top: 14px; }
.keycard--expired { border-color: rgba(255, 143, 163, .4); background: linear-gradient(150deg, rgba(255, 120, 150, .1), rgba(255, 255, 255, .02)); }
.keycard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.keycard__plan { padding: 5px 12px; border-radius: 999px; background: rgba(143, 233, 255, .14); color: #d6f4ff; font-size: 13px; font-weight: 700; }
.keycard__state { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.keycard__state--active { background: rgba(95, 230, 171, .16); color: #8bf3c4; }
.keycard__state--expired { background: rgba(255, 143, 163, .16); color: #ffc0cb; }
.keycard__state--revoked { background: rgba(255, 255, 255, .08); color: var(--muted); }
.keycard__until { margin-left: auto; color: var(--muted); font-size: 14px; }
.keyline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.keyline code { flex: 1 1 260px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(4, 4, 12, .6); font: 600 16px/1.2 var(--mono); letter-spacing: .06em; word-break: break-all; }
.keycard__devices { display: grid; gap: 8px; }
.keycard__devices > b { color: var(--text-2); font-size: 13.5px; }
.device { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); font-size: 14px; }
.device small { color: var(--dim); }
.device button { margin-left: auto; padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.device button:hover { color: #ffc0cb; border-color: rgba(255, 143, 163, .5); }
.keycard__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 10px 12px; border-bottom: 1px solid var(--line-strong); color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl code { font: 600 13px/1.3 var(--mono); letter-spacing: .04em; }
.tbl .num { text-align: right; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--text-2); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pill--ok { background: rgba(95, 230, 171, .16); color: #8bf3c4; }
.pill--warn { background: rgba(255, 201, 143, .16); color: var(--warm); }
.pill--bad { background: rgba(255, 143, 163, .16); color: #ffc0cb; }
.empty { padding: 26px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); font-size: 14.5px; text-align: center; }

.authbox { width: min(460px, 100%); margin: 0 auto; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(160deg, rgba(150, 130, 255, .1), rgba(255, 255, 255, .02)); }
.authbox h1 { margin: 0 0 8px; font-size: clamp(25px, 2.6vw, 33px); letter-spacing: -.025em; }
.authbox > p { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.authbox__switch { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.authbox__switch button { padding: 0; border: 0; background: none; color: #c4e3ff; font-size: 14px; font-weight: 650; cursor: pointer; text-decoration: underline; }
.authtabs { display: flex; gap: 6px; margin-bottom: 20px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.authtabs button { flex: 1; padding: 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14.5px; font-weight: 650; cursor: pointer; }
.authtabs button[aria-pressed="true"] { background: var(--btn); color: #07071a; }

.reflink { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 6px; }
.reflink input { flex: 1 1 280px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(4, 4, 12, .6); color: var(--text); font: 500 14.5px/1.2 var(--mono); }
.steps-num { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: sn; }
.steps-num li { position: relative; padding-left: 46px; counter-increment: sn; color: var(--text-2); line-height: 1.55; }
.steps-num li::before { content: counter(sn); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(165, 185, 255, .3); border-radius: 11px; background: linear-gradient(135deg, rgba(120, 205, 255, .16), rgba(165, 125, 255, .16)); color: #c7e4ff; font-size: 14px; font-weight: 750; }
.steps-num li b { display: block; color: var(--text); font-size: 16px; }

@media (max-width: 900px) {
  .acc { grid-template-columns: 1fr; }
  .acc__nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: none; }
  .acc__nav::-webkit-scrollbar { display: none; }
  .acc__nav b { display: none; }
  .acc__nav button { white-space: nowrap; }
}

/* Строка с флажком внутри .form: без этого grid ставит квадратик над подписью. */
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; accent-color: #a595ff; cursor: pointer; }
.check span { color: var(--text-2); font-size: 14.5px; font-weight: 550; }
.form .btn--fit { justify-self: start; }

@media (max-width: 760px) {
  .kb-table { border-radius: 14px; }
}


/* ── Income case: idea → prototype ─────────────────────────── */
.case-home { padding-top: clamp(30px, 4vw, 56px); }
.case-home__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(24px, 4vw, 58px); align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid rgba(165, 175, 255, .18); border-radius: 28px; background: radial-gradient(80% 120% at 0% 0%, rgba(142, 130, 255, .15), transparent 62%), linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); box-shadow: 0 30px 90px rgba(0,0,0,.26); }
.case-home__copy .h2 { margin-bottom: 14px; }
.case-home__steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 24px 0; }
.case-home__steps div { display: grid; gap: 5px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.case-home__steps b { color: #a9bcff; font: 750 12px/1 var(--mono); letter-spacing: .08em; }
.case-home__steps span { color: var(--text-2); font-size: 13.5px; line-height: 1.35; }
.case-home__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.case-home__shot { margin: 0; padding: 14px; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(3,3,10,.78); box-shadow: 0 22px 60px rgba(0,0,0,.42); }
.case-home__shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.case-home__shot figcaption { margin: 10px 4px 0; color: var(--dim); font-size: 12.5px; line-height: 1.4; }
.blog-featured-case { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: stretch; padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(255,201,143,.24); border-radius: 24px; background: radial-gradient(90% 130% at 0% 0%, rgba(255,188,120,.08), transparent 64%), linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.blog-featured-case:hover { transform: translateY(-4px); border-color: rgba(255,201,143,.42); }
.blog-featured-case__copy { display: grid; align-content: center; gap: 12px; }
.blog-featured-case__copy h2 { margin: 0; max-width: 760px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.06; letter-spacing: -.03em; }
.blog-featured-case__copy p { margin: 0; max-width: 720px; color: var(--text-2); font-size: 16px; line-height: 1.62; }
.blog-featured-case__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: #d7c7ff; font-size: 14px; font-weight: 700; }
.blog-featured-case__link .ic { width: 16px; height: 16px; }
.blog-featured-case figure { margin: 0; min-height: 240px; border-radius: 18px; overflow: hidden; background: #080813; border: 1px solid var(--line); }
.blog-featured-case img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case-hero-note { display: flex; align-items: flex-start; gap: 10px; width: min(760px, 100%); margin-top: 24px; padding: 12px 14px; border: 1px solid rgba(143,233,255,.15); border-radius: 14px; background: rgba(143,233,255,.045); color: var(--text-2); }
.case-hero-note span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px; background: rgba(143,233,255,.1); color: #c8f4ff; }
.case-hero-note .ic { width: 15px; height: 15px; }
.case-hero-note p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.case-study { padding-top: 10px; }
.case-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 396px); gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(85% 110% at 0% 0%, rgba(116, 105, 255, .15), transparent 65%), linear-gradient(150deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.case-proof__copy p { max-width: 680px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.case-proof__stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.case-proof__stats div { padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.case-proof__stats b { display: block; font: 750 16px/1.1 var(--font-display); }
.case-proof__stats span { display: block; margin-top: 5px; color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.case-shot { margin: 0; padding: 10px; border: 1px solid var(--line-strong); border-radius: 18px; background: #070710; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.case-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.case-shot figcaption { margin: 9px 2px 0; color: var(--dim); font-size: 12px; line-height: 1.38; }
.case-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.case-shot--prototype { grid-column: 1 / -1; }
.case-shot--prototype img { background: #0a0a14; }
.case-loop { padding-top: 10px; }
.case-loop__inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: center; padding: clamp(24px,4vw,42px); border: 1px solid rgba(255,201,143,.22); border-radius: 26px; background: radial-gradient(80% 120% at 100% 0%, rgba(255,188,120,.09), transparent 64%), linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.case-loop__inner .h2 { margin-bottom: 14px; }
.case-loop__hint { display: grid; place-items: center; gap: 8px; min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); color: var(--text-2); text-align: center; }
.case-loop__hint b { font-size: 16px; }
.case-loop__hint span { color: #a9bcff; font-size: 18px; }
.case-loop__cta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 24px; }
@media (max-width: 900px) {
  .case-home__grid, .case-proof, .case-loop__inner { grid-template-columns: 1fr; }
  .case-home__shot { max-width: 760px; }
  .blog-featured-case { grid-template-columns: 1fr; }
  .blog-featured-case figure { min-height: 0; max-height: 320px; }
  .case-proof { gap: 24px; }
  .case-loop__hint { min-height: 150px; }
}
@media (max-width: 640px) {
  .case-home__steps, .case-proof__stats, .case-flow { grid-template-columns: 1fr; }
  .case-home { padding-top: 22px; }
  .case-home__grid, .case-proof, .case-loop__inner { padding: 20px; border-radius: 22px; }
  .case-home__cta, .case-loop__cta { align-items: stretch; }
  .case-home__cta .btn, .case-loop__cta .btn { width: 100%; justify-content: center; }
  .case-loop__hint { display: flex; flex-wrap: wrap; min-height: auto; }
  .case-loop__hint span { transform: rotate(-90deg); }
}

/* ── Income case: mobile polish (r73) ───────────────────────── */
@media (max-width: 640px) {
  .page-hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 30px; }
  .page-hero__title { font-size: clamp(34px, 10.2vw, 44px); line-height: 1.02; letter-spacing: -.038em; max-width: 100%; }
  .page-hero .lead { font-size: 16px; line-height: 1.55; }
  .page-hero .hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .page-hero .hero__cta .btn { width: 100%; min-height: 52px; }
  .case-hero-note { margin-top: 18px; padding: 11px 12px; }
  .case-hero-note p { font-size: 13px; line-height: 1.42; }

  .case-study { padding-top: 0; }
  .case-proof { padding: 18px; border-radius: 20px; gap: 20px; }
  .case-proof__copy .h2 { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.08; }
  .case-proof__copy p { font-size: 15.5px; line-height: 1.58; }
  .case-proof__stats { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .case-proof__stats div { display: grid; grid-template-columns: minmax(74px, auto) 1fr; align-items: baseline; column-gap: 10px; padding: 11px 12px; }
  .case-proof__stats b { font-size: 15px; white-space: nowrap; }
  .case-proof__stats span { margin-top: 0; font-size: 12.5px; }

  .case-flow { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .case-shot { padding: 8px; border-radius: 16px; }
  .case-shot img { width: 100%; height: auto; max-width: 100%; }
  .case-shot figcaption { margin: 8px 2px 2px; font-size: 11.5px; line-height: 1.35; }
  .case-shot--hero { max-width: 100%; }
  .case-shot--wide, .case-shot--prototype { grid-column: auto; }

  .case-home__grid { padding: 18px; border-radius: 20px; gap: 20px; }
  .case-home__copy .h2 { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.08; }
  .case-home__copy .lead { font-size: 15.5px; line-height: 1.58; }
  .case-home__steps { gap: 8px; margin: 18px 0; }
  .case-home__steps div { grid-template-columns: 34px minmax(0, 1fr); display: grid; align-items: start; gap: 8px; padding: 11px 12px; }
  .case-home__steps b { padding-top: 2px; }
  .case-home__steps span { font-size: 13px; }
  .case-home__cta { gap: 10px; }
  .case-home__cta .link-arrow { justify-content: center; padding: 8px 0; }
  .case-home__shot { padding: 8px; }
  .case-home__shot figcaption { font-size: 11.5px; }

  .case-loop__inner { padding: 18px; border-radius: 20px; gap: 18px; }
  .case-loop__inner .h2 { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.08; }
  .case-loop__inner .lead { font-size: 15.5px; line-height: 1.58; }
  .case-loop__cta .btn { min-height: 52px; }
  .case-loop__hint { width: 100%; padding: 16px 12px; gap: 6px; justify-content: center; }
  .case-loop__hint b { font-size: 14px; }
  .case-loop__hint span { font-size: 15px; }
}

@media (max-width: 380px) {
  .page-hero__title { font-size: 32px; }
  .case-proof, .case-home__grid, .case-loop__inner { padding: 16px; }
  .case-proof__stats div { grid-template-columns: 1fr; gap: 3px; }
  .case-proof__stats span { margin-top: 0; }
}
