@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 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+20BD, U+2122, U+2190-2199, U+2212, U+2215;
}

:root {
  --paper: #f5f7fb;
  --white: #ffffff;
  --tint: #ecf1f9;
  --ink: #13203b;
  --graphite: #5a6680;
  --line: #dce3ee;
  --cobalt: #2c5bf5;
  --cobalt-deep: #1d44cc;
  --cobalt-soft: #e4ebff;
  --live: #10b07f;
  --amber: #e2a11b;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Onest", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.14; max-width: 24ch; margin-bottom: .55em; }
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sub { color: var(--graphite); max-width: 62ch; font-size: 1.05rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  background: var(--cobalt); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px rgba(44, 91, 245, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { background: var(--cobalt-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(44, 91, 245, .8); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px #c3cee0, 0 6px 16px -10px rgba(19, 32, 59, .4); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 247, 251, .85);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-mark { width: 32px; height: 32px; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--graphite); text-decoration: none; font-size: .95rem; position: relative; padding: 4px 0;
  background: linear-gradient(var(--cobalt), var(--cobalt)) left bottom / 0 1.5px no-repeat;
  transition: color .2s, background-size .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1.5px; }

/* hero */
.hero { padding: 72px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-grid > *, .ai-grid > *, .two > *, .cta > * { min-width: 0; }
.call { max-width: 100%; }
.product { color: var(--cobalt); font-weight: 600; margin-bottom: 18px; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; max-width: 15ch; }
.lead { margin-top: 24px; font-size: 1.15rem; color: var(--graphite); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* the call panel */
.call {
  margin: 0; background: var(--white); border-radius: 26px; padding: 24px 24px 20px;
  box-shadow: 0 0 0 1px rgba(19, 32, 59, .06), 0 30px 60px -30px rgba(29, 68, 204, .35), 0 12px 24px -16px rgba(19, 32, 59, .2);
}
.call-head { display: flex; align-items: center; gap: 12px; }
.call-avatar { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); }
.call-avatar svg { width: 24px; height: 24px; }
.call-who { flex: 1; min-width: 0; }
.call-who strong { display: block; font-weight: 650; }
.call-state { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--graphite); }
.timer { font-variant-numeric: tabular-nums; color: var(--ink); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); position: relative; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--live); opacity: 0; animation: ring 2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.call-lock { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--live); background: #e3f6ef; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.call-lock svg { width: 14px; height: 14px; }

.net { margin: 18px 0 16px; padding: 14px 14px 6px; border-radius: 18px; background: var(--paper); }
.net-bar { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.net-label { color: var(--graphite); }
.net-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .28s, transform .28s var(--ease); }
.net.switch .net-name { opacity: 0; transform: translateY(-6px); }
.net-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--live); font-weight: 600; white-space: nowrap; }
.net-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.net.flash .net-ok { animation: okpop .6s var(--ease); }
.net-note { margin: 2px 0 6px; text-align: center; font-size: .82rem; color: var(--graphite); }
.net.flash .net-note { color: var(--live); transition: color .2s; }
@keyframes okpop { 40% { transform: scale(1.12); } }

.route { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; font-family: inherit; }
.route .node circle:first-child { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.route .node-srv circle:first-child { stroke: var(--cobalt-soft); stroke-width: 6; }
.route .ico { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; }
.route .led { fill: var(--live); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.route .wall rect { fill: #e9edf4; stroke: #c9d2e1; stroke-width: 1.2; }
.route .bricks { stroke: #c9d2e1; stroke-width: 1.2; fill: none; }
.route .gap { fill: var(--cobalt-soft); }
.route .gate { font-size: 13px; font-weight: 650; fill: var(--cobalt); text-anchor: middle; }
.route .blocked path { stroke: #e46a6a; stroke-width: 1.6; stroke-dasharray: 4 5; fill: none; opacity: .55; }
.route .x path { stroke: #e46a6a; stroke-width: 2.4; stroke-dasharray: none; opacity: 1; stroke-linecap: round; }
.route .port { font-size: 12.5px; fill: #c45656; text-anchor: middle; }
.route .cap { font-size: 13px; fill: var(--graphite); text-anchor: middle; }
.net.flash .blocked { animation: deny .9s var(--ease); }
@keyframes deny { 0%, 100% { opacity: 1; } 25%, 65% { opacity: .25; } }
.route .path-base { stroke: var(--line); stroke-width: 3; fill: none; stroke-linecap: round; }
.route .path-live { stroke: var(--cobalt); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 332; stroke-dashoffset: 332; animation: draw 1.2s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route .pkt { fill: var(--cobalt); opacity: 0; animation: travel 1.8s linear infinite; }
.route .pkt:nth-of-type(2) { animation-delay: .6s; }
.route .pkt:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateX(332px); opacity: 0; } }
.route .pkt:nth-of-type(odd) { fill: var(--live); }

.transcript { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.45; max-width: 88%; }
.line span { display: block; font-size: .76rem; font-weight: 600; margin-bottom: 2px; }
.line.in { background: var(--paper); border-bottom-left-radius: 5px; }
.line.in span { color: var(--graphite); }
.line.out { margin-left: auto; background: var(--cobalt); color: #fff; border-bottom-right-radius: 5px; }
.line.out span { color: #eef2ff; }
.js .line { opacity: 0; transform: translateY(8px); animation: pop .5s var(--ease) forwards; }
.js .line:nth-child(1) { animation-delay: 1.2s; }
.js .line:nth-child(2) { animation-delay: 2.4s; }
@keyframes pop { to { opacity: 1; transform: none; } }

.facts { list-style: none; margin: 64px 0 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 4px 20px; color: var(--graphite); font-size: .95rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; color: var(--ink); font-weight: 650; font-size: 1.12rem; letter-spacing: -0.01em; }

/* blocks */
.block { padding: 96px 0; }
.block-tint { background: var(--tint); }

/* steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); z-index: 0; }
.steps li { position: relative; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--cobalt); font-weight: 700; box-shadow: inset 0 0 0 2px var(--cobalt); margin-bottom: 20px;
  transition: background .25s, color .25s;
}
.steps li:hover .step-n { background: var(--cobalt); color: #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--graphite); }

/* before / after */
.ba { margin-top: 44px; background: var(--white); border-radius: 22px; box-shadow: 0 0 0 1px rgba(19, 32, 59, .05); overflow: hidden; }
.ba-head, .ba-row { display: grid; grid-template-columns: .85fr 1.15fr; }
.ba-head span { padding: 16px 28px; font-size: .9rem; font-weight: 600; color: var(--graphite); }
.ba-head span + span { color: var(--cobalt); }
.ba-row { border-top: 1px solid var(--line); }
.was {
  padding: 26px 28px; color: var(--graphite); background: #fafbfd;
}
.was::before { content: ""; display: block; width: 18px; height: 2px; background: #c3cad8; margin-bottom: 12px; transition: width .4s var(--ease), background .3s; }
.ba-row:hover .was::before { width: 40px; background: #e46a6a; }
.now { padding: 26px 28px; }
.now h3 { margin-bottom: 6px; }
.now p { color: var(--graphite); }
.now .why { margin-top: 12px; font-size: .9rem; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--cobalt-soft); transition: border-color .3s; }
.ba-row:hover .why { border-left-color: var(--cobalt); }

/* features */
.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.features li { display: flex; gap: 16px; color: var(--graphite); font-size: .95rem; }
.features .soon { display: inline-block; font-style: normal; font-size: .76rem; font-weight: 600; color: #8a5a00; background: #fdf1d6; padding: 1px 8px; border-radius: 999px; margin-top: 6px; }
.features strong { display: block; color: var(--ink); font-weight: 650; margin-bottom: 3px; font-size: 1rem; }
.features svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--cobalt-soft);
  fill: none; stroke: var(--cobalt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease), background .3s, stroke .3s;
}
.features li:hover svg { transform: translateY(-2px) rotate(-4deg); background: var(--cobalt); stroke: #fff; }

/* AI */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { position: relative; padding: 0 0 12px 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--live) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.pipe { background: var(--white); border-radius: 24px; padding: 30px; box-shadow: 0 0 0 1px rgba(19, 32, 59, .05), 0 24px 48px -32px rgba(29, 68, 204, .4); }
.pipe ol { list-style: none; margin: 0; padding: 0; position: relative; }
.pipe ol::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.pipe ol::after { content: ""; position: absolute; left: 10px; top: 14px; width: 2px; height: 0; background: var(--cobalt); transition: height 1.6s var(--ease); }
.pipe.on ol::after { height: calc(100% - 28px); }
.pipe li { position: relative; display: flex; gap: 20px; padding: 10px 0; color: var(--graphite); font-size: .95rem; }
.pipe li strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.pipe-dot { flex: none; position: relative; z-index: 1; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .4s, background .4s; }
.pipe.on .pipe-dot { background: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 5px var(--cobalt-soft); }
.pipe.on li:nth-child(1) .pipe-dot { transition-delay: .1s; }
.pipe.on li:nth-child(2) .pipe-dot { transition-delay: .8s; }
.pipe.on li:nth-child(3) .pipe-dot { transition-delay: 1.5s; }
.pipe-metric { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--graphite); font-size: .92rem; }
.pipe-metric b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--cobalt); letter-spacing: -0.02em; line-height: 1.2; }

/* tech */
.tech { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; align-items: start; }
.tech-group h3 { font-size: .95rem; color: var(--graphite); font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.tech details { border-bottom: 1px solid var(--line); }
.tech summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 4px 16px; padding: 16px 0;
  transition: padding .25s var(--ease);
}
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 7v8M7 11h8' stroke='%232c5bf5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.tech summary:hover { padding-left: 6px; }
.tech summary:hover::after { background-color: #d3ddff; }
.tech details[open] summary::after { transform: rotate(45deg); }
.t-name { font-weight: 650; grid-column: 1; }
.t-name em { font-style: normal; font-size: .74rem; font-weight: 600; color: var(--cobalt); background: var(--cobalt-soft); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.t-eff { grid-column: 1; color: var(--graphite); font-size: .93rem; }
.tech details p { padding: 0 38px 18px 0; color: var(--ink); font-size: .95rem; }
.tech details[open] p { animation: reveal .35s var(--ease); }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }

/* security + status */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.status { background: var(--white); border-radius: 22px; padding: 28px; box-shadow: 0 0 0 1px rgba(19, 32, 59, .05); }
.status h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.status ul + h3 { margin-top: 24px; }
.status ul { margin: 0; padding-left: 20px; color: var(--graphite); }
.status li { margin-bottom: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; position: relative; }
.dot.ok { background: var(--live); }
.dot.ok::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--live); opacity: 0; animation: ring 2.4s var(--ease) infinite; }
.dot.dev { background: var(--amber); }

/* app screens */
.app-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.app-grid > * { min-width: 0; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; justify-self: center; width: 100%; }
.phone { margin: 0; }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; border: 6px solid #1a2238; background: #0e1c3a; box-shadow: 0 28px 50px -28px rgba(19, 32, 59, .55); }
.phone:nth-child(2) { transform: translateY(32px); }
.phone figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--graphite); }
.mid-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.mid-cta p { font-weight: 600; }
.pipe-cta { margin-top: 18px; }
@media (max-width: 980px) { .app-grid { grid-template-columns: 1fr; gap: 36px; } .phone:nth-child(2) { transform: none; } }

/* CTA */
.cta {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: var(--cobalt); color: #fff; border-radius: 30px; padding: 56px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .03);
}
.cta h2 { color: #fff; }
.cta p { color: #eef2ff; max-width: 46ch; }
.lead { display: grid; gap: 12px; position: relative; min-width: 0; }
.f { display: grid; gap: 5px; font-size: .9rem; font-weight: 600; color: #fff; }
.f i { font-style: normal; font-weight: 400; color: #eef2ff; opacity: .85; }
.f input, .f textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 11px 14px; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f textarea:focus { outline: none; border-color: #9fb6ff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .82rem; line-height: 1.45; color: #eef2ff; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; }
.lead .btn { justify-self: start; }
.lead .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.lead-msg { min-height: 1.4em; font-size: .92rem; color: #eef2ff; }
.lead-msg.ok { color: #b8f5dd; font-weight: 600; animation: pop .3s var(--ease); }
.lead-msg.err { color: #ffe1dc; font-weight: 600; }
.btn-light { background: #fff; color: var(--cobalt-deep); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* footer */
.site-footer { padding: 32px 0 40px; color: var(--graphite); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .ai-grid, .two, .cta { grid-template-columns: 1fr; gap: 44px; }
  .tech { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .block { padding: 64px 0; }
  .call { padding: 18px; border-radius: 22px; }
  .call-lock { display: none; }
  .net { padding: 12px 10px 4px; }
  .net-bar { flex-wrap: wrap; row-gap: 2px; }
  .net-label { display: none; }
  .net-name { flex-basis: 100%; order: 1; font-size: .92rem; }
  .net-ok { order: 2; font-size: .82rem; }
  .route .port { display: none; }
  .route .port, .route .cap { font-size: 15px; }
  .route .gate { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .steps li { padding-left: 64px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .features { grid-template-columns: 1fr; gap: 22px; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .was { padding: 20px 20px 14px; }
  .now { background: var(--white); padding-top: 18px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-left: 0; padding: 0; }
  .cta { padding: 36px 22px; border-radius: 24px; }
  .pipe { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .route .path-live { stroke-dashoffset: 0; }
  .route .pkt { opacity: 0; }
  .js .line { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* prototype stamp dialog */
.proto-dlg { border: 0; padding: 40px 36px 32px; max-width: min(440px, calc(100vw - 32px)); border-radius: 26px; background: var(--white); color: var(--ink); text-align: center; box-shadow: 0 40px 80px -30px rgba(19, 32, 59, .55); overflow: visible; }
.proto-dlg::backdrop { background: rgba(19, 32, 59, .45); backdrop-filter: blur(3px); }
.proto-dlg[open] { animation: dlg-in .35s var(--ease); }
.proto-dlg p { color: var(--graphite); margin: 10px 0 24px; }
.proto-title { font-size: 1.3rem; max-width: none; margin: 22px 0 0; }
.stamp { display: inline-block; color: #d23a2e; border: 5px solid currentColor; border-radius: 14px; padding: 6px 22px; transform: rotate(-9deg);
  outline: 2px solid currentColor; outline-offset: 4px; opacity: .88; mix-blend-mode: multiply;
  -webkit-mask: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0,0,0,.75) 2px 3px);
          mask: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0,0,0,.75) 2px 3px);
  animation: stamp-hit .55s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.stamp span { display: block; font-weight: 800; font-size: clamp(2rem, 9vw, 2.9rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
@keyframes stamp-hit { 0% { opacity: 0; transform: rotate(-20deg) scale(2.4); } 60% { opacity: .95; transform: rotate(-8deg) scale(.94); } 100% { opacity: .88; transform: rotate(-9deg) scale(1); } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .stamp, .proto-dlg[open] { animation: none; } }

/* notice banner */
.notice { position: fixed; left: 50%; bottom: 20px; z-index: 50; width: min(760px, calc(100vw - 32px)); display: flex; gap: 18px; align-items: center;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 16px 22px;
  box-shadow: 0 24px 50px -24px rgba(19, 32, 59, .45); transform: translate(-50%, 20px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.notice.on { transform: translate(-50%, 0); opacity: 1; }
.notice p { font-size: .9rem; line-height: 1.5; color: var(--graphite); }
.notice .btn { flex: none; }
@media (max-width: 640px) { .notice { flex-direction: column; align-items: stretch; bottom: 12px; } .notice .btn { align-self: flex-end; } }
.agree a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a { color: var(--graphite); }
.site-footer a:hover { color: var(--cobalt); }

/* document pages */
.doc-page .site-header { position: sticky; }
.doc { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; }
.doc h2 { font-size: 1.2rem; max-width: none; margin: 36px 0 12px; }
.doc p, .doc li { color: #34405a; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc-meta { margin-top: 10px; color: var(--graphite) !important; font-size: .92rem; }
.doc-note { margin-top: 24px; background: var(--cobalt-soft); border-radius: 16px; padding: 16px 20px; }
.doc-note p { color: var(--ink); }
.doc-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 8px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc-table th { color: var(--ink); font-weight: 650; background: var(--tint); }
.doc-links { margin-top: 40px; }
@media (max-width: 640px) { .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; } .doc-table thead { display: none; } .doc-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .doc-table td { border: 0; padding: 4px 0; } .doc-table td:first-child { font-weight: 650; color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .notice { transition: none; } }

/* reveal on scroll (класс ставит JS только элементам ниже первого экрана) */
.rv { opacity: 0; translate: 0 22px; transition: opacity .65s var(--ease), translate .65s var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; transition: none; } }
