/* =========================================================
   Bridgion.Tech — стили сайта
   ========================================================= */
:root {
  --bg: #07080A;
  --surface: #0E1014;
  --surface-2: #151821;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F2F4F7;
  --text-2: #C5CBD6;
  --muted: #8A93A6;
  --dim: #737C8E;
  --cyan: #3DE0FF;
  --violet: #7B5CFF;
  --grad: linear-gradient(90deg, #3DE0FF, #7B5CFF);
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 5.5vw, 80px);
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
body.is-loading { animation: unlock-scroll 0s 7s forwards; }
@keyframes unlock-scroll { to { overflow: visible; } }
/* ---------- intro / preloader ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: intro-fallback 0s 6s forwards;
}
@keyframes intro-fallback { to { visibility: hidden; opacity: 0; } }
.intro.is-done { display: none; }
.intro__center { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.intro__svg { width: min(260px, 60vw); overflow: visible; }
.intro__name { display: flex; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.03em; overflow: hidden; }
.intro__name span { display: inline-block; }
.intro__tech { color: var(--muted); }
.intro__tagline { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.intro__count { position: absolute; right: var(--gutter); bottom: 40px; font-size: 14px; color: var(--muted); }
.intro__line { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 80px); bottom: 48px; height: 1px; background: var(--line); }
.intro__line span { display: block; height: 100%; width: 0; background: var(--grad); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(123, 92, 255, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.accent { color: var(--cyan); }
.small { font-size: 12px; letter-spacing: .04em; }
.small-caps { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.divider { height: 1px; background: var(--line); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip:focus { top: 16px; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* noise */
.noise { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; background: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
  will-change: transform;
}
.btn--sm { height: 46px; padding: 0 20px; font-size: 15px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #07080A; }
.btn--primary { background-size: 200% 100%; background-image: linear-gradient(90deg, #3DE0FF, #7B5CFF, #3DE0FF); background-position: 0 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease); }
.btn--primary:hover { background-position: 100% 0; }
.btn--primary:hover { box-shadow: 0 14px 44px rgba(123, 92, 255, .45); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(61, 224, 255, .6); background: rgba(61, 224, 255, .06); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { box-shadow: 0 14px 44px rgba(242, 244, 247, .2); }
.btn .accent { color: var(--cyan); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-accent { color: var(--cyan); font-weight: 700; }
.link-accent:hover { text-decoration: underline; }
.link-btn { border: 0; background: none; color: var(--dim); font-size: 14px; text-decoration: underline; cursor: pointer; }


/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (min-width: 1025px) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 1500; pointer-events: none; }
  .cursor__ring, .cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(242, 244, 247, .35); transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s; }
  .cursor__dot { width: 5px; height: 5px; background: var(--cyan); }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(61, 224, 255, .08); border-color: rgba(61, 224, 255, .5); }
}

/* ---------- header ---------- */
.header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; transition: transform .45s var(--ease), background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(7, 8, 10, .72); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: var(--header-h); width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo__text { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.logo__text span { color: var(--muted); }
.nav { display: flex; gap: 34px; }
.nav__link { position: relative; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-mono); font-size: 12px; }
.lang__opt { height: 32px; min-width: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); transition: color .2s, background-color .2s; }
.lang__opt:hover { color: var(--text); }
.lang__opt.is-active { background: var(--text); color: var(--bg); }
.lang--lg .lang__opt { height: 44px; min-width: 64px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; right: 20px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; right: 14px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: radial-gradient(120% 60% at 100% 0%, rgba(123, 92, 255, .16), transparent 60%), var(--bg); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.mobile-menu nav a span { font-size: 12px; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__foot .lang { align-self: flex-start; margin-bottom: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 0; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--1 { width: 900px; height: 900px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(123, 92, 255, .24), rgba(123, 92, 255, 0) 65%); }
.hero__glow--2 { width: 800px; height: 800px; left: -360px; top: 280px; background: radial-gradient(circle, rgba(61, 224, 255, .11), rgba(61, 224, 255, 0) 65%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.hero__eyebrow { color: var(--muted); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse-dot 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse-dot { 50% { opacity: .35; } }
.hero__title { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { margin: 0; max-width: 580px; font-size: clamp(16px, 1.45vw, 20px); color: #A3ABBB; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__visual { position: relative; aspect-ratio: 10 / 9; width: 100%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip-float { position: absolute; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(21, 24, 33, .9); font-size: 13px; color: var(--text-2); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip-float--1 { left: 2%; top: 22%; }
.chip-float--2 { right: 0; top: 14%; border-color: rgba(123, 92, 255, .4); animation-delay: -2s; }
.chip-float--3 { left: 32%; top: 2%; border-color: rgba(61, 224, 255, .4); animation-delay: -4s; }
.chip-float--4 { right: 22%; bottom: 3%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.stats { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding-top: 22px; border-top: 1px solid var(--line-2); }
.stat__value { font-family: var(--font-display); font-size: clamp(30px, 3.3vw, 46px); font-weight: 500; letter-spacing: -.03em; }
.stat__label { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(64px, 8vw, 104px); border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; display: flex; flex-direction: column; gap: 14px; }
.marquee__track { display: flex; white-space: nowrap; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--dim); transition: color .3s; }
.marquee__item:hover { color: var(--text); }
.marquee__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; z-index: 2; padding-top: clamp(96px, 11vw, 160px); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section__titles { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .section__titles { align-items: center; }
.section__head--center .lead { max-width: 640px; }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.7vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.lead { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

.card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .35s, transform .5s var(--ease), background-color .35s; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 224, 255, .09), transparent 60%); }
.card:hover { border-color: rgba(61, 224, 255, .3); }
.card:hover::before { opacity: 1; }

/* services */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.featured { grid-column: 1 / -1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px, 3.5vw, 48px); border-radius: 28px; border: 1px solid rgba(61, 224, 255, .28); background: linear-gradient(120deg, rgba(61, 224, 255, .08), rgba(123, 92, 255, .13)); }
.featured__text { display: flex; flex-direction: column; gap: 14px; max-width: 740px; }
.featured__text .mono { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.featured__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.featured p { margin: 0; font-size: 17px; line-height: 1.6; color: #B7BECB; }
.service { min-height: 240px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.service:hover { transform: translateY(-4px); }
.service__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.service__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: background-color .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.service:hover .service__arrow { background: var(--grad); color: var(--bg); border-color: transparent; transform: rotate(45deg); }
.service__text { margin: 0; flex-grow: 1; font-size: 15px; color: var(--muted); }
.tags { font-size: 12px; color: #7D8697; }

/* stack */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tab { height: 46px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tab:hover { border-color: rgba(61, 224, 255, .5); color: var(--text); }
.tab.is-active { background: var(--text); color: var(--bg); border-color: transparent; }
.tab__count { font-family: var(--font-mono); font-size: 12px; opacity: .6; }
.stack__panels { position: relative; }
.stack__panel { display: none; gap: 48px; padding: clamp(24px, 3.2vw, 44px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.stack__panel.is-active { display: flex; }
.stack__info { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.stack__info > .mono.muted { font-size: 13px; }
.stack__name { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.stack__desc { margin: 0; color: #A3ABBB; }
.stack__builds { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.stack__builds li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.stack__builds li span { color: var(--violet); }
.stack__value { margin-top: auto; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(61, 224, 255, .2); background: rgba(61, 224, 255, .06); font-size: 14px; color: #B7BECB; }
.stack__value strong { color: var(--text); }
.stack__grid { flex-grow: 1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tech { min-height: 96px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, transform .4s var(--ease); }
.tech:hover { border-color: rgba(61, 224, 255, .5); transform: translateY(-3px); }
.tech__name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.tech__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 2px; background: var(--grad); }
.tech__desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.stack__missing { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 30px; border-radius: 20px; border: 1px dashed var(--line-2); color: #B7BECB; }

/* cases */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case:hover { transform: translateY(-6px); }
.case__art { position: relative; height: 280px; overflow: hidden; background: #11141B; }
.case__art--1 { background: radial-gradient(circle at 30% 20%, rgba(61, 224, 255, .35), transparent 60%), #11141B; }
.case__art--2 { background: radial-gradient(circle at 70% 20%, rgba(123, 92, 255, .4), transparent 60%), #11141B; }
.case__art--3 { background: radial-gradient(circle at 50% 10%, rgba(61, 224, 255, .25), rgba(123, 92, 255, .2) 40%, transparent 70%), #11141B; }
.case__screen { position: absolute; left: 40px; right: 40px; top: 48px; bottom: -1px; padding: 18px; border-radius: 16px 16px 0 0; border: 1px solid var(--line-2); border-bottom: 0; background: rgba(7, 8, 10, .72); display: flex; flex-direction: column; gap: 12px; transition: transform .6s var(--ease); }
.case:hover .case__screen { transform: translateY(-12px); }
.case__dots { display: flex; gap: 6px; }
.case__dots span { width: 8px; height: 8px; border-radius: 50%; background: #3A404D; }
.case__bar { height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .13); }
.case__bar--1 { width: 60%; height: 14px; }
.case__bar--2 { width: 82%; height: 10px; background: rgba(255, 255, 255, .07); }
.case__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.case__tiles span { height: 56px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.case__body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 12px; }
.case__metric { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); }
.case__metric span { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--cyan); }

/* process */
.process { position: relative; }
.process__line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.process__line span { display: block; height: 100%; background: var(--grad); transform-origin: left; box-shadow: 0 0 16px rgba(61, 224, 255, .5); }
.process__steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; box-shadow: 0 0 20px rgba(61, 224, 255, .35); }
.step__title { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.3; }
.step__text { margin: 0; font-size: 15px; color: var(--muted); }

/* why */
.why { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.why:hover { transform: translateY(-4px); }
.why__num { width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(61, 224, 255, .25); background: rgba(61, 224, 255, .1); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--cyan); }
.why__text { margin: 0; font-size: 15px; color: var(--muted); }

/* formats */
.formats { align-items: stretch; }
.format { position: relative; padding: clamp(28px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 22px; }
.format--featured { border-color: rgba(61, 224, 255, .5); background: linear-gradient(180deg, rgba(61, 224, 255, .08), var(--surface) 55%); box-shadow: 0 30px 80px rgba(123, 92, 255, .2); }
.format__badge { position: absolute; z-index: 3; top: -14px; left: 40px; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--grad); color: var(--bg); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; }
.format__title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.format__text { margin: 0; font-size: 15px; color: var(--muted); }
.format__estimate { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.format__estimate span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.format__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; font-size: 15px; color: var(--text-2); }
.format__list li { display: flex; gap: 10px; }
.format__list .ico { width: 18px; height: 18px; color: var(--cyan); margin-top: 2px; }

/* reviews */
.review { margin: 0; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 24px; }
.review__quote { font-family: var(--font-display); font-size: 44px; line-height: .6; color: var(--violet); }
.review blockquote { margin: 0; flex-grow: 1; font-size: 17px; color: var(--text-2); }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--muted); font-size: 14px; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #1C2030, #2A2F45); border: 1px solid var(--line-2); }

/* faq */
.faq { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; }
.faq__head { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.faq__h { margin: 0; }
.faq__q { width: 100%; padding: 20px 0; border: 0; background: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; cursor: pointer; transition: color .2s; }
.faq__q:hover { color: var(--cyan); }
.faq__icon { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); border-color: rgba(61, 224, 255, .5); color: var(--cyan); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { margin: 0; padding: 0 60px 20px 0; color: var(--muted); max-width: 62ch; }

/* cta */
.section--cta { padding-bottom: clamp(80px, 9vw, 130px); }
.cta { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 80px); border-radius: 40px; border: 1px solid rgba(61, 224, 255, .3); background: #0B0D12; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta__glow { position: absolute; left: 50%; top: 100%; width: 1100px; height: 700px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .45), rgba(61, 224, 255, .12) 45%, transparent 70%); pointer-events: none; }
.cta__title { position: relative; margin: 0; max-width: 920px; font-family: var(--font-display); font-size: clamp(30px, 4.3vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; }
.cta__text { position: relative; margin: 0; max-width: 580px; font-size: clamp(16px, 1.4vw, 19px); color: #B7BECB; }
.cta__btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta .btn--ghost { background: rgba(7, 8, 10, .4); }

/* footer */
.footer { position: relative; z-index: 2; padding: 64px 0 48px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__brand { max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.footer__brand p { margin: 0; }
.footer__cols { display: flex; gap: 96px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__cols a { color: var(--text-2); transition: color .2s; }
.footer__cols a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--dim); }
.footer__bottom a:hover { color: var(--text); }

/* floating telegram + mobile bar */
.tg-float { position: fixed; right: 28px; bottom: 28px; z-index: 80; width: 62px; height: 62px; border-radius: 50%; background: var(--grad); color: var(--bg); display: flex; align-items: center; justify-content: center; animation: tg-pulse 2.6s ease-in-out infinite; transition: transform .4s var(--ease), opacity .4s; }
.tg-float .ico { width: 28px; height: 28px; stroke-width: 2; }
.tg-float:hover { transform: scale(1.08); }
.tg-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
@keyframes tg-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 224, 255, .45); } 50% { box-shadow: 0 0 0 16px rgba(61, 224, 255, 0); } }
.mobile-bar { display: none; }

/* ---------- brief overlay ---------- */
.brief { position: fixed; inset: 0; z-index: 950; display: grid; grid-template-columns: 460px minmax(0, 1fr); background: var(--bg); }
.brief[hidden] { display: none; }
.brief__rail { position: relative; overflow: hidden; padding: 44px 48px; border-right: 1px solid var(--line); background: #0B0D12; display: flex; flex-direction: column; gap: 44px; }
.brief__glow { position: absolute; left: -200px; bottom: -260px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .25), transparent 65%); pointer-events: none; }
.brief__intro { position: relative; display: flex; flex-direction: column; gap: 12px; }
.brief__intro p { margin: 0; }
.brief__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.brief__steps { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.brief__steps li { height: 54px; padding: 0 14px; border-radius: 16px; display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--dim); transition: background-color .3s, color .3s; }
.brief__dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; transition: all .3s; }
.brief__steps li.is-current { background: rgba(255, 255, 255, .06); color: var(--text); }
.brief__steps li.is-current .brief__dot { background: var(--grad); color: var(--bg); border-color: transparent; }
.brief__steps li.is-done { color: var(--text-2); }
.brief__steps li.is-done .brief__dot { background: rgba(61, 224, 255, .15); border-color: rgba(61, 224, 255, .4); color: var(--cyan); }
.brief__tg { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(7, 8, 10, .5); transition: border-color .3s; }
.brief__tg:hover { border-color: rgba(61, 224, 255, .5); }
.brief__tg b { display: block; }
.brief__tg small { color: var(--muted); font-size: 14px; }
.brief__tg-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--grad); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.brief__main { position: relative; overflow-y: auto; padding: 44px clamp(24px, 6vw, 96px); display: flex; flex-direction: column; }
.brief__top { display: flex; flex-direction: column; gap: 14px; }
.brief__progress-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.brief__close { border: 0; background: none; color: var(--muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }
.brief__close:hover { color: var(--text); }
.brief__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.brief__bar span { display: block; height: 100%; width: 20%; background: var(--grad); border-radius: 4px; transition: width .5s var(--ease); }
.brief__form { flex-grow: 1; display: flex; flex-direction: column; padding-top: clamp(32px, 6vh, 64px); }
.hp { position: absolute; left: -9999px; }
.brief__form[hidden] { display: none; }
.bstep { display: none; margin: 0; padding: 0; border: 0; min-width: 0; flex-direction: column; gap: 24px; }
.bstep.is-active { display: flex; }
.bstep__title { float: left; width: 100%; margin: 0; padding: 0; font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.bstep__hint { margin: -10px 0 0; font-size: 17px; color: var(--muted); }
.bstep__error { display: none; margin: 0; color: #FF8A8A; font-size: 14px; font-weight: 600; }
.bstep__error.is-shown { display: block; }
.opts { display: grid; gap: 12px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt, .pill { position: relative; cursor: pointer; }
.opt input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span { min-height: 88px; padding: 16px 22px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 16px; font-weight: 600; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.opt > span em { font-style: normal; font-size: 12px; opacity: .55; }
.opt--tall > span { min-height: 116px; }
.opt--tall strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.opt--tall small { font-size: 14px; font-weight: 500; color: var(--muted); }
.opt:hover > span { border-color: rgba(61, 224, 255, .45); }
.opt input:checked + span { border-color: rgba(61, 224, 255, .75); background: linear-gradient(135deg, rgba(61, 224, 255, .12), rgba(123, 92, 255, .15)); box-shadow: inset 0 0 0 1px rgba(61, 224, 255, .2); }
.opt input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill > span { height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--text-2); transition: all .25s; }
.pill:hover > span { border-color: rgba(61, 224, 255, .45); }
.pill input:checked + span { background: var(--text); color: var(--bg); border-color: transparent; }
.bgroup { display: flex; flex-direction: column; gap: 14px; }
textarea, .field input { width: 100%; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: 16px; transition: border-color .25s; outline: none; }
textarea { min-height: 180px; padding: 18px 20px; line-height: 1.6; resize: vertical; }
textarea:focus, .field input:focus { border-color: rgba(61, 224, 255, .65); }
::placeholder { color: #6E7686; }
.drop { position: relative; min-height: 96px; padding: 16px 20px; border-radius: 18px; border: 1px dashed rgba(61, 224, 255, .4); background: rgba(61, 224, 255, .04); display: flex; align-items: center; justify-content: center; gap: 14px; cursor: pointer; color: var(--text-2); text-align: center; transition: background .25s, border-color .25s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ico { width: 24px; height: 24px; color: var(--cyan); }
.drop b { color: var(--cyan); }
.drop small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.drop.is-over { background: rgba(61, 224, 255, .1); border-color: var(--cyan); }
.files { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.files li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; }
.files button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field input { height: 58px; padding: 0 20px; }
.field input.is-invalid { border-color: #FF8A8A; }
.consent { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--cyan); flex-shrink: 0; }
.consent a { color: var(--text-2); text-decoration: underline; }
.brief__nav { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.brief__nav [data-prev].is-hidden { visibility: hidden; }
.brief__result { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.brief__result[hidden] { display: none; }
.brief__result p { margin: 0; max-width: 520px; font-size: 18px; }
.brief__check { width: 112px; height: 112px; border-radius: 50%; background: var(--grad); color: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 80px rgba(123, 92, 255, .45); }
.brief__check .ico { width: 52px; height: 52px; stroke-width: 2.4; }
.brief__check--fail { background: #2A1418; color: #FF8A8A; border: 1px solid rgba(255, 138, 138, .4); box-shadow: none; font-family: var(--font-display); font-size: 48px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .nav { gap: 24px; }
  .hide-md { display: none; }
  .stack__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
  .stack__panel.is-active { flex-direction: column; }
  .stack__info { width: auto; }
  .process__line { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .process__line span { transform-origin: top; }
  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; row-gap: 6px; }
  .step__num { grid-row: span 2; }
  .step__title { padding-top: 10px; }
  .formats { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__head { position: static; }
  .brief { grid-template-columns: 1fr; }
  .brief__rail { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hide-sm { display: none; }
  .header .lang { display: none; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__text { gap: 22px; }
  .hero__ctas .btn { width: 100%; }
  .chip-float { font-size: 11px; padding: 7px 11px; }
  .bento, .grid-3 { grid-template-columns: 1fr; }
  .featured { flex-direction: column; align-items: flex-start; }
  .featured .btn { width: 100%; }
  .service { min-height: 0; padding: 24px; }
  .stack__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tech { min-height: 0; padding: 12px; }
  .tech__name { font-size: 14px; }
  .tech__desc { font-size: 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; height: 42px; padding: 0 16px; font-size: 14px; }
  .stack__missing { flex-direction: column; align-items: flex-start; padding: 20px; }
  .marquee { padding-block: 16px; gap: 10px; }
  .marquee__item { font-size: 17px; gap: 36px; padding-right: 36px; }
  .cta { border-radius: 28px; }
  .cta__btns .btn { width: 100%; }
  .footer { padding-bottom: 120px; }
  .footer__top, .footer__cols { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .tg-float { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 11, 15, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .4s var(--ease); }
  .mobile-bar .btn { height: 52px; padding: 0 16px; font-size: 15px; }
  .mobile-bar .btn--primary { flex-grow: 1; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .opts--3, .opts--2, .fields { grid-template-columns: 1fr; }
  .opts--3 { grid-template-columns: 1fr 1fr; }
  .opt > span { min-height: 72px; padding: 14px 16px; font-size: 14px; }
  .brief__main { padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  .brief__nav .btn { flex: 1; padding: 0 14px; }
  .faq__a p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
@media (max-width: 720px) {
  .chip-float--1, .chip-float--4 { display: none; }
  .chip-float--3 { left: 4%; top: 6%; }
}

/* =========================================================
   Motion layer v2
   ========================================================= */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* scroll progress */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 120; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(61, 224, 255, .6); }

/* hero dot grid with cursor spotlight */
.hero__grid-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(242, 244, 247, .16) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(420px circle at var(--gx, 70%) var(--gy, 40%), #000 0%, transparent 70%);
  mask-image: radial-gradient(420px circle at var(--gx, 70%) var(--gy, 40%), #000 0%, transparent 70%);
  opacity: .9; transition: opacity .4s; }

/* gradient shimmer on accent words */
.grad { background-size: 200% 100%; background-image: linear-gradient(90deg, #3DE0FF, #7B5CFF, #3DE0FF); animation: shimmer 12s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* button label roll */
.btn .ico { transition: transform .45s var(--ease); }

/* animated gradient border */
.featured, .format--featured { isolation: isolate; }
.featured::after, .format--featured::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--angle), transparent 0 60%, rgba(61, 224, 255, .8) 75%, rgba(123, 92, 255, .8) 88%, transparent 100%);
  -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: spin-border 9s linear infinite; }
@keyframes spin-border { to { --angle: 360deg; } }

/* 3D tilt */

/* sliding tab indicator */
.tabs { position: relative; }
.tabs__ind { position: absolute; left: 0; top: 0; height: 46px; width: 0; border-radius: 999px; background: var(--text); z-index: 0; pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
.tab { position: relative; z-index: 1; }
.tabs.has-ind .tab.is-active { background: transparent; }
@media (max-width: 720px) { .tabs__ind { height: 42px; } }

/* process steps light up */
.step__num { transition: background-color .5s, color .5s, box-shadow .5s, transform .5s var(--ease); }
.step.is-lit .step__num { background: var(--grad); color: var(--bg); border-color: transparent; box-shadow: 0 0 30px rgba(61, 224, 255, .55); transform: scale(1.08); }
.js-motion .step:not(.is-lit) .step__num { border-color: var(--line-2); box-shadow: none; color: var(--muted); }

/* big moving text band */
.band { position: relative; z-index: 2; margin-top: clamp(96px, 11vw, 160px); padding-block: clamp(18px, 2.4vw, 32px); overflow: hidden; border-block: 1px solid var(--line); display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 22px); }
.band__row { display: flex; width: max-content; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 7vw, 116px); line-height: 1.2; letter-spacing: -.01em; will-change: transform; }
.band__row span { padding-right: .4em; }
.band__row:first-child { color: var(--text); }
.band__row--outline { font-weight: 500; }
.band__row--outline span { background: linear-gradient(90deg, rgba(61, 224, 255, .38), rgba(123, 92, 255, .38)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA perspective grid */
.cta__grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(61, 224, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 92, 255, .35) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  animation: grid-move 3s linear infinite; }
@keyframes grid-move { to { background-position: 0 64px, 0 0; } }

/* eyebrow scramble keeps width steady */
.eyebrow[data-scramble] { font-variant-numeric: tabular-nums; }

/* marquee driven by JS */
.marquee.is-js .marquee__track { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .grad, .featured::after, .format--featured::after, .cta__grid { animation: none; }
}
html, body { overflow-x: clip; }
.chip-float { transition: translate .6s cubic-bezier(.22,1,.36,1); }
@media (min-width: 1025px) { #process { padding-bottom: 40px; } }
/* process meter (desktop, during pin) */
.process__meter { display: none; }
@media (min-width: 1025px) {
  .process__meter { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
  .process__count { font-family: var(--font-display); font-weight: 600; font-size: clamp(88px, 10vw, 160px); line-height: .85; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
  .process__count small { font-size: .28em; letter-spacing: -.02em; -webkit-text-fill-color: var(--dim); margin-left: 10px; }
  .process__now { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; }
  .process__now strong { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.02em; }
  .process__pct { padding-bottom: 18px; font-size: 14px; color: var(--muted); }
}

/* =========================================================
   Motion layer v3 — dynamics
   ========================================================= */
/* hero word rotator */
.rotator { display: inline-block; position: relative; white-space: nowrap; }
.rotator .grad { display: inline-block; }
.rotator .ch { display: inline-block; will-change: transform, opacity; }

/* drifting ambient glows */
.hero__glow--1 { animation: drift-1 18s ease-in-out infinite alternate; }
.hero__glow--2 { animation: drift-2 22s ease-in-out infinite alternate; }
@keyframes drift-1 { 0% { translate: 0 0; } 50% { translate: -120px 80px; } 100% { translate: 60px 140px; } }
@keyframes drift-2 { 0% { translate: 0 0; } 50% { translate: 160px -60px; } 100% { translate: 60px 90px; } }

/* huge section numbers */
.section__head { position: relative; }
.section__bgnum { position: absolute; right: -1%; top: -0.35em; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(120px, 17vw, 260px); line-height: 1; letter-spacing: -.06em;
  color: rgba(242, 244, 247, .035); }
.section__head--center .section__bgnum { right: auto; left: 50%; translate: -50% 0; }
.section { isolation: isolate; }

/* second marquee row */
.marquee__track--alt { animation-direction: reverse; animation-duration: 55s; }
.marquee__item--alt { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--muted); gap: 40px; padding-right: 40px; }
.marquee__item--alt i { background: var(--cyan); width: 5px; height: 5px; }
@media (max-width: 720px) { .marquee__item--alt { font-size: 14px; gap: 26px; padding-right: 26px; } }

/* stack autoplay progress */
.tabs__ind::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(var(--tp, 0)); transform-origin: left; opacity: 0; transition: opacity .3s; }
.tabs.is-auto .tabs__ind::after { opacity: 1; }

/* faq / list stagger helpers */

@media (prefers-reduced-motion: reduce) {
  .hero__glow--1, .hero__glow--2 { animation: none; }
}
.rot-word { display: inline-block; perspective: 600px; }
.hero__title .w:has(> span > .rotator) { display: block; }
/* 3D bridge labels */
.hero__canvas--3d { position: absolute; inset: -6% -10%; width: 120%; height: 112%; }
.bridge-label { position: absolute; left: 0; top: 0; font-size: 12px; letter-spacing: .16em; color: var(--muted); pointer-events: none; opacity: 0; white-space: nowrap; transition: opacity .6s; }

/* =========================================================
   v4 — light section, NDA, legal pages, 404
   ========================================================= */
.section--light { margin: clamp(96px, 11vw, 160px) clamp(8px, 1.6vw, 24px) 0; padding-block: clamp(80px, 9vw, 130px); border-radius: clamp(28px, 3vw, 44px); background: #EEF0F5; color: #0B0D12; overflow: hidden; }
.section--light .eyebrow { color: #5B3FE0; }
.section--light .h2 { color: #0B0D12; }
.section--light .lead { color: #4F586A; }
.section--light .section__bgnum { color: rgba(11, 13, 18, .05); }
.section--light .card { background: #FFFFFF; border-color: rgba(11, 13, 18, .08); box-shadow: 0 1px 0 rgba(11, 13, 18, .03), 0 18px 40px -24px rgba(11, 13, 18, .18); }
.section--light .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, .10), transparent 60%); }
.section--light .card:hover { border-color: rgba(123, 92, 255, .35); }
.section--light .h3 { color: #0B0D12; }
.section--light .why__text { color: #4F586A; }
.section--light .why__num { color: #5B3FE0; background: rgba(123, 92, 255, .1); border-color: rgba(123, 92, 255, .25); }
.section--light ::selection { background: rgba(123, 92, 255, .3); color: #0B0D12; }

.section--nda { padding-top: clamp(40px, 5vw, 64px); }
.nda { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(123, 92, 255, .10), rgba(14, 16, 20, .9) 45%), var(--surface); }
.nda__icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--cyan); background: rgba(61, 224, 255, .08); border: 1px solid rgba(61, 224, 255, .25); }
.nda__icon svg { width: 30px; height: 30px; }
.nda__text { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
.nda__title { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.nda__text p { margin: 0; max-width: 720px; color: var(--muted); }
@media (max-width: 860px) { .nda { flex-direction: column; align-items: flex-start; } .nda .btn { width: 100%; } }

/* legal page */
.page-simple .header { position: sticky; }
.legal { padding: 64px 0 96px; max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.legal__back { font-size: 13px; color: var(--muted); }
.legal__back:hover { color: var(--cyan); }
.legal__title { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.legal__sec { padding-top: 22px; border-top: 1px solid var(--line); }
.legal__sec h2 { margin: 0 0 10px; display: flex; gap: 14px; align-items: baseline; font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.legal__sec h2 .mono { font-size: 13px; }
.legal__sec p { margin: 0; color: var(--text-2); max-width: 68ch; }
.legal__sec a { color: var(--cyan); }

/* 404 */
.nf { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 48px var(--gutter); text-align: center; overflow: hidden; }
.nf__glow { position: absolute; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .28), transparent 65%); pointer-events: none; }
.nf__code { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(120px, 24vw, 300px); line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf__row { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 560px; }
.nf__row p { margin: 0; }
.nf__title { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; }

/* =========================================================
   v5 — anonymized NDA cases
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.case .case__art { position: relative; height: 300px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgba(123, 92, 255, .22), transparent 60%), #0B0D13; border-bottom: 1px solid var(--line); }
.case__nda { position: absolute; top: 18px; right: 18px; z-index: 3; height: 28px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 8, 10, .6); font-size: 11px; letter-spacing: .14em; color: var(--text-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case__nda::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.case__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.case__title { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.case__text { margin: 0; color: var(--muted); }
.case__scope { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.case__scope li { height: 32px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); }
.case__metric { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.case__metric span { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__metric--nda { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.case:hover .art { transform: scale(1.04); }
.art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .8s var(--ease); }

/* iGaming: row of cases + roulette pointer */
.art__cases { display: flex; gap: 14px; animation: roll 7s cubic-bezier(.3, 0, .2, 1) infinite; }
@keyframes roll { 0%, 10% { transform: translateX(120px); } 60%, 100% { transform: translateX(-120px); } }
.art__box { position: relative; width: 92px; height: 92px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(160deg, #1A1E2B, #0F1118); display: flex; align-items: center; justify-content: center; }
.art__box i { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(180deg, rgba(123, 92, 255, .9), rgba(61, 224, 255, .7)); box-shadow: 0 0 24px rgba(123, 92, 255, .5); }
.art__box--1 i { background: linear-gradient(180deg, #3DE0FF, #2B8CFF); }
.art__box--2 { border-color: rgba(61, 224, 255, .6); box-shadow: 0 0 40px rgba(61, 224, 255, .35); }
.art__box--2 i { background: linear-gradient(180deg, #FFD36B, #FF8A3D); box-shadow: 0 0 30px rgba(255, 170, 70, .6); }
.art__box--3 i { background: linear-gradient(180deg, #7B5CFF, #C45CFF); }
.art__line { position: absolute; left: 10%; right: 10%; top: calc(50% + 62px); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); }
.art__pointer { position: absolute; left: 50%; top: calc(50% - 70px); width: 2px; height: 140px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); }

/* Platform: dashboard window */
.art__win { width: 78%; height: 72%; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(7, 8, 10, .75); display: flex; overflow: hidden; }
.art__side { width: 22%; padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.art__side i { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.art__side i:first-child { background: var(--grad); opacity: .8; }
.art__main { flex-grow: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.art__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.art__kpis i { height: 38px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.art__chart { width: 100%; height: 60px; }
.art__chart path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 400; } 55%, 100% { stroke-dashoffset: 0; } }
.art__rows { display: flex; flex-direction: column; gap: 8px; }
.art__rows i { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.art__rows i:last-child { width: 70%; }

/* Web3: hexagons + coin */
.art__hex { position: absolute; width: 120px; height: 138px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, rgba(123, 92, 255, .5), rgba(61, 224, 255, .15)); animation: hexfloat 6s ease-in-out infinite; }
.art__hex--1 { left: 18%; top: 22%; }
.art__hex--2 { right: 16%; top: 14%; width: 90px; height: 104px; opacity: .6; animation-delay: -2s; }
.art__hex--3 { right: 26%; bottom: 10%; width: 70px; height: 81px; opacity: .5; animation-delay: -4s; }
@keyframes hexfloat { 50% { transform: translateY(-12px) rotate(8deg); } }
.art__coin { position: relative; width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(from 0deg, #3DE0FF, #7B5CFF, #3DE0FF); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 60px rgba(123, 92, 255, .55); animation: coin 4s linear infinite; }
.art__coin span { width: 84px; height: 84px; border-radius: 50%; background: #0B0D13; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--cyan); }
@keyframes coin { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }

/* Tapper: phone with tap target */
.art__phone { position: relative; width: 150px; height: 250px; margin-top: 60px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #151826, #0B0D13); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.art__tap { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 40px rgba(61, 224, 255, .45); animation: tap 1.2s ease-in-out infinite; }
.art__tap span { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(61, 224, 255, .6); animation: ripple 1.2s ease-out infinite; }
@keyframes tap { 0%, 100% { transform: scale(1); } 15% { transform: scale(.9); } }
@keyframes ripple { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.art__score { position: absolute; top: 42px; font-size: 18px; color: var(--cyan); animation: plus 1.2s ease-out infinite; }
@keyframes plus { 0% { transform: translateY(10px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-24px); opacity: 0; } }
.art__bar { width: 70%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.art__bar i { display: block; height: 100%; width: 60%; background: var(--grad); animation: fill 3s ease-in-out infinite; }
@keyframes fill { 0% { width: 10%; } 100% { width: 95%; } }
@media (max-width: 720px) { .case .case__art { height: 240px; } .art__box { width: 72px; height: 72px; } .case__body { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .art * { animation: none !important; } }
.faq__cta { align-self: flex-start; margin-top: 8px; }

/* =========================================================
   Buttons v2 — calm, premium hover
   ========================================================= */
.btn { isolation: isolate; overflow: hidden; transition: box-shadow .5s var(--ease), border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease); }
.btn--primary, .btn--primary:hover { background-image: var(--grad); background-size: 100% 100%; background-position: 0 0; }
/* световой блик проходит по кнопке */
.btn--primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg) translateX(0); opacity: 0; }
.btn--primary:hover::after { animation: btn-sheen .9s var(--ease) forwards; }
@keyframes btn-sheen { 0% { opacity: 1; transform: skewX(-20deg) translateX(0); } 100% { opacity: 1; transform: skewX(-20deg) translateX(420%); } }
.btn--primary:hover { box-shadow: 0 10px 36px -8px rgba(123, 92, 255, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
/* светлая кнопка */
.btn--light::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad); opacity: 0; transition: opacity .5s var(--ease); }
.btn--light:hover { color: #07080A; box-shadow: 0 10px 36px -10px rgba(61, 224, 255, .45); }
.btn--light:hover::after { opacity: 1; }
/* контурная кнопка: заливка поднимается снизу */
.btn--ghost::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(61, 224, 255, .10), rgba(123, 92, 255, .12));
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.btn--ghost:hover { background: transparent; border-color: rgba(61, 224, 255, .55); color: var(--text); }
.btn--ghost:hover::before { transform: scaleY(1); }
/* иконки */
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn:hover .ico.accent:first-child { transform: translate(2px, -2px) rotate(-8deg); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn--primary:hover::after { animation: none; } }
@media (pointer: fine) and (min-width: 1025px) {
  .cursor__ring { transition: width .35s var(--ease), height .35s var(--ease), background-color .3s, border-color .3s, opacity .3s; }
  .cursor.is-btn .cursor__ring { width: 12px; height: 12px; opacity: 0; }
  .cursor.is-btn .cursor__dot { opacity: 0; }
  .cursor__dot { transition: opacity .25s; }
}
.section__bgnum::before { content: attr(data-n); }
.legal__sec a { text-decoration: underline; text-underline-offset: 3px; }

/* touch devices: no sticky hover lifts */
@media (hover: none) {
  .card:hover, .service:hover, .why:hover, .case:hover, .tech:hover { transform: none; }
  .case:hover .art { transform: none; }
  .btn--primary:hover::after { animation: none; }
}
body.menu-open .mobile-bar, body.menu-open .tg-float { opacity: 0; pointer-events: none; }

/* ---------- страницы услуг (SEO-лендинги) ---------- */

.svc { position: relative; z-index: 2; }
.svc__hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); }
.svc__glow { position: absolute; right: -160px; top: -320px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .3), rgba(61, 224, 255, .08) 45%, transparent 70%); pointer-events: none; }
.svc__hero .container { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.svc__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--dim); }
.svc__crumbs a:hover { color: var(--cyan); }
.svc__crumbs [aria-current] { color: var(--muted); }
.svc__title { margin: 0; max-width: 16ch; font-family: var(--font-display); font-size: clamp(34px, 5.6vw, 80px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.svc__lead { margin: 0; max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); }
.svc__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.svc__sec { padding-top: clamp(64px, 8vw, 120px); }
.svc__sec .h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.svc__what { margin: 0; }
.svc__card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.svc__card p { margin: 0; color: var(--muted); font-size: 15px; }
.svc__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.svc__split > div { display: flex; flex-direction: column; align-items: flex-start; }
.svc__text { margin: 0 0 24px; max-width: 52ch; color: var(--text-2); }
.svc__chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc__chips li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--text-2); }
.svc__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc__steps li { display: flex; flex-direction: column; gap: 14px; }
.svc__factors { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.svc__factors ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.svc__factors li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.svc__factors .ico { color: var(--cyan); margin-top: 3px; }
.svc__faq summary { list-style: none; }
.svc__faq summary::-webkit-details-marker { display: none; }
.svc__faq details[open] .faq__icon { transform: rotate(45deg); border-color: rgba(61, 224, 255, .5); color: var(--cyan); }
.svc__faq details p { margin: 0; padding: 0 60px 20px 0; color: var(--muted); max-width: 62ch; }
.svc__others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc__other { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.svc__other:hover { color: var(--cyan); }
@media (max-width: 1024px) {
  .svc__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__split { grid-template-columns: 1fr; }
  .svc__others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .svc__steps, .svc__factors ul, .svc__others { grid-template-columns: 1fr; }
  .svc__faq details p { padding-right: 0; }
  .page-simple:has(.svc) { padding-bottom: 80px; }
}

/* ---------- каталог услуг ---------- */
.svc__sec--tight { padding-top: 16px; }
.hub { display: flex; flex-direction: column; gap: 16px; }
.hub__item { padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: start; }
.hub__text { display: flex; flex-direction: column; gap: 12px; }
.hub__text p { margin: 0; max-width: 70ch; color: var(--muted); }
.hub__title { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.hub__item:hover .hub__title { color: var(--cyan); }
.hub__item:hover .service__arrow { background: var(--grad); color: var(--bg); border-color: transparent; transform: rotate(45deg); }

/* ---------- блог: карточки ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.post p { margin: 0; flex-grow: 1; color: var(--muted); font-size: 15px; }
.post:hover .h3 { color: var(--cyan); }
.post__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--cyan); }
.posts__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.posts__head .h2 { margin: 0; }

/* ---------- блог: статья ---------- */
.article__wrap { max-width: 820px; }
.article__head .container { display: flex; flex-direction: column; gap: 20px; }
.article__title { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--dim); }
.article__toc { margin: 8px 0 40px; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.article__toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.article__toc a { color: var(--text-2); }
.article__toc a:hover { color: var(--cyan); }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { margin: 2em 0 .6em; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin: 1.6em 0 .5em; font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--text); }
.prose h4 { margin: 1.4em 0 .4em; font-size: 18px; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--violet); color: var(--text); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--font-mono); font-size: .85em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.prose pre { overflow-x: auto; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; }
.article__service { margin-top: 48px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-color: rgba(61, 224, 255, .3); }
.article__service-title { margin-top: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 500; }
@media (max-width: 1024px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .posts { grid-template-columns: 1fr; }
  .hub__item { grid-template-columns: 1fr; }
  .hub__item .service__arrow { display: none; }
  .prose { font-size: 17px; }
  .article__service { flex-direction: column; align-items: flex-start; }
  .posts__head { flex-direction: column; }
}

/* ---------- кликабельные карточки и технологии на главной ---------- */
.stack__name a:hover { color: var(--cyan); }
.stack__more { font-size: 14px; }
.stack__grid > li { display: flex; }
.stack__grid > li > a.tech { flex: 1; color: inherit; }
a.tech:hover .tech__name { color: var(--cyan); }

/* ---------- страницы технологий ---------- */
.svc__title--wide { max-width: 22ch; }
.svc__chips a { display: block; color: inherit; }
.svc__chips li:has(a) { padding: 0; }
.svc__chips li > a { padding: 10px 16px; }
.svc__chips li:has(a):hover { border-color: rgba(61, 224, 255, .6); color: var(--cyan); }
.svc__stack { display: flex; flex-direction: column; gap: 20px; }
.svc__stack-links { margin: 0; color: var(--muted); font-size: 15px; }
.svc__stack-links a { color: var(--cyan); }
.svc__stack-links a:hover { text-decoration: underline; }
.stack-cat__value { margin: 8px 0 0; color: var(--text-2); }
.tech-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tech-card { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: calc(var(--header-h) + 20px); }
.tech-card p { margin: 0; color: var(--muted); font-size: 15px; }
.tech-card:target { border-color: rgba(61, 224, 255, .6); box-shadow: 0 0 0 1px rgba(61, 224, 255, .3), 0 20px 60px rgba(61, 224, 255, .08); }
.stack-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stack-hub__item { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.stack-hub__item p { margin: 0; flex-grow: 1; color: var(--muted); }
.stack-hub__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.stack-hub__title { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.stack-hub__item:hover .stack-hub__title { color: var(--cyan); }
.stack-hub__item:hover .service__arrow { background: var(--grad); color: var(--bg); border-color: transparent; transform: rotate(45deg); }
@media (max-width: 860px) { .tech-list, .stack-hub { grid-template-columns: 1fr; } }

/* курсор появляется только после первого движения мыши */
.has-cursor .cursor { opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-on { opacity: 1; }

/* =========================================================
   Мобильная компоновка v2: короче страница, визуал на первом экране
   ========================================================= */
@media (max-width: 720px) {
  /* первый экран: мост сверху, заголовок компактнее */
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__grid { gap: 4px; }
  .hero__visual { order: -1; aspect-ratio: 1.8 / 1; max-width: 420px; }
  .chip-float { display: none; }
  .hero__text { gap: 18px; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .05em; }
  .hero__title { font-size: clamp(25px, 7.1vw, 31px); line-height: 1.08; }
  .hero__lead { font-size: 15px; }
  .hero__ctas { gap: 10px; margin-top: 0; }
  .hero__ctas .btn { height: 54px; }

  /* услуги: номер, заголовок и стрелка в одной строке, без строки технологий */
  .bento { gap: 10px; }
  .service { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'num title arrow' '. text text'; align-items: center; gap: 6px 14px; padding: 18px 18px 18px 20px; }
  .service__top { display: contents; }
  .service__top > .mono { grid-area: num; font-size: 12px; }
  .service__arrow { grid-area: arrow; width: 32px; height: 32px; }
  .service .h3 { grid-area: title; font-size: 17px; }
  .service__text { grid-area: text; font-size: 14px; line-height: 1.5; }
  .service .tags { display: none; }

  /* «Почему мы»: так же компактно */
  .section--light .grid-3 { gap: 10px; }
  .why { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'num title' '. text'; align-items: center; gap: 6px 14px; padding: 18px 20px; }
  .why__num { grid-area: num; width: 36px; height: 36px; border-radius: 11px; font-size: 12px; }
  .why .h3 { grid-area: title; font-size: 17px; }
  .why__text { grid-area: text; font-size: 14px; }

  /* технологии: плашки без описаний (полные описания — на страницах категорий) */
  .tech { padding: 12px 14px; }
  .tech__desc { display: none; }
  .stack__panel { gap: 24px; }
  .stack__info { gap: 12px; }

  /* подвал: две колонки, длинная колонка занимает обе строки */
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 28px 20px; }
  .footer__cols > div:has(> a:nth-of-type(8)) { grid-row: span 2; }
  .footer__cols a { font-size: 14px; }
}

/* десктоп: счётчик процесса не упирается в плавающую кнопку, меньше пустоты после процесса */
@media (min-width: 1025px) {
  .process__pct { margin-right: 96px; }
  #process + .section--light, .pin-spacer:has(> #process) + .section--light { margin-top: clamp(48px, 5vw, 80px); }
}

/* карточка услуги: заголовок-ссылка растянут на всю карточку, технологии — ссылки поверх */
.service__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.service__link:focus-visible { outline: none; }
.service--link:has(.service__link:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.service--link:hover .h3 { color: var(--cyan); }
.tags__link { position: relative; z-index: 2; color: inherit; text-decoration: underline dotted rgba(138, 147, 166, .6); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.tags__link:hover { color: var(--cyan); text-decoration-color: currentColor; }

/* ---------- логотипы технологий (Simple Icons): монохромные, при наведении — фирменный цвет ---------- */
.tlogo { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; color: var(--muted); transition: color .25s; }
.tlogo--lg { width: 26px; height: 26px; }
.tlogo--sm { width: 15px; height: 15px; }
.tlogo--mono { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 8.5px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.tlogo--lg.tlogo--mono { border-radius: 7px; font-size: 11px; }
.tlogo--sm.tlogo--mono { font-size: 7.5px; border-radius: 4px; }
.tech:hover .tlogo, .tech-card:hover .tlogo, .svc__chips li:hover .tlogo { color: var(--brand, var(--cyan)); }
.tech-card__title { display: flex; align-items: center; gap: 12px; }
.svc__chips li > a, .svc__chips li > span { display: inline-flex; align-items: center; gap: 8px; }
.marquee__name { display: inline-flex; align-items: center; gap: .45em; }
.mlogo { width: .95em; height: .95em; flex-shrink: 0; fill: currentColor; transition: color .3s; }
.marquee__item:hover .mlogo { color: var(--brand, currentColor); }

/* ---------- вход первого экрана (без заставки) ----------
   html.js ставится скриптом в <head>: элементы скрыты до старта анимации в main.js (класс hero-go).
   Страховка: если JS не сработал, всё проявится само через 7 секунд (заставка уходит сама через 6). */
.js:not(.hero-go) .header, .js:not(.hero-go) [data-hero], .js:not(.hero-go) [data-hero-title],
.js:not(.hero-go) .hero .stat, .js:not(.hero-go) .chip-float { opacity: 0; animation: bt-failsafe .01s 7s forwards; }
@keyframes bt-failsafe { to { opacity: 1; } }

/* 2D-мост растворяется, 3D-мост из частиц проявляется (bridge3d.js) */
.hero__canvas { transition: opacity 1.3s var(--ease); }
.hero__canvas.is-off { opacity: 0; }
.hero__canvas--3d { opacity: 0; }
.hero__canvas--3d.is-on { opacity: 1; transition-duration: 1.8s; }
