/* =========================================================
   velnory — студия создания сайтов
   ========================================================= */

/* ---------- Шрифты (локально) ---------- */
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-ext.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Токены ---------- */
:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --bg-3: #131319;
  --text: #f3f2ee;
  --muted: #8f8e98;
  --dim: #5d5c67;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  --accent: #c6ff3d;
  --accent-ink: #0b0f02;
  --violet: #7c5cff;
  --pink: #ff4fa3;
  --blue: #3d6bff;
  --amber: #ffb35c;
  --danger: #ff5c7a;

  --grad: linear-gradient(100deg, #9b7bff 0%, #ff5fae 38%, #ffb35c 68%, #c6ff3d 100%);

  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Типографика ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.label span { color: var(--accent); }
.label--light { color: rgba(255, 255, 255, .72); }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate;
}
.grad.is-split { background: none; animation: none; color: inherit; }
.grad.is-split .sw__i {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Разбивка текста на слова/буквы (JS) */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .14em .02em .14em 0;
  margin: -.14em -.02em -.14em 0;
}
.sw__i { display: inline-block; will-change: transform; }
.sc { display: inline-block; will-change: transform; }

/* ---------- Кнопки ---------- */
.btn {
  --fill: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn--accent { background: var(--accent); color: var(--accent-ink); --fill: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  color: var(--text);
  --fill: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -14px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  overflow: hidden;
}
.btn__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .btn__icon svg { animation: arrowLoop .6s var(--ease); }
@keyframes arrowLoop {
  0% { transform: translateX(0); }
  45% { transform: translateX(140%); }
  46% { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}

.roll { display: inline-flex; flex-direction: column; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: middle; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.btn:hover .roll > span { transform: translateY(-100%); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .4s, gap .4s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { border-color: var(--accent); gap: 18px; }

/* ---------- Прелоадер ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  background: var(--bg);
  clip-path: inset(0 0 0 0);
}
.preloader__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.preloader__logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.03em; padding-bottom: 1.2vw; }
.preloader__logo span { font-size: .5em; vertical-align: top; color: var(--muted); }
.preloader__count {
  font-family: var(--font-display);
  font-size: clamp(5rem, 19vw, 17rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.preloader__count i { font-style: normal; font-size: .3em; vertical-align: top; color: var(--accent); margin-left: .1em; }
.preloader__bar { height: 2px; margin-top: clamp(20px, 3vw, 40px); background: var(--line); }
.preloader__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.preloader__words {
  position: absolute;
  top: var(--gutter);
  left: var(--gutter);
  height: 1.4em;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.preloader__words span { display: block; height: 1.4em; line-height: 1.4em; }

/* ---------- Глобальные слои ---------- */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 998;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Курсор ---------- */
.cursor { display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s;
}
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__ring {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s;
}
.cursor__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--accent-ink);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s, transform .45s var(--ease);
  white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background-color: var(--accent); border-color: var(--accent); }
.cursor.has-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.has-label .cursor__dot, .cursor.is-down .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease), height .4s var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 7, 10, .6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .4s;
}
.header.is-scrolled { height: 68px; }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-105%); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.logo sup { font-size: .5em; color: var(--muted); align-self: flex-start; margin-top: .3em; }
.logo__mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: conic-gradient(from var(--angle), #7c5cff, #ff4fa3, #ffb35c, #c6ff3d, #7c5cff);
  animation: spinAngle 5s linear infinite;
  box-shadow: 0 0 20px rgba(124, 92, 255, .45);
}
@keyframes spinAngle { to { --angle: 360deg; } }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: color .3s, background-color .3s;
}
.nav a:hover { color: #fff; background-color: rgba(255, 255, 255, .07); }
.header__cta { margin-left: 8px; }

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
}
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--gutter) 40px;
  background: var(--bg-2);
  clip-path: circle(0% at calc(100% - var(--gutter) - 24px) 42px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 42px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 9vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .5s, transform .7s var(--ease);
}
.menu__nav a i { font-family: var(--font-body); font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-weight: 600; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(124, 92, 255, .35), transparent 70%),
    radial-gradient(40% 40% at 85% 60%, rgba(255, 79, 163, .2), transparent 70%),
    var(--bg);
}
.hero__canvas, .contact__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, .6) 0%, rgba(7, 7, 10, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 10, 0) 32%);
}
.hero__chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .4);
}
.chip--accent { color: var(--accent); background: rgba(198, 255, 61, .1); border-color: rgba(198, 255, 61, .35); }

