:root {
  --bg: #08090a;
  --surface: #101214;
  --surface-2: #14171a;
  --surface-3: #181c20;
  --text: #ffffff;
  --muted: #a7adb5;
  --muted-2: #747b84;
  --line: #252a30;
  --line-soft: rgba(255, 255, 255, .065);
  --accent: #00e5ff;
  --accent-soft: rgba(0, 229, 255, .11);
  --accent-faint: rgba(0, 229, 255, .045);
  --success: #62e6a7;
  --warning: #f0c86e;
  --danger: #f17878;
  --max: 1240px;
  --ease: cubic-bezier(.2, .78, .22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Manrope, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { color: #031114; background: var(--accent); }

.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--bg); }
.ambient-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.5) 58%, transparent 100%);
}
.ambient-flow { position: absolute; border: 1px solid rgba(0,229,255,.08); border-radius: 50%; filter: blur(.2px); }
.ambient-flow-a { width: 920px; height: 920px; right: -460px; top: -390px; animation: orbit-bg 24s linear infinite; }
.ambient-flow-b { width: 640px; height: 640px; left: -350px; top: 36%; border-color: rgba(255,255,255,.04); animation: orbit-bg 31s linear infinite reverse; }
.ambient-grain { position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.18) .5px, transparent .5px); background-size: 7px 7px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
@keyframes orbit-bg { to { transform: rotate(360deg); } }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: #031114; background: var(--accent); border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(8,9,10,.78); backdrop-filter: blur(18px) saturate(130%); }
.header-inner { width: min(calc(100% - 48px), var(--max)); min-height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: baseline; font-size: 17px; font-weight: 740; letter-spacing: -.04em; white-space: nowrap; }
.brand-accent { color: var(--accent); }
.header-inner nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.header-inner nav a { position: relative; color: var(--muted); font-size: 13px; transition: color .2s var(--ease); }
.header-inner nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--accent); transition: right .25s var(--ease); }
.header-inner nav a:hover { color: var(--text); }
.header-inner nav a:hover::after { right: 0; }
.telegram-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.telegram-icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.header-connect { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.025); font-size: 13px; font-weight: 650; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.header-connect .telegram-icon { color: var(--accent); }
.header-connect:hover { transform: translateY(-1px); border-color: rgba(0,229,255,.52); background: var(--accent-soft); }

.hero { position: relative; min-height: 730px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr); gap: 72px; align-items: center; padding-block: 112px 74px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent); }
.hero-copy { max-width: 650px; }
.live-state { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 4px rgba(255,255,255,.035); }
.status-dot.is-loading { animation: status-pulse 1.2s ease-in-out infinite; }
.status-dot.is-online { background: var(--success); box-shadow: 0 0 0 4px rgba(98,230,167,.09); }
.status-dot.is-degraded { background: var(--warning); box-shadow: 0 0 0 4px rgba(240,200,110,.09); }
.status-dot.is-maintenance { background: var(--warning); box-shadow: 0 0 0 4px rgba(240,200,110,.09); }
.status-dot.is-offline { background: var(--danger); box-shadow: 0 0 0 4px rgba(241,120,120,.09); }
@keyframes status-pulse { 50% { opacity: .35; transform: scale(.78); } }
.hero h1 { max-width: 730px; margin: 25px 0 24px; font-size: clamp(50px, 6vw, 86px); line-height: .96; letter-spacing: -.065em; font-weight: 690; text-wrap: balance; }
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.connect-button, .news-button { min-height: 54px; padding: 0 21px; border-radius: 9px; font-size: 14px; font-weight: 720; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s, background .22s; }
.connect-button { color: #031114; background: var(--accent); box-shadow: 0 0 0 1px rgba(255,255,255,.11) inset; }
.connect-button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0,229,255,.14); }
.news-button { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.news-button .telegram-icon { color: var(--accent); }
.news-button:hover { transform: translateY(-2px); border-color: rgba(0,229,255,.42); background: var(--accent-faint); }
.trial-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted-2); font-size: 12px; }
.trial-note span { color: var(--accent); }

