/* SLËTA STUDIO - сайт студии. Сначала телефон (393-440px), потом шире. Темы: html[data-theme] ставит скрипт в <head>
   (сохранённый выбор или системная), без скрипта - по prefers-color-scheme. */

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-cyr.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-lat.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-cyr.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-lat.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Tilt Neon"; src: url("fonts/tiltneon-lat.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF; }

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

:root {
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --neon-font: "Tilt Neon", "Unbounded", system-ui, sans-serif;
  --r: 22px;
  --r-lg: 30px;
  --pad: 20px;
  --top-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pink: #ff7ad9;
  --red: #ff5a5f;
  --violet: #7a4ee0;

  /* тёмная тема - по умолчанию */
  color-scheme: dark;
  --bg: #0b0613;
  --bg-2: #110920;
  --surface: #170d29;
  --surface-2: #20133a;
  --line: rgba(196, 170, 255, .14);
  --line-2: rgba(196, 170, 255, .26);
  --text: #f4eeff;
  --muted: #b5a6d2;
  --accent: #a67dff;
  --accent-2: #7a4ee0;
  --on-accent: #fff;
  --pill-bg: #f4eeff;
  --pill-fg: #160b2a;
  --glass: rgba(18, 10, 32, .72);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --neon-core: #fdf1ff;
  --neon-a: #ff8be6;
  --neon-b: #b65cff;
  --neon-c: #6f3df0;
  --aurora-1: rgba(122, 78, 224, .55);
  --aurora-2: rgba(255, 122, 217, .26);
  --aurora-3: rgba(74, 40, 190, .6);
  --bubble-in: #f1edf7;
  --bubble-in-fg: #1b1030;
}


:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f3fd;
  --bg-2: #efe7fb;
  --surface: #ffffff;
  --surface-2: #f3ecfd;
  --line: rgba(86, 46, 170, .13);
  --line-2: rgba(86, 46, 170, .26);
  --text: #1b1030;
  --muted: #655684;
  --accent: #6a3bdb;
  --accent-2: #5a2fc4;
  --pill-bg: #1b1030;
  --pill-fg: #ffffff;
  --glass: rgba(255, 255, 255, .78);
  --shadow: 0 20px 50px -24px rgba(70, 30, 150, .35);
  --neon-core: #5a2fc4;
  --neon-a: #a67dff;
  --neon-b: #c9a8ff;
  --neon-c: #e3d2ff;
  --aurora-1: rgba(166, 125, 255, .5);
  --aurora-2: rgba(255, 150, 225, .38);
  --aurora-3: rgba(140, 110, 255, .4);
  --bubble-in: #ffffff;
  --bubble-in-fg: #1b1030;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
