:root {
  --c-blue: #5B8CFF; --c-violet: #A855F7; --c-orange: #F97316;
  --c-yellow: #FFD060; --c-green: #34D399; --c-pink: #F472B6;
  --spectrum: linear-gradient(90deg, var(--c-blue), var(--c-violet), var(--c-orange), var(--c-yellow), var(--c-green), var(--c-pink), var(--c-blue));

  --ink: #06070B; --ink-2: #0C0E14; --ink-3: #131620;
  --on-ink: #EEF0F5; --on-ink-2: #A3A9B8; --on-ink-3: #646A7B;
  --line-ink: rgba(255,255,255,.08); --line-ink-2: rgba(255,255,255,.14);
  --paper: #F4F3EF; --paper-2: #EAE9E3;
  --on-paper: #06070B; --on-paper-2: #5A5D67;
  --line-paper: rgba(6,7,11,.1);

  --sans: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --h1: clamp(50px, 4.2vw + 28px, 112px);
  --h2: clamp(40px, 2.8vw + 24px, 80px);
  --h3: clamp(24px, .8vw + 19px, 32px);
  --lead: clamp(18px, .35vw + 16.5px, 22px);

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --noise: 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grid-ink: linear-gradient(var(--line-ink) 1px, transparent 1px) 0 0 / 56px 56px,
              linear-gradient(90deg, var(--line-ink) 1px, transparent 1px) 0 0 / 56px 56px;
  --grid-paper: linear-gradient(var(--line-paper) 1px, transparent 1px) 0 0 / 28px 28px,
                linear-gradient(90deg, var(--line-paper) 1px, transparent 1px) 0 0 / 28px 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "ss01", "cv11"; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-violet); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-feature-settings: "zero"; }
.tnum { font-variant-numeric: tabular-nums; }
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink-2); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--c-blue)); box-shadow: 0 0 12px var(--dot, var(--c-blue)); }
.light .label { color: var(--on-paper-2); }
.light .label::before { box-shadow: none; }
em.acc { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; }
.spectrum-text { background: var(--spectrum); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 10s linear infinite; padding-right: .04em; }
@keyframes slide { to { background-position: -200% 0; } }

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: .9; letter-spacing: -.048em; font-weight: 300; }
h2 { font-size: var(--h2); line-height: .95; letter-spacing: -.042em; font-weight: 300; }
h3 { font-size: var(--h3); line-height: 1.08; letter-spacing: -.025em; }
.lead { font-size: var(--lead); line-height: 1.4; letter-spacing: -.012em; color: var(--on-ink-2); max-width: 38ch; }
.light { background: var(--paper); color: var(--on-paper); }
.light .lead { color: var(--on-paper-2); }
.dark-tex { position: relative; isolation: isolate; }
.dark-tex::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .035; pointer-events: none; z-index: -1; }

/* Кнопки */
.btn {
  --bg: var(--on-ink); --fg: var(--ink);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 500 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(0,0,0,.3);
  transition: transform .4s var(--ease), background-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--ang, 0deg), var(--c-blue), var(--c-violet), var(--c-orange), var(--c-yellow), var(--c-green), var(--c-pink), var(--c-blue));
  opacity: 0; transition: opacity .4s; filter: blur(.5px);
}
.btn:hover::before { opacity: 1; animation: spin 3s linear infinite; }
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { --bg: rgba(255,255,255,.04); --fg: var(--on-ink); box-shadow: inset 0 0 0 1px var(--line-ink-2); }
.btn-ghost:hover { --bg: var(--ink-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }

/* Шапка: плавающая стеклянная пилюля */
header { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.nav {
  pointer-events: auto; max-width: 1080px; margin: 0 auto; height: 56px; padding: 0 9px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: rgba(12, 14, 20, .62); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-ink-2), 0 10px 30px -10px rgba(0,0,0,.6);
}
@media (max-width: 1120px) { .nav { margin: 0 var(--gutter); } }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--on-ink-2); font-size: 14.5px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--on-ink); background: rgba(255,255,255,.06); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(120px, 12vw, 176px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grid-ink); mask: radial-gradient(60% 65% at 72% 45%, #000 10%, transparent 72%); pointer-events: none; }
.aurora { position: absolute; width: 760px; height: 760px; right: -80px; top: 40px; pointer-events: none; filter: blur(90px); opacity: .32;
  background: radial-gradient(closest-side at 35% 40%, var(--c-blue), transparent), radial-gradient(closest-side at 65% 35%, var(--c-violet), transparent), radial-gradient(closest-side at 50% 70%, var(--c-pink), transparent 80%);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-40px, 30px) rotate(20deg) scale(1.08); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.pill-new { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-ink-2); font-size: 14px; color: var(--on-ink-2); text-decoration: none; transition: background-color .3s; }