.metrics { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,.008)); }
.metrics::before { content: ""; position: absolute; inset: -1px; pointer-events: none; background: linear-gradient(135deg, rgba(0,229,255,.18), transparent 18%, transparent 82%, rgba(0,229,255,.06)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.metric { min-height: 160px; padding: 25px 25px 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.metric dt svg { width: 15px; height: 15px; color: var(--accent); }
.metric dd { min-height: 52px; margin: 24px 0 7px; font-size: 45px; line-height: 1; letter-spacing: -.055em; font-weight: 665; font-variant-numeric: tabular-nums; }
.metric small { color: var(--muted-2); font-size: 11px; }
.metric-unit { color: var(--muted); font-size: 18px; font-weight: 540; letter-spacing: -.02em; }
.metric-traffic { grid-column: 1 / -1; min-height: 145px; }
.metric-traffic dd { font-size: clamp(32px, 4vw, 49px); }
.metric .is-unavailable { color: var(--muted); font-size: .57em; letter-spacing: -.02em; }
.metric-loader { display: inline-block; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.08); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
.update-line { grid-column: 1 / -1; margin: 22px 0 0; color: var(--muted-2); font-size: 11px; text-align: right; }
.hero-rail { position: absolute; top: 20%; bottom: 16%; width: 34px; display: flex; flex-direction: column; justify-content: space-between; opacity: .52; pointer-events: none; }
.hero-rail-left { left: -78px; }
.hero-rail-right { right: -78px; }
.hero-rail span { display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.5)); }
.hero-rail-right span { background: linear-gradient(90deg, rgba(0,229,255,.5), transparent); }
.hero-rail span:nth-child(2) { width: 65%; }
.hero-rail span:nth-child(3) { width: 35%; }
.hero-rail-right span { margin-left: auto; }

.privacy-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding-block: 72px; border-bottom: 1px solid var(--line); }
.section-index { margin: 0 0 12px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.privacy-intro h2 { max-width: 470px; margin: 0; font-size: clamp(30px, 3.3vw, 47px); line-height: 1.08; letter-spacing: -.05em; font-weight: 640; }
.privacy-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 38px; }
.privacy-columns > div { padding-top: 12px; }
.privacy-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--accent); border-bottom: 1px solid var(--accent); }
.privacy-mark svg { width: 17px; height: 17px; }
.privacy-mark-muted { color: var(--muted); border-color: var(--muted-2); }
.privacy-columns h3 { margin: 20px 0 9px; font-size: 17px; letter-spacing: -.02em; }
.privacy-columns p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

