/* Единый материал: профиль линзы Backdrop, отдельный от содержимого. */
:root { --line:#ffffff20; --muted:#c7c7c7; --quiet:#aaa; }
body { background:#0c0c0c; }
:is(.glass-surface,.nav-action) {
  position:relative;
  isolation:isolate;
  border:0;
  background:transparent;
  box-shadow:0 10px 30px #0005;
  --glass-fill:#96969620;
  --glass-blur:4px;
  --glass-highlight:.72;
}
:is(.glass-surface,.nav-action)::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  pointer-events:none;
  background:var(--glass-fill);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
/* Панели используют оптику шапки. Вложенные элементы сохраняют её заливку и кромку. */
.glass-surface:where(.nav-shell,.product-window,.source-node,.filter-stage,.analysis-stage,.response-example,.price-card,.faq-list details,.phone-notification:not([data-stack-depth]),.phone-notification[data-stack-depth="0"])::before {
  backdrop-filter:saturate(1.3) blur(var(--glass-blur));
  -webkit-backdrop-filter:saturate(1.3) blur(var(--glass-blur));
}
.glass-surface[data-refracted]::before { backdrop-filter:var(--backdrop-lens); -webkit-backdrop-filter:var(--backdrop-lens); }
.product-window .glass-surface::before,.phone-notification[data-stack-depth]:not([data-stack-depth="0"])::before { backdrop-filter:none; -webkit-backdrop-filter:none; }
:is(.glass-surface,.nav-action)::after { content:''; position:absolute; inset:0; z-index:2; border-radius:inherit; pointer-events:none; padding:1px; background:linear-gradient(135deg,#ffffffe0 0%,#ffffff36 18%,#ffffff08 42%,#ffffff07 60%,#ffffff78 91%,#ffffffb0); mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude; -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; opacity:var(--glass-highlight); }
.glass-definitions { position:absolute; width:0; height:0; pointer-events:none; }
:is(.glass-control,.nav-action) { --glass-blur:3px; --glass-fill:#c9c9c91c; --hover-light:0; border-radius:999px; box-shadow:0 4px 12px #0004,inset 0 1px 3px #fff2,inset 0 -2px 3px #0002; color:#f5f5f5; touch-action:manipulation; transform-origin:center; transition:none; }
:is(.glass-control,.nav-action):active { --press-light:.2; }
:is(.glass-control,.nav-action):disabled { opacity:.65; }
.button.primary,.nav-action { --glass-fill:#e77d2780; color:#fffaf4; --glass-highlight:.9; text-shadow:0 1px 2px #54270066; }
.button.primary:hover,.nav-action:hover { --glass-fill:#f79b40c4; }
.button.secondary:hover,.motion-control:hover { --glass-fill:#ffffff28; }
.button:hover,.button:active,.nav-action:active { transform:none; }
.nav-shell { border-radius:34px; }
.nav-shell nav { gap:5px; }
.nav-shell nav a { padding-inline:13px; border-radius:99px; }
.nav-shell nav a:hover { background:#ffffff10; }
.nav-action { min-height:44px; }
.hero-actions { position:relative; }
.atmosphere { top:0; height:1300px; z-index:-1; background:url('assets/backdrop-field.svg') center 40px / max(1450px,100%) 1100px no-repeat; }
.atmosphere svg { display:none; }
.scene-light { display:none; }
.product-scene { padding-bottom:35px; }
.product-window { border-radius:34px; padding:10px; overflow:visible; }
.window-toolbar { border-radius:25px 25px 14px 14px; margin-bottom:6px; box-shadow:none; }
.product-layout { border-radius:16px 16px 25px 25px; background:linear-gradient(155deg,#ffffff03,#0505055c); }
.product-sidebar { border-right:0; background:transparent; }
.product-content { background:transparent; }
.sidebar-selected { border-radius:99px!important; }
.category-controls { gap:4px; border-radius:99px; padding:5px; --glass-fill:#05050548; box-shadow:none; }
.category-controls::after { opacity:.25; }
.category-controls button { border:0; background:transparent; color:#c9c9c9; border-radius:99px; min-height:44px; }
.category-controls button::before,.category-controls button::after { opacity:0; }
.category-controls button[aria-pressed=true] { color:#fff; --glass-fill:#e5e5e52c; box-shadow:0 2px 8px #0004,inset 0 1px 2px #fff2; }
.category-controls button[aria-pressed=true]::before,.category-controls button[aria-pressed=true]::after { opacity:1; }
.featured-lead { border-radius:25px; padding:24px; }
.lead-tags span { border-radius:99px; background:#ffffff0c; }
.source-link { color:#e4e4e4; }
.next-lead { padding:16px; border-radius:21px; box-shadow:none; }
.floating-alert { border-radius:27px; transform:none; }
.workflow { border:0; background:url('assets/backdrop-field.svg') center 100px / 1600px 1500px no-repeat; }
.source-node > span { border-radius:24px; --glass-fill:#b5b5b51c; }
.source-node svg { color:#e5e5e5; }
.filter-stage { border-radius:30px; padding:30px; }
.analysis-stage { border-radius:34px; padding:30px 24px 25px; }
.analysis-grid { border-block:0; border-radius:18px; background:#00000018; }
.analysis-grid>div+div { border-color:#ffffff17; }
.analysis-grid span { color:#c4c4c4; }
.step-label { color:#e7b28c; }
.response-section { border:0; }
.response-example { border-radius:32px; }
.response-label { color:#f4bf91; }
.phone { background:#202020 url('assets/backdrop-field.svg') 48% 40% / 1700px 1100px; border-color:#565656; }
.phone-wallpaper:before { left:-260px; border-color:#dcdcdc14; }
.phone-notification { border-radius:27px; }
.phone-notification>p { color:#f1f1f1; }
.phone-stack { border:0; background:#adadad12; }
.pricing-section { background:radial-gradient(ellipse at 55% 65%,#4545453b,transparent 65%); border:0; }
.price-card { border-radius:32px; }
.price-featured .plan-name { color:#ffbd80; }
.faq-list { border:0; display:grid; gap:10px; }
.faq-list details { border-radius:24px; padding:0 23px; }
.faq-list details>p { margin-right:10px; }
.faq-list summary { min-height:76px; }
.final-mark { border-radius:24px; }
@media(max-width:760px) { .product-window{padding:7px;border-radius:29px}.window-toolbar{border-radius:22px 22px 12px 12px}.analysis-stage{padding:26px 18px}.nav-shell nav{display:none}.product-scene{padding-bottom:32px} }
@media(max-width:560px) { .hero-actions .secondary{--glass-fill:#ffffff13}.product-window{padding:6px}.product-content{padding:18px 10px}.featured-lead{padding:20px 16px;border-radius:23px}.floating-alert{padding:14px;right:0;bottom:0}.filter-stage{padding:24px 18px;gap:14px}.analysis-stage{padding:26px 16px}.analysis-grid>div,.analysis-grid>div+div{padding-inline:8px}.source-node>span{border-radius:17px}.category-controls button{font-size:11px;padding-inline:8px}.faq-list details{padding-inline:19px}.phone-notification{padding:16px}.hero h1{font-size:clamp(35px,9vw,50px)} }
@media(max-width:359px) { .category-controls button{font-size:10px;padding-inline:6px}.featured-lead{padding:17px 13px}.product-title h2{font-size:18px}.analysis-stage{padding-inline:13px}.source-node b{font-size:10px}.filter-stage{gap:12px;padding-inline:16px} }
.opaque :is(.glass-surface,.nav-action),.opaque .hero-actions .secondary { --glass-fill:#292929; }
.opaque :is(.glass-surface,.nav-action)::before { backdrop-filter:none; -webkit-backdrop-filter:none; background:var(--glass-fill); }
.opaque .button.primary,.opaque .nav-action { --glass-fill:#bf6722; }
.opaque .category-controls button[aria-pressed=true] { --glass-fill:#555; }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { :is(.glass-surface,.nav-action),.hero-actions .secondary{--glass-fill:#292929}:is(.glass-surface,.nav-action)::before,.glass-surface[data-refracted]::before{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--glass-fill)}.button.primary,.nav-action{--glass-fill:#bf6722}:is(.glass-surface,.nav-action)::after{opacity:.8}.category-controls button[aria-pressed=true]{--glass-fill:#555}.atmosphere{opacity:.35} }
@media(prefers-contrast:more) { :root{--muted:#eee;--quiet:#ddd}:is(.glass-surface,.nav-action)::after{background:#ddd}:is(.glass-surface,.nav-action){color:#fff} }
@media(prefers-reduced-motion:reduce) { :is(.glass-control,.nav-action){transform:none!important}:is(.glass-control,.nav-action):active{--press-light:.16}.atmosphere canvas{transition:none} }
.reduced :is(.glass-control,.nav-action) { transform:none!important; }
.reduced .atmosphere canvas { transition:none; }
@supports not (backdrop-filter:blur(1px)) { :is(.glass-surface,.nav-action)::before{background:#292929}.button.primary::before,.nav-action::before{background:#bf6722} }
/* Точечная волна: приглушённый серый материал без полноэкранного CSS-blur и скачка при переходе к canvas. */
.atmosphere { position:fixed; inset:0; height:auto; z-index:-1; background:#0c0c0c url('assets/dot-wave.svg?v=lg-2') center / cover no-repeat; overflow:hidden; }
.atmosphere canvas { display:block; width:100%; height:100%; opacity:0; transition:opacity 380ms ease; }
.atmosphere canvas.is-ready { opacity:1; }
.atmosphere svg { display:none; }
.workflow,.pricing-section { background:transparent; }
.phone { background-color:#262626; background-image:radial-gradient(circle,#080808 1.6px,transparent 1.9px),radial-gradient(ellipse at 18% 78%,#7f7f7f 0%,#626262 24%,transparent 57%),linear-gradient(145deg,#222,#393939 48%,#161616); background-size:13px 13px,100% 100%,100% 100%; background-position:0 0; }
.phone-wallpaper:before { display:none; }
.notification-wrap { isolation:auto; }
.phone-notification { --glass-fill:rgb(20 20 20 / .48); }
.button.primary,.nav-action { --glass-fill:#e77d2780; }
.button.primary:hover,.nav-action:hover { --glass-fill:#f38c358c; }
:is(.glass-control,.nav-action) { box-shadow:0 6px 16px #0005,inset 0 2px 4px #ffffff32,inset 0 -3px 5px #fff1!important; }
.button.primary::after,.nav-action::after { background:linear-gradient(125deg,#fff9,#ffddac52 23%,#ffffff09 48%,#fff8 96%); }
.motion-control { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; margin-left:auto; }
.nav-shell { gap:13px; }
.nav-shell nav { margin-inline:auto; }
.phone-scene { padding-bottom:0; }
.faq-content { display:flow-root; padding-bottom:24px; }
.faq-content>p { margin:0 10px 0 0; color:var(--muted); font-size:15px; line-height:1.65; }
.faq-list details[data-animating] { overflow:clip; }
.faq-list summary .icon { transition:transform 300ms cubic-bezier(.2,.7,.2,1); }
.faq-list details[data-target-open=false] summary .icon { transform:none; }
.faq-list details[data-target-open=true] summary .icon { transform:rotate(45deg); }
@media(max-width:760px) { .atmosphere{height:auto}.nav-shell{gap:8px}.motion-control{width:40px;min-width:40px}.nav-action{padding-inline:13px}.brand{gap:7px} }
@media(max-width:359px) { .nav-shell{padding-inline:10px;gap:6px}.nav-action{padding-inline:10px;gap:5px;font-size:11px}.nav-action .icon{width:13px}.brand{font-size:16px}.brand img{width:27px;height:27px}.motion-control{width:38px;min-width:38px} }
@media(prefers-reduced-motion:reduce) { .faq-list summary .icon{transition-duration:120ms} }
.reduced .faq-list summary .icon { transition-duration:120ms; }
/* Непрозрачный режим сохраняется и при hover/focus. */
.opaque .button.primary,.opaque .nav-action,.opaque .button.primary:hover,.opaque .nav-action:hover { --glass-fill:#bf6722; }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { .button.primary,.nav-action,.button.primary:hover,.nav-action:hover{--glass-fill:#bf6722} }
/* Спекулярный hotspot меняет только оптический слой; текст остаётся белым. */
:is(.glass-control,.nav-action) { --hover-light:0; }
:is(.glass-control,.nav-action)::before { background:radial-gradient(ellipse at var(--press-x,50%) var(--press-y,28%),rgb(255 255 255 / var(--hover-light)),transparent 73%),linear-gradient(135deg,#ffffff24 0%,transparent 48%,#5a210024 100%),var(--glass-fill); }
.button.secondary::before,.category-controls button::before { background:radial-gradient(ellipse at var(--press-x,50%) var(--press-y,28%),rgb(255 255 255 / var(--hover-light)),transparent 73%),linear-gradient(115deg,#ffffff0d,transparent 40%,#ffffff06),var(--glass-fill); }
:is(.glass-control,.nav-action):focus-visible { --hover-light:.16; --glass-highlight:1; }
@media(hover:hover) and (pointer:fine) { :is(.glass-control,.nav-action):hover{--hover-light:.16;--glass-highlight:1} }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { :is(.glass-control,.nav-action)::before,.button.secondary::before,.category-controls button::before{background:var(--glass-fill)} }
.opaque :is(.glass-control,.nav-action)::before,.opaque .button.secondary::before,.opaque .category-controls button::before { background:var(--glass-fill); }
/* Телефон: самостоятельные мягкие обои, часы и передний текст без blur. */
.phone { background:#171717; }
.phone-wallpaper { inset:0; z-index:-1; background:radial-gradient(ellipse at 18% 26%,#7d7d7d 0%,#484848 34%,transparent 68%),radial-gradient(ellipse at 84% 72%,#5d5d5d 0%,#303030 38%,transparent 70%),linear-gradient(145deg,#181818,#303030 50%,#101010); }
.phone-wallpaper:before { display:none; }
.notification-wrap { position:relative; height:224px; margin-top:52px; isolation:auto; contain:layout style; }
.notification-wrap .phone-notification { position:absolute; top:0; left:0; right:0; margin:0; transform-origin:50% 0; }
.phone-notification[data-stack-depth]:not([data-stack-depth="0"]) { pointer-events:none; }
.phone-notification[data-stack-depth]:not([data-stack-depth="0"]) > * { visibility:hidden; }
@media(max-width:560px) { .notification-wrap{margin-top:45px;height:224px} }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { .phone-notification[data-stack-depth]{filter:none!important} }
.opaque .phone-notification[data-stack-depth] { filter:none!important; }
/* Пять источников и единый коллектор; compact меняет топологию, а не размер шрифта. */
.source-network { position:relative; display:grid; gap:144px; }
.source-network .source-grid { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; z-index:1; }
.source-network .source-node { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; min-height:112px; padding:19px 10px; border-radius:24px; }
.source-network .source-node>span { display:grid; place-items:center; width:36px; height:36px; padding:0; background:none; border:0; border-radius:0; box-shadow:none; }
.source-network .source-node svg { width:32px; height:32px; color:#ededed; }
.source-network .source-node b { font-size:14px; font-weight:600; color:#eee; line-height:1.4; letter-spacing:0; overflow-wrap:normal; text-align:center; }
.source-port,.network-input { position:absolute; display:block; width:8px; height:8px; border-radius:50%; pointer-events:none; }
.source-port { bottom:-4px; left:calc(50% - 4px); }
.network-input { top:-4px; left:calc(50% - 4px); }
.source-network .filter-stage { position:relative; z-index:1; width:min(680px,100%); margin:0 auto; }
.network-svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.network-svg path { fill:none; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.network-casings path { stroke:#101010; stroke-width:7; }
.network-tracks path { stroke:#939393; stroke-width:1.5; }
.network-pulses path { stroke:#ffc08a; stroke-width:3; stroke-dasharray:.045 1; stroke-dashoffset:.05; opacity:0; animation:network-signal 14s linear infinite; animation-delay:var(--signal-delay); animation-play-state:paused; }
.source-network.is-running .network-pulses path { animation-play-state:running; }
.network-port-dot { fill:#242424; stroke:#b0b0b0; stroke-width:1.3; }
.network-collector-dot { fill:#29201b; stroke:#e9aa79; stroke-width:1.5; }
.network-input-dot { fill:#ffb178; stroke:#171717; stroke-width:2; }
@keyframes network-signal { 0%{stroke-dashoffset:.05;opacity:0} 1.5%{opacity:.9} 18%{stroke-dashoffset:-1;opacity:.9} 20%,100%{stroke-dashoffset:-1;opacity:0} }
@media(max-width:800px) and (min-width:641px) { .source-network .source-grid{gap:10px}.source-network .source-node{padding-inline:6px}.source-network .source-node b{font-size:13px} }
@media(max-width:640px) { .source-network{gap:104px}.source-network .source-grid{grid-template-columns:1fr;gap:12px;padding-right:64px}.source-network .source-node{flex-direction:row;justify-content:flex-start;gap:15px;padding:15px 20px;min-height:68px;border-radius:21px}.source-network .source-node b{font-size:15px;text-align:left}.source-network .source-node>span{width:32px;height:32px;flex:none}.source-network .source-node svg{width:29px;height:29px}.source-port{left:auto;right:-4px;bottom:calc(50% - 4px)}.source-network .filter-stage{gap:15px;padding:25px 19px}.source-network .filter-stage h3{font-size:22px} }
@media(prefers-reduced-motion:reduce) { .network-pulses path{animation:none;opacity:0} }
.reduced .network-pulses path { animation:none;opacity:0; }
@media(prefers-contrast:more) { .network-tracks path{stroke:#ddd;stroke-width:2}.network-port-dot{stroke:#fff} }
/* Только схема: исходные SVG-бейджи бирж остаются теми же, палитра нейтральная. */
.source-network .source-node { min-width:0; }
.source-network .source-node svg { filter:grayscale(1); }
.source-network .source-node b { min-width:0; overflow-wrap:anywhere; }