.pill-new:hover { background: rgba(255,255,255,.08); }
.pill-new b { font-weight: 500; font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--ink); background: var(--spectrum); background-size: 200% 100%; animation: slide 10s linear infinite; }
.hero h1 { margin: 28px 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; color: var(--on-ink-3); }
.hero-meta span::before { content: "— "; }
.graph-cell { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: end; }
.graph-cell canvas, .graph-cell .fallback { position: absolute; inset: 5%; width: 90%; height: 90%; }
.graph-cell .fallback { display: none; }
.graph-cell.no-gl .fallback { display: block; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-ink-2); animation: rot 80s linear infinite; }
.ring.r2 { inset: 13%; border-style: solid; border-color: var(--line-ink); animation-direction: reverse; animation-duration: 120s; }
@keyframes rot { to { transform: rotate(360deg); } }
.graph-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(12,14,20,.7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-ink-2); color: var(--on-ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.graph-tag b { color: var(--on-ink); font-weight: 500; }
.graph-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 10px var(--c-green); }
.graph-tag.t1 { top: 6%; left: -4%; }
.graph-tag.t2 { bottom: 10%; right: -2%; }
.graph-tag.t3 { top: 46%; right: -8%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .graph-cell { justify-self: center; max-width: 400px; order: -1; margin-bottom: 8px; }
  .graph-tag.t1 { left: 0; } .graph-tag.t2 { right: 0; } .graph-tag.t3 { display: none; }
  .aurora { width: 480px; height: 480px; right: -120px; top: 40px; }
}