.onboarding { padding-block: 78px; border-bottom: 1px solid var(--line); }
.section-title { display: flex; justify-content: space-between; gap: 48px; align-items: flex-end; margin-bottom: 32px; }
.section-title h2 { margin: 0; font-size: clamp(35px, 4vw, 54px); line-height: 1; letter-spacing: -.055em; font-weight: 640; }
.section-title > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.compact-title { margin-bottom: 45px; }
.onboarding-steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.onboarding-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; min-height: 146px; padding: 28px 28px 24px 0; border-right: 1px solid var(--line); }
.onboarding-steps li + li { padding-left: 28px; }
.onboarding-steps li:last-child { border-right: 0; }
.onboarding-steps > li > span { color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.onboarding-steps strong { display: block; margin-bottom: 8px; font-size: 16px; }
.onboarding-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.network-section { padding-block: 78px 22px; }
.section-kicker { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 18px; }
.section-kicker > div { display: flex; align-items: baseline; gap: 14px; }
.section-kicker span { font-size: 13px; font-weight: 650; }
.section-kicker small { color: var(--muted); font-size: 11px; }
.country-select select, .server-toolbar select { appearance: none; min-height: 42px; padding: 0 38px 0 13px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A7ADB5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center; outline: none; font-size: 12px; }
.country-select select:focus, .server-toolbar select:focus { border-color: rgba(0,229,255,.55); box-shadow: 0 0 0 3px rgba(0,229,255,.06); }
.network-map { position: relative; min-height: 510px; overflow: visible; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 60% 42%, rgba(0,229,255,.055), transparent 36%), linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,.004)); }
.network-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,9,10,.95), transparent 8%, transparent 92%, rgba(8,9,10,.95)); z-index: 1; }
.world-silhouette { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-grid-lines path { fill: none; stroke: rgba(255,255,255,.025); stroke-width: 1; }
.continents path { fill: rgba(255,255,255,.027); stroke: rgba(255,255,255,.09); stroke-width: 1.1; transition: fill .3s, stroke .3s; }
.network-map:hover .continents path { fill: rgba(255,255,255,.036); stroke: rgba(0,229,255,.17); }
.map-points { position: absolute; inset: 0; z-index: 3; }
.map-point { position: absolute; width: 22px; height: 22px; padding: 0; transform: translate(-50%,-50%); border: 0; background: transparent; cursor: pointer; isolation: isolate; }
.map-node-dot { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(98,230,167,.08), 0 0 0 1px rgba(98,230,167,.8); transition: transform .2s var(--ease), box-shadow .2s; }
.map-point.maintenance .map-node-dot { background: var(--warning); box-shadow: 0 0 0 5px rgba(240,200,110,.08), 0 0 0 1px rgba(240,200,110,.8); }
.map-point.unavailable .map-node-dot { background: var(--danger); box-shadow: 0 0 0 5px rgba(241,120,120,.08), 0 0 0 1px rgba(241,120,120,.8); }
.map-point::after { content: ""; position: absolute; inset: 1px; border: 1px solid currentColor; border-radius: 50%; opacity: .38; animation: map-ring 2.6s ease-out infinite; }
.map-point.online { color: var(--success); }
.map-point.maintenance { color: var(--warning); }
.map-point.unavailable { color: var(--danger); }
.map-point:hover, .map-point:focus-visible { z-index: 20; }
.map-point:hover .map-node-dot, .map-point:focus-visible .map-node-dot { transform: translate(-50%,-50%) scale(1.45); box-shadow: 0 0 0 7px rgba(0,229,255,.1), 0 0 0 1px var(--accent); }
.map-point:focus-visible { outline: none; }
.map-flag { position: absolute; left: 16px; top: -12px; font-size: 19px; line-height: 1; filter: saturate(.88); text-shadow: 0 2px 8px rgba(0,0,0,.55); pointer-events: none; }
.map-tooltip { position: absolute; left: 50%; bottom: calc(100% + 15px); width: max-content; max-width: 240px; padding: 10px 12px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: rgba(16,18,20,.97); box-shadow: 0 14px 38px rgba(0,0,0,.38); text-align: left; pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; }
.map-tooltip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.map-point:hover .map-tooltip, .map-point:focus-visible .map-tooltip { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.map-tooltip strong { display: block; font-size: 13px; }
.map-tooltip span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
@keyframes map-ring { 0% { opacity: .45; transform: scale(.65); } 75%,100% { opacity: 0; transform: scale(1.55); } }
.map-legend { position: absolute; right: 18px; bottom: 16px; z-index: 5; display: flex; gap: 16px; color: var(--muted); font-size: 10px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.legend-dot.maintenance { background: var(--warning); }
.legend-dot.unavailable { background: var(--danger); }
.map-loader { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(8,9,10,.54); transition: opacity .3s, visibility .3s; }
.map-loader.is-hidden { opacity: 0; visibility: hidden; }

.orbit-spinner { position: relative; display: inline-block; width: 34px; height: 34px; }
.orbit-spinner i { position: absolute; inset: 0; border: 1px solid transparent; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
.orbit-spinner i:nth-child(2) { inset: 6px; border-top-color: rgba(255,255,255,.52); animation-duration: .72s; animation-direction: reverse; }
.orbit-spinner i:nth-child(3) { inset: 12px; border-top-color: var(--accent); animation-duration: .5s; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-block { padding-block: 92px 20px; }
.server-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto auto auto; gap: 10px; align-items: center; margin-bottom: 18px; }
.search-field { position: relative; display: block; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search-field input { width: 100%; min-height: 42px; padding: 0 14px 0 41px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); outline: none; font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.search-field input::placeholder { color: var(--muted-2); }
.search-field input:focus { border-color: rgba(0,229,255,.55); box-shadow: 0 0 0 3px rgba(0,229,255,.06); }
.result-count { min-width: 72px; color: var(--muted-2); font-size: 11px; text-align: right; }
.server-list { border-top: 1px solid var(--line); }
.server-head, .server-row { display: grid; grid-template-columns: minmax(260px,1.8fr) minmax(140px,.8fr) minmax(130px,.7fr) minmax(150px,.8fr); gap: 22px; align-items: center; }
.server-head { min-height: 48px; color: var(--muted-2); border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.server-row { min-height: 92px; border-bottom: 1px solid var(--line); transition: background .22s var(--ease), transform .22s var(--ease); }
.server-row:hover { background: linear-gradient(90deg, rgba(0,229,255,.035), transparent 65%); }
.server-name { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 11px; align-items: center; min-width: 0; }
.server-flag { grid-row: 1 / 3; font-size: 24px; line-height: 1; filter: saturate(.9); }
.server-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; letter-spacing: -.015em; }
.server-name > span:last-child { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.server-cell { min-width: 0; color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; }
.status-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.status-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(98,230,167,.06); }
.status-label.maintenance::before { background: var(--warning); box-shadow: 0 0 0 4px rgba(240,200,110,.06); }
.status-label.unavailable::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(241,120,120,.06); }
.quality-cell strong { display: block; font-size: 14px; }
.quality-cell small { color: var(--muted-2); font-size: 10px; }
.load-track { width: 100%; max-width: 120px; height: 3px; margin-bottom: 7px; overflow: hidden; background: rgba(255,255,255,.07); }
.load-track i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.load-value { color: var(--muted); font-size: 11px; }
.updated-cell { color: var(--muted); font-size: 11px; }
.empty-row { padding: 38px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }
.skeleton-row i { display: block; height: 12px; border-radius: 3px; background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.085), rgba(255,255,255,.035)); background-size: 220% 100%; animation: shimmer 1.35s linear infinite; }
.skeleton-row i:first-child { width: 72%; }
.skeleton-row i:nth-child(2) { width: 58%; }
@keyframes shimmer { to { background-position: -220% 0; } }

.chart-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); }
.chart-panel { position: relative; padding: 30px 0 16px 30px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.chart-panel-wide { grid-column: 1 / -1; padding: 30px 0 16px; border-left: 0; }
.chart-panel:nth-child(2) { padding-left: 0; border-left: 0; padding-right: 30px; }
.chart-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; min-height: 58px; }
.chart-heading > div { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.chart-heading span { color: var(--muted); font-size: 13px; }
.chart-heading strong { font-size: 31px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.chart-heading small { color: var(--muted-2); font-size: 11px; text-align: right; }
.chart-shell { position: relative; }
.chart { width: 100%; height: 275px; }
.chart-large { height: 340px; }
.chart-loader { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(8,9,10,.88), rgba(8,9,10,.55)); transition: opacity .3s, visibility .3s; }
.chart-loader.is-hidden { opacity: 0; visibility: hidden; }
.chart-note { margin: 14px 0 0; color: var(--muted-2); font-size: 11px; }
.chart-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 12px; }

