/* ==========================================================================
   WebCraftStudio — стили сайта
   Бумага и ночное небо, оранжевый акцент. Шрифты: Unbounded (заголовки),
   Onest (текст), JetBrains Mono (номера этапов 01 … 07).
   ========================================================================== */

:root {
  color-scheme: light;
  --ink: #06131F;
  --ink-2: #0E2231;
  --ink-soft: #33485A;
  --muted: #5F7282;
  --paper: #F3F7F9;
  --paper-2: #E6EFF3;
  --card: rgba(255, 255, 255, .62);
  --card-line: rgba(6, 19, 31, .07);
  --surface: #FFFFFF;
  --field: rgba(255, 255, 255, .88);
  --chip: rgba(6, 19, 31, .045);
  --deep: #06131F;
  --deep-line: transparent;
  --hero-bg: #041019;
  --sel-bg: #06131F;
  --sel-border: #06131F;
  --sel-fg: #FFFFFF;
  --sel-muted: #9DB3C0;
  --ink-rgb: 6, 19, 31;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .76);
  --glass-line: rgba(255, 255, 255, .7);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .95), inset 1px 0 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .3);
  --glass-shadow: 0 1px 2px rgba(6, 19, 31, .04), 0 18px 44px -30px rgba(6, 19, 31, .32);
  --glass-blur: blur(22px) saturate(1.8);
  --chrome: #E8EEF2;
  --chrome-dot: #CAD4DB;
  --chrome-url: #FFFFFF;
  --danger: #B42318;
  --danger-soft: #FDE7E3;
  --amber-ink: #6B4604;
  --tg: #2AABEE;
  --tg-ink: #1F7FB5;
  --tg-soft: rgba(42, 171, 238, .1);
  --line: #DCE6EB;
  --line-strong: #C3D2DA;
  --night: #041019;
  --night-2: #0B1E2B;
  --on-night: #E6F4F8;
  --on-night-muted: #9DB3C0;
  --accent: #0EA5C6;
  --accent-hover: #22B4D3;
  --accent-ink: #0B7390;
  --accent-light: #67E8F9;
  --accent-soft: #DAF4FA;
  --accent-rgb: 14, 165, 198;
  --glow-1-rgb: 34, 211, 238;
  --glow-2-rgb: 59, 130, 246;
  --on-accent: #04202A;
  --accent-tint: #ECFAFD;
  --glow-3-rgb: 16, 185, 129;
  --rim-rgb: 190, 240, 255;
  --grad-light: linear-gradient(100deg, #67E8F9 0%, #7DD3FC 50%, #A5B4FC 100%);
  --grad-ink: linear-gradient(100deg, #0B7390 0%, #0EA5C6 50%, #2563EB 100%);
  --btn-top: #35CDE6;
  --btn-bottom: #0EA5C6;
  --btn-top-hover: #4FD8EE;
  --art: linear-gradient(135deg, #A5F3FC 0%, #06B6D4 50%, #2563EB 100%);
  --popular-top: #0C3A4A;
  --logo-w: #67E8F9;
  --green: #148A5B;
  --green-soft: #DDF3E9;
  --amber: #9A6408;
  --amber-soft: #FBEFD3;
  --blue: #2563EB;
  --blue-soft: #E1EAFF;
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 13, 26, .06);
  --shadow: 0 1px 2px rgba(11, 13, 26, .05), 0 14px 34px -16px rgba(11, 13, 26, .22);
  --shadow-lg: 0 30px 70px -30px rgba(7, 8, 23, .45);
  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.25; }
p { margin: 0; }
.hi { width: 1.2em; height: 1.2em; flex: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
[hidden] { display: none !important; }


/* ---------- Кнопки ---------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn .hi { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .hi { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); box-shadow: 0 10px 26px -12px rgba(var(--accent-rgb), .8); }
.btn--accent:hover { --btn-bg: var(--accent-hover); box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), .9); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--dark:hover { --btn-bg: var(--ink-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-border: var(--ink); --btn-bg: rgba(var(--ink-rgb), .05); }
.btn--light { --btn-bg: #fff; --btn-fg: #06131F; }
.btn--light:hover { --btn-bg: #E6F4F8; }
.btn--light-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .28); }
.btn--light-ghost:hover { --btn-border: #fff; --btn-bg: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover, .icon-btn[aria-current] { border-color: var(--ink); background: var(--surface); }
.icon-btn .hi { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, gap .2s; white-space: nowrap; }
.link-arrow:hover { border-color: var(--accent-light); gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.eyebrow--light { color: var(--accent-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .22); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }
.accent-text { color: var(--accent-light); }

/* ---------- Шапка ---------- */

.header { position: sticky; top: 0; z-index: 40; background: rgba(246, 247, 251, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 13, 26, .4); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) translate(1px, -2px); }
.logo__text { display: flex; flex-direction: column; font: 600 16px/1.1 var(--font-display); letter-spacing: -0.01em; }
.logo__text em { font-style: normal; color: var(--accent-ink); }
.logo--light .logo__text em { color: var(--accent-light); }
.logo__text small { font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: var(--on-night-muted); }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav__link { position: relative; white-space: nowrap; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-soft); transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--ink); background: rgba(var(--ink-rgb), .06); }
.nav__link[aria-current] { color: var(--ink); }
.nav__link[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }

.burger { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 15px; }
.burger:hover { border-color: var(--ink); }
.burger .hi { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 14.5px; }
  .burger span { display: none; }
  .burger { width: 44px; padding: 0; justify-content: center; }
}

/* ---------- Меню (планшет и телефон) ---------- */

.menu { position: fixed; inset: 0; z-index: 60; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(7, 8, 23, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), -30px 0 60px -30px rgba(0, 0, 0, .35); padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s var(--ease);
}
.menu.is-open .menu__backdrop { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.menu__title { font: 600 20px/1.2 var(--font-display); }
.menu__grid { display: grid; gap: 8px; }
.menu-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--card); border: 1px solid var(--card-line); text-decoration: none;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .2s;
  transition-delay: calc(var(--i) * 40ms + 80ms);
}
.menu.is-open .menu-card { opacity: 1; transform: none; }
.menu-card:hover, .menu-card[aria-current] { border-color: var(--ink); }
.menu-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.menu-card__icon .hi { width: 22px; height: 22px; }
.menu-card__text { display: flex; flex-direction: column; flex: 1; }
.menu-card__text b { font-weight: 600; }
.menu-card__text small { color: var(--muted); font-size: 14px; }
.menu-card__go { color: var(--muted); }
.menu__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--deep); color: #fff; text-decoration: none; }
.menu__cta small { display: block; color: var(--on-night-muted); font-size: 13px; }
.menu__cta b { font: 600 18px/1.3 var(--font-display); }
.menu__cta .hi { color: var(--accent-light); width: 24px; height: 24px; }
.menu__project { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); text-decoration: none; font-weight: 600; }
.menu__contacts .contacts { margin-top: 4px; }

/* ---------- Хлебные крошки ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Секции ---------- */

.section { padding-top: clamp(56px, 8vw, 104px); }
.section.container { padding-top: clamp(56px, 8vw, 104px); }
.section--flush, .section--flush.container { padding-top: 8px; }
.section--tint { background: var(--paper-2); margin-top: clamp(56px, 8vw, 104px); padding: clamp(56px, 8vw, 96px) 0; }
.section--tint + .section { padding-top: clamp(56px, 8vw, 96px); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section__head--row > div { max-width: 760px; }
.section__lead { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 18.5px); margin-top: 14px; max-width: 640px; }
@media (max-width: 760px) {
  .section__head--row { flex-direction: column; align-items: flex-start; }
}

.page-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 44px); max-width: calc(900px + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--container) - var(--gutter) * 2) / 2)); margin-right: auto; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 720px; }
.page-hero__lead a { color: var(--accent-ink); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero--center { text-align: center; margin: 0 auto; padding-top: clamp(48px, 10vw, 120px); padding-bottom: clamp(48px, 8vw, 96px); }
.page-hero--center .page-hero__lead { margin: 0 auto; }
.page-hero--center .page-hero__actions { justify-content: center; }

.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--card); border: 1px dashed var(--line-strong); color: var(--ink-soft); font-size: 15.5px; }
.note .hi { color: var(--accent-ink); margin-top: 2px; }

/* Плавное появление блоков при прокрутке */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Первый экран ---------- */

.hero { padding-top: 10px; }
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 12px; border-radius: clamp(26px, 3vw, 40px);
  background: var(--hero-bg); color: var(--on-night);
  padding-top: clamp(44px, 6vw, 92px);
  box-shadow: 0 40px 80px -50px rgba(7, 8, 23, .9);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(48px); will-change: transform; animation: drift 20s ease-in-out infinite alternate; }