/* Экран звонка */
.shot { padding: 0 0 clamp(24px, 3vw, 48px); }
.window { position: relative; border-radius: 16px; background: var(--ink-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-ink-2), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.5); }
.window::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-ink); color: var(--on-ink-3); font-family: var(--mono); font-size: 12px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #232632; }
.window-bar span { margin-left: 12px; }
.window-bar .lock { margin-left: auto; color: var(--on-ink-3); }
.call { --tenant: #34D399; background: #090A0F; color: #fff; padding: clamp(10px, 1.6vw, 22px); aspect-ratio: 16 / 8.2; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(8px, 1.4vw, 18px); font-size: clamp(10px, 1vw, 14px); }
.call-top { display: flex; align-items: center; gap: 10px; }
.call-top .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.call-top .brand i { width: 1.6em; height: 1.6em; border-radius: 5px; background: var(--tenant); display: block; transition: background-color .5s; }
.chip { padding: .35em .8em; border-radius: 999px; background: rgba(255,255,255,.07); font-family: var(--mono); font-size: .85em; }
.chip.rec { background: rgba(229,56,56,.14); color: #ff8c8c; }
.chip.rec::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #ff5a5a; margin-right: .5em; animation: blink 1.6s infinite; }
.chip.ai { background: linear-gradient(90deg, rgba(91,140,255,.18), rgba(168,85,247,.18)); color: #cdbdff; }
@keyframes blink { 50% { opacity: .3; } }
.call-top .spacer { flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: clamp(6px, 1.2vw, 14px); min-height: 0; }
.tile { position: relative; border-radius: 10px; background: #12141B; overflow: hidden; display: grid; place-items: center; }
.shot .tile { opacity: 0; transform: scale(.96); }
.shot.in .tile { animation: join .8s var(--ease) forwards; }
.shot.in .tile:nth-child(2) { animation-delay: .25s; } .shot.in .tile:nth-child(3) { animation-delay: .5s; }
.shot.in .tile:nth-child(4) { animation-delay: .75s; } .shot.in .tile:nth-child(5) { animation-delay: 1s; }
.shot.in .tile:nth-child(6) { animation-delay: 1.25s; } .shot.in .tile:nth-child(7) { animation-delay: 1.5s; }
.shot.in .tile:nth-child(8) { animation-delay: 1.75s; }
@keyframes join { to { opacity: 1; transform: none; } }
.tile .av { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 1.3em; color: #0B0C12; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55) 0, transparent 42%), var(--c); box-shadow: 0 0 40px -6px var(--c); }
.tile .name { position: absolute; left: 8px; bottom: 6px; padding: .2em .6em; border-radius: 5px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); font-size: .85em; }
.tile.speaking { box-shadow: inset 0 0 0 2px var(--tenant); }
/* Видео-плитка: расфокусированный портрет из градиентов вместо рисованных человечков */
.tile.cam { background:
    radial-gradient(22% 28% at 50% 42%, var(--skin, #c8a184) 0 60%, transparent 100%),
    radial-gradient(42% 36% at 50% 100%, var(--cloth, #2b3446) 0 70%, transparent 100%),
    radial-gradient(80% 70% at 20% 10%, var(--room, #2c3346), transparent 70%),
    #151821; filter: saturate(.9); }
.tile.cam::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(5px); }
.tile.cam .name { z-index: 1; }
.tile .eq { position: absolute; right: 8px; top: 8px; z-index: 1; display: flex; gap: 2px; align-items: end; height: 12px; }
.tile .eq i { width: 3px; background: var(--tenant); border-radius: 2px; animation: eq .9s ease-in-out infinite; height: 40%; }
.tile .eq i:nth-child(2) { animation-delay: -.3s; } .tile .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 50% { height: 100%; } }
.call-bar { display: flex; justify-content: center; gap: clamp(5px, .8vw, 10px); }
.call-bar span { width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.call-bar svg { width: 48%; height: 48%; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call-bar .end { background: #e5484d; width: 3.6em; border-radius: 999px; }
@media (max-width: 640px) {
  .call { aspect-ratio: 3 / 4; }
  .tiles { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .tiles .tile:nth-child(n+7) { display: none; }
  .call-top .title, .chip.ai { display: none; }
}

section { padding: clamp(88px, 11vw, 176px) 0; position: relative; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head h2 { max-width: 16ch; }
.section-head .lead { max-width: 52ch; }

/* AI-слой */
.ai { background: var(--ink); overflow: hidden; }
.ai::before { content: ""; position: absolute; left: 50%; top: -200px; width: 1100px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(168,85,247,.16), transparent); pointer-events: none; }
.ai-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
@media (max-width: 1000px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-points { display: grid; gap: 0; }
.ai-point { display: grid; grid-template-columns: 28px 1fr; gap: 6px 14px; padding: 22px 0; border-top: 1px solid var(--line-ink); }
.ai-point:last-child { border-bottom: 1px solid var(--line-ink); }
.ai-point .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in oklab, var(--c) 18%, transparent); color: var(--c); font-family: var(--mono); font-size: 13px; grid-row: span 2; }
.ai-point h3 { font-size: 19px; letter-spacing: -.015em; }
.ai-point p { color: var(--on-ink-2); font-size: 15.5px; }

.studio { border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--line-ink-2), 0 40px 80px -40px rgba(0,0,0,.9); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line-ink); align-items: center; }
.tabs button { border: 0; background: transparent; color: var(--on-ink-2); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background-color .2s, color .2s; }
.tabs button[aria-selected="true"] { background: rgba(255,255,255,.08); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--line-ink-2); }
.tabs .meta { margin-left: auto; color: var(--on-ink-3); padding-right: 8px; }
.tabpanel[hidden] { display: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } .split .tr { border-left: 0; border-top: 1px solid var(--line-ink); } }
.notes, .tr { padding: 22px; display: grid; gap: 18px; align-content: start; }
.tr { border-left: 1px solid var(--line-ink); background: rgba(0,0,0,.18); gap: 4px; }
.notes h4, .tr h4 { margin: 0 0 8px; color: var(--on-ink-3); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.notes .title { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.notes .sum { color: var(--on-ink-2); font-size: 15px; }
.notes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notes li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.4; }
.notes li .who { color: var(--on-ink-2); }
.cb { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--on-ink-3); flex: none; transform: translateY(2px); }
.ref { margin-left: auto; flex: none; border: 0; cursor: pointer; padding: 3px 8px; border-radius: 6px; font: 500 11px/1.2 var(--mono); color: #cdbdff; background: rgba(168,85,247,.14); transition: background-color .2s; }
.ref:hover, .ref:focus-visible { background: rgba(168,85,247,.32); }
.term { display: inline-flex; gap: 6px; align-items: baseline; font-size: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-ink); }
.term s { color: var(--on-ink-3); }
.ln { display: grid; grid-template-columns: 30px 44px 1fr; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; transition: background-color .3s, box-shadow .3s; }
.ln .n, .ln .t { font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); padding-top: 2px; }
.ln b { font-weight: 500; color: var(--c); }
.ln span.x { color: var(--on-ink-2); }
.ln.hl { background: rgba(168,85,247,.14); box-shadow: inset 2px 0 0 var(--c-violet); }
.ln.hl span.x { color: var(--on-ink); }
.code { position: relative; margin: 0; padding: 22px; min-height: 460px; font: 400 13px/1.7 var(--mono); color: var(--on-ink-2); white-space: pre-wrap; overflow: auto; }
.code .k { color: #cdbdff; } .code .s { color: #9ce6c3; } .code .h { color: var(--on-ink); font-weight: 500; } .code .c { color: var(--on-ink-3); }
.copy { position: absolute; top: 14px; right: 14px; }
.api { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line-ink); color: var(--on-ink-3); font-family: var(--mono); font-size: 12px; }
.api code { color: var(--on-ink-2); }
.api .m { color: var(--c-green); }

/* Причины — светлая редакционная часть */
.reason { --dot: var(--c-blue); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 96px); padding: clamp(48px, 6vw, 88px) 0; align-items: center; position: relative; }
.reason::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-paper); }
.reason::after { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--dot); transition: width 1.4s var(--ease) .2s; }
.reason.in::after { width: 120px; }
.reason:nth-child(even) .reason-media { order: -1; }
.reason-text { display: grid; gap: 18px; align-content: start; }
.reason-text .num { font-family: var(--mono); font-size: 12px; color: var(--on-paper-2); display: flex; gap: 10px; align-items: center; letter-spacing: .04em; }
.reason-text .num b { font-weight: 500; color: var(--on-paper); }
.reason-text p { color: var(--on-paper-2); max-width: 42ch; font-size: 17.5px; }
.proof { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; padding-top: 16px; border-top: 1px dashed var(--line-paper); font-size: 15px; }
.proof .mono { color: color-mix(in oklab, var(--dot) 70%, #000); }
.reason-media { position: relative; border-radius: 16px; min-height: 340px; padding: clamp(20px, 3vw, 44px); display: grid; place-items: center; overflow: hidden; background: var(--grid-paper), var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-paper); }
.reason-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent 30%, var(--paper-2) 100%), radial-gradient(40% 40% at 80% 10%, color-mix(in oklab, var(--dot) 18%, transparent), transparent); pointer-events: none; }
.reason-media > * { position: relative; }
@media (max-width: 900px) { .reason { grid-template-columns: 1fr; } .reason:nth-child(even) .reason-media { order: 0; } }

.panel { background: #fff; border-radius: 12px; width: 100%; max-width: 520px; font-size: 14px; color: var(--on-paper); box-shadow: 0 0 0 1px var(--line-paper), 0 20px 40px -24px rgba(6,7,11,.35); }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-paper); font-weight: 500; }
.panel-h .mono { color: var(--on-paper-2); font-size: 10.5px; }
.panel-b { padding: 18px; display: grid; gap: 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-paper); cursor: pointer; padding: 0; transition: transform .3s var(--ease); }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--on-paper); }
.toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--on-paper); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.off { background: #d3d3cd; }
.toggle.off::after { right: auto; left: 3px; }
.brand-demo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; width: 100%; align-items: center; }
.brand-demo .call { aspect-ratio: 4 / 3; font-size: 10px; border-radius: 12px; transition: background-color .5s; box-shadow: 0 20px 40px -20px rgba(6,7,11,.6); }
.brand-demo .tiles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .brand-demo { grid-template-columns: 1fr; } }
.lobby { display: grid; gap: 14px; width: 100%; max-width: 460px; }
.notice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(6,7,11,.6); }
.notice .av { width: 36px; height: 36px; border-radius: 50%; background: var(--c-pink); color: var(--ink); display: grid; place-items: center; font-weight: 600; flex: none; }
.notice div { flex: 1; line-height: 1.3; }
.notice small { color: #a3a9b8; }
.notice b { background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 13px; }
.guest { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.guest .preview { aspect-ratio: 4/3; border-radius: 8px; position: relative; overflow: hidden; background: radial-gradient(24% 30% at 50% 44%, #c9a184 0 60%, transparent 100%), radial-gradient(44% 38% at 50% 100%, #3b3a46 0 70%, transparent 100%), #2a2630; }
.guest .preview::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(4px); }
.dots::after { content: "…"; animation: dots 1.4s steps(4) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0; } 100% { width: 1em; } }
.cal { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); font-size: 12px; }
.cal > div { border-top: 1px solid var(--line-paper); height: 38px; position: relative; }
.cal .dh { border: 0; height: 28px; text-align: center; color: var(--on-paper-2); font-family: var(--mono); font-size: 11px; }
.cal .t { color: var(--on-paper-2); font-family: var(--mono); font-size: 11px; border: 0; }
.ev { position: absolute; inset: 3px 3px auto 3px; border-radius: 5px; padding: 4px 6px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; z-index: 1; background: color-mix(in oklab, var(--c) 20%, #fff); border-left: 2px solid var(--c); }
.ev.tall { height: 70px; white-space: normal; }
.look { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; width: 100%; align-items: center; }
.look .tile { aspect-ratio: 4/3; border-radius: 12px; --room: #7e9cc4; --cloth: #3d4a5c; box-shadow: 0 20px 40px -20px rgba(6,7,11,.6); }
.look .tile.cam::after { backdrop-filter: none; }
.look .tile.cam { background:
    radial-gradient(22% 30% at 50% 44%, #c8a184 0 62%, transparent 70%),
    radial-gradient(40% 36% at 50% 100%, #3d4a5c 0 72%, transparent 78%),
    radial-gradient(60% 60% at 25% 25%, #9ab6d8, transparent 70%), radial-gradient(70% 70% at 85% 70%, #d9b38f, transparent 70%), #5b6670; }
.slider { display: grid; gap: 8px; }
.slider .track { height: 6px; border-radius: 999px; background: #dcdcd6; position: relative; }
.slider .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: inherit; background: linear-gradient(90deg, var(--c-green), var(--c-yellow)); }
.slider .track i::after { content: ""; position: absolute; right: -8px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-paper), 0 2px 6px rgba(0,0,0,.2); }
@media (max-width: 560px) { .look { grid-template-columns: 1fr; } }
.chat { display: grid; gap: 10px; }
.msg { max-width: 85%; padding: 10px 12px; border-radius: 14px; background: #f1f1ec; line-height: 1.35; }
.msg.me { justify-self: end; background: var(--ink); color: #fff; }
.file { display: flex; align-items: center; gap: 10px; }
.file .ic { width: 32px; height: 38px; border-radius: 5px; background: var(--c-orange); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; color: var(--ink); font-weight: 500; }
.file small { color: #a3a9b8; display: block; }

/* Под капотом */
.engine { background: var(--ink); overflow: hidden; }
.engine::before { content: ""; position: absolute; inset: 0; background: var(--grid-ink); mask: linear-gradient(#000, transparent 70%); pointer-events: none; }
.engine-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
@media (max-width: 960px) { .engine-grid { grid-template-columns: 1fr; } }
.term-w { border-radius: 16px; background: rgba(12,14,20,.85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-ink-2); display: flex; flex-direction: column; min-height: 440px; overflow: hidden; }
.term-body { padding: 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; color: var(--on-ink-2); flex: 1; }
.term-body .l { white-space: pre-wrap; word-break: break-word; animation: join .4s var(--ease) both; }
.term-body .ts { color: #3F4455; }
.term-body .ok { color: var(--c-green); } .term-body .rec { color: #ff7a7a; } .term-body .ai { color: #cdbdff; } .term-body .ev-n { color: var(--on-ink); }
.term-body .caret { display: inline-block; width: .6em; height: 1.1em; background: var(--on-ink); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-ink); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-ink-2); }
.stat { background: var(--ink); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 10px; align-content: space-between; min-height: 200px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; background: radial-gradient(closest-side, color-mix(in oklab, var(--c) 30%, transparent), transparent); opacity: .5; }
.stat .v { font-size: clamp(44px, 3vw + 20px, 68px); line-height: .9; letter-spacing: -.05em; font-weight: 300; }
.stat .v small { font-size: .36em; letter-spacing: -.01em; color: var(--on-ink-2); margin-left: 6px; font-weight: 400; }
.stat p { color: var(--on-ink-2); font-size: 14.5px; }
.stat .label { --dot: var(--c); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 40px); position: relative; }
.stack span { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-ink-2); font-family: var(--mono); font-size: 11.5px; color: var(--on-ink-2); letter-spacing: .04em; }

/* Конвейер */
.pipe { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.pipe-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-paper); overflow: hidden; }
.pipe-line::after { content: ""; position: absolute; top: -1px; height: 3px; width: 160px; left: -160px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--c-violet), var(--c-blue)); animation: comet 4s var(--ease) infinite; }
@keyframes comet { to { left: 100%; } }
.stage { position: relative; display: grid; gap: 14px; align-content: start; }
.stage .node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.6) 0, transparent 45%), var(--c); box-shadow: 0 6px 20px -6px var(--c); }
.stage p { color: var(--on-paper-2); }
.stage .mono { color: var(--on-paper-2); }
@media (max-width: 860px) {
  .pipe { grid-template-columns: 1fr; gap: 32px; }
  .pipe-line { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pipe-line::after { width: 3px; height: 120px; left: -1px; top: -120px; background: linear-gradient(180deg, transparent, var(--c-violet), var(--c-blue)); animation-name: comet-v; }
  .stage { grid-template-columns: 44px 1fr; column-gap: 20px; }
  .stage > :not(.node) { grid-column: 2; }
  .stage .node { grid-row: span 3; }
}
@keyframes comet-v { to { top: 100%; } }

.fill { background: repeating-linear-gradient(-45deg, var(--paper) 0 12px, var(--paper-2) 12px 24px); border: 1px dashed #b9b8ad; border-radius: 16px; padding: clamp(28px, 4vw, 56px); display: grid; gap: 10px; color: var(--on-paper-2); }
.todo { font-family: var(--mono); font-size: 12px; color: #8a5b00; background: #fff1cc; padding: 1px 6px; border-radius: 4px; }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 96px); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
details { border-top: 1px solid var(--line-paper); }
details:last-child { border-bottom: 1px solid var(--line-paper); }
summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 19px; letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--on-paper-2); transition: transform .4s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--on-paper-2); max-width: 60ch; }

.final { overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: var(--grid-ink); mask: radial-gradient(60% 80% at 20% 50%, #000, transparent 75%); pointer-events: none; }
.final .aurora { left: -200px; right: auto; top: 0; opacity: .22; }
.final-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; } }
.final-mark { width: 64px; height: 64px; }
form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: rgba(12,14,20,.75); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-ink-2), 0 40px 80px -40px rgba(0,0,0,.9); }
label { display: grid; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-2); }
input, select { height: 48px; padding: 0 14px; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1px var(--line-ink-2); background: var(--ink); color: #fff; font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 0; }
form .btn { justify-content: center; }
.form-note { font-size: 13px; color: var(--on-ink-3); }
.form-ok { display: none; padding: 14px; border-radius: 10px; background: color-mix(in oklab, var(--c-green) 12%, var(--ink)); color: var(--c-green); }

footer { border-top: 1px solid var(--line-ink); padding: 28px 0; font-size: 14px; color: var(--on-ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-ink); }

/* 3D-сцена звонка (Three.js) */
.stage3d { position: relative; height: clamp(420px, 54vw, 680px); margin: 0 calc(var(--gutter) * -1); }
.stage3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage3d .fallback-win { display: none; padding: 0 var(--gutter); }
.stage3d.no-3d { height: auto; }
.stage3d.no-3d .fallback-win { display: block; }
.stage3d.no-3d canvas, .stage3d.no-3d .hud { display: none; }
.stage3d::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hud { position: absolute; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.hud.h1 { top: 4%; left: var(--gutter); }
.hud.h2 { top: 4%; right: var(--gutter); }
.hud span { padding: 7px 12px; border-radius: 999px; background: rgba(12,14,20,.7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-ink-2); color: var(--on-ink-2); }
.hud b { color: var(--on-ink); font-weight: 500; }
.hud .rec::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff5a5a; margin-right: 8px; animation: blink 1.6s infinite; }
@media (max-width: 640px) { .hud.h2 { display: none; } }

/* Схема потоков: звонок → знание */
.flow { position: relative; display: grid; grid-template-columns: 1fr 220px 1fr; align-items: center; }
.orb { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6% 0; }
.orb::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--c) 70%, transparent);
  background: radial-gradient(circle, transparent 0 1px, transparent 1px) 0 0 / 14px 14px, radial-gradient(closest-side, color-mix(in oklab, var(--c) 12%, transparent), transparent);
  box-shadow: 0 0 60px -10px color-mix(in oklab, var(--c) 50%, transparent), inset 0 0 60px -20px color-mix(in oklab, var(--c) 40%, transparent); }