.hero__content { position: relative; padding-bottom: clamp(28px, 4vw, 48px); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .6); }
  70% { box-shadow: 0 0 0 10px rgba(198, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 7.3vw, 8rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.hero__line { display: block; }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero__sub { max-width: 460px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 26px;
}
.hero__meta::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.scroll-hint { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scroll-hint__line { position: relative; width: 1px; height: 38px; background: var(--line-2); overflow: hidden; }
.scroll-hint__line::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
.hero__facts { display: flex; gap: clamp(24px, 4vw, 56px); }
.hero__facts b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.hero__facts span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Бегущая строка ---------- */
.marquee {
  position: relative;
  padding: clamp(36px, 6vw, 80px) 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.marquee__row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__row + .marquee__row { margin-top: .1em; }
.marquee__track { display: flex; align-items: center; flex-shrink: 0; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.marquee__track i { display: inline-block; margin: 0 .5em; font-style: normal; font-size: clamp(1.2rem, 3vw, 2.6rem); color: var(--accent); }
.marquee__row--outline span { color: rgba(255, 255, 255, .14); }
.marquee__row--outline i { color: var(--pink); }

/* ---------- Манифест ---------- */
.manifesto { padding-block: clamp(100px, 14vw, 200px); }
.manifesto__text {
  max-width: 1200px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 3.5vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.manifesto__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.manifesto__sign { display: flex; align-items: center; gap: 20px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.manifesto__avatars { display: flex; padding-left: 12px; }
.manifesto__avatars i { width: 46px; height: 46px; margin-left: -12px; border-radius: 50%; border: 2px solid var(--bg); }
.manifesto__avatars i:nth-child(1) { background: radial-gradient(circle at 30% 30%, #b9a6ff, #5b3cff); }
.manifesto__avatars i:nth-child(2) { background: radial-gradient(circle at 30% 30%, #ffb3d6, #e8327f); }
.manifesto__avatars i:nth-child(3) { background: radial-gradient(circle at 30% 30%, #ecffb8, #8ccf00); }

/* ---------- Стена макетов ---------- */
.wall { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.wall__frame { position: absolute; inset: 0; overflow: hidden; background: #0b0b10; will-change: clip-path; }
.wall__stage { position: absolute; inset: -25%; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.wall__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  width: 100%;
  transform: rotateX(24deg) rotateZ(-12deg);
  transform-style: preserve-3d;
}
.wall__col { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 26px); will-change: transform; }
.wall__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(7, 7, 10, .82) 0%, rgba(7, 7, 10, .35) 60%, rgba(7, 7, 10, .75) 100%);
}
.wall__center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.wall__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 6.2vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .6);
}

/* ---------- Мокапы сайтов (генерируются JS) ---------- */
.mk {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--m-bg);
  color: var(--m-fg);
  font-family: var(--font-body);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}
.mk-bar { display: flex; align-items: center; gap: 1.1cqw; height: 5.6cqw; padding: 0 2.6cqw; background: color-mix(in srgb, var(--m-fg) 7%, var(--m-bg)); }
.mk-bar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: var(--m-fg); opacity: .22; }
.mk-bar span { margin: 0 auto; transform: translateX(-3cqw); padding: .4cqw 4cqw; border-radius: 99px; background: color-mix(in srgb, var(--m-fg) 8%, transparent); font-size: 1.5cqw; opacity: .75; }
.mk-body { position: relative; height: calc(100% - 5.6cqw); padding: 2.8cqw 5cqw 0; }
.mk-nav { display: flex; align-items: center; gap: 2.6cqw; margin-bottom: 5cqw; }
.mk-nav b { margin-right: auto; font-family: var(--font-display); font-size: 2.3cqw; font-weight: 700; letter-spacing: -.03em; }
.mk-nav i { width: 6cqw; height: 1cqw; border-radius: 1cqw; background: var(--m-fg); opacity: .28; }
.mk-nav em { width: 11cqw; height: 3.8cqw; border-radius: 99px; background: var(--m-ac); }
.mk h4 { font-family: var(--font-display); font-weight: 600; font-size: 5.2cqw; line-height: 1.05; letter-spacing: -.045em; }
.mk-line { display: block; width: 36cqw; height: 1.1cqw; margin-top: 1.6cqw; border-radius: 1cqw; background: var(--m-fg); opacity: .18; }
.mk-line + .mk-line { width: 28cqw; }
.mk-btn { display: inline-block; width: 15cqw; height: 4.6cqw; margin-top: 3.4cqw; border-radius: 99px; background: var(--m-ac); }

/* Фото внутри мокапов */
.mk-ph { position: relative; overflow: hidden; background: var(--m-ac2); }
.mk-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero с фото на всю ширину */
.mk--hero { color: #fff; }
.mk-ph.mk-bg { position: absolute; left: 0; right: 0; bottom: 0; top: 5.6cqw; }
.mk--hero .mk-body { display: flex; flex-direction: column; }
.mk--hero .mk-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .35) 100%);
}
.mk--hero .mk-nav, .mk-hero { position: relative; }
.mk--hero .mk-nav i, .mk--hero .mk-line { background: #fff; }
.mk-hero { margin-top: auto; padding-bottom: 6cqw; }
.mk-hero h4 { max-width: 62cqw; font-size: 6cqw; }
.mk-hero .mk-pill { background: rgba(255, 255, 255, .28); }

.mk-split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4cqw; }
.mk-split h4 { font-size: 4.7cqw; }
.mk-photo { position: relative; }
.mk-photo > .mk-ph:first-child { aspect-ratio: 4 / 4.4; border-radius: 3cqw; }
.mk-photo__mini {
  position: absolute;
  left: -7cqw;
  bottom: 3cqw;
  width: 16cqw;
  aspect-ratio: 1;
  border-radius: 2cqw;
  border: .6cqw solid var(--m-bg);
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .25);
}

.mk-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mk-pill { display: block; width: 18cqw; height: 3cqw; margin-bottom: 2.4cqw; border-radius: 99px; background: var(--m-ac2); }
.mk-center h4 { max-width: 72cqw; font-size: 5.4cqw; }
.mk-center .mk-line { width: 40cqw; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 4.6cqw; }
.mk-cards .mk-ph { height: 20cqw; border-radius: 2cqw; }

.mk-grid h4 { max-width: 62cqw; font-size: 5cqw; }
.mk-tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 14cqw 14cqw; gap: 2cqw; margin-top: 4cqw; }
.mk-tiles .mk-ph { border-radius: 2cqw; }
.mk-tiles .mk-ph:first-child { grid-row: span 2; }

.mk-shop h4 { max-width: 60cqw; font-size: 4.4cqw; }
.mk-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; margin-top: 4cqw; }
.mk-products .mk-ph { aspect-ratio: 3 / 4; border-radius: 1.6cqw; }
.mk-products b { display: block; width: 70%; height: 1cqw; margin-top: 1.4cqw; border-radius: 1cqw; background: var(--m-fg); opacity: .3; }
.mk-products s { display: block; width: 40%; height: 1.2cqw; margin-top: 1cqw; border-radius: 1cqw; background: var(--m-ac); }

.mk-edit h4 { font-size: 7.2cqw; line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.mk-strip { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2cqw; margin-top: 4cqw; }
.mk-strip .mk-ph { height: 26cqw; border-radius: 2cqw; }

/* ---------- Кейсы ---------- */
.cases { position: relative; padding-block: clamp(100px, 12vw, 180px); }
.cases__list { border-top: 1px solid var(--line); }
.case {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto 90px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.cases__list:hover .case { opacity: .32; }
.cases__list:hover .case:hover { opacity: 1; }
.case::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease);
}
.case:hover::after { transform: scaleX(1); transform-origin: left; }
.case__num, .case__year { font-size: 14px; font-weight: 600; color: var(--muted); }
.case__year { text-align: right; }
.case__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  transition: transform .7s var(--ease);
}
.case:hover .case__name { transform: translateX(clamp(8px, 2vw, 28px)); animation: rgbSplit .45s steps(3) 1; }
@keyframes rgbSplit {
  0% { text-shadow: 3px 0 rgba(255, 79, 163, .9), -3px 0 rgba(61, 107, 255, .9); }
  50% { text-shadow: -2px 0 rgba(255, 79, 163, .9), 2px 0 rgba(198, 255, 61, .8); }
  100% { text-shadow: none; }
}
.case__type { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }

.case-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: clamp(280px, 30vw, 460px);
  aspect-ratio: 16 / 10.4;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .8);
}
.case-preview__inner { display: flex; flex-direction: column; height: 400%; }
.case-preview__inner > div { flex: 1; }
.case-preview .mk { height: 100%; border-radius: 0; box-shadow: none; }