.aurora--a { width: 58%; aspect-ratio: 1; left: -14%; top: -38%; background: radial-gradient(closest-side, rgba(var(--glow-1-rgb), .5), transparent); }
.aurora--b { width: 46%; aspect-ratio: 1; right: -10%; top: -26%; background: radial-gradient(closest-side, rgba(var(--glow-3-rgb), .32), transparent); animation-duration: 26s; animation-delay: -8s; }
.aurora--c { width: 80%; aspect-ratio: 1.7; left: 12%; bottom: -34%; background: radial-gradient(closest-side, rgba(var(--glow-2-rgb), .62), rgba(var(--glow-2-rgb), .12) 62%, transparent); animation-duration: 17s; }
@keyframes drift { to { transform: translate3d(5%, 7%, 0) scale(1.1); } }
.hero__stars { position: absolute; inset: 0; opacity: .75; animation: twinkle 6s ease-in-out infinite alternate;
  background-image:
    radial-gradient(1.2px 1.2px at 7% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 19% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 31% 9%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 43% 33%, rgba(255, 255, 255, .8) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 57% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 47%, rgba(255, 255, 255, .7) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 78% 7%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 29%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 95% 58%, rgba(255, 255, 255, .8) 50%, transparent 51%), radial-gradient(1px 1px at 3% 46%, rgba(255, 255, 255, .7) 50%, transparent 51%),
    radial-gradient(1px 1px at 26% 84%, rgba(255, 255, 255, .6) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 51% 71%, rgba(255, 255, 255, .6) 50%, transparent 51%);
}
@keyframes twinkle { to { opacity: .45; } }
/* Горизонт планеты с рассветной кромкой — Сахалин встречает рассвет первым. */
.hero__horizon { position: absolute; left: 50%; bottom: 0; width: max(2400px, 190%); aspect-ratio: 1; transform: translate(-50%, calc(100% - 118px)); border-radius: 50%;
  background: radial-gradient(closest-side, #020A10 94%, #071722 99%);
  box-shadow: 0 -1px 0 rgba(var(--rim-rgb), .7), 0 -2px 22px rgba(var(--glow-1-rgb), .55), 0 -40px 120px -20px rgba(var(--accent-rgb), .55), 0 -140px 200px -60px rgba(var(--accent-rgb), .28);
}
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(72px, 9vw, 128px); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #D3E4EB; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__title { margin-top: 22px; color: #fff; font-size: clamp(33px, 3.75vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
.hero__title .line { display: block; }
.js .hero__title .line { animation: rise .9s var(--ease) both; }
.js .hero__title .line:nth-child(2) { animation-delay: .08s; }
.js .hero__title .line:nth-child(3) { animation-delay: .16s; }
.js .hero__lead, .js .hero__actions, .js .hero__proof { animation: rise .9s var(--ease) .24s both; }
.js .hero__actions { animation-delay: .32s; }
.js .hero__proof { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
.hero__lead { margin-top: 24px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: #AFC4CE; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; padding: 0; }
.hero__proof li { display: grid; gap: 4px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__proof li:first-child { padding-left: 0; border-left: 0; }
.hero__proof b { font: 600 clamp(17px, 1.5vw, 21px)/1.1 var(--font-display); color: #fff; white-space: nowrap; }
.hero__proof span { font-size: 13.5px; color: #86A0AD; }

/* Сцена: сайт собирается по этапам (data-stage 0…6), слои двигаются за курсором. */
.hero__stage { position: relative; --mx: 0; --my: 0; padding: 18px 26px 44px 8px; }
.hero__stage [data-depth] { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.hero__stage [data-depth="1"] { --d: 6px; }
.hero__stage [data-depth="2"] { --d: 14px; }
.hero__stage [data-depth="3"] { --d: 22px; }
.stage-ring { position: absolute; right: -14%; top: -18%; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); animation: spin 90s linear infinite; }
.stage-ring::after { content: ''; position: absolute; top: 14%; left: 14%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px 4px rgba(var(--accent-rgb), .7); }
@keyframes spin { to { transform: rotate(360deg); } }

.console { position: relative; border-radius: 18px; background: #FBFBFE; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 60px -10px rgba(var(--accent-rgb), .18);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) translate3d(calc(var(--mx) * var(--d)), calc(var(--my) * var(--d)), 0);
}
.console__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--chrome); }
.console__bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--chrome-dot); }
.console__bar > i:first-child { background: #FF6B5A; }
.console__bar > i:nth-child(2) { background: #F5BE4F; }
.console__bar > i:nth-child(3) { background: #3FC56B; }
.console__url { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; flex: 1; font: 500 12.5px/1 var(--font-mono); color: var(--muted); background: #fff; border-radius: 8px; padding: 7px 10px; }
.console__url .hi { width: 13px; height: 13px; color: var(--green); }
.console__screen { padding: 16px; display: grid; gap: 12px; min-height: 322px; }
.console__check { position: absolute; left: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); color: var(--green); background: var(--green-soft); padding: 7px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.console__check .hi { width: 14px; height: 14px; }

.mock { border-radius: 12px; border: 1.5px dashed #C3C8D6; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .5s, border-color .5s; }
.mock--nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.mock--nav b { width: 26px; height: 26px; border-radius: 8px; background: #D9DCE6; transition: background .5s; }
.mock--nav i { width: 42px; height: 8px; border-radius: 4px; background: #D9DCE6; }
.mock--nav em { margin-left: auto; width: 70px; height: 24px; border-radius: 999px; background: #D9DCE6; transition: background .5s; }
.mock--hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 14px; }
.mock__copy { display: flex; flex-direction: column; gap: 8px; }
.mock__h { height: 16px; border-radius: 6px; background: #D9DCE6; width: 92%; transition: background .5s; }
.mock__h--short { width: 64%; }
.mock__p { height: 8px; border-radius: 4px; background: #E4E6EE; width: 100%; margin-top: 4px; }
.mock__p--short { width: 72%; margin-top: 0; }
.mock__btn { align-self: flex-start; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: #D9DCE6; color: transparent; font: 600 11px/1 var(--font); transition: background-color .5s, color .5s; }
.mock__img { border-radius: 10px; background: #E4E6EE; min-height: 92px; transition: background .6s; }
.mock--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
.mock--cards span { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; }
.mock--cards i { height: 34px; border-radius: 7px; background: #E4E6EE; transition: background .6s; }
.mock--cards b { height: 7px; width: 70%; border-radius: 4px; background: #E4E6EE; }
.mock--slots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; font: 600 11.5px/1 var(--font); }
.mock--slots em { font-style: normal; color: var(--muted); margin-right: 4px; }
.mock--slots span { padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid #DFE2EA; color: var(--ink-soft); transition: background-color .4s, color .4s, border-color .4s; }
.mock--slots .is-busy { text-decoration: line-through; color: #AEB3C2; }

.hero__stage:not([data-stage="0"]) .mock { opacity: 1; transform: none; }
.hero__stage[data-stage="1"] .mock--hero { transition-delay: .12s; }
.hero__stage[data-stage="1"] .mock--cards { transition-delay: .24s; }
.hero__stage[data-stage="1"] .mock--slots { transition-delay: .36s; }
.hero__stage:is([data-stage="2"], [data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock { border-style: solid; border-color: transparent; background: #fff; }
.hero__stage:is([data-stage="2"], [data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--nav b { background: var(--accent); }
.hero__stage:is([data-stage="2"], [data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock__h { background: var(--ink); }
.hero__stage:is([data-stage="2"], [data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock__btn { background: var(--accent); color: var(--on-accent); }
.hero__stage:is([data-stage="2"], [data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--nav em { background: var(--ink); }
.hero__stage:is([data-stage="3"], [data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--slots .is-pick { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__stage:is([data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock__img { background: var(--art); }
.hero__stage:is([data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--cards span:nth-child(1) i { background: var(--accent-soft); }
.hero__stage:is([data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--cards span:nth-child(2) i { background: #D9E0FF; }
.hero__stage:is([data-stage="4"], [data-stage="5"], [data-stage="6"]) .mock--cards span:nth-child(3) i { background: #D5F0E2; }
.hero__stage:is([data-stage="5"], [data-stage="6"]) .console__check { opacity: 1; transform: none; }

/* Телефон рядом — та же вёрстка, адаптированная под экран смартфона. */
.mini-phone { position: absolute; right: 0; bottom: 8px; z-index: 2; width: clamp(112px, 11vw, 150px); aspect-ratio: 9 / 18.5; padding: 22px 9px 10px; border-radius: 24px; background: #FBFBFE; display: flex; flex-direction: column; gap: 7px;
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px rgba(255, 255, 255, .14), 0 40px 70px -30px rgba(0, 0, 0, .9);
  transform: rotate(4deg) translate3d(calc(var(--mx) * var(--d)), calc(var(--my) * var(--d)), 0);
  opacity: 0; transition: opacity .6s var(--ease), transform .5s var(--ease);
}
.hero__stage:not([data-stage="0"]):not([data-stage="1"]) .mini-phone { opacity: 1; }
.mini-phone__notch { position: absolute; top: 7px; left: 50%; width: 40px; height: 9px; margin-left: -20px; border-radius: 9px; background: var(--ink); }
.mini-phone__bar { display: flex; justify-content: space-between; align-items: center; }
.mini-phone__bar b { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); }
.mini-phone__bar em { width: 26px; height: 8px; border-radius: 4px; background: var(--ink); }
.mini-phone__img { height: 32%; border-radius: 10px; background: #E4E6EE; transition: background .6s; }
.hero__stage:is([data-stage="4"], [data-stage="5"], [data-stage="6"]) .mini-phone__img { background: var(--art); }
.mini-phone__h { height: 9px; width: 85%; border-radius: 4px; background: var(--ink); }
.mini-phone__p { height: 6px; width: 70%; border-radius: 3px; background: #D4D8E2; }
.mini-phone__btn { margin-top: auto; padding: 7px 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-align: center; font: 700 9px/1 var(--font); }
.mini-phone__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mini-phone__slots i { height: 14px; border-radius: 5px; border: 1px solid #DFE2EA; background: #fff; }
.mini-phone__slots .is-pick { background: var(--ink); border-color: var(--ink); }

.float, .notify { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 18px;
  background: rgba(255, 255, 255, .72); color: var(--ink); backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  opacity: 0; transform: translate3d(calc(var(--mx) * var(--d)), calc(var(--my) * var(--d) + 14px), 0) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero__stage[data-stage="6"] .float, .hero__stage[data-stage="6"] .notify { opacity: 1; transform: translate3d(calc(var(--mx) * var(--d)), calc(var(--my) * var(--d)), 0); }
.hero__stage[data-stage="6"] .notify { transition-delay: .35s; }
.float--pay { top: 12%; right: -18px; }
.notify { left: 4%; bottom: 0; width: min(300px, 80%); }
.float__icon, .notify__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; color: #fff; }
.float__icon--green { background: linear-gradient(135deg, #22B573, #13895A); }
.notify__icon { background: linear-gradient(135deg, #37B6F3, #1F8BC8); }
.float__icon .hi, .notify__icon .hi { width: 20px; height: 20px; }
.float__text, .notify__text { display: flex; flex-direction: column; line-height: 1.3; }
.float__text small, .notify__text small { color: var(--muted); font-size: 11.5px; }
.float__text b { font: 600 18px/1.2 var(--font-display); color: var(--green); }
.float__text span { font-size: 12.5px; color: var(--ink-soft); }
.notify__text b { font-size: 14.5px; }
.notify__text span { color: var(--ink-soft); font-size: 13px; }

.count { position: absolute; left: -10px; top: -6px; z-index: 3; min-width: 214px; padding: 12px 14px; border-radius: 16px; background: rgba(8, 26, 38, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
  transform: translate3d(calc(var(--mx) * var(--d)), calc(var(--my) * var(--d)), 0);
}
.count__head { display: flex; align-items: baseline; gap: 10px; }
.count__t { font: 700 18px/1 var(--font-mono); color: var(--accent-light); }
.count__label { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
.count__bar { margin-top: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.count__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: inherit; transition: width .6s var(--ease); }

/* Бегущая строка возможностей по нижнему краю. */
.ticker { position: relative; padding: 18px 0 20px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; font: 600 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.ticker__track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .8); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 600px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 560px) {
  .hero__panel { margin: 0 8px; }
  .hero__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero__proof li { padding: 0 12px; }
  .hero__proof b { font-size: 16px; }
  .hero__proof span { font-size: 12.5px; }
  .console { transform: none; }
  .console__screen { min-height: 0; padding: 12px; gap: 10px; }
  .mock--hero { grid-template-columns: 1fr; }
  .mock__img { min-height: 56px; }
  .mini-phone { width: 96px; right: 4px; }
  .count { left: 0; top: -14px; min-width: 0; }
  .float--pay { right: 4px; top: 34%; }
  .notify { left: 0; }
}

/* Обещания — выезжают на край тёмной панели */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero .promises { position: relative; z-index: 3; margin-top: 14px; }
.promise { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.promise__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.promise b { display: block; font-weight: 700; margin-bottom: 4px; }
.promise p { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 1080px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } .promise { padding: 16px; } }

/* ---------- Пакеты ---------- */

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pack { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pack:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pack--popular { background: var(--deep); color: #fff; border-color: var(--deep-line); }
.pack--popular:hover { border-color: var(--deep-line); }
.pack__badge { position: absolute; top: -12px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.pack__head { display: flex; align-items: center; gap: 12px; }
.pack__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--chip); color: var(--ink); flex: none; }
.pack--popular .pack__icon { background: rgba(255, 255, 255, .1); color: var(--accent-light); }
.pack__icon .hi { width: 22px; height: 22px; }
.pack__name { font-size: 19px; }
.pack__lead { margin-top: 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.pack--popular .pack__lead, .pack--popular .pack__meta, .pack--popular .pack__fits { color: var(--on-night-muted); }
.pack__price { margin-top: 18px; font: 600 clamp(24px, 2.2vw, 30px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.pack__price small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; }
.pack--popular .pack__price small { color: var(--on-night-muted); }
.pack__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.pack__meta .hi { width: 16px; height: 16px; }
.pack .checks { margin-top: 18px; }
.pack__fits { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.pack--popular .pack__fits { border-color: rgba(255, 255, 255, .15); }
.pack__fits b { color: inherit; font-weight: 600; }
.pack__actions { margin-top: auto; padding-top: 22px; }
.pack--popular .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .3); }
@media (max-width: 1080px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .packs { grid-template-columns: 1fr; }
  .packs--compact { grid-template-columns: 1fr; }
}

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.checks .hi { color: var(--accent-light); width: 18px; height: 18px; margin-top: 2px; }
.pack:not(.pack--popular) .checks .hi { color: var(--accent-ink); }

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.addon { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.addon b { display: block; font-weight: 600; font-size: 15.5px; }
.addon small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.addon__price { font: 700 14px/1.4 var(--font-mono); color: var(--accent-ink); white-space: nowrap; }
@media (max-width: 960px) { .addons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .addons { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.plan--main { border-color: var(--ink); }
.plan__title { display: block; font: 600 17px/1.3 var(--font-display); }
.plan__price { display: block; margin: 10px 0 8px; font: 600 26px/1.1 var(--font-display); }
.plan__price small { font: 500 15px var(--font); color: var(--muted); }
.plan p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.pay { display: flex; align-items: stretch; gap: 12px; }
.pay__item { flex: 1; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.pay__item--launch { background: var(--deep); color: #fff; border-color: var(--deep-line); }
.pay__item--launch p { color: var(--on-night-muted); }
.pay__n { font: 700 28px/1 var(--font-display); color: var(--accent-ink); min-width: 70px; }
.pay__item--launch .pay__n { color: var(--accent-light); }
.pay__n .hi { width: 32px; height: 32px; }
.pay__item b { display: block; font-weight: 700; margin-bottom: 4px; }
.pay__item p { color: var(--muted); font-size: 15px; }
.pay__arrow { display: grid; place-items: center; color: var(--line-strong); }
@media (max-width: 860px) { .pay { flex-direction: column; } .pay__arrow { transform: rotate(90deg); } }

/* ---------- Кейсы ---------- */

.cases { display: grid; gap: 20px; }
.case-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--card); border: 1px solid var(--card-line); }
.case-card__media { position: relative; display: block; padding: 36px 64px 0 36px; background: var(--case-bg); overflow: hidden; min-height: 360px; }
.case-card__media::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; right: -12%; top: -18%; border-radius: 50%; background: var(--case-accent); opacity: .16; filter: blur(8px); }
.case-card__body { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 44px); }
.case-card__kind { font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.case-card__title { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); }
.case-card__title a { text-decoration: none; }
.case-card__industry { margin-top: 8px; color: var(--muted); font-size: 15px; }
.case-card__summary { margin-top: 18px; color: var(--ink-soft); }
.case-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.cases--list .case-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.cases--list .case-card:nth-child(even) .case-card__media { order: 2; }
.tags--case { margin-top: 18px; }

.browser { position: relative; display: block; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(7, 8, 23, .5), 0 0 0 1px rgba(7, 8, 23, .06); transition: transform .5s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--chrome); }
.browser__bar > i { width: 8px; height: 8px; border-radius: 50%; background: var(--chrome-dot); }
.browser__url { margin-left: 8px; font: 500 11px/1 var(--font-mono); color: var(--muted); background: var(--chrome-url); padding: 5px 9px; border-radius: 6px; }
.browser__shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 22px; bottom: -40px; width: 30%; max-width: 170px; border-radius: 26px; padding: 6px; background: #081620; box-shadow: 0 30px 50px -20px rgba(3, 12, 18, .6); transition: transform .5s var(--ease); }
.phone__shot { width: 100%; aspect-ratio: 390 / 740; object-fit: cover; object-position: top; border-radius: 21px; }
.case-card:hover .browser { transform: translateY(-6px); }
.case-card:hover .phone { transform: translateY(-14px) rotate(-2deg); }
@media (max-width: 900px) {
  .case-card, .cases--list .case-card:nth-child(even) { grid-template-columns: 1fr; }
  .cases--list .case-card:nth-child(even) .case-card__media { order: 0; }
  .case-card__media { min-height: 0; padding: 24px 48px 0 20px; }
}

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 11px; border-radius: 999px; background: var(--chip); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }

/* Страница кейса */
.case-hero { background: var(--case-bg); color: var(--case-ink); margin: 14px 12px 0; border-radius: clamp(24px, 3vw, 36px); padding: clamp(32px, 5vw, 64px) 0 0; overflow: hidden; }
.case-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: end; }
.case-hero__text { padding-bottom: clamp(32px, 5vw, 64px); }
.case-hero .eyebrow { color: var(--case-accent); }
.case-hero--dark .eyebrow { color: var(--case-accent); }
.case-hero h1 { color: inherit; }
.case-hero__industry { margin-top: 12px; opacity: .75; }
.case-hero__summary { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19.5px); max-width: 520px; }
.case-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case-hero--dark .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .3); }
.case-hero__media { position: relative; padding-right: 60px; }
.browser--lg { border-radius: 16px 16px 0 0; }
.phone--lg { right: 0; bottom: -30px; width: 28%; max-width: 200px; }
@media (max-width: 900px) {
  .case-hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .case-hero__text { padding-bottom: 0; }
  .case-hero__media { padding-right: 40px; margin-top: 20px; }
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { padding: 22px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.fact b { display: block; font: 600 clamp(28px, 3vw, 40px)/1 var(--font-display); letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.case-task { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.case-task__text { font: 500 clamp(19px, 2vw, 26px)/1.45 var(--font); letter-spacing: -0.01em; max-width: 860px; }
@media (max-width: 760px) { .case-task { grid-template-columns: 1fr; gap: 0; } }

.solution { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.solution__item { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.solution__n { font: 700 13px/1 var(--font-mono); color: var(--accent-ink); }
.solution__item h3 { margin: 14px 0 8px; font-size: 18px; }
.solution__item p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) { .solution { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solution { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: start; }
.gallery__item { margin: 0; }
.gallery__item--desktop { grid-column: span 3; }
.gallery__item--desktop:first-child { grid-column: span 6; }
.gallery__item--mobile { grid-column: span 2; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery__img { width: 100%; transition: transform .5s var(--ease); }
.gallery__open:hover .gallery__img { transform: scale(1.02); }
.gallery__item--mobile .gallery__img { aspect-ratio: 390 / 740; object-fit: cover; object-position: top; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.tags--stack { margin-top: 24px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--desktop, .gallery__item--desktop:first-child { grid-column: span 2; }
  .gallery__item--mobile { grid-column: span 1; }
}

.case-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--deep); color: #fff; }
.case-cta .eyebrow { color: var(--accent-light); }
.case-cta h2 { font-size: clamp(24px, 2.8vw, 34px); }
.case-cta p { margin-top: 10px; color: var(--on-night-muted); max-width: 560px; }
.case-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 860px) { .case-cta { flex-direction: column; align-items: flex-start; } }
.case-next { margin-top: 14px; display: grid; gap: 14px; }
.case-next__link { position: relative; display: flex; flex-direction: column; padding: 22px 64px 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); text-decoration: none; transition: border-color .2s; }
.case-next__link:hover { border-color: var(--ink); }
.case-next__link small { color: var(--muted); font-size: 13px; }
.case-next__link b { font: 600 22px/1.3 var(--font-display); margin-top: 4px; }
.case-next__link span { color: var(--muted); }
.case-next__link .hi { position: absolute; right: 24px; top: 50%; margin-top: -12px; width: 24px; height: 24px; }

.slot { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); border: 2px dashed var(--line-strong); }
.slot__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.slot__icon .hi { width: 28px; height: 28px; }
.slot h2 { font-size: clamp(22px, 2.4vw, 28px); }
.slot p { margin-top: 8px; color: var(--ink-soft); max-width: 620px; }
@media (max-width: 760px) { .slot { grid-template-columns: 1fr; } }

/* Просмотр скриншота */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(7, 8, 23, .88); }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 110px); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox figcaption { color: var(--on-night); font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; }
.lightbox__nav--next { right: 16px; top: 50%; }
.lightbox__nav--prev .hi { transform: rotate(180deg); }

/* ---------- Отсчёт этапов ---------- */

.launchbar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; counter-reset: s; }
.launchbar li { position: relative; padding: 18px 16px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.launchbar li::after { content: ''; position: absolute; right: -8px; top: 50%; width: 8px; height: 2px; background: var(--line-strong); }
.launchbar li:last-child::after { display: none; }
.launchbar span { display: block; font: 700 14px/1 var(--font-mono); color: var(--accent-ink); margin-bottom: 10px; }
.launchbar b { font-weight: 600; font-size: 15px; line-height: 1.3; display: block; }
.launchbar .is-launch { background: var(--accent); border-color: var(--accent-light); }
.launchbar .is-launch span { color: rgba(255, 255, 255, .8); }
.launchbar .is-launch { color: #fff; }
@media (max-width: 1080px) { .launchbar { grid-template-columns: repeat(4, 1fr); } .launchbar li::after { display: none; } }
@media (max-width: 560px) { .launchbar { grid-template-columns: repeat(2, 1fr); } }

.countdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.countdown__step { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.countdown__t { font: 700 clamp(26px, 3vw, 36px)/1 var(--font-mono); color: var(--accent-ink); letter-spacing: -0.02em; }
.countdown__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.countdown__head h3 { font-size: clamp(19px, 1.8vw, 23px); }
.countdown__days { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.countdown__days .hi { width: 16px; height: 16px; }
.countdown__body > p { margin-top: 10px; color: var(--ink-soft); }
.countdown__you { font-size: 15px; padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--ink-soft) !important; }
.countdown__you b { color: var(--ink); }
.countdown__step.is-launch { background: var(--deep); color: #fff; border-color: var(--deep-line); }
.countdown__step.is-launch .countdown__t { color: var(--accent-light); }
.countdown__step.is-launch .countdown__body > p { color: var(--on-night-muted); }
.countdown__step.is-launch .countdown__you { background: rgba(255, 255, 255, .08); color: var(--on-night-muted) !important; }
.countdown__step.is-launch .countdown__you b { color: #fff; }
.countdown__step.is-orbit { border-style: dashed; background: transparent; }
.countdown__step.is-orbit .countdown__t { font-size: clamp(18px, 2vw, 22px); }
@media (max-width: 640px) { .countdown__step { grid-template-columns: 1fr; gap: 10px; padding: 20px; } }

.cabinet-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.cabinet-teaser__text { display: flex; gap: 16px; align-items: flex-start; }
.cabinet-teaser__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--deep); color: var(--accent-light); flex: none; }
.cabinet-teaser h3 { font-size: 18px; }
.cabinet-teaser p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; max-width: 680px; }
@media (max-width: 760px) { .cabinet-teaser { flex-direction: column; align-items: flex-start; } }

.cabinet { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cabinet__text h2 { margin-bottom: 16px; }
.cabinet__text > p { color: var(--ink-soft); margin-top: 12px; }
.cabinet__text .checks { margin-top: 16px; }
.cabinet__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.mini-cabinet { padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.mini-cabinet__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mini-cabinet__head b { font: 600 16px/1.3 var(--font-display); }
.mini-cabinet__head span { font: 700 12px/1 var(--font-mono); color: var(--muted); }
.mini-cabinet__progress { height: 8px; border-radius: 8px; background: var(--paper-2); margin: 16px 0; overflow: hidden; }
.mini-cabinet__progress i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.mini-cabinet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-cabinet li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper); color: var(--muted); font-size: 14.5px; font-weight: 500; }
.mini-cabinet li.is-done { color: var(--green); background: var(--green-soft); }
.mini-cabinet li.is-review { color: var(--amber); background: var(--amber-soft); }
.mini-cabinet__actions { display: flex; gap: 8px; margin-top: 14px; }
.mini-cabinet__actions span { flex: 1; text-align: center; padding: 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.mini-cabinet__actions .is-ok { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .cabinet { grid-template-columns: 1fr; } }

.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.need { padding: 22px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.need__n { display: block; font: 700 14px/1 var(--font-mono); color: var(--accent-ink); margin-bottom: 14px; }
.need b { display: block; font-weight: 700; margin-bottom: 6px; }
.need p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .needs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .needs { grid-template-columns: 1fr; } }

/* ---------- «Под ключ», отрасли, сравнение ---------- */

.turnkey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.turnkey__item { background: var(--paper); padding: 24px; }
.turnkey__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); color: var(--accent-ink); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.turnkey__icon .hi { width: 22px; height: 22px; }
.turnkey__item b { display: block; font-weight: 700; margin-bottom: 6px; }
.turnkey__item p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 1080px) { .turnkey { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .turnkey { grid-template-columns: repeat(2, 1fr); } .turnkey__item { padding: 18px; } }
@media (max-width: 460px) { .turnkey { grid-template-columns: 1fr; } }

.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.industry { display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); transition: border-color .2s, transform .3s var(--ease); }
.industry:hover { border-color: var(--ink); transform: translateY(-3px); }
.industry__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: var(--accent-light); margin-bottom: 16px; }
.industry__icon .hi { width: 22px; height: 22px; }
.industry h3 { font-size: 17.5px; }
.industry > p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.industry .tags { margin-top: 14px; }
.industry .tags li { font-size: 12.5px; padding: 5px 9px; }
.industry__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.industry__case { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.industry__case .hi { width: 16px; height: 16px; }
.industry__case--muted { color: var(--muted); font-weight: 500; }
.industry__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--ink); flex: none; transition: background-color .2s, border-color .2s, color .2s; }
.industry__go:hover { background: var(--accent); border-color: var(--accent-light); }
.industry__go .hi { width: 18px; height: 18px; }
@media (max-width: 1080px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

.compare { border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); align-items: start; font-size: 15.5px; }
.compare__row:first-child { border-top: 0; }
.compare__row--head { background: var(--paper); font: 700 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare__row > span { color: var(--muted); }
.compare__row > .is-ours { color: var(--ink); font-weight: 500; display: flex; gap: 8px; }
.compare__row--head > .is-ours { color: var(--accent-ink); }
.compare__row .hi { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.compare__note { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 820px; }
@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr; gap: 6px; }
  .compare__row--head { display: none; }
  .compare__row > span::before { content: attr(data-label) ': '; font-weight: 600; color: var(--muted); }
  .compare__row > .is-ours::before { content: none; }
}

/* ---------- Команда ---------- */

.team__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.team__intro { position: sticky; top: 110px; }
.team__intro h2 { margin-bottom: 16px; }
.team__rules { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.team__rules li { display: flex; gap: 12px; align-items: flex-start; }
.team__rules .hi { color: var(--accent-ink); width: 22px; height: 22px; margin-top: 2px; flex: none; }
.team__rules span { color: var(--ink-soft); }
.team__rules b { color: var(--ink); }
.team__members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.member { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.2vw, 26px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1px solid var(--card-line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.member:hover { transform: translateY(-3px); box-shadow: var(--glass-edge), 0 30px 60px -36px rgba(3, 12, 18, .45); }
.member__top { display: flex; gap: 14px; align-items: center; }
.member__avatar { display: grid; place-items: center; width: 64px; height: 64px; padding: 3px; border-radius: 50%; flex: none; background: conic-gradient(from 210deg, var(--accent), rgb(var(--glow-1-rgb)), rgb(var(--glow-2-rgb)), var(--accent)); }
.member__avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--deep); color: #fff; font: 600 19px/1 var(--font-display); letter-spacing: -0.02em; }
.member h3 { font-size: 18px; }
.member__role { margin-top: 5px; font: 700 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.member__text { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.member .tags { margin-top: auto; }
.team__together { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: calc(var(--radius) + 4px); color: var(--on-night);
  background: radial-gradient(80% 160% at 100% 0%, rgba(var(--accent-rgb), .32), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(var(--glow-1-rgb), .22), transparent 60%), var(--deep); }
.team__together-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--accent-light); flex: none; }
.team__together-mark svg { width: 30px; height: 30px; }
.team__together p { font-size: 15px; line-height: 1.55; color: var(--on-night-muted); }
.team__together b { color: #fff; }
@media (max-width: 1000px) { .team__grid { grid-template-columns: 1fr; } .team__intro { position: static; } }
@media (max-width: 620px) { .team__members { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__item { border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--chip); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq__item summary .hi { width: 18px; height: 18px; }
.faq__answer { padding: 0 22px 22px; color: var(--ink-soft); max-width: 760px; }
.faq__empty { margin-top: 16px; color: var(--muted); }
.search { display: flex; align-items: center; gap: 12px; margin-top: 28px; max-width: 560px; padding: 0 18px; min-height: 54px; border-radius: 999px; background: var(--field); border: 1.5px solid var(--line-strong); }
.search:focus-within { border-color: var(--ink); }
.search .hi { color: var(--muted); }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; min-width: 0; }
mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Контакты ---------- */

.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contacts__link { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card); transition: border-color .2s; }
.contacts__link:hover { border-color: var(--ink); }
.contacts__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.contacts__link small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.2; }
.contacts__link b { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; word-break: break-word; }
.contacts__hours { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.contacts__hours .hi { width: 16px; height: 16px; }
.contacts--footer .contacts__link { background: transparent; border-color: rgba(255, 255, 255, .12); color: #fff; }
.contacts--footer .contacts__link:hover { border-color: rgba(255, 255, 255, .5); }
.contacts--footer .contacts__icon { background: rgba(var(--accent-rgb), .16); color: var(--accent-light); }
.contacts--footer .contacts__link small { color: var(--on-night-muted); }
.menu__contacts .contacts--footer .contacts__link { background: var(--card); border-color: var(--card-line); color: var(--ink); }
.menu__contacts .contacts--footer .contacts__icon { background: var(--accent-soft); color: var(--accent-ink); }
.menu__contacts .contacts--footer .contacts__link small { color: var(--muted); }

/* ---------- Финальный призыв ---------- */

.launch { padding-top: clamp(56px, 8vw, 104px); }
.launch__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: clamp(24px, 3vw, 36px); background: radial-gradient(90% 120% at 0% 100%, rgba(var(--accent-rgb), .35), transparent 55%), linear-gradient(160deg, var(--night), var(--night-2)); color: var(--on-night); }
.launch__stars { position: absolute; inset: 0; z-index: -1; opacity: .6; background-image: radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 50% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 80%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 88% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 38% 70%, #fff 50%, transparent 51%); }
.launch h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.launch__text > p:not(.eyebrow) { margin-top: 16px; color: var(--on-night-muted); max-width: 520px; }
.launch__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.launch__points li { display: flex; align-items: center; gap: 10px; color: var(--on-night); font-size: 15.5px; }
.launch__points .hi { color: var(--accent-light); }
.launch__points a { color: #fff; }
@media (max-width: 900px) { .launch__panel { grid-template-columns: 1fr; } }

/* ---------- Формы ---------- */

.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-strong); background: var(--field); color: var(--ink); font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field--dark > span { color: var(--on-night-muted); }
.field--dark input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.field--dark input::placeholder { color: rgba(255, 255, 255, .38); }
.field--dark input:focus { border-color: var(--accent-light); background: rgba(255, 255, 255, .09); }
.field-label { font-weight: 600; margin: 22px 0 10px; }
.field-label small { font-weight: 400; color: var(--muted); margin-left: 6px; }

.quick { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }

.methods { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.methods legend { width: 100%; font-size: 14px; font-weight: 600; color: var(--on-night-muted); margin-bottom: 8px; padding: 0; }
.methods label { position: relative; }
.methods input { position: absolute; opacity: 0; pointer-events: none; }
.methods span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .18); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .2s; }
.methods input:checked + span { background: var(--accent); border-color: var(--accent-light); color: var(--on-accent); font-weight: 600; }
.methods input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.methods--light legend { color: var(--ink-soft); }
.methods--light span { border-color: var(--line-strong); background: var(--field); }
.methods--light input:checked + span { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-fg); }

.consent, .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent-light); flex: none; margin-top: 1px; }
.consent a { color: inherit; }
.consent--dark { color: var(--on-night-muted); }
.check { font-size: 15px; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__error { padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14.5px; font-weight: 500; }
.quick .form__error { background: rgba(217, 58, 43, .18); color: #FFC4BB; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--field); font-size: 15px; font-weight: 500; cursor: pointer; transition: all .2s; }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-fg); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Калькулятор ---------- */

.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.calc__form { display: grid; gap: 14px; }
.calc__step { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); min-width: 0; }
.calc__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 600 18px/1.3 var(--font-display); margin-bottom: 18px; padding: 0; }
.calc__step legend + * { clear: both; }
.calc__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 13px/1 var(--font-mono); flex: none; }
.calc__hint { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-card { position: relative; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card__box { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; height: 100%; padding: 16px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--chip); cursor: pointer; transition: all .2s; }
.type-card__box:hover { border-color: var(--line-strong); }
.type-card__icon { grid-row: span 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.type-card__name { font-weight: 700; }
.type-card__price { font: 600 14px/1.3 var(--font-mono); color: var(--accent-ink); }
.type-card__lead { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.type-card input:checked + .type-card__box { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-fg); }
.type-card input:checked + .type-card__box .type-card__icon { background: var(--accent); color: var(--on-accent); }
.type-card input:checked + .type-card__box .type-card__price { color: var(--accent-light); }
.type-card input:checked + .type-card__box .type-card__lead { color: var(--sel-muted); }
.type-card input:focus-visible + .type-card__box { outline: 3px solid var(--accent); outline-offset: 2px; }

.range { display: flex; align-items: center; gap: 18px; }
.range input { flex: 1; accent-color: var(--accent-light); height: 28px; }
.range output { min-width: 64px; text-align: center; padding: 8px 12px; border-radius: 12px; background: var(--chip); font: 700 18px/1 var(--font-mono); }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; }
.opt__box:hover { border-color: var(--line-strong); }
.opt__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); flex: none; margin-top: 1px; transition: all .2s; }
.opt__check .hi { width: 14px; height: 14px; opacity: 0; }
.opt__text { flex: 1; min-width: 0; }
.opt__text b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.opt__text small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.opt__price { font: 700 13px/1.5 var(--font-mono); color: var(--accent-ink); white-space: nowrap; }
.opt input:checked + .opt__box { border-color: var(--ink); background: var(--chip); }
.opt input:checked + .opt__box .opt__check { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.opt input:checked + .opt__box .opt__check .hi { opacity: 1; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt input:disabled + .opt__box { cursor: default; border-style: dashed; background: var(--green-soft); border-color: transparent; }
.opt input:disabled + .opt__box .opt__check { background: var(--green); border-color: var(--green); color: #fff; }
.opt input:disabled + .opt__box .opt__check .hi { opacity: 1; }
.opt input:disabled + .opt__box .opt__price { color: var(--green); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; height: 100%; }
.seg b { font-weight: 700; }
.seg small { color: var(--muted); font-size: 13.5px; }
.seg input:checked + span { border-color: var(--sel-border); background: var(--sel-bg); color: var(--sel-fg); }
.seg input:checked + span small { color: var(--sel-muted); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.support-grid .seg span { justify-content: flex-start; }
.support-grid label { position: relative; }

.calc__summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary { padding: 26px; border-radius: var(--radius); background: var(--deep); border: 1px solid var(--deep-line); color: #fff; box-shadow: var(--shadow-lg); }
.summary__label { font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }
.summary__total { margin-top: 8px; font: 600 clamp(34px, 3.4vw, 44px)/1.05 var(--font-display); letter-spacing: -0.03em; transition: transform .25s var(--ease); }
.summary__total.is-bump { transform: scale(1.04); }
.summary__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.summary__row small { display: block; color: var(--on-night-muted); font-size: 12.5px; line-height: 1.3; }
.summary__row b { display: block; margin-top: 4px; font-weight: 600; font-size: 15.5px; }
.summary__details { margin: 18px 0; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.summary__details summary { padding: 12px 14px; cursor: pointer; font-size: 14.5px; font-weight: 600; }
.summary__lines, .summary__incl { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 6px; font-size: 14px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--on-night-muted); }
.summary__lines li b { color: #fff; font-weight: 600; white-space: nowrap; }
.summary__incl-title { padding: 12px 14px 6px; font-size: 13px; color: var(--on-night-muted); }
.summary__incl { padding-bottom: 14px; }
.summary__incl li { display: flex; gap: 8px; align-items: center; color: #fff; }
.summary__incl .hi { color: var(--accent-light); width: 16px; height: 16px; }
.summary .btn + .btn { margin-top: 10px; }
.summary .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .25); }
.summary__share { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 8px; border: 0; background: none; color: var(--on-night-muted); font-size: 14px; }
.summary__share:hover { color: #fff; }
.summary__note { margin-top: 12px; color: var(--on-night-muted); font-size: 13px; line-height: 1.5; }

.calc-bar { display: none; }
@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .calc__summary { position: static; }
  .calc-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 20px; background: rgba(6, 19, 31, .82); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-lg); transform: translateY(0); transition: transform .3s var(--ease), opacity .3s; }
  .calc-bar small { display: block; color: var(--on-night-muted); font-size: 12px; }
  .calc-bar b { font: 600 20px/1.2 var(--font-display); }
  .calc-bar.is-hidden { transform: translateY(140%); opacity: 0; }
  body[data-page="calculator"] .mbar { display: none; }
}
@media (max-width: 640px) {
  .calc__step { padding: 18px; }
  .type-grid, .opt-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

/* ---------- Бриф ---------- */

.brief-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.brief { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.wizard-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: w; }
.wizard-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.wizard-steps li::before { content: ''; height: 4px; border-radius: 4px; background: var(--paper-2); transition: background-color .3s; }
.wizard-steps li span { display: none; }
.wizard-steps li.is-done { color: var(--ink-soft); }
.wizard-steps li.is-done::before { background: var(--ink); }
.wizard-steps li.is-active { color: var(--ink); }
.wizard-steps li.is-active::before { background: var(--accent); }
.wizard-pane__title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }
.wizard-pane .field { margin-top: 14px; }
.wizard-pane .methods { margin-top: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--chip); cursor: pointer; transition: all .2s; }
.choice__box:hover { border-color: var(--line-strong); }
.choice__box .hi { width: 24px; height: 24px; color: var(--accent-ink); }
.choice__box b { font-weight: 700; font-size: 15.5px; }
.choice__box small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice input:checked + .choice__box { border-color: var(--sel-border); background: var(--sel-bg); color: var(--sel-fg); }
.choice input:checked + .choice__box .hi { color: var(--accent-light); }
.choice input:checked + .choice__box small { color: var(--sel-muted); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-attach { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--accent-soft); }
.calc-attach .hi { color: var(--accent-ink); width: 24px; height: 24px; flex: none; margin-top: 2px; }
.calc-attach b { display: block; }
.calc-attach p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.calc-attach button { margin-left: auto; border: 0; background: none; color: var(--accent-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard-nav #briefBack .hi { transform: rotate(180deg); }
.wizard-nav #briefBack:hover .hi { transform: rotate(180deg) translateX(3px); }
.wizard-nav__save { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13.5px; }
.wizard-nav__save .hi { width: 16px; height: 16px; }
.wizard-nav > .btn:last-child, .wizard-nav > #briefNext { margin-left: auto; }
.brief .form__error { margin-top: 18px; }
.brief-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.aside-card__title { font: 600 16px/1.3 var(--font-display); margin-bottom: 14px; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 38px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); font: 700 12px/1 var(--font-mono); color: var(--ink); }
.next-steps b { color: var(--ink); }
.brief-done, .done { text-align: center; padding: clamp(12px, 3vw, 28px) 0; }
.done__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); animation: pop .5s var(--ease); }
.done__icon .hi { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.brief-done h2, .done h3 { margin-bottom: 10px; }
.brief-done p, .done p { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.done .paybox__title { margin-bottom: 8px; }
.done__number { display: inline-block; margin: 14px 0 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper); font: 700 15px/1 var(--font-mono); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
@media (max-width: 1000px) {
  .brief-layout { grid-template-columns: 1fr; }
  .brief-aside { position: static; }
}
@media (max-width: 640px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav__save { order: 3; width: 100%; justify-content: center; }
}

/* ---------- Кабинет проекта ---------- */

.project-login { padding-top: clamp(32px, 6vw, 72px); }
.project-login__card { max-width: 480px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); }
.project-login__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--deep); color: var(--accent-light); margin-bottom: 18px; }
.project-login__icon .hi { width: 26px; height: 26px; }
.project-login h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.project-login .muted { font-size: 15px; margin-bottom: 22px; }
.project-login__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.project-login__alt a { color: var(--accent-ink); font-weight: 600; }

.project { padding-top: 16px; }
.project__example { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--amber-soft); color: var(--amber); font-size: 14.5px; }
.project__example b { color: var(--amber-ink); }
.project__example a { margin-left: auto; color: var(--amber-ink); font-weight: 600; }
.project__head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--deep); color: #fff; }
.project__code { font: 700 13px/1 var(--font-mono); color: var(--accent-light); letter-spacing: .06em; }
.project__head h1 { margin-top: 10px; font-size: clamp(22px, 3vw, 34px); color: #fff; }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--on-night-muted); font-size: 14.5px; }
.project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project__meta .hi { width: 16px; height: 16px; }
.project__ring { position: relative; width: 108px; height: 108px; }
.project__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.project__ring circle { fill: none; stroke-width: 9; }
.project__ring .bg { stroke: rgba(255, 255, 255, .12); }
.project__ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.project__ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 22px/1 var(--font-display); }
.project__ring small { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: 11px; color: var(--on-night-muted); }
.project__ring b span { display: block; }

.project__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.project__col { display: grid; gap: 16px; }
.pcard { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.pcard__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 17px/1.3 var(--font-display); margin-bottom: 16px; }
.pcard__title small { font: 500 13px var(--font); color: var(--muted); }

.now { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: var(--card); }
.now--review { border-color: var(--amber); background: linear-gradient(180deg, var(--amber-soft), transparent 70%), var(--card); }
.now__label { font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.now--review .now__label { color: var(--amber); }
.now h2 { margin-top: 8px; font-size: clamp(20px, 2.2vw, 26px); }
.now p { margin-top: 10px; color: var(--ink-soft); }
.now__note { padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.now__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.stages { list-style: none; margin: 0; padding: 0; display: grid; }
.stage { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__t { font: 700 13px/1 var(--font-mono); color: var(--muted); }
.stage__title { font-weight: 600; font-size: 15.5px; }
.stage__due { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.stage__status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--paper); color: var(--muted); }
.stage__status .hi { width: 14px; height: 14px; }
.stage--done .stage__status { background: var(--green-soft); color: var(--green); }
.stage--done .stage__t { color: var(--green); }
.stage--active .stage__status { background: var(--blue-soft); color: var(--blue); }
.stage--active .stage__t, .stage--review .stage__t { color: var(--accent-ink); }
.stage--review .stage__status { background: var(--amber-soft); color: var(--amber); }
.stage--active .stage__title, .stage--review .stage__title { color: var(--ink); }

.todos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.todo { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.todo label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; flex: 1; }
.todo input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.todo.is-done { color: var(--muted); }
.todo.is-done span { text-decoration: line-through; }
.todo__who { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.todo--studio .hi { color: var(--green); width: 20px; height: 20px; flex: none; }
.todos__group { margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.todos__group:first-child { margin-top: 0; }

.payments { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.payment { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 15px; }
.payment b { font-weight: 600; white-space: nowrap; }
.payment small { display: block; color: var(--muted); font-size: 13px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper); color: var(--muted); }
.pill--paid { background: var(--green-soft); color: var(--green); }
.pill--due { background: var(--accent-soft); color: var(--accent-ink); }
.payments__total { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.payments__total b { color: var(--ink); }

.plinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plinks a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s; }
.plinks a:hover { border-color: var(--ink); }
.plinks .hi { color: var(--accent-ink); }
.plinks a .hi:last-child { margin-left: auto; color: var(--muted); width: 16px; height: 16px; }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 480px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; word-break: break-word; }
.msg__text { white-space: pre-wrap; }
.msg time { display: block; margin-top: 4px; font-size: 11.5px; opacity: .65; }
.msg--studio { background: var(--paper); border-bottom-left-radius: 4px; }
.msg--client { margin-left: auto; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.msg--system { max-width: none; justify-self: center; text-align: center; padding: 4px 10px; background: none; color: var(--muted); font-size: 13px; }
.msg--system time { display: inline; margin: 0 0 0 6px; }
.msg__who { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; opacity: .75; }
.compose { display: flex; gap: 8px; margin-top: 14px; }
.compose textarea { flex: 1; min-height: 48px; max-height: 160px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--field); resize: none; font-size: 15px; }
.compose textarea:focus { outline: none; border-color: var(--ink); }
.compose .btn { min-height: 48px; width: 48px; padding: 0; flex: none; }
.project__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.project__foot button { border: 0; background: none; color: var(--accent-ink); font-weight: 600; padding: 0; }
@media (max-width: 960px) { .project__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .project__head { grid-template-columns: 1fr; }
  .project__ring { width: 88px; height: 88px; }
  .stage { grid-template-columns: 44px 1fr; }
  .stage__status { grid-column: 2; justify-self: start; }
}

/* ---------- Диалоги ---------- */

.dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--glass-line); border-radius: var(--radius); background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: var(--ink); box-shadow: var(--glass-edge), var(--shadow-lg); overflow: auto; }
.dialog::backdrop { background: rgba(3, 12, 18, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog[open] { animation: dlg .3s var(--ease); }
@keyframes dlg { from { transform: translateY(16px); opacity: 0; } }
.dialog__box { position: relative; padding: clamp(22px, 4vw, 32px); }
.dialog__box h3 { font-size: 22px; margin-bottom: 8px; padding-right: 40px; }
.dialog__box > .muted { font-size: 15px; margin-bottom: 18px; }
.dialog__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink); }
.dialog__close .hi { width: 18px; height: 18px; }

/* ---------- Документы ---------- */

.prose { max-width: calc(820px + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--container) - var(--gutter) * 2) / 2)); }
.prose h2 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--accent-ink); }

/* ---------- Подвал ---------- */

.footer { margin-top: clamp(56px, 8vw, 104px); background: var(--night); color: var(--on-night-muted); padding: clamp(48px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand p { margin-top: 18px; font-size: 15px; max-width: 340px; }
.footer__title { font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul:not(.contacts) { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul:not(.contacts) a { text-decoration: none; font-size: 15px; transition: color .2s; }
.footer ul:not(.contacts) a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Нижняя панель на телефоне ---------- */

.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; padding: 6px; border-radius: 24px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-edge), 0 24px 50px -24px rgba(3, 12, 18, .55); transition: transform .35s var(--ease); }
  .mbar.is-hidden { transform: translateY(150%); }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 18px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
  .mbar__btn--accent { background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
  body[data-page="brief"] .mbar, body[data-page="project"] .mbar { display: none; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Уведомление ---------- */

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; background: rgba(var(--ink-rgb), .86); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: var(--paper); font-size: 15px; box-shadow: var(--shadow-lg); transform: translate(-50%, 150%); opacity: 0; transition: transform .35s var(--ease), opacity .35s; pointer-events: none; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 760px) { .toast { bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* ---------- Инструменты: мозаика ---------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px; }
.bento__item { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.4vw, 30px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1px solid var(--card-line); }
.bento__item h3 { font-size: clamp(19px, 1.7vw, 23px); }
.bento__item p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.bento__item p a { color: var(--accent-ink); }
.bento__item .link-arrow { margin-top: auto; align-self: flex-start; font-size: 14.5px; white-space: normal; }
.bento__tag { align-self: flex-start; width: fit-content; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper); font: 700 11.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.bento__tag .hi { width: 14px; height: 14px; color: var(--accent-ink); }

.bento__item--pay { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .14) 0%, transparent 55%), var(--card); }
.bento__item--pay .bento__text { display: flex; flex-direction: column; height: 100%; }
.bento__item--pay .link-arrow { margin-top: 20px; }
.bento__art { position: relative; min-height: 260px; display: grid; place-items: center; }
.paycard { position: relative; z-index: 1; width: min(270px, 100%); display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(11, 13, 26, .35), 0 0 0 1px var(--line); transform: rotate(-3deg); }
.paycard__label { font-size: 12px; color: var(--muted); }
.paycard__sum { font: 600 30px/1 var(--font-display); letter-spacing: -0.02em; }
.paycard__methods { display: flex; flex-wrap: wrap; gap: 5px; }
.paycard__methods i { font-style: normal; font: 700 10.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 7px; background: var(--chip); color: var(--ink-soft); }
.paycard__btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 12px; background: linear-gradient(135deg, #22B573, #13895A); color: #fff; font-size: 13.5px; font-weight: 600; }
.paycard__btn .hi { width: 16px; height: 16px; }
.paytoast { position: absolute; z-index: 2; right: 0; top: 10px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--deep); color: #fff; font-size: 12px; line-height: 1.3; box-shadow: 0 20px 40px -20px rgba(11, 13, 26, .6); transform: rotate(3deg); animation: bob 5s ease-in-out infinite; }
.paytoast .hi { width: 20px; height: 20px; color: #37B6F3; flex: none; }
.paytoast b { display: block; font-size: 13px; }
.payline { position: absolute; inset: auto 0 0 0; height: 46%; display: flex; align-items: flex-end; gap: 8%; padding: 0 6%; opacity: .5; }
.payline span { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), .04)); }
@keyframes bob { 50% { transform: rotate(3deg) translateY(-6px); } }

.bento__item--bot { grid-row: span 2; background: linear-gradient(180deg, var(--tg-soft) 0%, transparent 60%), var(--card); }
.chat { display: grid; gap: 8px; align-content: center; flex: 1; font-size: 13px; line-height: 1.4; }
.chat__msg { max-width: 92%; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 6px 20px -12px rgba(11, 13, 26, .35); }
.chat__msg b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.chat__msg b .hi { width: 15px; height: 15px; color: var(--accent-ink); }
.chat__msg--in { border-bottom-left-radius: 4px; }
.chat__msg--out { justify-self: end; background: var(--tg); color: #fff; border-bottom-right-radius: 4px; }
.chat__keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 92%; }
.chat__keys i { font-style: normal; text-align: center; padding: 8px 6px; border-radius: 10px; background: rgba(42, 171, 238, .12); color: var(--tg-ink); font-size: 12px; font-weight: 600; }
.chat__typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--surface); justify-self: start; box-shadow: 0 6px 20px -12px rgba(11, 13, 26, .35); }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9BA3B5; animation: typing 1.2s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: .6; } }

.bento__item--book { background: linear-gradient(160deg, rgba(var(--accent-rgb), .12), transparent 70%), var(--card); }
.slots { padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 16px 40px -24px rgba(var(--accent-rgb), .45); }
.slots__day { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.slots__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots__grid i { font-style: normal; text-align: center; padding: 8px 0; border-radius: 9px; border: 1px solid var(--line); font: 600 12px/1 var(--font-mono); }
.slots__grid .is-off { color: var(--muted); opacity: .55; text-decoration: line-through; border-style: dashed; }
.slots__grid .is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), .7); }

.bento__item--cab { background: linear-gradient(160deg, var(--green-soft), transparent 70%), var(--card); }
.club { padding: 16px; border-radius: 16px; background: var(--deep); color: #fff; box-shadow: 0 20px 40px -24px rgba(11, 13, 26, .7); }
.club__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.club__head b { font-size: 13.5px; }
.club__head i { font-style: normal; font-size: 11.5px; color: #F5C451; }
.club__bar { display: block; height: 6px; margin: 12px 0; border-radius: 6px; background: rgba(255, 255, 255, .15); }
.club__bar i { display: block; width: 66%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #F5C451, #FF8A4C); }
.club__rows { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--on-night-muted); }
.club__rows i { font-style: normal; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item--pay { grid-column: span 2; }
  .bento__item--bot { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bento__item--pay, .bento__item--bot { grid-column: auto; }
  .bento__item--pay { grid-template-columns: 1fr; }
  .bento__art { min-height: 220px; }
}

/* ---------- Оплата ---------- */

.paybox { padding-top: clamp(24px, 5vw, 56px); display: grid; justify-items: center; gap: 18px; }
.paybox__card { width: 100%; max-width: 480px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); }
.paybox__card--demo { border: 2px dashed var(--amber); }
.paybox__label { font: 700 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.paybox__title { margin-top: 10px; font-size: clamp(22px, 3vw, 28px); }
.paybox__project { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.paybox__project .hi { width: 18px; height: 18px; color: var(--muted); }
.paybox__amount { margin: 16px 0 18px; font: 600 clamp(34px, 5vw, 44px)/1 var(--font-display); letter-spacing: -0.03em; }
.paybox__badge { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: 14px; font-weight: 600; }
.paybox__via { text-align: center; color: var(--muted); font-size: 13.5px; }
.paybox__pending { margin-top: 14px; text-align: center; }
.paybox__pending a { color: var(--accent-ink); }
.paybox__loading { display: grid; justify-items: center; gap: 12px; padding: 24px 0; text-align: center; }
.paybox__trust { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 480px; display: grid; gap: 8px; }
.paybox__trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.paybox__trust .hi { color: var(--green); width: 18px; height: 18px; margin-top: 1px; }
.paybox__trust a { color: inherit; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--paper-2); border-top-color: var(--accent-light); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done--fail .done__icon { background: var(--danger-soft); color: var(--danger); }
.fake-card { position: relative; display: grid; gap: 14px; margin: 6px 0 18px; padding: 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--ink), var(--accent) 70%, rgb(var(--glow-2-rgb)) 150%); font-family: var(--font-mono); }
.fake-card__chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #E9C46A, #B8912E); }
.fake-card__num { font-size: 18px; letter-spacing: .08em; }
.fake-card__row { display: flex; justify-content: space-between; font-size: 12px; opacity: .8; }
.paybox__card .btn + .btn { margin-top: 10px; }
.paybox__card > .muted.small { margin-top: 16px; }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 12px; }
.pay-method { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); }
.pay-method .hi { width: 24px; height: 24px; color: var(--accent-ink); margin-bottom: 4px; }
.pay-method span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .pay-methods { grid-template-columns: 1fr; } }
.requisites { display: grid; gap: 0; margin: 8px 0 16px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.requisites div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.requisites div:first-child { border-top: 0; }
.requisites dt { color: var(--muted); font-size: 14.5px; }
.requisites dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .requisites div { grid-template-columns: 1fr; gap: 2px; } }
.prose .contacts { margin-top: 8px; max-width: 520px; }

/* ---------- Кабинет: дополнения ---------- */

.linklike { display: block; margin: 14px auto 0; padding: 4px; border: 0; background: none; color: var(--accent-ink); font-weight: 600; font-size: 15px; }
.linklike + .linklike { margin-top: 4px; color: var(--muted); font-weight: 500; }
.project-skeleton { display: grid; place-items: center; min-height: 40vh; }
.project__foot-actions { display: flex; gap: 18px; }
.now__you { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.now__note { display: flex; gap: 8px; align-items: flex-start; }
.now__note .hi { flex: none; margin-top: 3px; color: var(--muted); }
.payment { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.payment:first-child { border-top: 0; padding-top: 0; }
.payment__right { display: grid; justify-items: end; gap: 4px; }
.payment__pay { grid-column: 1 / -1; margin-top: 6px; }
.pcard--tg { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--tg-soft), transparent 80%), var(--card); border-color: rgba(42, 171, 238, .25); }
.pcard--tg > .hi { width: 28px; height: 28px; color: var(--tg-ink); flex: none; }
.pcard--tg.is-on { background: linear-gradient(135deg, var(--green-soft), transparent 80%), var(--card); border-color: rgba(20, 138, 91, .25); }
.pcard--tg.is-on > .hi { color: var(--green); }
.pcard--tg b { display: block; font-weight: 700; }
.pcard--tg p { margin: 4px 0 10px; color: var(--ink-soft); font-size: 14.5px; }
.pcard--tg.is-on p { margin-bottom: 0; }

/* ---------- Прочее ---------- */

.type-card__hit { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 10px/1.4 var(--font-mono); text-transform: uppercase; vertical-align: middle; }
.quick--done { background: var(--surface); color: var(--ink); }
.quick--done .done p { color: var(--ink-soft); }
.footer__req { margin-top: 6px; font-size: 13px; opacity: .75; }
.footer__bottom > div { display: grid; }
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-edge), var(--shadow-lg); font-size: 14px; }
.cookie a { color: var(--accent-ink); }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); } }
body.is-bare .nav, body.is-bare .header__actions, body.is-bare .footer, body.is-bare .mbar { display: none; }
body[data-page="pay"] .mbar { display: none; }

/* ==========================================================================
   Отделка: шапка-«таблетка», градиентный текст, подсветка карточек, блик кнопок,
   цифры, тёмная секция этапов, знак в подвале, переходы между страницами.
   ========================================================================== */

:root { interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.03em; }
.section, .section.container { padding-top: clamp(72px, 9vw, 128px); }
.section--flush, .section--flush.container { padding-top: 8px; }
.section__lead { font-size: clamp(16.5px, 1.35vw, 19px); }

.grad { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-ink { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow:not(:has(.dot))::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* Шапка: при прокрутке — плавающая «таблетка» со стеклом. */
.header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; pointer-events: none; }
.header .header__inner { pointer-events: auto; background: transparent; border: 1px solid transparent; border-radius: 999px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, padding .35s var(--ease), margin .35s var(--ease), min-height .35s var(--ease); }
.header.is-scrolled { border: 0; box-shadow: none; }
.header.is-scrolled .header__inner { margin-top: 10px; min-height: 60px; padding: 0 8px 0 16px; background: var(--glass); border-color: var(--glass-line); box-shadow: var(--glass-edge), 0 18px 40px -24px rgba(3, 12, 18, .45); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.header.is-scrolled .icon-btn, .header.is-scrolled .burger { background: var(--card); }

/* Кнопки: блик на основной, стеклянная на тёмном. */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--shine:hover::after { transform: translateX(120%); }
.btn--accent { background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); box-shadow: 0 12px 30px -14px rgba(var(--accent-rgb), .95), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--accent:hover { background: linear-gradient(180deg, var(--btn-top-hover), var(--accent)); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .07); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-border: rgba(255, 255, 255, .32); }
.btn--glass .hi { color: var(--accent-light); }
.btn--glass:hover .hi { transform: none; }

/* Подсветка карточек вслед за курсором. */
.spot { isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(480px circle at var(--sx, 50%) var(--sy, 0%), rgba(var(--accent-rgb), .11), transparent 42%); }
.spot:hover::before { opacity: 1; }
.pack, .industry, .promise, .fact, .solution__item, .need, .turnkey__item, .countdown__step, .plan, .addon { position: relative; }
.pack--popular.spot::before { background: radial-gradient(480px circle at var(--sx, 50%) var(--sy, 0%), rgba(var(--glow-2-rgb), .22), transparent 45%); }
.pack--popular { background: radial-gradient(120% 90% at 100% 0%, var(--popular-top) 0%, var(--deep) 58%); }
.pack:hover, .industry:hover { box-shadow: var(--glass-edge), 0 30px 60px -36px rgba(3, 12, 18, .45); }

/* Цифры */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: calc(var(--radius) + 6px); background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.numbers__item { padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); }
.numbers__item:first-child { border-left: 0; }
.numbers__item b { display: block; font: 600 clamp(44px, 5.4vw, 76px)/1 var(--font-display); letter-spacing: -0.05em; background: linear-gradient(160deg, var(--ink) 25%, var(--accent) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers__item span { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 15px; max-width: 220px; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); } .numbers__item:nth-child(3) { border-left: 0; } .numbers__item:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Тёмная секция «Как работаем» */
.section--night { position: relative; isolation: isolate; overflow: hidden; margin: clamp(72px, 9vw, 128px) 12px 0; padding: clamp(64px, 8vw, 104px) 0; border-radius: clamp(26px, 3vw, 40px); background: radial-gradient(70% 80% at 100% 0%, rgba(var(--glow-1-rgb), .22), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(var(--accent-rgb), .26), transparent 60%), var(--night); color: var(--on-night); }
.section--night + .section { padding-top: clamp(72px, 9vw, 128px); }
.section--night__bg { position: absolute; inset: 0; z-index: -1; }
.section--night h2 { color: #fff; }
.section--night .section__lead { color: var(--on-night-muted); }
.link-arrow--light { color: #fff; border-color: rgba(255, 255, 255, .25); }
.section--night .launchbar li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.section--night .launchbar li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.section--night .launchbar li::after { background: rgba(255, 255, 255, .2); }
.section--night .launchbar span { color: var(--accent-light); }
.section--night .launchbar .is-launch { background: linear-gradient(160deg, var(--btn-top-hover), var(--accent)); border-color: transparent; color: var(--on-accent); box-shadow: 0 20px 40px -20px rgba(var(--accent-rgb), .9); }
.section--night .launchbar .is-launch span { color: rgba(255, 255, 255, .8); }
.launchbar .is-launch { color: #fff; }
.section--night .cabinet-teaser { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.section--night .cabinet-teaser h3 { color: #fff; }
.section--night .cabinet-teaser p { color: var(--on-night-muted); }
.section--night .cabinet-teaser__icon { background: var(--accent); color: var(--on-accent); }
@media (max-width: 560px) { .section--night { margin-left: 8px; margin-right: 8px; } }

/* Карточки кейсов: живее на наведении */
.case-card { transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.case-card:hover { box-shadow: var(--glass-edge), 0 40px 80px -50px rgba(3, 12, 18, .55); transform: translateY(-4px); }
.case-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, .08)); pointer-events: none; }

/* Вопросы раскрываются плавно (где браузер умеет). */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .38s var(--ease), content-visibility .38s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* Финальный призыв и подвал */
.launch__panel { background: radial-gradient(90% 120% at 0% 100%, rgba(var(--accent-rgb), .42), transparent 55%), radial-gradient(70% 90% at 100% 0%, rgba(var(--glow-1-rgb), .22), transparent 60%), var(--night); }
.launch__panel::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.footer { position: relative; overflow: hidden; }
.footer__mark { margin-top: clamp(28px, 4vw, 56px); padding: 0 12px; font: 700 clamp(34px, 9.2vw, 150px)/.82 var(--font-display); letter-spacing: -0.06em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__mark em { font-style: normal; background: linear-gradient(180deg, rgba(var(--accent-rgb), .6), rgba(var(--accent-rgb), 0) 85%); -webkit-background-clip: text; background-clip: text; }

@media (prefers-reduced-motion: reduce) {
  .aurora, .hero__stars, .stage-ring, .ticker__track, .paytoast, .chat__typing i, .dot { animation: none !important; }
  .js .hero__title .line, .js .hero__lead, .js .hero__actions, .js .hero__proof { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hero__stage [data-depth] { transition: none; }
}

/* Вопросы на главной: заголовок слева остаётся на месте, вопросы — справа. */
.faq-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-split__head { position: sticky; top: 110px; }
.faq-split__head .section__lead { margin-bottom: 22px; }
.faq-split .faq { max-width: none; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } .faq-split__head { position: static; } }

/* Внутренние страницы: мягкое свечение за заголовком. */
main { position: relative; isolation: isolate; overflow-x: clip; }
body:not([data-page="home"]):not([data-page="paydemo"]) main::before { content: ""; position: absolute; z-index: -1; top: -140px; right: -8vw; width: min(920px, 75vw); aspect-ratio: 1.35; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow-1-rgb), .16), transparent 72%), radial-gradient(closest-side at 72% 62%, rgba(var(--glow-2-rgb), .10), transparent 72%); }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -0.035em; }

/* Логотип: цвет буквы — из палитры. */
.logo__w { stroke: var(--logo-w); }
.logo--light .logo__w { stroke: var(--accent); }

/* ==========================================================================
   Жидкое стекло: полупрозрачные панели с бликом по кромке поверх мягкого
   цветного фона. Светлая и тёмная темы — один набор токенов, <html data-theme>.
   ========================================================================== */

/* Цветной «свет» за страницей — сквозь стеклянные карточки видно оттенок. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 34vmax at 6% 8%, rgba(var(--glow-1-rgb), var(--amb-1, .17)), transparent 70%),
    radial-gradient(38vmax 30vmax at 98% 38%, rgba(var(--glow-2-rgb), var(--amb-2, .12)), transparent 70%),
    radial-gradient(44vmax 30vmax at 26% 104%, rgba(var(--glow-3-rgb), var(--amb-3, .10)), transparent 70%); }

/* Кромка стекла у всех карточек: светлый блик сверху и слева, мягкая тень. */
:where(.promise, .pack, .addon, .plan, .pay__item, .case-card, .fact, .solution__item, .case-next__link, .launchbar li, .countdown__step, .cabinet-teaser, .need, .industry, .compare, .member, .faq__item, .contacts__link, .calc__step, .brief, .aside-card, .project-login__card, .pcard, .now, .bento__item, .paybox__card, .pay-method, .requisites, .numbers, .menu-card, .acc-card, .bonus-card, .ref-card) {
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
:where(.pack--popular, .countdown__step.is-launch, .pay__item--launch) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--glass-shadow); }
/* Обещания заходят на край тёмного экрана — здесь стекло размывает то, что под ним. */
.hero .promise { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.float, .notify { border: 1px solid rgba(255, 255, 255, .55); }
.count { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 50px -24px rgba(0, 0, 0, .8); }
.compare__row--head { background: var(--chip); }

/* ---------- Переключатель темы ---------- */

.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle .hi { position: absolute; transition: transform .45s var(--ease), opacity .3s; }
.theme-toggle .hi:last-of-type { transform: translateY(130%) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .hi:first-of-type { transform: translateY(-130%) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .hi:last-of-type { transform: none; opacity: 1; }
.account-btn { position: relative; }
.account-btn__dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); }
@media (max-width: 400px) { .header__actions { gap: 6px; } .header__actions .icon-btn { width: 40px; height: 40px; } }
.menu__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.menu__theme { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); font-weight: 600; font-size: 15px; }
.menu__theme .hi { width: 18px; height: 18px; }
.menu__theme .hi:nth-of-type(2), [data-theme="dark"] .menu__theme .hi:first-of-type { display: none; }
[data-theme="dark"] .menu__theme .hi:nth-of-type(2) { display: block; }

/* Смена темы: круг расходится от кнопки (где браузер умеет View Transitions). */
html.is-theming::view-transition-old(root), html.is-theming::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Полоса акции над шапкой ---------- */

.promo-bar { position: relative; z-index: 41; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; padding: 9px 16px; text-decoration: none; font-size: 14px; line-height: 1.35; color: #EAF8FB; text-align: center;
  background: linear-gradient(90deg, #06131F, #0B3A4B 30%, #0B4F63 50%, #0B3A4B 70%, #06131F); background-size: 200% 100%; animation: promo 14s linear infinite; }
.promo-bar b { color: #fff; }
.promo-bar em { font-style: normal; color: var(--accent-light); font-weight: 700; }
.promo-bar__tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(103, 232, 249, .16); color: var(--accent-light); font: 700 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.promo-bar__tag .hi { width: 13px; height: 13px; }
.promo-bar__go { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 600; white-space: nowrap; }
.promo-bar__go .hi { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.promo-bar:hover .promo-bar__go .hi { transform: translateX(3px); }
@keyframes promo { to { background-position: -200% 0; } }
@media (max-width: 640px) { .promo-bar { font-size: 13px; padding: 8px 12px; gap: 4px 8px; } .promo-bar__tag, .promo-bar__long { display: none; } }
@media (prefers-reduced-motion: reduce) { .promo-bar { animation: none; } }

/* ---------- Тёмная тема ---------- */

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #E7F2F6;
  --ink-2: #C9DDE4;
  --ink-soft: #B1C6CF;
  --muted: #8AA3AF;
  --paper: #06111A;
  --paper-2: #0B1923;
  --card: rgba(255, 255, 255, .045);
  --card-line: rgba(255, 255, 255, .085);
  --surface: #0E1F2A;
  --field: rgba(255, 255, 255, .05);
  --chip: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --night: #030B11;
  --night-2: #0A1A24;
  --deep: #0B1C27;
  --deep-line: rgba(255, 255, 255, .08);
  --hero-bg: #030C13;
  --sel-bg: #0C3A49;
  --sel-border: var(--accent);
  --sel-fg: #FFFFFF;
  --sel-muted: #A6C6D1;
  --ink-rgb: 231, 242, 246;
  --accent-ink: #5FD9EF;
  --accent-soft: rgba(14, 165, 198, .17);
  --accent-tint: rgba(14, 165, 198, .08);
  --grad-ink: linear-gradient(100deg, #67E8F9 0%, #7DD3FC 50%, #A5B4FC 100%);
  --glass: rgba(12, 28, 40, .55);
  --glass-strong: rgba(9, 22, 32, .8);
  --glass-line: rgba(255, 255, 255, .1);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .11), inset 1px 0 0 rgba(255, 255, 255, .045), inset 0 -1px 0 rgba(255, 255, 255, .025);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 20px 44px -30px rgba(0, 0, 0, .85);
  --chrome: #15252F;
  --chrome-dot: #2B3D48;
  --chrome-url: #0B1821;
  --green: #4ADE9B;
  --green-soft: rgba(52, 211, 153, .13);
  --amber: #F5C451;
  --amber-soft: rgba(245, 196, 81, .12);
  --amber-ink: #F8D98A;
  --blue: #8AB4FF;
  --blue-soft: rgba(96, 165, 250, .14);
  --danger: #FCA5A5;
  --danger-soft: rgba(239, 68, 68, .14);
  --tg-ink: #7CCBF3;
  --tg-soft: rgba(42, 171, 238, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .9);
  --amb-1: .15;
  --amb-2: .11;
  --amb-3: .08;
}
/* Макеты сайтов (консоль, телефон) — «окна» светлого интерфейса и в тёмной теме. */
:root[data-theme="dark"] :is(.console, .mini-phone) {
  --ink: #06131F; --ink-soft: #33485A; --muted: #5F7282; --paper: #F3F7F9; --line: #DCE6EB;
  --chrome: #E8EEF2; --chrome-dot: #CAD4DB; --chrome-url: #FFFFFF; --accent-soft: #DAF4FA; --green: #148A5B; --green-soft: #DDF3E9;
  color: var(--ink);
}
[data-theme="dark"] .logo__bg { fill: #0F2B39; }
[data-theme="dark"] .hero__panel, [data-theme="dark"] .section--night, [data-theme="dark"] .launch__panel { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -50px rgba(0, 0, 0, .9); }
[data-theme="dark"] .float, [data-theme="dark"] .notify { background: rgba(10, 28, 40, .62); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -24px rgba(0, 0, 0, .9); }
[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
[data-theme="dark"] .pack--popular, [data-theme="dark"] .summary, [data-theme="dark"] .project__head, [data-theme="dark"] .case-cta { border: 1px solid var(--deep-line); }
[data-theme="dark"] .turnkey__item { background: #081620; }
[data-theme="dark"] .browser { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
[data-theme="dark"] .gallery__open { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow); }
[data-theme="dark"] .skip-link, [data-theme="dark"] .toast { color: #06131F; }
[data-theme="dark"] .field input::placeholder, [data-theme="dark"] .field textarea::placeholder { color: rgba(231, 242, 246, .35); }
[data-theme="dark"] .field select option { background: #0E1F2A; }
[data-theme="dark"] mark { color: #fff; }
[data-theme="dark"] .numbers__item b { background: linear-gradient(160deg, #FFFFFF 20%, var(--accent-light) 130%); -webkit-background-clip: text; background-clip: text; }

/* Если в системе включено «Уменьшить прозрачность» — стекло становится плотным. */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: rgba(255, 255, 255, .96); --glass-strong: #FFFFFF; --card: #FFFFFF; }
  :root[data-theme="dark"] { --glass: #0B1C27; --glass-strong: #0B1C27; --card: #0B1923; }
  body::before { display: none; }
}

/* ==========================================================================
   Скидки: цены со скидкой, счётчик мест, лестница скидки клиента, «Приведи друга»,
   приглашение по ссылке, личный кабинет.
   ========================================================================== */

/* Меню: «Скидки» с огоньком. На узких ноутбуках «Как работаем» уходит в меню, чтобы шапка не тесниться. */
.nav__hot { position: absolute; top: 7px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); animation: pulse 2.4s infinite; }
@media (max-width: 1520px) { .nav__link--process { display: none; } }
@media (max-width: 1180px) { .nav__link { padding: 10px 11px; } }

/* Цена пакета со скидкой открытия */
.pack__price--promo s { margin-left: 6px; font: 500 15px/1 var(--font); color: var(--muted); text-decoration-thickness: 1.5px; letter-spacing: 0; }
.pack--popular .pack__price--promo s { color: var(--on-night-muted); }
.pack__promo { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 10px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 700 11.5px/1.3 var(--font-mono); letter-spacing: .03em; }
.pack__promo .hi { width: 14px; height: 14px; }
.pack--popular .pack__promo { background: rgba(103, 232, 249, .14); color: var(--accent-light); }

/* Счётчик мест по акции */
.meter { display: grid; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--chip); border: 1px solid var(--card-line); }
.meter__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.meter__head b { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.meter__head b span { font: 700 20px/1 var(--font-display); color: var(--accent-ink); }
.meter__head > span { font-size: 13.5px; color: var(--muted); }
.meter__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.meter__slots i { width: 22px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--btn-top), var(--accent)); box-shadow: 0 0 12px -2px rgba(var(--accent-rgb), .6); }
.meter__slots i.is-taken { background: var(--line-strong); box-shadow: none; }
.meter__bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.meter__bar i { display: block; height: 100%; background: var(--line-strong); }

/* Блок скидок на главной */
.bonus-teaser { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: calc(var(--radius) + 8px); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.bonus-teaser::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(var(--glow-1-rgb), .22), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(var(--glow-2-rgb), .14), transparent 60%); }
.bonus-teaser h2 { margin-bottom: 4px; }
.bonus-teaser__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bonus-teaser__side { padding: 22px; border-radius: var(--radius); background: var(--deep); color: var(--on-night); border: 1px solid var(--deep-line); box-shadow: 0 30px 60px -36px rgba(3, 12, 18, .8); }
.bonus-teaser__title { display: flex; align-items: center; gap: 8px; font: 600 17px/1.3 var(--font-display); color: #fff; }
.bonus-teaser__title .hi { color: var(--accent-light); }
.bonus-teaser__note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--on-night-muted); }
.bonus-teaser__note a { color: var(--accent-light); }
@media (max-width: 900px) { .bonus-teaser { grid-template-columns: 1fr; } }

/* Лестница скидки клиента */
.ladder { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 10px; min-height: 240px; }
.ladder__step { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 240px; }
.ladder__bar { position: relative; display: grid; place-items: start center; height: var(--h); min-height: 56px; padding-top: 12px; border-radius: 16px 16px 8px 8px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .35)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 40px -22px rgba(var(--accent-rgb), .9); }
.ladder__step:last-child .ladder__bar { background: linear-gradient(180deg, var(--btn-top-hover), var(--accent) 60%, rgba(var(--glow-2-rgb), .8)); }
.ladder__bar b { font: 700 clamp(18px, 2vw, 24px)/1 var(--font-display); color: var(--on-accent); letter-spacing: -0.02em; }
.ladder__label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.ladder--mini { min-height: 0; margin-top: 16px; }
.ladder--mini .ladder__step { height: 150px; }
.ladder--mini .ladder__bar { min-height: 44px; padding-top: 10px; }
.ladder--mini .ladder__bar b { font-size: 18px; }
.ladder--mini .ladder__label { color: var(--on-night-muted); font-size: 12.5px; }

/* Страница «Скидки» */
.bonus-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.bonus-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 30px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1px solid var(--card-line); }
.bonus-card__pct { font: 700 clamp(40px, 4.6vw, 60px)/1 var(--font-display); letter-spacing: -0.05em; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bonus-card h3 { margin-top: 14px; font-size: 20px; }
.bonus-card p { margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.bonus-card .meter { margin-top: auto; }
.bonus-card--launch { background: radial-gradient(90% 80% at 100% 0%, rgba(var(--glow-1-rgb), .2), transparent 60%), var(--card); }
.bonus-card--launch p { margin-bottom: 18px; }
.bonus-card--loyal { background: var(--deep); border-color: var(--deep-line); color: #fff; }
.bonus-card--loyal .bonus-card__pct { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }
.bonus-card--loyal p { color: var(--on-night-muted); }

.ref-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.ref-card { position: relative; padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.ref-card__n { position: absolute; top: 20px; right: 22px; font: 700 13px/1 var(--font-mono); color: var(--muted); }
.ref-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(160deg, var(--btn-top-hover), var(--accent)); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 30px -14px rgba(var(--accent-rgb), .9); }
.ref-card__icon .hi { width: 24px; height: 24px; }
.ref-card h3 { margin-top: 18px; font-size: 19px; }
.ref-card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .ref-steps { grid-template-columns: 1fr; } }

.bonus-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bonus-split--reverse .bonus-split__text { order: 2; }
.bonus-split__text .link-arrow { margin-top: 22px; }
@media (max-width: 900px) { .bonus-split { grid-template-columns: 1fr; } .bonus-split--reverse .bonus-split__text { order: 0; } }

.example { padding: clamp(20px, 3vw, 28px); border-radius: calc(var(--radius) + 4px); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.example__rows { display: grid; }
.example__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line-strong); font-size: 15.5px; }
.example__row:first-child { border-top: 0; padding-top: 0; }
.example__row b { font-weight: 700; white-space: nowrap; }
.example__row.is-step span { color: var(--accent-ink); font-weight: 600; }
.example__row:not(:last-child) b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; }
.example__total { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; margin-top: 14px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--deep); color: #fff; }
.example__total span { color: var(--on-night-muted); font-size: 14.5px; }
.example__total b { grid-row: span 2; font: 600 clamp(26px, 3vw, 34px)/1 var(--font-display); letter-spacing: -0.02em; }
.example__total small { color: var(--accent-light); font-weight: 600; font-size: 14px; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; max-width: 1040px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.rules .hi { flex: none; margin-top: 3px; color: var(--green); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* Приглашение /r/<код> */
.invite { padding-top: clamp(28px, 5vw, 64px); }
.invite__card { position: relative; overflow: hidden; isolation: isolate; max-width: 760px; margin: 0 auto; padding: clamp(26px, 5vw, 56px); border-radius: calc(var(--radius) + 10px); text-align: center; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.invite__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 0%, rgba(var(--glow-1-rgb), .24), transparent 70%); }
.invite__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: linear-gradient(160deg, var(--btn-top-hover), var(--accent)); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 20px 40px -18px rgba(var(--accent-rgb), .9); }
.invite__icon .hi { width: 30px; height: 30px; }
.invite .eyebrow { display: flex; justify-content: center; }
.invite h1 { font-size: clamp(28px, 4.4vw, 48px); letter-spacing: -0.03em; }
.invite__lead { margin: 16px auto 0; max-width: 560px; color: var(--ink-soft); font-size: clamp(16.5px, 1.5vw, 19px); }
.invite__list { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 8px; max-width: 460px; text-align: left; }
.invite__list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--chip); }
.invite__pct { min-width: 64px; font: 700 22px/1 var(--font-display); color: var(--accent-ink); }
.invite__list b { display: block; }
.invite__list small { display: block; color: var(--muted); font-size: 13.5px; }
.invite__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.invite__note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.invite__note a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Личный кабинет ---------- */

.acc-auth { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(24px, 5vw, 56px); }
.acc-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.acc-auth__card { -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.acc-auth h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.acc-auth .muted { font-size: 15px; margin-bottom: 20px; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 999px; background: var(--chip); }
.acc-tabs__btn { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s, box-shadow .2s; }
.acc-tabs__btn[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .5); }
.field--pass { position: relative; }
.field--pass input { padding-right: 52px; }
.field__eye { position: absolute; right: 6px; bottom: 5px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); }
.field__eye:hover { color: var(--ink); }
.acc-auth__side { display: grid; gap: 20px; }
.acc-offer { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); color: #fff; background: radial-gradient(90% 100% at 100% 0%, rgba(var(--glow-1-rgb), .35), transparent 60%), var(--deep); border: 1px solid var(--deep-line); box-shadow: 0 30px 60px -36px rgba(3, 12, 18, .8); }
.acc-offer__label { display: flex; align-items: center; gap: 8px; font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }
.acc-offer__big { margin-top: 12px; font: 700 clamp(52px, 7vw, 84px)/1 var(--font-display); letter-spacing: -0.05em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acc-offer__text { margin-top: 4px; color: var(--on-night-muted); }
.acc-offer__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.acc-offer__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14.5px; }
.acc-offer__list b { color: var(--accent-light); }
.acc-offer__note { margin-top: 10px; font-size: 13px; color: var(--on-night-muted); }
.acc-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acc-perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.acc-perks .hi { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent-ink); }
.acc-perks b { color: var(--ink); }
@media (max-width: 900px) { .acc-auth { grid-template-columns: 1fr; } }

.acc { padding-top: 16px; }
.acc-hero { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 3.4vw, 40px); border-radius: calc(var(--radius) + 6px); color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(var(--glow-1-rgb), .3), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(var(--accent-rgb), .22), transparent 60%), var(--deep); border: 1px solid var(--deep-line); box-shadow: 0 40px 80px -50px rgba(3, 12, 18, .9); }
.acc-hero__hello { color: var(--accent-light); font: 700 12.5px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.acc-hero h1 { margin-top: 10px; color: #fff; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.03em; }
.acc-hero__lead { margin-top: 12px; max-width: 640px; color: var(--on-night-muted); font-size: 15.5px; }
.acc-track { position: relative; margin-top: 26px; padding-bottom: 38px; max-width: 640px; }
.acc-track__bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.acc-track__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-light)); box-shadow: 0 0 16px rgba(var(--accent-rgb), .8); transition: width 1s var(--ease); }
.acc-track__marks span { position: absolute; top: -4px; display: grid; justify-items: center; gap: 4px; transform: translateX(-50%); color: var(--on-night-muted); font-size: 11.5px; white-space: nowrap; }
.acc-track__marks span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: #13303D; border: 2px solid rgba(255, 255, 255, .2); }
.acc-track__marks span.is-on::before { background: var(--accent); border-color: var(--accent-light); box-shadow: 0 0 12px rgba(var(--accent-rgb), .9); }
.acc-track__marks b { color: #fff; font-size: 12.5px; }
.acc-track__marks span:last-child { transform: translateX(-80%); }
.acc-ring { position: relative; width: 150px; height: 150px; flex: none; }
.acc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.acc-ring circle { fill: none; stroke-width: 10; }
.acc-ring .bg { stroke: rgba(255, 255, 255, .1); }
.acc-ring .fg { stroke: var(--accent-light); stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .8)); transition: stroke-dashoffset 1s var(--ease); }
.acc-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 34px/1 var(--font-display); letter-spacing: -0.04em; padding-bottom: 14px; }
.acc-ring small { position: absolute; left: 0; right: 0; bottom: 42px; text-align: center; font-size: 11.5px; color: var(--on-night-muted); }
@media (max-width: 700px) { .acc-hero { grid-template-columns: 1fr; } .acc-ring { display: none; } }

.acc__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.acc__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
@media (max-width: 960px) { .acc__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .reflink { flex-direction: column; border-radius: 18px; } .reflink__input { padding: 10px 8px; } .reflink .btn { width: 100%; } .friend { flex-wrap: wrap; } .friend .pill { max-width: none; margin-left: 50px; } .acc-profile div { grid-template-columns: 90px 1fr; } }
.acc-badge { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink) !important; font: 700 12.5px/1.2 var(--font-mono) !important; }
.acc-empty { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.acc-empty .hi { flex: none; margin-top: 2px; }
.acc-empty a { color: var(--accent-ink); font-weight: 600; }
.linklike--inline { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0; font: 600 14px var(--font); }
.linklike--inline .hi { width: 16px; height: 16px; }

.ref-share { background: radial-gradient(100% 80% at 100% 0%, rgba(var(--glow-1-rgb), .16), transparent 60%), var(--card); }
.ref-share__text { color: var(--ink-soft); font-size: 15px; }
.ref-share__text b { color: var(--ink); }
.reflink { display: flex; gap: 8px; margin-top: 16px; padding: 6px; border-radius: 999px; background: var(--field); border: 1.5px solid var(--line-strong); }
.reflink__input { flex: 1; min-width: 0; padding: 0 12px; border: 0; background: none; outline: none; font: 600 14.5px/1 var(--font-mono); color: var(--ink); text-overflow: ellipsis; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--chip); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .2s var(--ease), background-color .2s; }
.share__btn:hover { transform: translateY(-2px); }
.share__btn .hi { width: 18px; height: 18px; }
.share__btn--tg .hi { color: #2AABEE; }
.share__btn--wa .hi { color: #25D366; }
.share__btn--vk .hi { color: #0077FF; }

.friends { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.friend { display: flex; align-items: center; gap: 12px; }
.friend__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; background: linear-gradient(160deg, var(--btn-top-hover), var(--accent)); color: var(--on-accent); font: 700 15px/1 var(--font-display); }
.friend__text { flex: 1; min-width: 0; }
.friend__text b { display: block; font-weight: 600; }
.friend__text small { display: block; color: var(--muted); font-size: 13px; }
.friend .pill { text-align: right; white-space: normal; max-width: 52%; }

.acc-projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-project { padding: 14px 16px; border-radius: var(--radius-md); background: var(--chip); }
.acc-project__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.acc-project__code { font: 700 12px/1 var(--font-mono); color: var(--muted); }
.acc-project__stage { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.acc-project__stage .hi { width: 16px; height: 16px; color: var(--amber); }
.acc-project__bar { height: 6px; margin: 12px 0; border-radius: 6px; background: var(--line); overflow: hidden; }
.acc-project__bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.acc-project__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }

.acc-requests { list-style: none; margin: 0; padding: 0; display: grid; }
.acc-requests li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.acc-requests li:first-child { border-top: 0; padding-top: 0; }
.acc-requests b { display: block; font-weight: 600; font-size: 15px; }
.acc-requests small { display: block; color: var(--muted); font-size: 13px; }
.acc-requests__right { display: grid; justify-items: end; gap: 4px; flex: none; text-align: right; }

.acc-profile { display: grid; gap: 0; margin: 0; }
.acc-profile div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.acc-profile div:first-child { border-top: 0; padding-top: 0; }
.acc-profile dt { color: var(--muted); font-size: 14px; }
.acc-profile dd { margin: 0; font-weight: 500; word-break: break-word; }
.acc-profile__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.acc-cta p { color: var(--ink-soft); }
.acc-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Скидка в калькуляторе и брифе */
.summary__discount { display: grid; gap: 6px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(103, 232, 249, .1); border: 1px solid rgba(103, 232, 249, .22); font-size: 14px; }
.summary__discount div { display: flex; justify-content: space-between; gap: 12px; color: var(--on-night-muted); }
.summary__discount b { color: var(--accent-light); white-space: nowrap; }
.summary__old { display: block; margin-top: 4px; color: var(--on-night-muted); font: 500 16px/1.2 var(--font); text-decoration: line-through; }
.offer-note { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); background: radial-gradient(100% 120% at 100% 0%, rgba(var(--glow-1-rgb), .18), transparent 60%), var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); font-size: 15px; }
.offer-note > .hi { flex: none; width: 26px; height: 26px; color: var(--accent-ink); }
.offer-note b { color: var(--ink); }
.offer-note span { color: var(--ink-soft); }

/* Калькулятор: старая цена в карточке типа сайта */
.type-card__price s { margin-left: 4px; color: var(--muted); font-weight: 500; }
.type-card input:checked + .type-card__box .type-card__price s { color: var(--sel-muted); }
.acc .pcard { min-width: 0; }
#requestForm .btn { white-space: normal; text-align: center; }


/* ==========================================================================
   Фишки: экспресс-аудит сайта, калькулятор потерь, прогресс прокрутки, «магнитные» кнопки.
   ========================================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Прогресс прокрутки */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 95; height: 3px; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), rgb(var(--glow-2-rgb))); box-shadow: 0 0 12px rgba(var(--accent-rgb), .6); }

/* Кнопки тянутся за курсором */
.is-magnetic { translate: var(--mx, 0px) var(--my, 0px); transition: translate .25s var(--ease), transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s; }

/* Форма адреса сайта */
.audit-form { display: flex; gap: 10px; margin-top: 28px; max-width: 680px; padding: 8px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--glass-edge), var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.audit-form__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 16px; color: var(--muted); }
.audit-form__field .hi { width: 22px; height: 22px; flex: none; color: var(--accent-ink); }
.audit-form__field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--ink); }
.audit-form:focus-within { border-color: var(--accent); box-shadow: var(--glass-edge), 0 0 0 4px rgba(var(--accent-rgb), .18), var(--glass-shadow); }
.audit-form__hint { margin-top: 12px; color: var(--muted); font-size: 14px; }
.audit-error { margin-top: 14px; max-width: 680px; }
@media (max-width: 560px) {
  .audit-form { flex-direction: column; border-radius: 24px; }
  .audit-form__field { min-height: 48px; }
  .audit-form .btn { width: 100%; }
}

.audit-loading { display: grid; justify-items: center; gap: 14px; padding: 48px 0; color: var(--muted); }
.audit-result { padding-top: 8px; }
.audit-card { padding: clamp(20px, 3.4vw, 40px); border-radius: calc(var(--radius) + 8px); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.audit-card__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; }
.audit-card__host { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.3 var(--font-mono); color: var(--accent-ink); }
.audit-card__host .hi { width: 16px; height: 16px; }
.audit-card h2 { margin-top: 8px; font-size: clamp(24px, 3vw, 36px); }
.audit-card__lead { margin-top: 10px; color: var(--ink-soft); max-width: 640px; }
@media (max-width: 600px) { .audit-card__head { grid-template-columns: 1fr; justify-items: start; } }

.audit-ring { position: relative; width: 150px; height: 150px; }
.audit-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.audit-ring circle { fill: none; stroke-width: 11; }
.audit-ring .bg { stroke: var(--line); }
.audit-ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.audit-ring--good .fg { stroke: var(--green); }
.audit-ring--ok .fg { stroke: var(--accent); }
.audit-ring--bad .fg { stroke: var(--amber); }
.audit-ring--awful .fg { stroke: #E5484D; }
.audit-ring b { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12px; font: 700 42px/1 var(--font-display); letter-spacing: -0.04em; }
.audit-ring small { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; color: var(--muted); font-size: 12px; }

.audit-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.audit-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--chip); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.audit-check small { display: block; font: 700 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.audit-check b { display: block; margin-top: 2px; font-weight: 600; font-size: 15px; word-break: break-word; }
.audit-check span > span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.audit-check__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; }
.audit-check__icon .hi { width: 17px; height: 17px; }
.audit-check--ok .audit-check__icon { background: var(--green-soft); color: var(--green); }
.audit-check--warn .audit-check__icon { background: var(--amber-soft); color: var(--amber); }
.audit-check--fail .audit-check__icon { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 760px) { .audit-checks { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .audit-check { animation: none; } }

.audit-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); color: #fff;
  background: radial-gradient(80% 140% at 100% 0%, rgba(var(--glow-1-rgb), .3), transparent 60%), var(--deep); border: 1px solid var(--deep-line); }
.audit-cta__title { font: 600 clamp(18px, 2vw, 22px)/1.3 var(--font-display); }
.audit-cta__text { margin-top: 6px; color: var(--on-night-muted); font-size: 15px; }
@media (max-width: 760px) { .audit-cta { flex-direction: column; align-items: stretch; } }
.audit-lead { margin-top: 16px; }
.audit-lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .audit-lead__row { grid-template-columns: 1fr; } }
.audit-done { margin-top: 16px; }

.audit-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.audit-point { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.audit-point > .hi { width: 28px; height: 28px; color: var(--accent-ink); }
.audit-point b { display: block; margin-top: 14px; font: 600 17px/1.3 var(--font-display); }
.audit-point p { margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) { .audit-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audit-points { grid-template-columns: 1fr; } }

.audit-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(70% 120% at 0% 0%, rgba(var(--glow-2-rgb), .14), transparent 60%), var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.audit-teaser .audit-form { margin-top: 0; }
@media (max-width: 900px) { .audit-teaser { grid-template-columns: 1fr; } }

/* Калькулятор потерь */
.roi { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.roi__sliders { display: grid; gap: 18px; margin-top: 28px; max-width: 560px; }
.roi__slider { display: grid; gap: 10px; }
.roi__slider > span { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.roi__slider output { font: 700 15px/1.2 var(--font-mono); color: var(--accent-ink); }
.roi__slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%); }
.roi__slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 4px 12px -2px rgba(var(--accent-rgb), .6); transition: transform .15s; }
.roi__slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 4px 12px -2px rgba(var(--accent-rgb), .6); }
.roi__slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.roi__slider input[type="range"]:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .4); outline-offset: 6px; }
.roi__result { padding: clamp(22px, 3vw, 32px); border-radius: calc(var(--radius) + 6px); color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(var(--glow-1-rgb), .32), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(var(--accent-rgb), .22), transparent 60%), var(--deep);
  border: 1px solid var(--deep-line); box-shadow: 0 40px 80px -50px rgba(3, 12, 18, .9); }
.roi__label { font: 700 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }
.roi__big { margin-top: 10px; font: 700 clamp(38px, 5vw, 58px)/1 var(--font-display); letter-spacing: -0.04em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.roi__sub { margin-top: 6px; color: var(--on-night-muted); }
.roi__sub b { color: #fff; }
.roi__rows { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.roi__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.roi__rows span { color: var(--on-night-muted); }
.roi__rows b { font-weight: 700; white-space: nowrap; }
.roi__payback b { color: var(--accent-light); }
.roi__note { margin-top: 12px; color: var(--on-night-muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

/* Кабинет студии: вошли логином студии через форму личного кабинета */
.acc-studio { padding-top: clamp(28px, 6vw, 72px); }
.acc-studio__card { max-width: 560px; margin: 0 auto; padding: clamp(26px, 5vw, 48px); text-align: center; border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(80% 70% at 50% 0%, rgba(var(--glow-1-rgb), .2), transparent 70%), var(--card); border: 1px solid var(--card-line); box-shadow: var(--glass-edge), var(--glass-shadow); }
.acc-studio__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: linear-gradient(160deg, var(--btn-top-hover), var(--accent)); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 20px 40px -18px rgba(var(--accent-rgb), .9); }
.acc-studio__icon .hi { width: 30px; height: 30px; }
.acc-studio .eyebrow { display: flex; justify-content: center; }
.acc-studio h1 { font-size: clamp(26px, 3.4vw, 36px); }
.acc-studio .muted { margin-top: 10px; }
.acc-studio__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
