/* =========================================================
   ВИТОК — лендинг студии сайтов
   Палитра и шрифты — в :root. Поменяли тут — поменялось везде.
   ========================================================= */
:root {
  --paper: #F3EFE7;
  --paper-2: #E9E3D7;
  --white: #FFFFFF;
  --ink: #101014;
  --ink-2: #33333B;
  --muted: #6E6A62;
  --blue: #454CC2;
  --blue-2: #3A40A8;
  --lime: #CBE07E;
  --night: #0B0C1C;
  --line: rgba(16, 16, 20, .12);
  --line-strong: rgba(16, 16, 20, .22);

  --font: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(36px, 5.2vw, 80px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 700;
}
.h2 em, .hero__title em, .brief__title em, .manifest__text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--blue);
}
.h2 em { font-size: 1.1em; line-height: .8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .6); }
.eyebrow__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.eyebrow--light .eyebrow__dot { background: var(--lime); }
.eyebrow__dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: var(--blue);
  animation: ping 2.2s var(--ease) infinite;
}
.eyebrow--light .eyebrow__dot::after { color: var(--lime); }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover, rgba(255, 255, 255, .16));
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 18px 40px -16px rgba(69, 76, 194, .55); }
.btn--dark { background: var(--ink); color: var(--paper); --btn-hover: var(--blue); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); --btn-hover: rgba(16, 16, 20, .06); }
.btn--lime { background: var(--lime); color: var(--ink); --btn-hover: #fff; }
.btn--line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); --btn-hover: rgba(255, 255, 255, .1); }
.btn--ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); --btn-hover: rgba(255, 255, 255, .08); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.round-btn {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor__ring, .cursor__dot { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__ring { width: 38px; height: 38px; border: 1.5px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s; }
.cursor__dot { width: 5px; height: 5px; background: #fff; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  transition: transform .5s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.header__inner {
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header.is-scrolled {
  background: rgba(243, 239, 231, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-dark { color: #fff; }
.header.is-dark.is-scrolled { background: rgba(11, 12, 28, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.header.is-hidden { transform: translateY(-100%); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 32px; height: 32px; color: var(--blue); transition: transform .8s var(--ease); }
.header.is-dark .logo__mark { color: var(--lime); }
.logo:hover .logo__mark { transform: rotate(-360deg); }
.logo__word { font-size: 20px; font-weight: 800; letter-spacing: .04em; }

.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__tg {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background .3s, color .3s;
}
.header.is-dark .header__tg { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.header__tg svg { width: 20px; height: 20px; }
.header__tg:hover { background: #2AABEE; color: #fff; box-shadow: none; }
.header.is-dark .btn--dark { background: var(--lime); color: var(--ink); --btn-hover: #fff; }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.header.is-dark .burger { background: var(--lime); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px;
  background: var(--paper);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.header.is-dark .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
body.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
body.menu-open .header .logo__mark { color: var(--lime); }
body.menu-open .burger { background: var(--lime); }
body.menu-open .burger span { background: var(--ink); }

.mmenu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--pad) 40px;
  background: var(--blue);
  color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overflow: hidden;
}
body.menu-open .mmenu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .8s var(--ease); }
.mmenu__nav { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.mmenu__nav a { font-size: clamp(36px, 10vw, 56px); font-weight: 700; letter-spacing: -.03em; text-decoration: none; line-height: 1.15; }
.mmenu__nav .mmenu__cta { margin-top: 28px; font-size: 20px; display: inline-flex; align-self: flex-start; padding: 16px 26px; border-radius: 999px; background: var(--lime); color: var(--ink); letter-spacing: 0; }
.mmenu__spiral { position: absolute; right: -30vw; bottom: -30vw; width: 90vw; height: 90vw; color: rgba(255, 255, 255, .12); animation: spin 40s linear infinite; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 36px;
  overflow: clip;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (min-width: 901px) {
  .hero__canvas, .hero__orbits {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.16) 38%, #000 62%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.16) 38%, #000 62%);
  }
}
.hero__orbits {
  position: absolute; left: 0; top: 0;
  width: 10px; height: 10px;
  pointer-events: none;
  overflow: visible;
}
.orbit { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .22; vector-effect: non-scaling-stroke; }
.orbit--b { stroke: var(--ink); opacity: .1; stroke-dasharray: 3 9; }

.hero__inner { position: relative; z-index: 2; will-change: transform, opacity; }
.hero__title {
  max-width: 11.5em;
  font-size: clamp(46px, 7.4vw, 124px);
  line-height: .96;
  letter-spacing: -.045em;
  word-spacing: .05em;
  font-weight: 700;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
.hero__title em { font-size: 1.14em; line-height: .8; padding-right: .06em; }
@keyframes lineUp { to { transform: none; } }

.hero__lead {
  max-width: 540px;
  margin: 30px 0 38px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__facts, .js .hero__float, .js .hero__scroll {
  opacity: 0; animation: fadeUp 1s var(--ease) forwards;
}
.js .hero__eyebrow { animation-delay: .05s; }
.js .hero__lead { animation-delay: .35s; }
.js .hero__cta { animation-delay: .45s; }
.js .hero__facts { animation-delay: .6s; }
.js .hero__float { animation-delay: .8s; }
.js .hero__scroll { animation-delay: 1s; }
@keyframes fadeUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

.hero__facts { position: relative; z-index: 2; display: flex; gap: 0; margin-top: clamp(48px, 7vh, 90px); }
.fact { display: grid; gap: 2px; padding: 0 36px; border-left: 1.5px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact b { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
.fact span { font-size: 14px; color: var(--muted); }

.hero__float { position: absolute; z-index: 1; will-change: transform; }
.hero__float--a { right: 7%; top: 20%; }
.hero__float--b { right: 31%; bottom: 17%; }
.hero__float--c { right: 13%; bottom: 27%; }
.hero__float > * { animation: bob 6s ease-in-out infinite; }
.hero__float--b > * { animation-delay: -2s; }
.hero__float--c > * { animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.glass, .notif, .chip-card, .mini-graph {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 24px 60px -24px rgba(20, 22, 80, .35);
}
.notif { display: flex; align-items: center; gap: 12px; width: 300px; padding: 14px 16px; border-radius: 20px; }
.notif__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; }
.notif__icon svg { width: 20px; height: 20px; }
.notif__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.notif__top span { font-size: 12px; color: var(--muted); }
.notif__text { font-size: 14px; color: var(--ink-2); }
.notif__src { display: inline-block; font-style: normal; color: var(--blue); transition: opacity .3s, transform .3s var(--ease); }
.notif__src.is-out { opacity: 0; transform: translateY(-5px); }

.chip-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 999px; }
.chip-card__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; }
.chip-card__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22C55E; animation: ping 1.8s infinite; }
.chip-card b { display: block; font-size: 14px; line-height: 1.2; }
.chip-card small { font-size: 12px; color: var(--muted); }

.mini-graph { width: 210px; padding: 16px; border-radius: 20px; }
.mini-graph small { font-size: 12px; color: var(--muted); }
.mini-graph__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.mini-graph__bars i { flex: 1; height: var(--h); border-radius: 5px; background: var(--blue); opacity: .35; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.mini-graph__bars i:nth-child(n+5) { opacity: .6; }
.mini-graph__bars i:last-child { opacity: 1; background: var(--blue); box-shadow: 0 0 0 3px var(--lime); }
.mini-graph__bars i:nth-child(1) { animation-delay: 1.0s; } .mini-graph__bars i:nth-child(2) { animation-delay: 1.07s; }
.mini-graph__bars i:nth-child(3) { animation-delay: 1.14s; } .mini-graph__bars i:nth-child(4) { animation-delay: 1.21s; }
.mini-graph__bars i:nth-child(5) { animation-delay: 1.28s; } .mini-graph__bars i:nth-child(6) { animation-delay: 1.35s; }
.mini-graph__bars i:nth-child(7) { animation-delay: 1.42s; }
@keyframes grow { from { transform: scaleY(0); } }

.hero__scroll { position: absolute; z-index: 2; right: var(--pad); bottom: 34px; width: 116px; height: 116px; display: grid; place-items: center; color: var(--ink); }
.hero__scroll-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__scroll-text text { font-size: 10.4px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: currentColor; }
.hero__scroll-arrow { width: 22px; height: 22px; transform: rotate(90deg); transition: transform .4s var(--ease); }
.hero__scroll:hover .hero__scroll-arrow { transform: rotate(90deg) translateX(5px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Manifest ---------- */
.manifest { padding: clamp(110px, 15vw, 220px) 0 clamp(70px, 9vw, 130px); }
.manifest__text {
  max-width: 1180px;
  font-size: clamp(30px, 4.3vw, 66px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 600;
}
.manifest__text em { font-size: 1.12em; }
.js .manifest__text .w { opacity: .13; transition: opacity .4s ease; }
.js .manifest__text .w.is-on { opacity: 1; }

/* ---------- Bands ---------- */
.bands { position: relative; padding: 30px 0 clamp(90px, 10vw, 140px); overflow: clip; }
.band {
  width: 112%;
  margin-left: -6%;
  padding: 16px 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.band--blue { position: relative; z-index: 2; background: var(--blue); color: #fff; rotate: -2deg; }
.band--lime { margin-top: 26px; background: var(--lime); color: var(--ink); rotate: 1.2deg; }
.band__track { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; will-change: transform; }
.band__track i { font-style: normal; font-size: .6em; opacity: .75; }

/* ---------- Works / Helix ---------- */
.works { position: relative; height: 480vh; background: var(--night); color: #fff; }
.works__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.works__pin::before {
  content: ""; position: absolute; left: 50%; top: 55%;
  width: 70vmax; height: 70vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(69, 76, 194, .26), transparent 70%);
  pointer-events: none;
}
.works__head { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: calc(var(--header-h) + 26px); }
.works__head .eyebrow { margin-bottom: 14px; }
.works__head .h2 { font-size: clamp(32px, 4.2vw, 64px); max-width: 12em; }
.works .h2 em { color: var(--lime); }
.works__sub { max-width: 380px; color: rgba(255, 255, 255, .6); font-size: 16px; }

.helix {
  --cw: clamp(280px, 41vw, 640px);
  --ch: calc(var(--cw) * .625);
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  perspective: 1800px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.helix__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.wcard {
  position: absolute; left: 0; top: 0;
  width: var(--cw);
  margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  font-size: calc(var(--cw) / 100);
  transform-style: preserve-3d;
  cursor: pointer;
}
.wcard.is-front { cursor: default; }
.wcard__in { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.wcard .mock, .wcard__pop, .wchip, .wcard__fx { opacity: var(--o, 1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* слой 2: главный объект выступает из окна */
.wcard__pop { position: absolute; transform: translateZ(70px); pointer-events: none; }
.wcard__pop .art { display: block; width: 100%; height: auto; overflow: visible; animation: hover3d 6s ease-in-out infinite; }
/* слой 3: плашки интерфейса парят перед окном */
.wchip {
  position: absolute;
  transform: translateZ(120px);
  display: flex; align-items: center; gap: .7em;
  padding: .65em 1.2em .65em .65em;
  border-radius: 1.4em;
  font-size: max(1.9em, 9px);
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(255, 255, 255, .95);
  color: #15151a;
  box-shadow: 0 1.4em 2.6em -1em rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  pointer-events: none;
  animation: hover3d 5s ease-in-out infinite;
}
.wchip--2 { transform: translateZ(95px); animation-delay: -2.4s; }
.wchip i { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; font-style: normal; background: color-mix(in srgb, var(--ac) 20%, #fff); }
.wchip b { display: block; font-weight: 700; }
.wchip small { display: block; font-size: .8em; opacity: .6; }
.wcard.is-dark .wchip { background: rgba(26, 26, 30, .95); color: #fff; box-shadow: 0 1.4em 2.6em -1em rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .09); }
.wcard.is-dark .wchip i { background: color-mix(in srgb, var(--ac) 30%, #1a1a1e); }
/* слой 4: размытый передний план — глубина резкости */
.wcard__fx { position: absolute; transform: translateZ(170px); filter: blur(2.5px); pointer-events: none; }
.wcard__fx svg { display: block; width: 100%; height: auto; animation: hover3d 7s ease-in-out infinite reverse; }
@keyframes hover3d { 50% { translate: 0 -.9em; } }

.works__foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 34px; }
.works__info { display: grid; gap: 4px; transition: opacity .3s, transform .3s; }
.works__info.is-swap { opacity: 0; transform: translateY(8px); }
.works__niche { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.works__name { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.works__tags { font-size: 15px; color: rgba(255, 255, 255, .55); }
.works__nav { display: flex; align-items: center; gap: 16px; }
.works__count { min-width: 64px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.works__count b { color: #fff; }
.works__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .08); }
.works__progress i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Mock sites (inside cards) ---------- */
.mock {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(120% 140% at 78% 38%, var(--bg2) 0%, var(--bg) 58%);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.2;
  user-select: none;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07);
}
.mock--split-rev { background: radial-gradient(120% 140% at 22% 38%, var(--bg2) 0%, var(--bg) 58%); }
.mock__bar, .mock__nav, .mock__hero { position: relative; z-index: 1; }
.mock__bar { flex: none; height: 5.2cqw; display: flex; align-items: center; gap: 1cqw; padding: 0 2.4cqw; background: color-mix(in srgb, var(--fg) 6%, transparent); }
.mock__bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--fg); opacity: .28; }
.mock__bar span { margin: 0 auto; transform: translateX(-3cqw); font-size: 1.55cqw; padding: .5cqw 5cqw; border-radius: 99px; background: color-mix(in srgb, var(--fg) 9%, transparent); opacity: .75; }
.mock__nav { flex: none; display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4.5cqw 1.4cqw; font-size: 1.65cqw; }
.mock__nav b { margin-right: auto; font-size: 2.5cqw; font-weight: 700; white-space: nowrap; }
.mock__nav span { opacity: .7; }
.mock__nav em { font-style: normal; font-weight: 600; padding: .8cqw 2.2cqw; border-radius: 99px; border: .2cqw solid color-mix(in srgb, var(--fg) 45%, transparent); }
.mock__hero { flex: 1; min-height: 0; display: flex; align-items: center; padding: 0 4.5cqw 4cqw; }
.mock__text { width: 50%; }
.mock--split-rev .mock__hero { justify-content: flex-end; }
.mock--split-rev .mock__text { width: 48%; }
.mock__text small { display: block; margin-bottom: 1.6cqw; font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.mock__text h3 { margin: 0; padding-bottom: .04em; line-height: .9; letter-spacing: -.02em; color: var(--fg); }
.mock__text p { max-width: 36cqw; margin-top: 2.2cqw; font-size: 2.3cqw; line-height: 1.3; opacity: .85; }
.mock__btn { display: inline-block; margin-top: 3cqw; padding: 1.5cqw 2.8cqw; border-radius: 99px; background: var(--ac); color: var(--btn-fg); font-size: 1.75cqw; font-weight: 600; box-shadow: 0 1.2cqw 2.6cqw -1cqw var(--ac); }

.mock--poster .mock__hero { align-items: flex-start; padding-top: 1.5cqw; }
.mock--poster .mock__text { width: 46%; }
.mock--poster .mock__text h3 { position: absolute; z-index: -1; left: 3.8cqw; bottom: 2.4cqw; line-height: .8; white-space: nowrap; }
.mock--outline .mock__text h3 { color: transparent; -webkit-text-stroke: .3cqw var(--fg); }

.mock__stage { position: absolute; z-index: 0; aspect-ratio: 1; pointer-events: none; }
.mock__glow { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 42%, transparent), transparent 78%); animation: glow 5s ease-in-out infinite; }
.mock__ring { position: absolute; inset: 4%; border-radius: 50%; border: .22cqw dashed color-mix(in srgb, var(--ac) 50%, transparent); animation: spin 50s linear infinite; }
@keyframes glow { 50% { opacity: .55; transform: scale(.93); } }
.mock__ecg { position: absolute; z-index: 0; left: 0; top: 36%; width: 100%; height: 28%; opacity: .5; }
.mock__shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 48%, transparent 58%) no-repeat;
  background-size: 280% 100%;
  animation: shine 8s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { background-position: 120% 0; } 90%, 100% { background-position: -20% 0; } }

/* анимации внутри иллюстраций */
.wcard .d1 { animation-delay: -1.4s; }
.wcard .d2 { animation-delay: -2.8s; }
.wcard .d3 { animation-delay: -4.1s; }
.a-steam path { animation: steam 3.2s ease-in-out infinite; }
.a-steam path:nth-child(2) { animation-delay: -1s; }
.a-steam path:nth-child(3) { animation-delay: -2s; }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(8px); } 50% { opacity: 1; transform: translateY(-6px); } }
.a-pole { animation: pole 1.8s linear infinite; }
@keyframes pole { to { transform: translateY(-31.74px); } }
.a-float { animation: floaty 4.2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-7px); } }
.a-twinkle { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.a-petals { animation: spin 60s linear infinite; }
.a-petals.d1 { animation-direction: reverse; }
.a-sway { transform-origin: 130px 292px; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.a-fall { transform-box: fill-box; transform-origin: center; animation: fall 6s linear infinite; }
@keyframes fall { 0% { opacity: 0; transform: translateY(-20px) rotate(0); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(170px) rotate(320deg); } }
.a-beat { transform-box: fill-box; transform-origin: center; animation: beat 1.3s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(.9); opacity: .65; } 15% { transform: scale(1.04); opacity: 1; } 30% { transform: scale(.95); } 45% { transform: scale(1.02); } }
.a-ecg { stroke-dasharray: 100; animation: ecg 2.6s linear infinite; }
@keyframes ecg { from { stroke-dashoffset: 100; } 70% { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.a-bounce { animation: bounce 2.4s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-9px); } 50% { transform: translateY(0); } 60% { transform: translateY(-3px); } 70% { transform: translateY(0); } }
.a-spin-wheel { transform-origin: 130px 130px; animation: spin 6s linear infinite; }
.a-mist { transform-box: fill-box; transform-origin: left center; animation: mist 2.2s ease-out infinite; }
@keyframes mist { 0% { opacity: 0; transform: translateX(-6px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(16px) scale(1.5); } }
.a-rise { animation: rise 5s ease-in-out infinite; }
@keyframes rise { 50% { transform: translateY(-12px); } }
.works:not(.is-visible) .wcard *, .wcard:not(.is-near) * { animation-play-state: paused !important; }

/* ---------- Process / Spiral ---------- */
.process { position: relative; height: 480vh; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.process__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: calc(var(--header-h) * .6); }
.process .h2 { font-size: clamp(34px, 4.4vw, 68px); }
.stages { position: relative; height: 230px; margin-top: clamp(28px, 4vh, 48px); }
.stage { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(26px); transition: opacity .45s ease, transform .6s var(--ease); pointer-events: none; }
.stage.is-past { transform: translateY(-26px); }
.stage.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage__day { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--lime); font-size: 13px; font-weight: 600; }
.stage h3 { margin: 16px 0 10px; font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.stage p { max-width: 470px; font-size: 18px; color: var(--ink-2); }
.process__counter { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; color: var(--muted); font-variant-numeric: tabular-nums; }
.process__counter b { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; color: var(--blue); }

.process__right { display: flex; justify-content: center; }
.spiral { width: 100%; max-width: min(640px, 74vh); height: auto; overflow: visible; }
.spiral__halo { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 9; transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite; }
.spiral__track { fill: none; stroke: rgba(16, 16, 20, .16); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; }
.spiral__line { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; }
.spiral__comet { fill: var(--blue); }
.spiral__comet-glow { fill: var(--blue); opacity: .16; }
.node__dot { fill: var(--paper); stroke: var(--line-strong); stroke-width: 2; transition: fill .4s, stroke .4s; }
.node__num { font-size: 12px; font-weight: 700; fill: var(--muted); text-anchor: middle; dominant-baseline: central; transition: fill .4s; }
.node__label { font-size: 16px; font-weight: 600; fill: var(--muted); dominant-baseline: central; paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; transition: fill .4s; }
.node.is-on .node__dot { fill: var(--blue); stroke: var(--blue); }
.node.is-on .node__num { fill: #fff; }
.node.is-on .node__label { fill: var(--ink); }
.node.is-current .node__dot { fill: var(--lime); stroke: var(--ink); }
.node.is-current .node__num { fill: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 11vw, 160px) 0; }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head .h2 { max-width: 14em; }

.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(69, 76, 194, .09), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tile:hover::after { opacity: 1; }
.tile h3 { margin-top: auto; padding-top: 24px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.tile p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.tile__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--paper); color: var(--blue); }
.tile__icon svg { width: 30px; height: 30px; }
.tile__icon--text { font-size: 24px; font-weight: 700; font-family: var(--serif); font-style: italic; }
.tile__icon .ico { width: 26px; height: 26px; }

.tile--big { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 40px 40px 0; background: var(--blue); color: #fff; }
.tile--big::after { background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(203, 224, 126, .16), transparent 45%); }
.tile--big .tile__text { align-self: start; }
.tile--big h3 { margin: 0; padding: 0; font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -.035em; line-height: 1.05; }
.tile--big p { margin-top: 16px; max-width: 320px; font-size: 16.5px; color: rgba(255, 255, 255, .75); }
.integr { display: flex; flex-wrap: wrap; gap: 6px; max-width: 330px; margin: 22px 0 0; padding: 0; list-style: none; }
.integr li { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .13); font-size: 13px; font-weight: 500; line-height: 1.2; }
.integr .integr__more { background: none; border: 1px dashed rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .75); }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; background: var(--ink); color: var(--paper); }
.tile--wide::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(203, 224, 126, .1), transparent 45%); }
.tile--wide h3 { margin: 0; padding: 0; }
.tile--wide p { color: rgba(243, 239, 231, .6); max-width: 330px; }

.phone { align-self: end; width: 250px; height: 400px; margin-bottom: -70px; padding: 10px; border-radius: 40px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 40, .7); }
.phone__screen { height: 100%; border-radius: 31px; background: #E9EEF5; overflow: hidden; color: var(--ink); }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 26px 16px 12px; background: #fff; font-size: 14px; }
.phone__head svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue); color: #fff; }
.phone__msgs { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; }
.msg { display: grid; gap: 2px; max-width: 92%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 12.5px; line-height: 1.35; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .25); opacity: 0; animation: msgIn 9s var(--ease) infinite; }
.msg span { color: var(--ink-2); }
.msg__src { justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 3px; padding: 2px 8px 2px 6px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 700; background: color-mix(in srgb, var(--c) 13%, #fff); color: color-mix(in srgb, var(--c) 75%, #000); }
.msg__src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.msg:nth-child(2) { animation-delay: 1.3s; } .msg:nth-child(3) { animation-delay: 2.6s; } .msg:nth-child(4) { animation-delay: 3.9s; }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 5%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }

.tile__chat { display: grid; gap: 8px; justify-items: end; flex: none; }
.bubble { padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: rgba(255, 255, 255, .1); font-size: 14px; }
.bubble--me { background: var(--lime); color: var(--ink); border-radius: 16px 16px 16px 4px; justify-self: start; }

/* ---------- Compare ---------- */
.compare { padding-top: 0; }
.compare__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.ccard { position: relative; padding: 34px; border-radius: var(--radius); background: var(--white); }
.ccard h3 { min-height: 2.4em; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.ccard ul { list-style: none; margin: 22px 0 0; padding: 0; }
.ccard li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.ccard small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ccard li span { font-size: 16px; }
.ccard:not(.ccard--us) li span { color: var(--ink-2); }
.ccard--us { background: var(--blue); color: #fff; box-shadow: 0 40px 80px -36px rgba(69, 76, 194, .6); }
.ccard--us li { border-color: rgba(255, 255, 255, .18); }
.ccard--us small { color: rgba(255, 255, 255, .6); }
.ccard--us li span { font-weight: 600; }
.ccard__badge { position: absolute; top: -16px; right: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 9px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.ccard__badge svg { width: 18px; height: 18px; }

/* ---------- Pricing ---------- */
.pricing { margin: 0 clamp(8px, 1vw, 16px); border-radius: clamp(28px, 4vw, 48px); background: var(--night); color: #fff; }
.pricing .h2 em { color: var(--lime); }
.pricing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.pricing__lead { max-width: 440px; margin: 0; font-size: 17px; color: rgba(255, 255, 255, .62); }
.pricing__head { margin-bottom: 48px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.plan--hot { background: var(--blue); border-color: transparent; box-shadow: 0 40px 90px -40px rgba(69, 76, 194, .7); }
.plan__badge { position: absolute; top: 24px; right: 24px; padding: 6px 11px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; }
.plan__name { font-size: 26px; letter-spacing: -.02em; }
.plan__desc { min-height: 3em; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .62); }
.plan--hot .plan__desc { color: rgba(255, 255, 255, .8); }
.plan__zero { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.plan__zero span { color: rgba(255, 255, 255, .62); }
.plan__zero b { color: var(--lime); font-size: 17px; }
.plan--hot .plan__zero { background: rgba(255, 255, 255, .12); }
.plan--hot .plan__zero span { color: rgba(255, 255, 255, .8); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 26px; }
.plan__price b { font-size: clamp(44px, 4vw, 58px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 18px; opacity: .7; }
.plan__list { flex: 1; list-style: none; display: grid; align-content: start; gap: 12px; margin: 0 0 30px; padding: 0; }
.plan__list li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.plan__list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--lime); }
.plan .btn { width: 100%; }

.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.guarantee { display: grid; gap: 4px; padding: 24px 28px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.guarantee b { font-size: 18px; }
.guarantee b::before { content: "✦ "; color: var(--lime); }
.guarantee span { font-size: 15px; color: rgba(255, 255, 255, .6); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq__left { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__hint { margin-top: 24px; max-width: 340px; color: var(--muted); }
.faq__hint a { color: var(--blue); font-weight: 600; }
.qa { border-top: 1px solid var(--line-strong); }
.qa:last-child { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  list-style: none;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -.015em;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); transition: background .3s, transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); }
.qa summary i::after { transform: rotate(90deg); }
.qa summary:hover i { background: var(--lime); }
.qa[open] summary i { transform: rotate(135deg); background: var(--blue); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa__body p { max-width: 640px; padding-bottom: 26px; font-size: 17px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- Articles (cards: landing + /blog/) ---------- */
.articles { padding-top: 0; }
.articles__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.articles__head .eyebrow { margin-bottom: 22px; }
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acard {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden; border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.acard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(16, 16, 20, .35); }
.acard__cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--paper-2); }
.acard__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px 26px 26px; }
.acard__meta { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.acard__title { font-size: 21px; line-height: 1.22; letter-spacing: -.02em; }
.acard__desc { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.acard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; }
.acard__more svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.acard:hover .acard__more svg { transform: translateX(4px); }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; z-index: 70; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 16px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 14px 14px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(16, 16, 20, .45), 0 0 0 1px var(--line);
  font-size: 14px; line-height: 1.45;
}
.cookie a { color: var(--blue); }
.cookie .btn { flex: none; }

/* ---------- Brief / Quiz ---------- */
.brief {
  position: relative;
  padding: clamp(100px, 12vw, 170px) 0;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  background: radial-gradient(110% 80% at 85% 0%, #2C3078 0%, #1A1C4A 50%, #111331 100%);
  color: #fff;
  overflow: clip;
}
.brief__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brief__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 580px); gap: clamp(30px, 5vw, 80px); align-items: center; }
.brief__title { margin-top: 4px; font-size: clamp(40px, 4.7vw, 76px); line-height: .98; letter-spacing: -.045em; }
.brief__title em { color: var(--lime); font-size: 1.14em; line-height: .8; }
.brief__lead { max-width: 500px; margin-top: 26px; font-size: 19px; color: rgba(255, 255, 255, .82); }
.brief__perks { list-style: none; display: grid; gap: 12px; margin: 30px 0 0; padding: 0; }
.brief__perks li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.brief__perks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--ink); }

.quiz { position: relative; display: flex; flex-direction: column; min-height: 540px; padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: var(--night); box-shadow: 0 60px 120px -50px rgba(0, 0, 40, .8); }
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.quiz__spiral { flex: none; width: 46px; height: 46px; }
.quiz__spiral path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.quiz__spiral .bg { stroke: rgba(255, 255, 255, .14); }
.quiz__spiral .fg { stroke: var(--lime); transition: stroke-dashoffset .8s var(--ease); }
.quiz__progress { flex: 1; }
.quiz__step-label { font-size: 14px; color: rgba(255, 255, 255, .6); }
.quiz__step-label b { color: #fff; }
.quiz__bar { height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--lime); transition: width .6s var(--ease); }

.quiz__step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz__step.is-active { display: block; animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.quiz__step legend { padding: 0; margin-bottom: 22px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.quiz__step legend small { margin-left: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .5); }

.options { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); font-size: 16px; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.opt:hover > span { border-color: rgba(255, 255, 255, .35); }
.opt:active > span { transform: scale(.97); }
.opt input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.options--cards { display: grid; grid-template-columns: 1fr 1fr; }
.opt--card > span { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; height: 100%; padding: 18px; }
.opt--card b { font-size: 17px; }
.opt--card small { font-size: 13px; opacity: .7; }
.options--inline { align-items: center; margin-top: 6px; }
.options__label { margin-right: 4px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.opt--sm > span { padding: 9px 14px; border-radius: 12px; font-size: 14px; }

.fields { display: grid; gap: 12px; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.field input { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 17px; transition: border-color .25s, background .25s; }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus { outline: none; border-color: var(--lime); background: rgba(255, 255, 255, .08); }
.field.is-invalid input { border-color: #FF7A7A; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .6); cursor: pointer; }
.consent a { color: #fff; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent center / 14px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s; }
.consent input:checked { background-color: var(--lime); border-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23101014' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.consent.is-invalid input { border-color: #FF7A7A; }

.quiz__error { min-height: 22px; margin: 16px 0 0; font-size: 14px; color: #FF9A9A; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.quiz__next { margin-left: auto; }
.quiz__done { margin: auto 0; padding: 30px 0; text-align: center; }
.quiz__done-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); color: var(--ink); animation: pop .7s var(--ease); }
.quiz__done-icon svg { width: 40px; height: 40px; }
.quiz__done h3 { font-size: 32px; letter-spacing: -.03em; }
.quiz__done p { max-width: 380px; margin: 12px auto 0; color: rgba(255, 255, 255, .7); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.quiz.is-done .quiz__top, .quiz.is-done .quiz__nav, .quiz.is-done .quiz__error { display: none; }

/* ---------- Footer ---------- */
.footer { padding: clamp(70px, 8vw, 110px) 0 30px; background: var(--night); color: #fff; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__contacts { display: grid; gap: 8px; }
.footer__contacts a { text-decoration: none; color: rgba(255, 255, 255, .7); transition: color .3s; }
.footer__contacts a:hover, .footer__nav a:hover { color: var(--lime); }
.footer__contacts .footer__phone { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer__nav a { text-decoration: none; color: rgba(255, 255, 255, .7); transition: color .3s; }
.footer__giant { display: flex; align-items: center; gap: .08em; margin: clamp(50px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); font-size: clamp(64px, 18vw, 290px); font-weight: 800; letter-spacing: -.06em; line-height: .8; }
.footer__giant svg { flex: none; width: .82em; height: .82em; color: var(--lime); will-change: transform; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .articles__grid { grid-template-columns: 1fr 1fr; }
  #articles .acard:nth-child(3) { display: none; }
  .hero__float--b { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--big { grid-row: span 1; min-height: 440px; }
  .plans, .guarantees { grid-template-columns: 1fr 1fr; }
  .plan--hot { grid-row: span 1; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav, .header__tg { display: none; }
  .burger { display: block; }
  .header .btn--sm { display: none; }

  .hero { justify-content: flex-end; padding-bottom: 28px; }
  .hero__canvas { opacity: .55; }
  .hero__float, .hero__scroll { display: none; }
  .hero__facts { margin-top: 44px; }
  .fact { padding: 0 18px; }

  .works__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .works__sub { font-size: 14.5px; }
  .helix { --cw: min(84vw, 520px); }

  .process__grid { grid-template-columns: 1fr; gap: 10px; padding-top: var(--header-h); }
  .process__left { display: contents; }
  .process__left .eyebrow, .process .h2 { order: 0; }
  .process__right { order: 1; }
  .spiral { max-width: min(86vw, 40vh); }
  .node__label { display: none; }
  .node__dot { r: 26px; stroke-width: 3; }
  .node__num { font-size: 20px; }
  .spiral__line { stroke-width: 7; }
  .spiral__comet { r: 12px; }
  .stages { order: 2; height: 210px; margin-top: 10px; }
  .stage p { font-size: 16px; }
  .process__counter { display: none; }
  .process .eyebrow { margin-bottom: 10px; }

  .compare__grid { grid-template-columns: 1fr; }
  .ccard h3 { min-height: 0; }
  .ccard--us { order: -1; margin-top: 16px; }

  .faq__grid, .brief__grid { grid-template-columns: 1fr; }
  .faq__left { position: static; }
}

@media (max-width: 640px) {
  .articles__grid { grid-template-columns: 1fr; }
  #articles .acard:nth-child(3) { display: flex; }
  .cookie { flex-direction: column; align-items: stretch; }
  body { font-size: 16px; }
  .btn { height: 56px; padding: 0 24px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .fact { padding: 0 10px; }
  .fact b { font-size: 19px; }
  .fact span { font-size: 12px; line-height: 1.3; }

  .works__sub { display: none; }
  .helix { --cw: 80vw; perspective: 1100px; }
  .wchip { font-size: 8.5px; }
  .wchip--r { left: auto !important; right: -3%; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .works__foot { padding-bottom: 22px; }
  .works__tags { display: none; }
  .round-btn { width: 46px; height: 46px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile h3 { margin-top: 18px; padding-top: 0; }
  .tile--big, .tile--wide { grid-column: span 1; }
  .tile--big { grid-template-columns: 1fr; padding: 30px 30px 0; min-height: 0; }
  .tile--big .phone { justify-self: center; margin-bottom: -120px; }
  .tile--wide { flex-direction: column; align-items: stretch; }
  .tile { min-height: 0; padding: 26px; }

  .plans, .guarantees { grid-template-columns: 1fr; }
  .options--cards { grid-template-columns: 1fr; }
  .opt > span { padding: 12px 15px; font-size: 15px; }
  .quiz { min-height: 0; border-radius: 26px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
}

@media (max-height: 700px) and (max-width: 900px) {
  .process .h2 { font-size: 30px; }
  .spiral { max-width: min(70vw, 30vh); }
}

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