s { text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-2); color: #fff; }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 26px; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--accent-2); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* полоска прогресса чтения - там, где есть анимации по прокрутке */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-2), var(--pink)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(14px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
  display: flex; align-items: center; gap: 12px;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.stuck { background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: baseline; gap: 6px; margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.top.stuck .brand { opacity: 1; transform: none; }
.brand-neon { font: 400 24px/1 var(--neon-font); letter-spacing: .04em; color: var(--neon-core); text-shadow: 0 0 10px var(--neon-b), 0 0 26px var(--neon-c); }
.brand-sub { font: 500 11px/1 var(--display); white-space: nowrap; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.top-nav { display: none; }
.top-tools { display: flex; align-items: center; gap: 6px; }
.tool { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s; }
.tool:active { transform: scale(.92); }
.tool .ic { grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
[data-theme="dark"] .i-sun, [data-theme="light"] .i-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
.lang { display: flex; height: 42px; align-items: center; padding: 4px; border-radius: 99px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent); font: 600 12px/1 var(--display); letter-spacing: .04em; }
.lang span { padding: 9px 10px; border-radius: 99px; color: var(--muted); transition: color .2s; }
.lang .on { background: var(--accent-2); color: #fff; }

/* меню на телефоне - лист на весь экран */
.sheet { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: transparent; color: var(--text); }
.sheet::backdrop { background: rgba(8, 3, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-in { min-height: 100%; display: flex; flex-direction: column; gap: 28px;
  padding: calc(env(safe-area-inset-top) + 76px) 24px calc(env(safe-area-inset-bottom) + 28px);
  background: radial-gradient(120% 70% at 100% 0%, var(--aurora-1), transparent 60%), var(--bg); }
.sheet[open] .sheet-in { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-18px); } }
.sheet-close { position: absolute; top: calc(env(safe-area-inset-top) + 9px); right: 14px; }
.sheet-nav { display: grid; }
.sheet-nav a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line);
  font: 700 clamp(24px, 7.4vw, 34px)/1.1 var(--display); letter-spacing: -.02em; }
.sheet-nav i { font: 500 12px/1 var(--display); color: var(--accent); font-style: normal; }
.sheet-cta { margin-top: auto; display: grid; gap: 10px; }

/* ---------- кнопки, метки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px;
  border-radius: 99px; font: 600 15px/1.2 var(--body); border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 80%, transparent);
  transition: transform .2s var(--ease), box-shadow .3s, background .2s; text-align: center; }
.btn:active { transform: scale(.97); }
.btn.primary { border-color: transparent; color: #fff;
  background: linear-gradient(135deg, #8f5bff 0%, #6a3bdb 55%, #c04fd8 130%);
  box-shadow: 0 10px 30px -10px rgba(122, 78, 224, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.big { min-height: 58px; padding-inline: 26px; font-size: 16px; }
.btn.ghost { background: transparent; }
.btn .ic { width: 20px; height: 20px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
  font: 600 12px/1.2 var(--display); letter-spacing: .02em; }
.pill.dark { background: var(--pill-bg); color: var(--pill-fg); font-style: italic; text-transform: uppercase; padding: 9px 16px; font-size: 13px; transform: rotate(-2deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; isolation: isolate;
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 18px) var(--pad) 44px; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.aurora i:nth-child(1) { width: 78vmax; height: 78vmax; left: -30vmax; top: -34vmax; background: radial-gradient(closest-side, var(--aurora-1), transparent); animation: drift-a 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 60vmax; height: 60vmax; right: -28vmax; top: 10vmax; background: radial-gradient(closest-side, var(--aurora-2), transparent); animation: drift-b 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 70vmax; height: 70vmax; left: 0; bottom: -44vmax; background: radial-gradient(closest-side, var(--aurora-3), transparent); animation: drift-a 26s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-14vmax, -6vmax, 0) scale(.9); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
.eyebrow { font: 500 12px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.neon { display: grid; font: 400 clamp(64px, 22.6vw, 232px)/.86 var(--neon-font); letter-spacing: .01em; color: var(--neon-core); margin: 6px 0 2px -.04em;
  text-shadow: 0 0 .03em #fff, 0 0 .09em var(--neon-a), 0 0 .22em var(--neon-b), 0 0 .5em var(--neon-c), 0 0 1.1em var(--neon-c); }
.neon span:nth-child(2) { margin-left: .34em; }
[data-theme="light"] .neon { text-shadow: 0 .02em 0 #fff, 0 0 .3em var(--neon-b), 0 0 .8em var(--neon-c); }
.js .neon { animation: neon-on 2.2s linear both; }
.js .neon b { font-weight: inherit; animation: neon-buzz 7s linear 3s infinite; }
@keyframes neon-on { 0%, 8% { opacity: 0; } 9% { opacity: 1; } 12% { opacity: .2; } 16% { opacity: 1; } 24% { opacity: .35; } 30%, 52% { opacity: 1; } 54% { opacity: .5; } 57%, 100% { opacity: 1; } }
@keyframes neon-buzz { 0%, 91%, 94%, 97%, 100% { opacity: 1; } 92% { opacity: .35; } 95.500% { opacity: .6; } }

.hero-title { font: 800 clamp(25px, 7.6vw, 62px)/1.04 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.hero-title em { font-style: italic; color: transparent; background: linear-gradient(100deg, var(--accent), var(--pink)); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.hero-lead { max-width: 34em; font-size: clamp(16px, 4.2vw, 19px); color: var(--muted); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 55%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; }
.hero-cta { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.js .hero-in > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 500ms); }
.js .hero-in > .neon { animation: neon-on 2.2s linear both; }
.hero-in > :nth-child(3) { --d: 1; } .hero-in > :nth-child(4) { --d: 2; } .hero-in > :nth-child(5) { --d: 3; } .hero-in > :nth-child(6) { --d: 4; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.sticker-wrap { position: relative; z-index: 3; height: 0; }
.sticker { position: absolute; right: 14px; top: -92px; width: 112px; aspect-ratio: 1; display: grid; place-items: center; z-index: 3; border-radius: 50%;
  background: var(--pill-bg); color: var(--pill-fg); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); transform: rotate(8deg); }
.sticker svg { grid-area: 1 / 1; width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }
.sticker text { font: 700 17px var(--display); letter-spacing: .02em; fill: currentColor; text-transform: uppercase; }
.sticker b { grid-area: 1 / 1; font-size: 30px; animation: beat 1.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.22); } 36% { transform: scale(1); } 54% { transform: scale(1.14); } }

/* ---------- бегущая строка ---------- */
.marquee { position: relative; z-index: 2; margin: -18px -12px 0; padding: 15px 0; background: linear-gradient(90deg, #5a2fc4, #7a4ee0 45%, #b04fd8);
  color: #fff; transform: rotate(-2.2deg); overflow: hidden; box-shadow: 0 16px 40px -18px rgba(90, 47, 196, .9); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { display: flex; align-items: center; font: 800 clamp(17px, 4.6vw, 26px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee i { font-style: normal; margin-inline: .7em; opacity: .65; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ---------- цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 54px; }
.stat { padding: 18px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stat-n { font: 800 clamp(25px, 7.6vw, 52px)/1 var(--display); letter-spacing: -.05em; white-space: nowrap; background: linear-gradient(120deg, var(--text) 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }

/* ---------- секции ---------- */
.sec { padding-block: 76px 0; position: relative; }
.sec-head { display: grid; justify-items: start; gap: 14px; margin-bottom: 30px; }
.tag span { display: inline-block; padding: 8px 15px; border-radius: 99px; background: var(--pill-bg); color: var(--pill-fg);
  font: 600 12px/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; transform: rotate(-3deg); }
h2 { font: 800 clamp(29px, 8.4vw, 60px)/1.02 var(--display); letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.sec-lead { max-width: 44em; color: var(--muted); font-size: 16.5px; text-wrap: pretty; }
.panel > .sec-lead { margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow); }
.duo { display: grid; gap: 14px; }
.note { margin-top: 16px; padding: 16px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px dashed var(--line-2); font-size: 15px; }

/* подсветка под пальцем/курсором */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.spot:hover::before, .spot.lit::before { opacity: 1; }

/* появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- услуги ---------- */
.services { display: grid; gap: 14px; }
.service { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top) + 10px + var(--i) * 12px); display: grid; gap: 14px; justify-items: start;
  padding: 24px 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 -14px 40px -22px rgba(0, 0, 0, .55); }
.service-top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; }
.service-n { font: 300 15px/1 var(--display); color: var(--muted); letter-spacing: .1em; }
.art { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent)); }
.art .beam { stroke: var(--pink); }
.art .dot { fill: var(--red); stroke: none; }
.s-trinity .art { stroke: var(--text); }
.s-trinity .art .beam { stroke: var(--red); }
.service h3 { font-size: clamp(23px, 6.4vw, 30px); text-transform: uppercase; letter-spacing: -.03em; }
.service > p { color: var(--muted); }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); stroke-width: 2.4; }
.s-trinity .pill { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); }
.s-trinity .ticks .ic { color: var(--red); }