.probe-layout { display: grid; grid-template-columns: minmax(320px,.75fr) minmax(460px,1.25fr); gap: 62px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.probe-form > label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.probe-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.probe-input-row input { min-width: 0; min-height: 54px; padding: 0 16px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); outline: none; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.probe-input-row input:focus { border-color: rgba(0,229,255,.62); box-shadow: 0 0 0 3px rgba(0,229,255,.07); }
.probe-input-row button { min-width: 128px; min-height: 54px; padding: 0 19px; color: #031114; border: 0; border-radius: 8px; background: var(--accent); font-weight: 740; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, opacity .2s; }
.probe-input-row button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,229,255,.12); }
.probe-input-row button:disabled { cursor: wait; opacity: .76; transform: none; }
.button-spinner { display: none; width: 23px; height: 23px; }
.button-spinner i { display: block; width: 100%; height: 100%; border: 2px solid rgba(3,17,20,.2); border-top-color: #031114; border-radius: 50%; animation: spin .7s linear infinite; }
.probe-input-row button.is-loading .button-label { display: none; }
.probe-input-row button.is-loading .button-spinner { display: inline-block; }
.form-hint, .form-message { margin: 9px 0 0; color: var(--muted-2); font-size: 11px; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }
.probe-result { min-width: 0; }
.probe-result-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.probe-result-head > div span { display: block; font-size: 18px; font-weight: 650; }
.probe-result-head small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.probe-result-head time { color: var(--muted); font-size: 11px; }
.probe-node-list { min-height: 80px; }
.probe-node-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; min-height: 62px; border-bottom: 1px solid var(--line-soft); }
.probe-node-main { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-width: 0; }
.probe-node-main .server-flag { grid-row: auto; font-size: 21px; }
.probe-node-main strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.probe-node-main small { display: block; color: var(--muted-2); font-size: 10px; }
.probe-node-value { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.probe-node-value strong { color: var(--text); font-size: 17px; }
.node-spinner { position: relative; width: 24px; height: 24px; }
.node-spinner::before, .node-spinner::after { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(255,255,255,.08); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.node-spinner::after { inset: 6px; border-top-color: rgba(255,255,255,.58); animation-duration: .55s; animation-direction: reverse; }
.probe-node-row.is-success .probe-node-value::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.probe-node-row.is-unavailable .probe-node-value { color: var(--muted-2); }

.site-footer { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-top: 100px; padding-block: 34px 44px; border-top: 1px solid var(--line); }
.site-footer p { margin: 8px 0 0; color: var(--muted-2); font-size: 11px; }
.footer-actions { display: flex; align-items: center; gap: 22px; }
.footer-actions a { color: var(--muted); font-size: 12px; transition: color .2s; }
.footer-actions a:hover { color: var(--text); }
.footer-connect { color: var(--text) !important; }
.footer-connect .telegram-icon { width: 15px; height: 15px; color: var(--accent); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.is-refreshing .metric dd { opacity: .65; transition: opacity .2s; }

@media (max-width: 1320px) {
  .hero-rail { display: none; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 58px; padding-top: 92px; }
  .hero-copy { max-width: 760px; }
  .metrics { grid-template-columns: repeat(3,1fr); }
  .metric-traffic { grid-column: 2 / 4; }
  .privacy-band { grid-template-columns: 1fr; gap: 42px; }
  .server-toolbar { grid-template-columns: minmax(220px,1fr) repeat(2,auto); }
  .result-count { grid-column: 1 / -1; text-align: left; }
  .server-head, .server-row { grid-template-columns: minmax(220px,1.5fr) minmax(125px,.8fr) minmax(105px,.65fr) minmax(130px,.75fr); }
  .probe-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section-shell, .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 66px; gap: 16px; }
  .header-inner nav { display: none; }
  .header-connect { margin-left: auto; }
  .hero { padding-block: 78px 56px; }
  .hero h1 { font-size: clamp(48px, 12vw, 70px); }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metric-traffic { grid-column: 1 / -1; }
  .privacy-columns { gap: 26px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 18px; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .onboarding-steps li, .onboarding-steps li + li { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .onboarding-steps li:last-child { border-bottom: 0; }
  .network-map { min-height: 390px; }
  .server-toolbar { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .result-count { grid-column: 1 / -1; }
  .server-head { display: none; }
  .server-row { grid-template-columns: 1fr auto; gap: 18px; min-height: 0; padding: 22px 0; }
  .server-row > * { display: block !important; }
  .server-name { grid-column: 1 / -1; display: grid !important; }
  .server-cell { display: flex !important; justify-content: space-between; gap: 18px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
  .server-cell::before { content: attr(data-label); color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
  .load-track { display: none; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-panel, .chart-panel:nth-child(2), .chart-panel-wide { grid-column: auto; padding: 27px 0 13px; border-left: 0; border-bottom: 1px solid var(--line); }
  .chart { height: 250px; }
  .chart-large { height: 285px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section-shell, .header-inner { width: min(calc(100% - 24px), var(--max)); }
  .site-header { backdrop-filter: blur(14px); }
  .brand { font-size: 16px; }
  .header-connect { min-height: 42px; padding: 0 13px; }
  .header-connect span { font-size: 12px; }
  .header-connect .telegram-icon { width: 17px; height: 17px; }
  .hero { gap: 44px; padding-top: 66px; }
  .hero h1 { margin-top: 21px; font-size: clamp(45px, 14vw, 62px); line-height: .98; }
  .hero-lead { font-size: 17px; line-height: 1.58; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .connect-button, .news-button { width: 100%; min-height: 58px; font-size: 15px; }
  .trial-note { font-size: 12px; }
  .metrics { margin-inline: -12px; border-left: 0; }
  .metric { min-height: 142px; padding: 22px 18px 18px; }
  .metric:nth-child(odd) { border-left: 1px solid var(--line); }
  .metric dd { margin-top: 20px; font-size: 39px; }
  .metric dt { font-size: 11px; letter-spacing: .06em; }
  .metric small { font-size: 11px; }
  .metric-traffic { min-height: 132px; }
  .metric-traffic dd { font-size: 36px; }
  .update-line { text-align: left; line-height: 1.5; }
  .privacy-band, .onboarding { padding-block: 62px; }
  .privacy-intro h2 { font-size: 34px; }
  .privacy-columns { grid-template-columns: 1fr; gap: 34px; }
  .section-title h2 { font-size: 39px; }
  .section-title > p { font-size: 14px; }
  .onboarding-steps li { gap: 14px; }
  .network-section { padding-top: 62px; }
  .section-kicker { align-items: flex-start; flex-direction: column; }
  .section-kicker > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .country-select, .country-select select { width: 100%; }
  .network-map { min-height: 330px; margin-inline: -12px; }
  .map-legend { right: 10px; left: 10px; bottom: 10px; justify-content: center; gap: 10px; }
  .map-flag { font-size: 17px; }
  .section-block { padding-top: 76px; }
  .server-toolbar { grid-template-columns: 1fr; }
  .search-field, .server-toolbar label, .server-toolbar select { width: 100%; }
  .search-field input, .server-toolbar select { min-height: 48px; font-size: 14px; }
  .server-row { padding: 24px 0; }
  .server-name strong { font-size: 16px; }
  .server-name > span:last-child { font-size: 12px; }
  .server-cell { font-size: 14px; }
  .chart-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .chart-heading > div { width: 100%; justify-content: space-between; }
  .chart-heading strong { font-size: 29px; }
  .chart-heading small { text-align: left; }
  .chart { height: 235px; }
  .chart-large { height: 265px; }
  .probe-layout { gap: 35px; padding: 27px 0; }
  .probe-input-row { grid-template-columns: 1fr; }
  .probe-input-row input, .probe-input-row button { width: 100%; min-height: 58px; }
  .probe-input-row input { font-size: 17px; }
  .probe-result-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .probe-node-row { min-height: 68px; }
  .probe-node-main strong { font-size: 14px; }
  .site-footer { margin-top: 78px; }
  .footer-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
}

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

.country-flag {
  width: 28px;
  height: 20px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
}