/* ---------- Услуги ---------- */
.services { position: relative; overflow: hidden; }
.services__pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(90px, 10vh, 120px) clamp(40px, 6vh, 70px);
}
.services__head { margin-bottom: clamp(32px, 5vh, 56px); }
.services__head .section-title { max-width: 900px; }
.services__track {
  display: flex;
  gap: 20px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.services__track::-webkit-scrollbar { display: none; }
.services.is-pinned .services__track { width: max-content; overflow: visible; scroll-snap-type: none; padding-right: calc(var(--gutter) + 8vw); will-change: transform; }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: clamp(290px, 29vw, 430px);
  min-height: clamp(400px, 52vh, 520px);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  scroll-snap-align: start;
  overflow: hidden;
  transition: border-color .4s;
}
.service:hover { border-color: var(--line-2); }
.service__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.service__tag { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text); }
.service__art { position: relative; height: clamp(130px, 20vh, 200px); margin: 20px 0 24px; border-radius: 18px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); overflow: hidden; }
.service__title { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.65rem); letter-spacing: -.035em; }
.service__text { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.service__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service__chips li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; }

/* Арт в карточках услуг */
.art-design i {
  --r: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: orbitBlob 9s linear infinite;
}
.art-design i:nth-child(1) { --r: 0deg; background: #7c5cff; }
.art-design i:nth-child(2) { --r: 120deg; background: #ff4fa3; }
.art-design i:nth-child(3) { --r: 240deg; background: #c6ff3d; }
@keyframes orbitBlob {
  from { transform: translate(-50%, -50%) rotate(var(--r)) translateX(22%) rotate(calc(var(--r) * -1)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--r) + 360deg)) translateX(22%) rotate(calc((var(--r) + 360deg) * -1)); }
}

.art-code { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 22px; }
.art-code i { display: block; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .16); transform-origin: left; animation: typeLine 4s var(--ease) infinite; }
.art-code i:nth-child(1) { width: 55%; background: #7c5cff; }
.art-code i:nth-child(2) { width: 80%; margin-left: 18px; animation-delay: .25s; }
.art-code i:nth-child(3) { width: 45%; margin-left: 36px; background: #c6ff3d; animation-delay: .5s; }
.art-code i:nth-child(4) { width: 70%; margin-left: 18px; animation-delay: .75s; }
.art-code i:nth-child(5) { width: 30%; background: #ff4fa3; animation-delay: 1s; }
@keyframes typeLine {
  0% { transform: scaleX(0); }
  25%, 80% { transform: scaleX(1); }
  100% { transform: scaleX(0); opacity: 0; }
}

.art-orbit { display: grid; place-items: center; perspective: 600px; }
.art-orbit i { position: absolute; border-radius: 50%; }
.art-orbit i:nth-child(1) { width: 64px; height: 64px; background: radial-gradient(circle at 32% 30%, #fff, #9b7bff 40%, #3a1fbf 100%); box-shadow: 0 0 60px rgba(124, 92, 255, .6); }
.art-orbit i:nth-child(2), .art-orbit i:nth-child(3) { border: 1px solid rgba(255, 255, 255, .25); transform-style: preserve-3d; }
.art-orbit i:nth-child(2) { width: 150px; height: 150px; animation: orbitRing 6s linear infinite; }
.art-orbit i:nth-child(3) { width: 220px; height: 220px; border-color: rgba(255, 255, 255, .12); animation: orbitRing 10s linear infinite reverse; }
.art-orbit i:nth-child(2)::after, .art-orbit i:nth-child(3)::after { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #c6ff3d; box-shadow: 0 0 16px #c6ff3d; }
.art-orbit i:nth-child(3)::after { background: #ff4fa3; box-shadow: 0 0 16px #ff4fa3; }
@keyframes orbitRing { from { transform: rotateX(68deg) rotateZ(0); } to { transform: rotateX(68deg) rotateZ(360deg); } }

.art-chart { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 22px 22px 0; }
.art-chart i { flex: 1; max-width: 34px; height: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #c6ff3d, rgba(198, 255, 61, .08)); transform-origin: bottom; animation: barGrow 3.2s var(--ease) infinite; }
.art-chart i:nth-child(1) { --h: .3; }
.art-chart i:nth-child(2) { --h: .5; animation-delay: .15s; }
.art-chart i:nth-child(3) { --h: .42; animation-delay: .3s; }
.art-chart i:nth-child(4) { --h: .72; animation-delay: .45s; }
.art-chart i:nth-child(5) { --h: .92; animation-delay: .6s; background: linear-gradient(180deg, #ff4fa3, rgba(255, 79, 163, .08)); }
@keyframes barGrow {
  0% { transform: scaleY(.05); }
  40%, 75% { transform: scaleY(var(--h)); }
  100% { transform: scaleY(.05); }
}

.art-pulse { display: grid; place-items: center; }
.art-pulse::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #c6ff3d; box-shadow: 0 0 24px #c6ff3d; }
.art-pulse i { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(198, 255, 61, .7); animation: radar 3s ease-out infinite; }
.art-pulse i:nth-child(2) { animation-delay: 1s; }
.art-pulse i:nth-child(3) { animation-delay: 2s; }
@keyframes radar { from { transform: scale(.4); opacity: 1; } to { transform: scale(6); opacity: 0; } }

/* ---------- Процесс ---------- */
.process { padding-block: clamp(100px, 12vw, 180px) clamp(60px, 8vw, 120px); }
.process__stack { display: flex; flex-direction: column; gap: 28px; }
.step {
  --c: #7c5cff;
  --shade: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px + var(--i) * 22px);
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr auto;
  align-items: start;
  gap: clamp(20px, 3vw, 48px);
  min-height: clamp(260px, 34vh, 340px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px circle at 100% 0%, color-mix(in srgb, var(--c) 24%, transparent), transparent 60%),
    #101016;
  transform-origin: 50% 0;
  box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .55);
}
.step::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: #000; opacity: var(--shade); pointer-events: none; }
.step:nth-child(2) { --c: #3d6bff; }
.step:nth-child(3) { --c: #ff4fa3; }
.step:nth-child(4) { --c: #ffb35c; }
.step:nth-child(5) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .85;
  letter-spacing: -.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step:nth-child(5) .step__num { background-image: linear-gradient(180deg, rgba(11, 15, 2, .75), rgba(11, 15, 2, .08)); }
.step__body h3 { margin-bottom: 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2.4rem); letter-spacing: -.04em; }
.step__body p { max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.step:nth-child(5) .step__body p { color: rgba(11, 15, 2, .72); }
.step__time { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.step:nth-child(5) .step__time { border-color: rgba(11, 15, 2, .3); }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 40px clamp(20px, 3vw, 40px); }
.stat { padding: 28px clamp(16px, 2vw, 28px) 8px; border-left: 1px solid var(--line); }
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: .26em; font-weight: 600; letter-spacing: 0; color: var(--accent); }
.stat p { max-width: 230px; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- Тарифы ---------- */
.pricing { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(100px, 12vw, 180px); }
.pricing::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(1200px, 120vw);
  height: 700px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side at 70% 50%, rgba(124, 92, 255, .22), transparent),
    radial-gradient(closest-side at 30% 60%, rgba(61, 107, 255, .14), transparent);
  pointer-events: none;
  z-index: -1;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
.plan {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(15, 15, 21, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.plan::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.plan__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(124, 92, 255, .16), transparent 42%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.plan:hover::before, .plan:hover .plan__glow { opacity: 1; }

.plan--pro {
  background: linear-gradient(180deg, rgba(34, 24, 66, .92), rgba(14, 12, 24, .94));
  border-color: transparent;
  box-shadow: 0 40px 120px -30px rgba(124, 92, 255, .55);
}
.plan__border {
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), #7c5cff, #ff4fa3, #ffb35c, #c6ff3d, #7c5cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinAngle 4s linear infinite;
  pointer-events: none;
}
.plan__badge {
  position: absolute;
  top: 28px;
  right: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  font-weight: 700;
}
.plan__badge--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.plan__name { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; letter-spacing: -.035em; padding-right: 110px; }
.plan__desc { max-width: 280px; min-height: 3em; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan__price i { font-style: normal; font-size: .5em; color: var(--muted); }
.plan--pro .plan__price span { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 5s ease-in-out infinite alternate; }
.plan__term { margin-top: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.plan__list { flex: 1; display: grid; align-content: start; gap: 13px; margin: 24px 0 30px; }
.plan__list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.plan__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(198, 255, 61, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan__list b { font-weight: 700; color: #fff; }
.pricing__note { margin-top: 44px; text-align: center; color: var(--muted); }
.pricing__note a { color: var(--text); font-weight: 700; border-bottom: 1px solid var(--accent); transition: color .3s; }
.pricing__note a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(40px, 6vw, 120px); padding-block: clamp(80px, 10vw, 160px); }
.faq__aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.faq__lead { max-width: 330px; margin-top: 24px; line-height: 1.6; color: var(--muted); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.6vw, 1.32rem);
  letter-spacing: -.025em;
  list-style: none;
  cursor: pointer;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa__icon { position: relative; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.qa__icon::before, .qa__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--text); transition: background-color .4s; }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(135deg); background-color: var(--accent); border-color: var(--accent); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: var(--accent-ink); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 620px; padding-bottom: 28px; line-height: 1.7; color: var(--muted); }

/* ---------- Контакты ---------- */
.contact {
  position: relative;
  padding-block: clamp(100px, 12vw, 170px);
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  background:
    radial-gradient(50% 60% at 20% 30%, rgba(61, 107, 255, .35), transparent 70%),
    radial-gradient(40% 50% at 80% 80%, rgba(198, 255, 61, .15), transparent 70%),
    #0a0b14;
}
.contact__canvas { z-index: -1; }
.contact::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7, 7, 10, .2), rgba(7, 7, 10, .55)); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.contact__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.05em; }
.contact__lead { max-width: 460px; margin-top: 28px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.contact__links { max-width: 480px; margin-top: 44px; }
.contact__links li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact__links span { font-size: 14px; color: rgba(255, 255, 255, .55); }
.contact__links a { font-weight: 700; transition: color .3s; }
.contact__links a:hover { color: var(--accent); }

.form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(9, 9, 14, .62);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.form__title { margin-bottom: 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -.03em; }
.field { position: relative; }
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 26px 18px 10px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  font-size: 16px;
  outline: none;
  resize: none;
  transition: border-color .3s, background-color .3s;
}
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .28); }
.field input:focus, .field textarea:focus { border-color: var(--accent); background-color: rgba(255, 255, 255, .07); }
.field label {
  position: absolute;
  left: 19px;
  top: 18px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid label { color: var(--danger); }

.form__plans { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.form__plans legend { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pill span:hover { border-color: rgba(255, 255, 255, .4); }
.pill input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { position: relative; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 6px; transition: background-color .3s, border-color .3s; }
.check__box::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--danger); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.form__submit { margin-top: 6px; }
.form__submit.is-loading { pointer-events: none; }
.form__submit.is-loading .btn__text { opacity: .4; }
.form__submit.is-loading .btn__icon svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background: rgba(9, 9, 14, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility 0s .5s;
}
.form.is-sent .form__success { opacity: 1; visibility: visible; transition: opacity .5s, visibility 0s 0s; }
.form__success p { max-width: 300px; color: var(--muted); }
.form__success-title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -.03em; }
.form__check svg { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.form__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent .form__check circle { animation: draw .8s var(--ease) forwards; }
.form.is-sent .form__check path { animation: draw .5s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__again { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Подвал ---------- */
.footer { position: relative; padding: clamp(60px, 8vw, 100px) 0 28px; background: var(--bg); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; padding-bottom: clamp(40px, 6vw, 72px); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__label { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.footer__col a { position: relative; font-weight: 600; color: rgba(255, 255, 255, .82); transition: color .3s; }
.footer__col a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.totop {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .4s, color .4s, border-color .4s;
}
.totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer__brand {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(20px, 3vw, 36px);
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: min(16vw, 230px);
  line-height: .9;
  letter-spacing: 0;
  user-select: none;
}
.footer__brand span {
  display: inline-block;
  padding: 0 .03em;
  background: linear-gradient(180deg, #f3f2ee 20%, rgba(243, 242, 238, .06) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__brand.is-revealed span { transition: transform .7s var(--ease); }
.footer__brand.is-revealed span:hover { transform: translateY(-6%); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__legal a { transition: color .3s; }
.footer__legal a:hover { color: var(--text); }

/* ---------- Страницы документов ---------- */
.doc-page { min-height: 100vh; padding: calc(var(--header-h) + 60px) 0 100px; }
.doc-page .container { max-width: 860px; }
.doc-page h1 { margin-bottom: 32px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.doc-page h2 { margin: 40px 0 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.03em; }
.doc-page p, .doc-page li { margin-bottom: 14px; line-height: 1.75; color: rgba(255, 255, 255, .78); }
.doc-page .doc-note { padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--muted); }
.doc-page .header { background: rgba(7, 7, 10, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .contact__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; --radius: 22px; }
  .hero__chips { display: none; }
  .hero__glow { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 10, .3) 45%, rgba(7, 7, 10, 0) 70%); }
  .case { grid-template-columns: 40px 1fr auto; }
  .case__year { display: none; }
  .case-preview { display: none; }
  .service { width: min(82vw, 380px); }
  .step { grid-template-columns: 1fr; gap: 18px; top: calc(var(--header-h) + 12px + var(--i) * 14px); min-height: 0; }
  .step__num { font-size: 3.2rem; }
  .step__time { justify-self: start; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .totop { position: absolute; right: var(--gutter); top: clamp(60px, 8vw, 100px); width: 60px; height: 60px; }
}
@media (max-width: 600px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__sub { font-size: 16px; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .hero__facts { width: 100%; justify-content: space-between; gap: 12px; }
  .hero__facts b { font-size: 14px; }
  .hero__facts span { font-size: 10px; letter-spacing: .08em; }
  .manifesto__foot { flex-direction: column; align-items: flex-start; }
  .case { gap: 14px; }
  .case__type { padding: 6px 10px; font-size: 11px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat p { font-size: 13px; }
  .plan { padding: 28px 22px 24px; }
  .plan__badge { position: static; order: -1; align-self: flex-start; margin-bottom: 14px; }
  .plan__name { padding-right: 0; }
  .contact__links li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__legal { flex-direction: column; }
}

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