/* ---------- лазер ---------- */
.laser { margin-top: 76px; padding-block: 76px; background:
  radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--accent-2) 34%, transparent), transparent 70%),
  radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, var(--pink) 14%, transparent), transparent 70%), var(--bg-2);
  border-block: 1px solid var(--line); }
.specs { display: grid; gap: 4px; margin-bottom: 34px; }
.spec { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-n { font: 800 clamp(48px, 15vw, 96px)/.9 var(--display); letter-spacing: -.06em; min-width: 3.1ch; }
.spec-n small { font: 500 .28em/1 var(--display); letter-spacing: 0; margin-left: .3em; color: var(--accent); }
.spec-l { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

.pain { display: grid; gap: 14px; }
.pain-face { height: 96px; display: grid; place-items: center; font-size: 76px; line-height: 1; }
.pain-face span { display: block; transition: transform .35s var(--ease); }
.pain-face span.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.4) rotate(-14deg); opacity: 0; } 70% { transform: scale(1.12) rotate(4deg); } }
.pain-range { position: relative; padding-top: 30px; }
.pain-zone { position: absolute; left: 0; top: 0; width: calc(50% + 14px); height: 62px; border-radius: 14px 14px 20px 20px; border: 1px dashed var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; }
.pain-zone span { position: absolute; left: 12px; top: 6px; font: 600 10.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.pain input { position: relative; display: block; width: 100%; height: 32px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pain input::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #6fd3ff, #8f5bff 45%, #ff7ad9 72%, #ff5a5f); }
.pain input::-moz-range-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #6fd3ff, #8f5bff 45%, #ff7ad9 72%, #ff5a5f); }
.pain input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--accent-2); box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.pain input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent-2); box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.pain-ticks { display: flex; justify-content: space-between; padding: 6px 9px 0; font: 600 12px/1 var(--display); color: var(--muted); }
.pain-ticks i { font-style: normal; width: 12px; text-align: center; }
.pain-out { display: grid; }
.pain-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
.pain-item.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pain-name { font: 700 17px/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.pain-name b { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--accent-2); color: #fff; font-size: 13px; vertical-align: 2px; }
.pain-item p + p { color: var(--muted); font-size: 15px; }
.no-js .pain-item { position: static; opacity: 1; visibility: visible; transform: none; grid-area: auto; margin-top: 10px; }

.hair { display: grid; gap: 14px; align-content: start; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; margin-top: 6px; }
.swatches li { display: grid; justify-items: center; gap: 5px; text-align: center; }
.swatch { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: end;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 62%, color-mix(in srgb, var(--c) 78%, #000));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 20px -8px rgba(0, 0, 0, .6); }
.swatch .ic { width: 24px; height: 24px; padding: 4px; margin: -2px; border-radius: 50%; stroke-width: 3; color: #fff; background: #1faa6b; box-shadow: 0 0 0 3px var(--surface); }
.no .swatch .ic { background: #e5484d; }
.no .swatch { filter: saturate(.75); }
.swatches b { font: 600 13px/1.2 var(--display); letter-spacing: -.01em; }
.swatches small { font-size: 12px; color: var(--muted); line-height: 1.2; }

/* ---------- почему мы ---------- */
.bento { display: grid; gap: 12px; }
.tile { padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 9px; align-content: start; }
.tile-ic { font-size: 34px; line-height: 1; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile.big { background: linear-gradient(140deg, #6a3bdb, #7a4ee0 50%, #a54fd8); border-color: transparent; color: #fff; }
.tile.big p { color: rgba(255, 255, 255, .86); font-size: 16px; }
.tile.big h3 { font-size: clamp(22px, 6vw, 30px); text-transform: uppercase; }

/* ---------- цены ---------- */
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; margin-bottom: 20px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.tabs button { position: relative; z-index: 1; min-height: 46px; border-radius: 99px; font: 600 14px/1 var(--display); color: var(--muted); transition: color .25s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 99px;
  background: linear-gradient(135deg, #8f5bff, #6a3bdb); transform: translateX(calc(var(--tab, 0) * 100%)); transition: transform .45s var(--ease); box-shadow: 0 8px 22px -10px rgba(122, 78, 224, .9); }
.js .panel { display: none; }
.js .panel.on { display: block; animation: rise .5s var(--ease); }
.no-js .panel { margin-bottom: 26px; }
.price-grid { display: grid; gap: 14px; align-items: start; }
.calc { display: grid; gap: 12px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zones label { display: block; cursor: pointer; }
.zones input { position: absolute; opacity: 0; pointer-events: none; }
.zone { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface-2);
  font-size: 14.5px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s; user-select: none; }
.zone b { font: 500 12px/1 var(--display); color: var(--muted); transition: color .2s; }
.zones input:checked + .zone { background: var(--accent-2); border-color: var(--accent-2); color: #fff; transform: scale(1.03); box-shadow: 0 8px 20px -10px rgba(122, 78, 224, .9); }
.zones input:checked + .zone b { color: rgba(255, 255, 255, .8); }
.zones input:focus-visible + .zone { outline: 2px solid var(--accent); outline-offset: 2px; }
.zone:active { transform: scale(.96); }
.calc-out { display: grid; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.calc-lines { display: grid; gap: 6px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; animation: rise .35s var(--ease); }
.calc-lines li b { font-weight: 700; white-space: nowrap; }
.calc-lines li small { display: block; color: var(--accent); font-size: 12.5px; }
.calc-lines li.gift b { color: #1faa6b; }
.calc-empty { color: var(--muted); font-size: 15px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 14px; border-radius: 18px; background: var(--surface-2); }
.switch input { position: absolute; opacity: 0; }
.switch i { flex: none; position: relative; width: 50px; height: 30px; border-radius: 99px; background: var(--line-2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--accent-2); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch b { display: block; font-size: 15px; line-height: 1.2; }
.switch small { color: var(--muted); font-size: 12.5px; }
.calc-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font: 600 15px/1 var(--display); }
.calc-sum { display: grid; justify-items: end; gap: 4px; font-size: 14px; }
.calc-sum small { font: 500 13px/1 var(--display); color: var(--muted); white-space: nowrap; min-height: 13px; }
.calc-sum b { font: 800 clamp(34px, 10vw, 46px)/1 var(--display); letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-side { display: grid; gap: 12px; }
.side-title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.complex { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.complex h4 { font: 800 24px/1 var(--display); letter-spacing: -.03em; margin: 0 0 6px; }
.complex p { font-size: 14px; line-height: 1.35; }
.complex small { font-size: 12.5px; color: var(--accent); }
.complex-price { flex: none; display: grid; justify-items: end; }
.complex-price s { font-size: 13px; color: var(--muted); }
.complex-price b { font: 800 26px/1 var(--display); letter-spacing: -.04em; }
.complex-price span { font-size: 12px; color: var(--muted); }
.table { padding: 8px 20px; }
.trow { display: grid; grid-template-columns: 1fr 68px 68px; gap: 8px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.trow:last-child { border-bottom: 0; }
.trow.two { grid-template-columns: 1fr auto; }
.trow b { text-align: right; font: 700 15px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trow.two b { font-size: 20px; }
.trow small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.thead { font-size: 12px; color: var(--muted); }
.thead b, .thead span { font: 500 10.5px/1.2 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.code { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding-inline: 6px; margin-right: 8px; border-radius: 8px; background: var(--accent-2); color: #fff; font: 700 11px/1 var(--display); font-style: normal; }
.promo { display: grid; gap: 10px; background: linear-gradient(140deg, #2a0f14, #5c151c 60%, #a3232b); border-color: transparent; color: #fff; }
.promo-n { font: 800 clamp(56px, 18vw, 88px)/.9 var(--display); letter-spacing: -.06em; color: #ff8a8d; }
.promo .fine { color: rgba(255, 255, 255, .7); }

/* ---------- шаги ---------- */
.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--accent-2), var(--pink)); opacity: .45; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 14px; }
.step-n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent-2); font: 700 16px/1 var(--display); color: var(--accent); box-shadow: 0 0 0 6px var(--bg); }
.step h3 { font-size: 18px; margin: 9px 0 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- списки до/после ---------- */
.list { display: grid; gap: 16px; align-content: start; }
.list h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.when { display: grid; }
.when li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.when li:last-child { border-bottom: 0; }
.when b { font: 600 12.5px/1.3 var(--display); color: var(--accent); padding-top: 2px; }
.dots { display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.4; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.yes h3 .ic { color: #1faa6b; stroke-width: 2.6; } .no h3 .ic { color: #e5484d; stroke-width: 2.6; }

/* ---------- раскрывашки ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .25s; }
.acc[open] { border-color: var(--line-2); }
.acc.wide { margin-top: 14px; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none;
  font: 600 16px/1.3 var(--display); letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2) center / 12px no-repeat;
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)); background-size: 12px 2px, 2px 12px; transition: transform .35s var(--ease); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc-body { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }
.acc[open] .acc-body { animation: rise .4s var(--ease); }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .acc[open]::details-content { block-size: auto; }
}
.contra { display: grid; gap: 10px; }
.contra li { position: relative; padding-left: 24px; }
.contra li::before { content: "❗"; position: absolute; left: 0; top: 0; font-size: 13px; }
.acc .note { color: var(--text); }
.faq { display: grid; gap: 10px; }

/* ---------- горизонтальные ленты ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 6px var(--pad) 22px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-nav { display: none; }
.era { width: min(74vw, 300px); min-height: 230px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; align-content: space-between; gap: 12px; }
.era-emoji { font-size: 40px; line-height: 1; }
.era-year { font: 800 44px/1 var(--display); letter-spacing: -.05em; }
.era-year small { display: block; margin-top: 4px; font: 500 12px/1 var(--display); letter-spacing: .02em; color: var(--muted); }
.era p:last-child { color: var(--muted); font-size: 15px; }
.era.now { background: linear-gradient(140deg, #6a3bdb, #7a4ee0 50%, #c04fd8); border-color: transparent; color: #fff; }
.era.now p:last-child { color: rgba(255, 255, 255, .9); }

/* ---------- команда ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.member { padding: 20px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; justify-items: center; align-content: start; gap: 7px; text-align: center; }
.member.lead { grid-column: 1 / -1; padding: 26px 22px; }
.ava { width: 92px; aspect-ratio: 1; border-radius: 50%; padding: 3px; margin-bottom: 6px;
  background: conic-gradient(from var(--spin), #ff7ad9, #7a4ee0, #ffb86b, #ff7ad9); animation: ring 8s linear infinite; }
@keyframes ring { to { --spin: 360deg; } }
.ava span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--bg); border: 3px solid var(--surface);
  font: 400 40px/1 var(--neon-font), var(--display); color: var(--neon-core); text-shadow: 0 0 10px var(--neon-b), 0 0 24px var(--neon-c); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.member.lead .ava { width: 124px; } .member.lead .ava span { font-size: 54px; }
.member h3 { font-size: 17px; }
.member.lead h3 { font-size: 24px; text-transform: uppercase; }
.role { font: 500 11.5px/1.35 var(--display); color: var(--accent); letter-spacing: .01em; }
.member p:not(.role) { color: var(--muted); font-size: 14px; line-height: 1.45; }
.member.lead p:not(.role) { font-size: 15.5px; max-width: 30em; }
.link { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--accent); }
.link .ic { width: 18px; height: 18px; }

.team-photo { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.team-photo img { width: 100%; height: auto; aspect-ratio: 720 / 662; object-fit: cover; }

/* ---------- обложки Instagram - как сторис ---------- */
.cover { position: relative; width: min(58vw, 236px); aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cover span { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 8px; padding: 34px 12px 12px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.25;
  background: linear-gradient(transparent, rgba(8, 3, 16, .82)); }
.cover .ic { width: 17px; height: 17px; }
.cover:active { transform: scale(.97); }

/* ---------- отзывы - как переписка в Direct ---------- */
.chat { width: min(82vw, 340px); display: grid; align-content: start; gap: 8px; padding: 18px 16px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.bubble { max-width: 94%; padding: 12px 15px; border-radius: 20px; font-size: 15px; line-height: 1.42; }
.bubble.in { justify-self: start; border-bottom-left-radius: 6px; background: var(--bubble-in); color: var(--bubble-in-fg); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }
.bubble.out { justify-self: end; border-bottom-right-radius: 6px; background: linear-gradient(135deg, #8f5bff, #5a3bf0); color: #fff; font-weight: 600; }

/* ---------- как найти ---------- */
.loc { display: grid; gap: 14px; }
.loc-card { display: grid; gap: 14px; justify-items: start; }
.loc-city { font: 500 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.loc-addr { font: 700 clamp(21px, 5.8vw, 28px)/1.15 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.loc-points { display: grid; gap: 12px; margin-block: 4px 6px; }
.loc-points li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.4; }
.loc-points .ic { color: var(--accent); margin-top: 1px; }
.loc-card .btn { width: 100%; }
.loc-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.route { display: grid; gap: 9px; }
.route video { width: 100%; height: auto; aspect-ratio: 720 / 1290; object-fit: cover; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.route b { display: block; font: 600 13.5px/1.25 var(--display); letter-spacing: -.01em; }
.route small { color: var(--muted); font-size: 12.5px; }

/* ---------- контакты ---------- */
.cta { margin-top: 76px; padding-block: 84px 70px; overflow: clip; isolation: isolate; border-top: 1px solid var(--line); }
.cta-title { font-size: clamp(36px, 11.5vw, 104px); background: linear-gradient(100deg, var(--text) 20%, var(--accent) 60%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.contacts { display: grid; gap: 10px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .25s var(--ease), border-color .25s; }
.contact:active { transform: scale(.98); }
.contact > .ic:first-child { width: 30px; height: 30px; color: var(--accent); }
.contact span { display: grid; gap: 2px; margin-right: auto; min-width: 0; }
.contact small { font-size: 12.5px; color: var(--muted); }
.contact b { font: 700 clamp(16px, 4.6vw, 20px)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact .go { color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; min-height: 44px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 600; }
.socials .ic { width: 18px; height: 18px; color: var(--accent); }

/* ---------- подвал ---------- */
.foot { padding: 40px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--muted); font-size: 14px; }
.foot-neon { font: 400 clamp(36px, 11vw, 64px)/1 var(--neon-font); color: var(--neon-core); text-shadow: 0 0 .1em var(--neon-a), 0 0 .3em var(--neon-b), 0 0 .7em var(--neon-c); margin-bottom: 8px; }
[data-theme="light"] .foot-neon, [data-theme="light"] .brand-neon { text-shadow: 0 0 .5em var(--neon-b); }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- нижняя панель на телефоне ---------- */
.dock { position: fixed; z-index: 40; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(430px, calc(100% - 24px)); display: flex; gap: 8px; padding: 8px;
  border-radius: 99px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .6); transform: translate(-50%, 140%); transition: transform .5s var(--ease); }
.dock.show { transform: translate(-50%, 0); }
.no-js .dock { transform: translate(-50%, 0); }
.dock a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); flex: none; transition: transform .2s var(--ease); }
.dock a:active { transform: scale(.93); }
.dock .dock-main { flex: 1; width: auto; display: flex; gap: 9px; border-radius: 99px; border: 0; color: #fff; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, #8f5bff 0%, #6a3bdb 55%, #c04fd8 130%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }

/* переход между темами - круг из-под пальца (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@view-transition { navigation: auto; }

/* ---------- шире телефона ---------- */
@media (min-width: 600px) {
  :root { --pad: 32px; }
  .hero-cta { display: flex; flex-wrap: wrap; width: auto; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .duo, .price-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tabs { width: min(460px, 100%); }
  .specs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .spec { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line-2); padding-top: 20px; }
  .faq { grid-template-columns: 1fr 1fr; align-items: start; }
  .contacts { grid-template-columns: repeat(3, 1fr); }
  .contact { flex-direction: column; align-items: flex-start; padding: 24px; }
  .contact .go { position: absolute; right: 20px; top: 22px; }
  .loc-card .btn { width: auto; }
  .sticker { width: 150px; right: 5vw; top: -120px; }
}

@media (min-width: 960px) {
  :root { --top-h: 72px; --pad: 40px; }
  body { font-size: 17px; }
  .menu-btn { display: none; }
  .top { padding-inline: 32px; }
  .top-nav { display: flex; gap: 4px; margin-right: 10px; }
  .top-nav a { padding: 9px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
  .top-nav a:hover, .top-nav a.cur { color: var(--text); background: color-mix(in srgb, var(--surface-2) 80%, transparent); }
  .sec { padding-top: 130px; }
  .sec-head { margin-bottom: 44px; gap: 18px; }
  .hero { padding-bottom: 80px; }
  .hero-in { gap: 22px; }
  .neon { grid-auto-flow: column; justify-content: start; gap: .28em; font-size: clamp(120px, 12.4vw, 200px); }
  .neon span:nth-child(2) { margin-left: 0; }
  .sticker { width: 176px; right: 7vw; top: -140px; }
  .marquee { margin-top: -30px; padding: 20px 0; }
  .stats { margin-top: 90px; gap: 16px; }
  .stat { padding: 26px 24px; }
  .services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service { position: relative; top: auto; padding: 30px 28px 32px; box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .3s; }
  .service:hover { transform: translateY(-8px); border-color: var(--accent); }
  .laser, .cta { margin-top: 130px; padding-block: 120px; }
  .laser .sec-head { margin-bottom: 30px; }
  .card { padding: 32px; }
  .table { padding: 12px 32px; }
  .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tile { grid-column: span 2; padding: 28px 26px; }
  .tile.big { grid-column: span 4; grid-row: span 1; align-content: end; min-height: 260px; }
  .tile:nth-child(2) { grid-column: span 2; }
  .tile:nth-child(3), .tile:nth-child(4) { grid-column: span 3; }
  .tile:nth-child(5), .tile:nth-child(6) { grid-column: span 3; }
  .price-grid { grid-template-columns: 1.25fr 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps::before { display: none; }
  .step { grid-template-columns: 1fr; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
  .step-n { box-shadow: none; background: var(--accent-2); border-color: transparent; color: #fff; }
  .team { gap: 16px; }
  .member { padding: 26px 20px; }
  .member.lead { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; column-gap: 34px; padding: 34px 40px; }
  .member.lead .ava { grid-row: 1 / span 5; width: 168px; margin: 0; }
  .member.lead .ava span { font-size: 72px; }
  .member.lead h3 { font-size: 34px; align-self: end; }
  .member.lead .link { align-self: start; }
  .rail { padding-inline: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); scroll-padding-inline: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); gap: 16px; }
  .rail-nav { display: flex; gap: 8px; justify-content: flex-end; width: min(1180px, 100%); margin: 0 auto 4px; padding-inline: var(--pad); }
  .era { width: 300px; min-height: 270px; padding: 26px; }
  .cover { width: 250px; }
  .cover:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -20px rgba(122, 78, 224, .8); }
  .cover:hover img { transform: scale(1.05); }
  .with-photo .team-photo, .with-photo .member.lead { grid-column: span 2; }
  .with-photo .team-photo img { height: 100%; min-height: 340px; aspect-ratio: auto; object-position: 50% 30%; }
  .with-photo .member.lead { grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: center; row-gap: 10px; padding: 36px 40px; }
  .with-photo .member.lead .ava { grid-row: auto; width: 120px; margin-bottom: 8px; }
  .with-photo .member.lead .ava span { font-size: 52px; }
  .chat { width: 380px; padding: 22px 20px; }
  .loc { grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
  .contact:hover { transform: translateY(-5px); border-color: var(--accent); }
  .contact:hover .go { transform: translateX(5px); color: var(--accent); }
  .btn:hover { transform: translateY(-2px); }
  .btn.primary:hover { box-shadow: 0 16px 40px -10px rgba(122, 78, 224, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
  .dock { display: none; }
  .foot { padding-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media (max-width: 379px) {
  .brand-sub { display: none; }
  .top-tools { gap: 4px; }
}
