@import url('./fonts.css');

:root {
  color-scheme: dark;
  --bg: #080e14;
  --panel: #10171d;
  --raised: #162128;
  --line: #293c46;
  --text: #eaf2f6;
  --muted: #a0b0bd;
  --accent: #26d9ce;
  --cyan: #71eee5;
  --ink: #042b2b;
  --amber: #ffd08a;
  --red: #ff8298;
  --body: 'Golos Text', sans-serif;
  --display: 'Unbounded', sans-serif;
  --mono: 'Cascadia Code', Consolas, monospace;
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  scrollbar-color: #3c5665 var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button { color: inherit; }
a, button, input, select, textarea { transition: color .2s, background-color .2s, border-color .2s; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
input, textarea { caret-color: var(--accent); }
button:disabled { cursor: wait; opacity: .55; }
button[hidden], [hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.65; }
svg { flex: none; }
img { max-width: 100%; height: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-icon { width: 24px; height: 24px; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 14px; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 21px; border: 1px solid var(--line); border-radius: 7px; background: var(--raised); font-weight: 600; line-height: 1.25; }
.button:hover { border-color: #657e90; background: #19252e; }
.button.primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button.primary:hover { background: #7cebe4; border-color: #7cebe4; }
.button.ghost { background: transparent; }
.button.small { min-height: 44px; padding: 10px 15px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); }
.text-link:hover { color: var(--accent); }
.text-link .icon { width: 17px; height: 17px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; gap: 36px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font: 800 28px/1 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.wordmark img { width: 64px; height: 72px; object-fit: contain; }
.wordmark .brand-name { display: grid; gap: 7px; }
.wordmark small { color: #94abb6; font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.wordmark strong { color: var(--accent); }

.wordmark:hover strong { animation: glitch .36s steps(2) 1; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; color: #bfccd6; padding: 14px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions > a { font-size: 13px; }
.menu-toggle { display: none; min-width: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 7px; }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-core { position: relative; min-height: 660px; padding-top: 70px; padding-bottom: 70px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.hero h1 { position: relative; z-index: 2; font: 800 clamp(40px,4.35vw,62px)/1.2 var(--display); letter-spacing: -.035em; word-spacing: .04em; max-width: 740px; pointer-events: none; }
.hero h1 span { display: block; }
.hero-intro { position: relative; z-index: 2; margin-top: 32px; max-width: 485px; font-size: 18px; color: #bfccd6; }
.hero-intro strong { color: var(--text); font-weight: 500; }
.hero-actions { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { min-height: 54px; }
.trial-note { position: relative; z-index: 2; color: var(--muted); margin-top: 18px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.trial-note .icon { width: 15px; height: 15px; color: var(--accent); }
.hero-art { position: absolute; z-index: 1; width: 570px; height: 570px; right: -30px; top: 28px; padding: 0; border: 0; background: transparent; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-art:focus-visible { border-radius: 16px; outline-offset: 5px; }
.hero-art .x-mark { transform-origin: 50% 70%; transition: transform .8s var(--ease); }
.hero-art:hover .x-mark { transform: translateY(-5px); }
.hero-art.signal .x-mark { animation: brand-light .9s var(--ease) 1; }
.brand-scan { display: none; }
@keyframes brand-light { 0% { filter: brightness(.8); } 22% { filter: brightness(1.15); } 38% { filter: brightness(.95); } 100% { filter: brightness(1); } }
.hero-under { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero-under > span:first-child { margin-right: auto; }
.access-brand { display: flex; align-items: center; gap: 9px; color: #c8d5de; }
.access-brand .brand-icon { width: 18px; height: 18px; }
.section { padding-block: 104px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-title h2, .section-heading { font: 700 clamp(29px,3vw,43px)/1.22 var(--display); letter-spacing: -.035em; }
.section-title p { color: var(--muted); margin-top: 18px; max-width: 620px; }
.section-title > p { max-width: 380px; margin: 0; }
.pricing { background: var(--panel); border-block: 1px solid var(--line); }
.trial-callout { color: var(--accent); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; min-width: 0; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); background: #091b16; }
.plan h3 { font-size: 19px; font-weight: 600; }
.plan-price { margin-top: 29px; display: flex; align-items: baseline; gap: 5px; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price strong { font: 700 clamp(32px,3.4vw,43px)/1 var(--display); letter-spacing: -.04em; }
.plan-price small { font: 12px var(--body); color: var(--muted); margin-left: 3px; }
.plan ul { list-style: none; padding: 0; margin: 25px 0 28px; display: grid; gap: 12px; font-size: 14px; color: #c3d1db; }
.plan li { display: flex; align-items: center; gap: 8px; }
.plan li .icon { width: 15px; height: 15px; color: var(--accent); }
.plan .button { width: 100%; margin-top: auto; padding-inline: 10px; font-size: 14px; }
.plan-heading { display: flex; align-items: center; gap: 6px; }
.pricing-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; font-size: 13px; color: var(--muted); }
.pricing-foot a { color: var(--text); text-decoration: underline; }
.start-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.start-intro p { color: var(--muted); margin-top: 23px; }
.start-intro .button { margin-top: 28px; }
.setup-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.setup-steps li { position: relative; counter-increment: steps; padding: 0 0 28px 58px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.setup-steps li:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.setup-steps li:before { content: '0' counter(steps); position: absolute; left: 0; top: 2px; color: var(--accent); font: 15px var(--mono); }
.setup-steps h3 { font-size: 20px; font-weight: 500; }
.setup-steps p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.setup-steps a { text-decoration: underline; color: var(--text); }
.monitor { padding: 35px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 65px; }
.monitor-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.monitor h3 { font-size: 22px; font-weight: 500; }
.status-summary { color: var(--muted); font: 12px var(--mono); display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8899a7; }
.monitor[data-state='live'] .status-dot { background: var(--accent); }
.monitor[data-state='error'] .status-dot, .monitor[data-state='partial'] .status-dot { background: var(--amber); }
.nodes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px 28px; margin-top: 25px; }
.node { padding: 17px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.node-name { font-size: 13px; overflow-wrap: anywhere; }
.node-ping { font: 12px var(--mono); color: var(--accent); white-space: nowrap; }
.node-ping.off { color: var(--red); }
.monitor-note { color: var(--muted); font-size: 12px; margin-top: 20px; }
.monitor-note a { text-decoration: underline; }
.ping-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.ping-row output { font-size: 12px; color: var(--muted); }
.faq { background: var(--panel); border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-intro p { color: var(--muted); margin-top: 23px; max-width: 35ch; }
.faq-intro .text-link { margin-top: 20px; color: var(--accent); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 38px 23px 0; list-style: none; font-size: 16px; cursor: pointer; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; font: 20px var(--mono); color: var(--accent); position: absolute; right: 3px; top: 23px; }
.faq-list details[open] summary:after { content: '−'; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 35px 24px 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.faq-list details a { color: var(--accent); text-decoration: underline; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 65px; border-bottom: 1px solid var(--line); }
.closing h2 { font: 700 clamp(24px,3vw,38px)/1.35 var(--display); letter-spacing: -.035em; }
.closing p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-block: 56px; }
.footer-brand { position: relative; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 34ch; margin-top: 20px; }
.footer-links { display: grid; align-content: start; gap: 7px; font-size: 13px; }
.footer-links strong { font-size: 14px; font-weight: 500; margin-bottom: 13px; }
.footer-links a { color: var(--muted); min-height: 32px; width: fit-content; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 24px; color: #8fa2b1; font-size: 12px; }
.footer-bottom button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 7px; }
.cat-trigger { position: absolute; right: 15px; bottom: -8px; width: 94px; height: 119px; background: transparent; border: 0; padding: 0; }
.cat-trigger img { width: 94px; height: 119px; object-fit: contain; }
.help-main { width: min(850px,calc(100% - 48px)); padding-block: 55px 85px; margin-inline: auto; }
.help-main h1 { font: 700 clamp(30px,4vw,49px)/1.25 var(--display); letter-spacing: -.035em; margin-top: 24px; }
.help-lead { font-size: 18px; color: #b8c9d6; margin-top: 26px; }
.help-main h2 { font: 600 26px/1.35 var(--body); margin-bottom: 22px; }
.help-main h3 { font-size: 19px; margin: 30px 0 15px; }
.help-panel { padding: 35px 0; border-bottom: 1px solid var(--line); }
.help-main ol { color: #c1d0da; padding-left: 23px; display: grid; gap: 16px; line-height: 1.7; }
.help-main p { color: #b3c2cd; max-width: 72ch; }
.help-main a:not(.button):not(.text-link) { color: var(--accent); text-decoration: underline; }
.help-main figure { margin-top: 27px; }
.help-main figure img { border: 1px solid var(--line); border-radius: 7px; display: block; }
.help-main figcaption { color: var(--muted); margin-top: 12px; font-size: 12px; line-height: 1.7; }
.help-main .note { margin-top: 25px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.help-main .warning { color: var(--amber); background: #18130c; border-color: #634d28; }
@keyframes glitch { 20% { text-shadow: 2px 0 var(--cyan),-2px 0 var(--red); } 40% { text-shadow: -2px 0 var(--cyan),2px 0 var(--red); } 100% { text-shadow: none; } }
@keyframes signal-scan { 0% { transform: translateY(-200px); opacity: 0; } 20% { opacity: .8; } 80% { opacity: .8; } 100% { transform: translateY(340px); opacity: 0; } }
@keyframes signal-x { 0%,100% { transform: translate(0); } 15% { transform: translate(5px,-2px); } 25% { transform: translate(-3px,0); } 35% { transform: translate(0); } }
@media (min-width:1600px) { .hero-core { min-height: 690px; } .hero-art { right: -10px; top: 40px; } }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .nav { gap: 18px; }
  .header-actions > .support-header { display: none; }
  .hero-art { width: min(430px,38vw); height: auto; aspect-ratio: 1; right: -24px; top: 80px; }
  .hero-actions { flex-direction: column; width: 300px; }
  .hero-core { min-height: 610px; padding-top: 65px; }
  .hero h1 { font-size: clamp(36px,4.3vw,48px); }
  .hero-intro { max-width: 350px; }
  .start-grid, .faq-layout { gap: 44px; }
  .plan { padding: 21px; }
  .nodes-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:800px) {
  :root { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 84px; gap: 16px; }
  .wordmark { font-size: 24px; }
  .wordmark img { width: 57px; height: 65px; }
  .header-actions { margin-left: auto; }
  .header-actions > .button { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 83px; left: 0; right: 0; margin: 0; padding: 14px 24px 22px; border-bottom: 1px solid var(--line); background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { font-size: 16px; padding: 14px; }
  .hero-core { min-height: 600px; padding-top: 65px; padding-bottom: 45px; justify-content: flex-start; }
  .hero h1 { font-size: clamp(28px,4.6vw,36px); }
  .hero-art { width: 310px; height: 310px; right: -10px; top: 190px; }
  .hero-intro { max-width: 350px; font-size: 17px; }
  .hero-actions { margin-top: 27px; }
  .hero-under { gap: 20px 24px; padding-block: 20px; }
  .hero-under > span:first-child { width: 100%; }
  .section { padding-block: 72px; }
  .section-title { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .section-title > p { max-width: 60ch; }
  .section-title h2, .section-heading { font-size: 31px; }
  .start-grid, .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .plans { grid-template-columns: repeat(2,1fr); }
  .plan-price strong { font-size: 40px; }
  .pricing-foot { align-items: flex-start; flex-direction: column; gap: 10px; }
  .monitor { padding: 26px; margin-top: 44px; }
  .monitor-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nodes-grid { gap: 0 20px; }
  .ping-row { align-items: flex-start; flex-direction: column; }
  .faq-layout { gap: 35px; }
  .faq-intro p { max-width: none; }
  .closing { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1/-1; }
  .cat-trigger { right: 25px; bottom: 0; }
  .footer-bottom { align-items: flex-start; gap: 15px; flex-wrap: wrap; }
}
@media (max-width:480px) {
  .hero-core { min-height: 520px; padding-top: 54px; }
  .hero h1 { font-size: clamp(23px,7.1vw,34px); line-height: 1.25; }
  
  .hero-intro { font-size: 16px; margin-top: 26px; max-width: 320px; }
  
  .hero-actions { display: grid; width: 100%; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .trial-note { font-size: 12px; gap: 6px; }
  .hero-under { gap: 17px 24px; }
  .hero-under .access-brand { font-size: 12px; }
  .hero-under .access-brand:nth-last-child(-n+2) { display: none; }
  .section-title h2, .section-heading { font-size: 26px; }
  .section-title p { font-size: 14px; }
  .plans { gap: 12px; }
  .plan { padding: 20px 15px; }
  .plan h3 { font-size: 16px; }
  .plan-price { gap: 3px; flex-wrap: wrap; }
  .plan-price strong { font-size: 30px; }
  .plan-price small { margin: 6px 0 0; width: 100%; }
  .plan ul { font-size: 12px; margin-top: 19px; gap: 13px; }
  .plan li { align-items: flex-start; gap: 6px; }
  .plan li .icon { width: 13px; height: 13px; margin-top: 1px; }
  .plan .button { font-size: 12px; }
  .trial-callout { font-size: 12px; align-items: flex-start; }
  .setup-steps li { padding-left: 43px; }
  .setup-steps h3 { font-size: 18px; }
  .monitor { padding: 23px 19px; }
  .monitor h3 { font-size: 20px; }
  .nodes-grid { grid-template-columns: 1fr; }
  .closing .button { width: 100%; }
  .footer-main { column-gap: 20px; }
  .footer-brand p { max-width: 23ch; }
  .cat-trigger { right: 0; width: 82px; }
  .help-main { width: calc(100% - 40px); padding-top: 30px; }
  .help-main h1 { font-size: 29px; }
  .help-lead { font-size: 16px; }
  .help-main h2 { font-size: 23px; }
}
@media (max-width:700px) {
  .hero-core { min-height: 0; padding-top: 32px; padding-bottom: 36px; align-items: center; }
  .hero h1 { order: 0; align-self: flex-start; font-size: clamp(23px,7.1vw,39px); }
  .hero h1 span { white-space: nowrap; }
  .hero-art { order: 1; position: relative; width: clamp(210px,65vw,310px); height: auto; aspect-ratio: 1; right: auto; top: auto; margin: 12px auto 4px; }
  .hero-intro { order: 2; align-self: flex-start; max-width: 410px; font-size: 16px; margin-top: 14px; }
  .hero-actions { order: 3; width: 100%; margin-top: 22px; }
  .trial-note { order: 4; align-self: flex-start; margin-top: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .hero-art:hover .x-mark { transform: none; }
}
.motion-off { scroll-behavior: auto; }
.motion-off *, .motion-off *:before, .motion-off *:after { animation: none !important; transition: none !important; }
.motion-off .hero-art:hover .x-mark { transform: none; }