.orb::after { content: ""; position: absolute; inset: 3%; border-radius: 50%; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 14px 14px; mask: radial-gradient(closest-side, #000 60%, transparent); pointer-events: none; }
.orb > * { position: relative; z-index: 1; }
.orb .top { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); }
.orb .who { display: flex; gap: 6px; margin-top: 12px; }
.orb .who i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.6), transparent 45%), var(--cc); box-shadow: 0 0 14px -2px var(--cc); animation: bob 3s ease-in-out infinite; animation-delay: calc(var(--k) * -.4s); }
@keyframes bob { 50% { transform: translateY(-3px); } }
.wire { width: 2px; height: clamp(16px, 2.2vw, 32px); flex: none; position: relative; overflow: hidden;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 3px, transparent 3px 6px); background-size: 2px 6px; animation: wire 1s linear infinite; }
.wire::after { content: ""; position: absolute; left: -2px; width: 6px; height: 16px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); top: -16px; animation: pulse-down 2.4s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes wire { to { background-position: 0 6px; } }
@keyframes pulse-down { to { top: 100%; } }
.orb .pill { padding: 14px 34px; border-radius: 999px; font-weight: 500; font-size: clamp(17px, 1.2vw + 8px, 24px); letter-spacing: -.01em; color: var(--ink); background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 50%), var(--c); box-shadow: 0 10px 40px -8px var(--c); }
.orb .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 5px 9px; background: var(--ink); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 50%, transparent); }
.orb .chip2 { padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); }
.orb .base { margin-top: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink); }
.flow-mid { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.flow-mid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-mid path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.flow-mid path.pulse { stroke-width: 2; stroke-dasharray: 14 186; stroke-linecap: round; animation: flowdash 2.6s linear infinite; filter: drop-shadow(0 0 3px currentColor); }
@keyframes flowdash { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.flow-mid .core { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-ink-2), 0 0 40px -6px rgba(168,85,247,.6); }
.flow-mid .core img { width: 38px; height: 38px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .flow-mid { min-height: 160px; }
  .flow-mid svg { transform: rotate(90deg); }
}

.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .shot .tile { opacity: 1; transform: none; filter: none; }
  .reason::after { width: 120px; }
}
