@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(/fonts/oswald-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(/fonts/oswald-latin-wght-normal.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Mono"; font-weight: 100 700; font-display: swap; src: url(/fonts/roboto-mono-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Mono"; font-weight: 100 700; font-display: swap; src: url(/fonts/roboto-mono-latin-wght-normal.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: light;
  --bg: #F8F8FF; --surface: #FFFFFF; --tint: #EEEDFF; --line: #DCDAF7; --line2: #E9E8FA;
  --ink: #17153B; --muted: #57557C; --paper: var(--bg); --white: var(--surface);
  --primary: #4F46E5; --primary-d: #4338CA; --primary-l: #E4E2FF; --deep: #1E1B4B; --deep2: #2E2A7A;
  --sun: #A78BFA; --sun-ink: #FFFFFF; --violet: #7C3AED;
  --accent: var(--primary); --green: #10B981; --red: #D9382C; --blue: #2F6FDB;
  --amber-bg: #FFF1C9; --amber: #6B4A00; --green-bg: #DDF6E8; --green-ink: #2B8A5E; --red-bg: #FDE4E1; --red-ink: #9C2118;
  --display: "Manrope", "Onest", system-ui, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(23,21,59,.06), 0 8px 24px rgba(23,21,59,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.14; margin: 0 0 12px; letter-spacing: -.025em; }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 780; overflow-wrap: break-word; }
h2 { font-size: clamp(26px, 3.3vw, 40px); font-weight: 720; overflow-wrap: break-word; }
h3 { font-size: 19px; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
::selection { background: var(--sun); color: var(--sun-ink); }

.stripe { display: flex; height: 4px; }
.stripe i { flex: 1; } .stripe i:nth-child(1) { background:var(--surface); box-shadow: inset 0 -1px 0 var(--line); } .stripe i:nth-child(2) { background: #00966E; } .stripe i:nth-child(3) { background: #D62612; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color:#fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; font-size: 20px; letter-spacing: -.02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 640; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:hover { border-color: var(--primary); color: var(--primary-d); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color:#fff; box-shadow: 0 4px 14px rgba(79,70,229,.28); }
.btn.primary:hover { background: var(--primary-d); border-color: var(--primary-d); color:#fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color:#fff; }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--red-bg); border-color:var(--line); color: var(--red-ink); }
.btn.danger:hover { background: #FAD0CB; border-color: #E78C84; color:var(--red-ink); }
.btn.small { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 12px 28px; font-size: 17px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.block { display: flex; width: 100%; }

label { display: block; font-weight: 600; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background:var(--surface); color: var(--ink); font: inherit; }
input::placeholder, textarea::placeholder { color:var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
:focus-visible { outline: 3px solid rgba(79,70,229,.45); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.check label { font-weight: 400; font-size: 15px; color: var(--ink); margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spread { justify-content: space-between; }

.card { background: var(--surface); border: 1px solid var(--line2); border-radius: 20px; padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card h2, .card h3 { font-size: 18px; }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 250px; min-width: 0; margin-bottom: 0; }
.stat .label { color: var(--muted); font-size: 14px; }
.stat .value { font-size: 28px; font-weight: 720; margin-top: 4px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--amber-bg); color: var(--amber); }
.chip.green { background: var(--green-bg); color: var(--green-ink); }
.chip.red { background: var(--red-bg); color: var(--red-ink); }

.banner { padding: 13px 18px; border-radius: 14px; background: var(--amber-bg); color: var(--amber); margin-bottom: 20px; font-weight: 520; border:1px solid var(--line); }
.banner.error { background: var(--red-bg); color: var(--red-ink); border-color:var(--line); }
.banner.ok { background: var(--green-bg); color: var(--green-ink); border-color:var(--line); }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; margin-bottom: 20px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; font-weight: 650; color: var(--muted); background: var(--tint); }
tbody tr:hover td { background:var(--elev); }
td.wrap-any { overflow-wrap: anywhere; }

/* app shell */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 250px; max-width: 100%; background: var(--surface); border-right: 1px solid var(--line2); padding: 24px 14px; display: flex; flex-direction: column; gap: 24px; }
.side.dark { background: var(--deep); color:#fff; border-right: 0; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav button { text-align: left; min-height: 42px; padding: 9px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-weight: 580; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side nav button:hover { background: var(--tint); color: var(--ink); }
.side nav button.active { background: var(--primary-l); color: var(--primary-d); font-weight: 680; }
.side.dark nav button { color:#CBC9F7; }
.side.dark nav button:hover { background: rgba(255,255,255,.08); color:#fff; }
.side.dark nav button.active { background:var(--surface); color: var(--deep); }
.side .badge { background: var(--red); color:#fff; border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 20px; }
.side .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.side .foot > * { max-width: 100%; }
.side .foot .hint { flex: 1 1 100%; overflow-wrap: anywhere; margin: 0; }
.side.dark .hint { color:#CBC9F7; }
.side.dark .btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color:#fff; box-shadow: none; }
.side.dark .btn:hover { background: rgba(255,255,255,.16); }
.main { flex: 999 1 600px; min-width: 0; padding: 32px 36px 64px; }
.main h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }

.item { background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
pre.config { background: #14123A; color:#D9D7FF; padding: 16px; border-radius: 14px; overflow: auto; max-height: 280px; font: 13px/1.5 var(--mono); margin: 14px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
img.qr { width: 220px; height: 220px; image-rendering: pixelated; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.msg { padding: 12px 16px; border-radius: 14px; background: var(--tint); margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.staff { background: var(--primary-l); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--tint); border-radius: 999px; }
.seg button { min-height: 38px; padding: 7px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 620; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: var(--surface); color: var(--primary-d); box-shadow: 0 1px 4px rgba(23,21,59,.15); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color:#fff; padding: 13px 22px; border-radius: 14px; z-index: 120; max-width: calc(100vw - 32px); font-weight: 520; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.toast.error { background: var(--red); }

/* auth screen */
.auth { display: flex; flex-wrap: wrap; min-height: 100vh; }
.auth .aside { flex: 1 1 400px; background: radial-gradient(700px 400px at 100% 0%, rgba(167,139,250,.18), transparent 60%), var(--deep); color:#fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth .aside p { color:#CBC9F7; font-size: 18px; max-width: 420px; }
.auth .formside { flex: 1 1 460px; padding: 48px 24px; display: flex; align-items: center; justify-content: center; }
.auth .box { width: 100%; max-width: 420px; }

/* public header and footer */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(251,252,250,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line2); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.main-nav { display: flex; align-items: center; gap: 4px; font-weight: 580; }
.main-nav > a { padding: 8px 14px; border-radius: 999px; color: var(--muted); }
.main-nav > a:hover { color: var(--ink); background: var(--tint); }
.main-nav > a[aria-current=page] { color: var(--primary-d); background: var(--primary-l); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--line); }
.langlink { font-weight: 620; font-size: 14px; padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.langlink:hover { color: var(--ink); background: var(--tint); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 640; color: var(--ink); cursor: pointer; margin: 0; }
.bars, .bars::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before { content: ""; position: absolute; top: -5px; left: 0; }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid rgba(79,70,229,.45); outline-offset: 2px; }
@media (max-width: 900px) {
  .nav-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: 0 20px 40px rgba(23,21,59,.12); }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav > a { padding: 14px 16px; font-size: 17px; }
  .nav-actions { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .nav-actions .btn { flex: 1; }
}
footer.site { background: var(--deep); color:#CBC9F7; padding: 56px 0 0; }
footer.site a:hover { color:#fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 32px; }
.foot-grid h2 { font-size: 14px; letter-spacing: 0; color:#fff; margin: 0 0 14px; font-weight: 680; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.foot-grid a { display: inline-block; padding: 5px 0; }
.foot-brand .brand { color:#fff; margin-bottom: 12px; }
.foot-brand p { max-width: 300px; }
.copy-line { margin-top: 40px; padding: 20px 24px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* landing */
.hero-old { background: radial-gradient(800px 460px at 85% 0%, rgba(167,139,250,.22), transparent 62%), radial-gradient(700px 500px at 0% 20%, rgba(124,58,237,.12), transparent 60%), var(--bg); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 64px 24px 88px; }
.hero .copy { flex: 1 1 460px; min-width: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 580px; margin-bottom: 30px; }
.hero .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background:var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--primary-d); font-weight: 600; font-size: 14px; margin-bottom: 22px; }
.hero .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(124,58,237,.18); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 520; }
.trust .ic { color: var(--green); }
.hero .visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.route { width: 100%; max-width: 440px; background:var(--surface); border: 1px solid var(--line2); border-radius: 28px; padding: 26px; box-shadow: 0 30px 70px rgba(30,27,75,.16), 0 2px 6px rgba(30,27,75,.06); transform: rotate(1.2deg); }
.route .hd { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.route .live { display: inline-flex; align-items: center; gap: 8px; color: var(--green-ink); font-weight: 650; }
.route .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,58,237,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(124,58,237,0); } }
.route .node { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line2); }
.route .node .k { color: var(--muted); font-size: 13px; }
.route .node .v { font: 700 17px var(--mono); letter-spacing: -.02em; }
.route .node .ic { width: 24px; height: 24px; color: var(--primary); }
.route .link { height: 34px; margin-left: 27px; border-left:2px dashed var(--line); position: relative; }
.route .link::after { content: "wireguard"; position: absolute; left: 14px; top: 6px; font: 400 12px var(--mono); color: var(--muted); }
.route .node.exit { background: var(--deep); border-color: var(--deep); color:#fff; }
.route .node.exit .k { color:#CBC9F7; } .route .node.exit .ic { color:var(--sun); }
.route .foot { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.route .foot span { font: 500 12px var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--primary-l); color: var(--primary-d); }
.panel { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.section { padding: 84px 0; }
.section.tint { background: var(--tint); }
.section.white { background: var(--surface); }
.section.deep { background: radial-gradient(800px 360px at 100% 0%, rgba(167,139,250,.14), transparent 60%), var(--deep); color:#fff; }
.section.deep .muted, .section.deep .sec-head p { color:#CBC9F7; }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.more { margin: 32px 0 0; font-weight: 650; }
.more a { color: var(--primary-d); display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--primary-l); }
.more a:hover { border-color: var(--primary); }
.section.deep .more a { color:#fff; border-color: rgba(255,255,255,.3); }
.narrow { max-width: 640px; margin-bottom: 40px; }
.tile { background: var(--surface); border: 1px solid var(--line2); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.section.tint .tile { border-color: transparent; }
.tile .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-l); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tile .icon svg { width: 24px; height: 24px; stroke: var(--primary-d); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step .num, .bigsteps .num { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font: 700 18px var(--mono); margin-bottom: 14px; flex: none; }
.step { background: var(--surface); border: 1px solid var(--line2); border-radius: 22px; padding: 26px; }
.bigsteps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.bigsteps li { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line2); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.bigsteps h2 { font-size: 24px; margin-bottom: 6px; }
.bigsteps p { margin: 0; }
.outline { background: var(--surface); border: 1px solid var(--line2); border-radius: 20px; padding: 24px; }
.outline h3 { display: flex; align-items: center; gap: 10px; }
.outline h3 .ic { color: var(--primary); }
.outline p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--green); margin-top: 3px; }
.checks.big li { font-size: 19px; font-weight: 600; align-items: center; }
.checks.big .ic { width: 28px; height: 28px; color: var(--primary); margin: 0; }
.split2 { display: flex; flex-wrap: wrap; gap: 48px; }
.split2 > * { flex: 1 1 360px; min-width: 0; }
.pagehead { background: radial-gradient(700px 320px at 95% 0%, rgba(167,139,250,.2), transparent 60%), var(--tint); border-bottom: 1px solid var(--line2); }
.ph-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.ph-grid > div:first-child { flex: 1 1 440px; min-width: 0; }
.pagehead h1 { font-size: clamp(32px, 4.6vw, 52px); }
.pagehead .lead { margin: 0; }
.ph-art { flex: 0 1 300px; }
.ph-art img { width: 100%; height: auto; display: block; }
.plan { background: var(--surface); color: var(--ink); border: 1px solid var(--line2); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--sun); box-shadow: 0 20px 50px rgba(167,139,250,.25); position: relative; }
.plan .price { font-size: 38px; font-weight: 760; letter-spacing: -.03em; }
.plan .hint { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; }
.plan .chip { background: var(--sun); color: var(--sun-ink); }
.narrowcol { max-width: 800px; }
details { border: 1px solid var(--line2); background: var(--surface); border-radius: 18px; padding: 0 24px; margin-bottom: 12px; }
details[open] { border-color: var(--primary); box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 20px 0; font-weight: 640; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-l); color: var(--primary-d); display: flex; align-items: center; justify-content: center; font: 500 20px/1 var(--mono); }
details[open] summary::after { content: "−"; background: var(--primary); color:#fff; }
details p { color: var(--muted); max-width: 720px; padding-bottom: 18px; }
details a, .legal a, .main a:not(.btn), .more a, .callout a { text-decoration: underline; text-decoration-color: rgba(79,70,229,.35); text-underline-offset: 3px; }
.more a { text-decoration: none; }
.callout { margin-top: 36px; background: var(--deep); color:#fff; border-radius: 26px; padding: 36px; }
.callout p { color:#CBC9F7; }
.cta { background: radial-gradient(600px 280px at 50% 0%, rgba(167,139,250,.28), transparent 70%), var(--deep); color:#fff; border-radius: 32px; padding: 60px 32px; text-align: center; }
.cta p { color:#CBC9F7; font-size: 18px; }
.cta .btn.primary { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); box-shadow: none; }
.cta .btn.primary:hover { background: #C4B5FD; border-color:var(--line); color:var(--sun-ink); }
.muted-light { color:#CBC9F7; }
.panel-title { font-size: 28px; margin: 18px 0 6px; }
.section h2 { margin-bottom: 16px; }
.section .grid { margin-top: 0; }
.legal { max-width: 760px; padding: 56px 24px 96px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal li { margin-bottom: 6px; }
.todo { background: var(--amber-bg); color: var(--amber); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.mt { margin-top: 18px; }
.hint { font-size: 14px; color: var(--muted); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.right { margin-left: auto; }
.nowrap { white-space: nowrap; }
.small-input { max-width: 420px; }
.narrow-card { max-width: 680px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form .field { flex: 1 1 180px; margin: 0; }
code, .mono { font-family: var(--mono); font-size: .92em; }

/* icons and pictures */
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.ic.lg { width: 28px; height: 28px; }
.btn .ic { width: 1.1em; height: 1.1em; }
.side nav button .lbl { display: flex; align-items: center; gap: 10px; }
.title-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: var(--primary-l); color: var(--primary-d); margin-right: 12px; vertical-align: middle; }
.title-ic .ic { width: 22px; height: 22px; }
.stat .head { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.stat .head .ic { width: 20px; height: 20px; color: var(--primary); }
.art { display: block; max-width: 100%; height: auto; }
.how-art { margin: 32px auto 0; width: 100%; max-width: 760px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > .text { flex: 1 1 420px; min-width: 0; }
.split > .art-box { flex: 1 1 280px; display: flex; justify-content: center; }
.split .art-box img { width: 100%; max-width: 340px; }
.empty { text-align: center; padding: 36px 16px; }
.empty img { width: 170px; max-width: 60%; height: auto; margin: 0 auto 12px; display: block; }
.empty p { color: var(--muted); margin-bottom: 14px; }
.legal-art { width: 120px; height: auto; display: block; margin: 0 0 8px; }
.aside .auth-art { width: 100%; max-width: 360px; height: auto; align-self: center; }
.cta .cta-art { width: 200px; max-width: 60%; height: auto; display: block; margin: 0 auto 8px; }
.notfound { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.notfound img { width: 260px; max-width: 80%; height: auto; margin-bottom: 16px; }
.chipfloat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 620; margin-top: 12px; }
.chipfloat .ic { color: var(--green); }

/* cookie notice */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background:var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 50px rgba(23,21,59,.22); }
.cookie-bar p { margin: 0; flex: 1 1 auto; font-size: 14px; }
.cookie-bar a { font-weight: 650; text-decoration: underline; }
.cookie-bar .ic { width: 26px; height: 26px; color: var(--primary); }
.cookie-bar .btn { flex: none; }
@media (max-width: 600px) { .cookie-bar { flex-wrap: wrap; } .cookie-bar .btn { width: 100%; } }

/* language switch inside the app */
.langbtn { margin-top: 8px; }
.langrow { display: flex; justify-content: flex-end; margin-bottom: 16px; }

/* ---- charts and traffic ---- */
.chart { margin: 8px 0 16px; position: relative; }
.chart svg, svg.strip { width: 100%; height: auto; display: block; }
.chart text { font-size: 11px; fill: var(--muted); font-family: var(--mono); }
.chart .grid-line { stroke: var(--line2); stroke-width: 1; }
.chart .hit { fill: transparent; }
.chart .hit:hover { fill: rgba(79,70,229,.07); }
.bar-wg, .sw.wg { fill: var(--green); background: var(--green); }
.bar-ovpn, .sw.ovpn { fill: var(--blue); background: var(--blue); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--muted); }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .sw.up { background: var(--green); } .legend .sw.down { background: var(--red); } .legend .sw.none { background: var(--line); }
svg.strip .slot-up { fill: var(--green); } svg.strip .slot-down { fill: var(--red); } svg.strip .slot-none { fill: var(--line2); }
.svc { display: grid; grid-template-columns: 130px 1fr; gap: 6px 16px; align-items: center; margin-top: 10px; }
.svc .name { font-weight: 650; }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } .main { padding: 24px 16px 56px; } .side { border-right: 0; border-bottom: 1px solid var(--line2); } .section { padding: 56px 0; } .route { transform: none; } .bigsteps li { flex-direction: column; gap: 4px; padding: 22px; } }
progress.usage { width: 100%; height: 12px; accent-color: var(--green); }
progress.usage.over { accent-color: var(--red); }
.range { margin: 8px 0 12px; }

/* live speed chart */
.rate-wrap { position: relative; }
.rate-wrap svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.rate-wrap .area-down { fill: url(#gdown); } .rate-wrap .area-up { fill: url(#gup); }
.rate-wrap .line-down { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.rate-wrap .line-up { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.rate-wrap .cross { stroke: #9A98C0; stroke-dasharray: 3 3; }
.stop-down { stop-color: var(--blue); } .stop-up { stop-color: var(--green); }
.rate-tip { position: absolute; pointer-events: none; transform: translate(-50%, -100%); background: var(--ink); color:#fff; border-radius: 12px; padding: 8px 12px; font: 12px/1.5 var(--mono); white-space: nowrap; z-index: 5; }
.livestats { display: flex; flex-wrap: wrap; gap: 28px; margin: 4px 0 12px; }
.livestats .v { font: 700 24px var(--mono); letter-spacing: -.03em; }
.livestats .k { color: var(--muted); font-size: 13px; }
.legend .sw.rdown { background: var(--blue); } .legend .sw.rup { background: var(--green); }

/* ---- in-page dialogs ---- */
.modal-back { position: fixed; inset: 0; background: rgba(23,21,59,.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; }
.modal { background:var(--surface); border-radius: 22px; padding: 26px; width: min(440px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal p { font-weight: 560; overflow-wrap: anywhere; }
.modal input { width: 100%; }
.human { margin: 8px 0; min-height: 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.plan { max-width: 420px; }
.grid > .plan { flex: 1 1 280px; }
.copy-line { padding: 0 24px; border-top: 0; }
.copy-line span { display: block; margin-top: 40px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-brand .brand svg { flex: none; }

/* ---- design 3: light indigo and violet ---- */
h1, h2, h3, .brand, .plan .price, .stat .value { font-family: var(--display); }
h1 { font-weight: 800; letter-spacing: -.04em; }
h2 { font-weight: 800; letter-spacing: -.035em; }
h3 { font-weight: 750; }
body { background: var(--bg); }
.btn.primary { background: linear-gradient(135deg, #5B52F0, #7C3AED); border-color: transparent; box-shadow: 0 8px 22px rgba(91,82,240,.35); }
.btn.primary:hover { background: linear-gradient(135deg, #4F46E5, #6D28D9); border-color: transparent; }
.btn { border-radius: 14px; }
.btn.small { border-radius: 12px; }
.btn.big { border-radius: 16px; }
.nav-actions .btn { border-radius: 12px; }
header.site { top: 12px; position: sticky; background: transparent; backdrop-filter: none; border: 0; padding: 0 12px; }
header.site .bar { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid var(--line2); border-radius: 20px; box-shadow: 0 10px 30px rgba(79,70,229,.10); padding: 0 16px 0 20px; max-width: 1136px; min-height: 64px; }
header.site .wrap { max-width: 1136px; }
.main-nav > a { border-radius: 12px; }
.main-nav > a[aria-current=page] { background: var(--primary-l); color:var(--primary); }
.stripe { height: 3px; }
.hero { background: radial-gradient(900px 520px at 88% -10%, rgba(167,139,250,.38), transparent 62%), radial-gradient(700px 480px at 0% 10%, rgba(99,102,241,.18), transparent 60%), radial-gradient(500px 300px at 60% 100%, rgba(244,114,182,.12), transparent 70%), var(--bg); margin-top: -76px; padding-top: 76px; }
.hero .tag { border-color:var(--line); color:var(--primary); }
.hero .tag::before { background: #7C3AED; box-shadow: 0 0 0 4px rgba(124,58,237,.18); }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); }
.route { border-radius: 30px; background: linear-gradient(180deg, #fff, #F7F6FF); box-shadow: 0 40px 80px rgba(79,70,229,.22), 0 2px 8px rgba(79,70,229,.08); }
.route .node { border-radius: 18px; background:var(--elev); }
.route .node.exit { background: linear-gradient(135deg, #3730A3, #6D28D9); border-color: transparent; }
.route .node.exit .ic { color:#F5D0FE; }
.route .live { color:var(--green-ink); }
.route .live::before { background: #10B981; }
.route .foot span { background:var(--elev); color:var(--primary); }
.trust .ic { color:var(--violet); }
.section.tint { background: linear-gradient(180deg, #EFEEFF, #F6F5FF); }
.section.deep { background: radial-gradient(900px 420px at 100% 0%, rgba(167,139,250,.35), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(99,102,241,.35), transparent 60%), #1E1B4B; }
.tile { border-radius: 24px; box-shadow: 0 1px 2px rgba(23,21,59,.05), 0 12px 32px rgba(79,70,229,.07); }
.tile .icon { background: linear-gradient(135deg, #E4E2FF, #F3E8FF); }
.tile .icon svg { stroke: #4F46E5; }
.step .num, .bigsteps .num { background: linear-gradient(135deg, #5B52F0, #A855F7); color:#fff; box-shadow: 0 6px 16px rgba(91,82,240,.35); }
.bigsteps li, .step { border-radius: 24px; }
.plan { border-radius: 28px; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #6366F1, #C026D3) border-box; box-shadow: 0 24px 60px rgba(124,58,237,.25); }
.plan li::before { color:var(--violet); }
.plan .chip { background:var(--elev); color:var(--violet); }
.plan.featured .price { background: linear-gradient(135deg, #4F46E5, #A21CAF); -webkit-background-clip: text; background-clip: text; color:transparent; }
.cta { background: radial-gradient(700px 300px at 50% 0%, rgba(192,132,252,.45), transparent 70%), linear-gradient(135deg, #1E1B4B, #3730A3 60%, #5B21B6); border-radius: 36px; }
.cta .btn.primary { background:var(--surface); color:var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,.25); border-color:var(--line); }
.cta .btn.primary:hover { background:var(--elev); color:var(--primary); }
.callout { background: linear-gradient(135deg, #1E1B4B, #4338CA); border-radius: 28px; }
.pagehead { background: radial-gradient(700px 320px at 95% 0%, rgba(167,139,250,.35), transparent 60%), #EFEEFF; margin-top: -76px; padding-top: 76px; }
footer.site { background: #14123A; }
.copy-line span { border-color: rgba(255,255,255,.1); }
details[open] { border-color: #A5A1F5; }
summary::after { background: #E4E2FF; color:var(--primary); }
details[open] summary::after { background: #4F46E5; }
.checks .ic { color:var(--violet); }
.side nav button.active { background: #E4E2FF; color:var(--primary); }
.side.dark { background: #1E1B4B; }
.side.dark nav button.active { background:var(--surface); color:var(--ink); }
.auth .aside { background: radial-gradient(700px 400px at 100% 0%, rgba(167,139,250,.45), transparent 60%), #1E1B4B; }
.title-ic, .stat .head .ic { color:var(--primary); }
.title-ic { background: #E4E2FF; }
.seg button.active { color:var(--primary); }
.back-site { align-self: flex-start; }
.side .back-site { margin: -8px 0 0; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line2); border-radius: 24px; padding: 26px; box-shadow: 0 12px 32px rgba(79,70,229,.07); display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; flex: 1; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.review figcaption { font-weight: 650; color: var(--muted); }
.stars { color:#F59E0B; letter-spacing: 2px; font-size: 18px; }

/* search and paging */
.searchbar { margin-bottom: 18px; align-items: flex-end; }
.searchbar .field { max-width: 420px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 4px; }
.chart text { font-family: var(--mono); }
input[type=search], input[type=email] { width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background:var(--surface); color: var(--ink); font: inherit; }
input[type=search]:focus { border-color: var(--primary); }
.searchbar .btn { min-height: 46px; }

/* logo stays whole; it never shrinks or wraps next to the menu */
.brand { flex: none; white-space: nowrap; min-width: 0; }
.brand svg { flex: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.side-top { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 20px; border-bottom: 1px solid var(--line2); }
.side.dark .side-top { border-color: rgba(255,255,255,.14); }
.side-top .back-site { align-self: flex-start; }
.side nav .admin-link { margin-top: 10px; }
.btn.admin { background: var(--ink); border-color: var(--ink); color:#fff; justify-content: flex-start; width: 100%; }
.btn.admin:hover { background: #2a2766; border-color: #2a2766; color:#fff; }
@media (max-width: 1180px) {
  .main-nav > a { padding: 8px 10px; }
  .nav-actions { margin-left: 6px; padding-left: 10px; }
}
@media (max-width: 1180px) { .nav-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: 0 20px 40px rgba(23,21,59,.12); }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav > a { padding: 14px 16px; font-size: 17px; }
  .nav-actions { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .nav-actions .btn { flex: 1; } }

/* apps page */
.grid.two > * { flex: 1 1 340px; }
.dls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn.dl { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn.dl .ic { width: 18px; height: 18px; }
pre.code { background: #14123A; color:#D9D7FF; padding: 16px 18px; border-radius: 14px; overflow: auto; font: 13.5px/1.6 var(--mono); margin: 8px 0 18px; max-width: 720px; }
.boot { width: 34px; height: 34px; margin: 28vh auto 0; border: 4px solid var(--primary-l); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .boot { animation-duration: 3s; } }
.main-nav > a, .langlink { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1320px) { .main-nav > a { padding: 8px 9px; font-size: 15px; } .nav-actions .btn { padding: 8px 14px; } }

/* pricing: three cards side by side, the popular one larger and brighter, with a label on top */
#plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: center; max-width: 1060px; margin-left: auto; margin-right: auto; padding-top: 18px; }
#plans > .plan, .grid > .plan { max-width: none; position: relative; }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 16px; border-radius: 999px; font-size: 13px; font-weight: 720; background:var(--elev); color:var(--violet); border:1px solid var(--line); }
.plan.featured { background: linear-gradient(145deg, #4F46E5 0%, #7C3AED 55%, #A21CAF 100%); border: 0; color:#fff; padding: 40px 30px 34px; box-shadow: 0 30px 70px rgba(124,58,237,.45); }
.plan.featured .ribbon { background: #FBBF24; color:var(--amber); border-color:var(--line); font-size: 14px; padding: 6px 20px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.plan.featured .price { background: none; -webkit-background-clip: border-box; background-clip: border-box; color:#fff; font-size: 44px; }
.plan.featured .hint, .plan.featured ul { color:#E9E5FF; }
.plan.featured li::before { color:#FDE68A; }
.plan.featured .btn.primary { background:var(--surface); color:var(--primary); border-color:var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.plan.featured .btn.primary:hover { background:var(--elev); color:var(--primary); }
@media (min-width: 900px) { #plans > .plan.featured { transform: scale(1.06); z-index: 1; } }
@media (max-width: 899px) { #plans { max-width: 460px; gap: 30px; } }
.savebar { position: sticky; bottom: 0; z-index: 20; display: flex; justify-content: flex-end; padding: 14px 0; margin-top: 16px; background: linear-gradient(to top, var(--bg) 70%, transparent); }

.nocharge { display: flex; gap: 16px; align-items: flex-start; max-width: 1060px; margin: 34px auto 0; padding: 22px 26px; background:var(--surface); border: 1px solid var(--line); border-left: 5px solid #7C3AED; border-radius: 18px; color:var(--ink); box-shadow: var(--shadow); }
.nocharge .ic { width: 28px; height: 28px; flex: none; stroke: #7C3AED; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.nocharge strong { font-size: 17px; }
.nocharge p { margin: 4px 0 0; color: var(--muted); }
.human { min-height: 65px; margin: 4px 0 16px; }
.human:empty { min-height: 0; margin: 0; }
#inv-link { flex: 1; min-width: 0; }

/* ---- design 4: warm paper, deep blue, cobalt and amber ---- */
:root {
  --bg: #E6F2FF; --surface: #FFFFFF; --tint: #CFE5FB; --line: #C5DAF2; --line2: #DCEAF9;
  --ink: #1B2A4A; --muted: #55648A;
  --primary: #2F6BFF; --primary-d: #1F54D6; --primary-l: #DDEBFF; --deep: #1B2A4A; --deep2: #1B365D;
  --sun: #FFD54A; --sun-ink: #1B2A4A; --violet: #2F6BFF;
  --shadow: 0 1px 2px rgba(16,33,58,.06), 0 10px 26px rgba(16,33,58,.07);
}
:focus-visible, .nav-toggle:focus-visible + .nav-btn { outline-color: rgba(10,86,214,.5); }
.btn.primary { background: var(--primary); box-shadow: 0 14px 26px -14px rgba(10,86,214,.9); }
.btn.primary:hover { background: var(--primary-d); }
.btn { border-radius: 14px; }
header.site .bar { box-shadow: 0 10px 30px rgba(16,33,58,.08); }
.main-nav > a[aria-current=page] { background: var(--primary-l); color: var(--primary-d); }
.hero { background: var(--bg); }
.hero h1 { font-size: clamp(38px, 6vw, 80px); line-height: .98; letter-spacing: -.04em; }
.hero .tag { background:var(--amber-bg); border-color:var(--line); color: var(--ink); box-shadow: none; }
.hero .tag::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(10,86,214,.18); }
.trust .ic, .checks .ic, .plan li::before { color: var(--primary); }
.route { background: var(--deep); color:#fff; border: 0; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(16,33,58,.6); transform: rotate(-1.2deg); }
.route .hd, .route .node .k { color:#B7C3D9; }
.route .live { color: var(--sun); }
.route .live::before { background: var(--sun); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,194,51,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255,194,51,0); } }
.route .node { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.route .node .ic { color:#fff; }
.route .link { border-left-color: rgba(255,255,255,.35); }
.route .link::after { color:#B7C3D9; }
.route .node.exit { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.route .node.exit .k { color:var(--amber); } .route .node.exit .ic { color:var(--ink); }
.route .foot span { background: rgba(255,255,255,.1); color:#fff; }
.section.tint { background: var(--surface); }
.section.deep { background: var(--deep); }
.section.deep .muted, .section.deep .sec-head p { color:#B7C3D9; }
.tile { box-shadow: var(--shadow); border-color: var(--line2); }
.tile .icon { background: var(--primary-l); }
.tile .icon svg, .title-ic, .stat .head .ic { stroke: var(--primary); color: var(--primary); }
.step .num, .bigsteps .num { background: var(--primary); box-shadow: none; }
.plan .chip { background: var(--primary-l); color: var(--primary-d); }
.plan .ribbon { background: var(--primary-l); color: var(--primary-d); border-color: var(--primary-l); }
.plan.featured { background: var(--primary); box-shadow: 0 30px 60px -28px rgba(10,86,214,.8); }
.plan.featured .ribbon { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.plan.featured .hint, .plan.featured ul { color:#D6E4FF; }
.plan.featured li::before { color: var(--sun); }
.plan.featured .btn.primary { color: var(--primary); box-shadow: none; }
.plan.featured .btn.primary:hover { background:var(--elev); color: var(--primary-d); }
.cta { background: var(--deep); }
.cta .btn.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.cta .btn.primary:hover { background: #FFD25F; border-color:var(--line); color:var(--ink); }
.callout { background: var(--deep); }
.pagehead { background: var(--tint); }
footer.site { background: #0B1830; }
details[open] { border-color: var(--primary); }
summary::after { background: var(--primary-l); color: var(--primary-d); }
details[open] summary::after { background: var(--primary); }
.side nav button.active { background: var(--primary-l); color: var(--primary-d); }
.side.dark { background: var(--deep); }
.side.dark nav button.active { background:var(--surface); color: var(--deep); }
.auth .aside { background: var(--deep); }
.title-ic { background: var(--primary-l); }
.seg button.active { color: var(--primary-d); }
.review { box-shadow: var(--shadow); }
.nocharge { border-left-color: var(--primary); }
.nocharge .ic { stroke: var(--primary); }
.btn.primary:focus-visible { outline-color: rgba(10,86,214,.5); }
details a, .legal a, .main a:not(.btn), .more a, .callout a { text-decoration-color: rgba(10,86,214,.35); }
.chart .hit:hover { fill: rgba(10,86,214,.07); }

/* ---- design 5: the phone in the hero ---- */
.hero h1 { max-width: 12.5em; }
.hero .visual { position: relative; }
.phone-wrap { position: relative; display: flex; justify-content: center; width: 100%; padding: 8px 0 24px; }
.phone-bg { position: absolute; inset: 6% 8% 2% 8%; background: var(--sun); border-radius: 48px; transform: rotate(-4deg); }
.phone { position: relative; width: 280px; background: var(--deep); border-radius: 44px; padding: 12px; box-shadow: 0 40px 70px -30px rgba(16,33,58,.7); }
.phone .screen { background:var(--elev); border-radius: 34px; padding: 22px 18px 20px; min-height: 480px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone .notch { width: 64px; height: 6px; border-radius: 99px; background: #D8DDEA; margin-bottom: 22px; }
.phone .app-name { font-weight: 700; font-size: 15px; color: var(--muted); }
.phone .ring { width: 150px; height: 150px; border-radius: 50%; background: var(--primary-l); margin: 24px 0 18px; display: flex; align-items: center; justify-content: center; }
.phone .core { width: 108px; height: 108px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.phone .core .ic { width: 52px; height: 52px; color:#fff; stroke: #fff; }
.phone .st { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.phone .loc { color: var(--muted); margin-top: 2px; }
.phone .row-i { width: 100%; display: flex; justify-content: space-between; background:var(--surface); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-top: 10px; text-align: left; }
.phone .row-i span { color: var(--muted); }
@media (max-width: 480px) { .phone { width: 240px; } .phone .screen { min-height: 420px; } .phone .ring { width: 120px; height: 120px; } .phone .core { width: 86px; height: 86px; } }

/* ---- compact account area ---- */
.status-card { background: var(--primary); color:#fff; border-radius: 24px; padding: 24px 26px; margin-bottom: 18px; box-shadow: 0 24px 50px -28px rgba(10,86,214,.8); }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.sc-k { color:#D6E4FF; font-weight: 600; font-size: 14px; }
.sc-v { font-family: var(--display); font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 2px; }
.status-card .chip { background: rgba(255,255,255,.18); color:#fff; border-color: transparent; }
.time-left { width: 100%; height: 8px; margin: 16px 0 12px; border: 0; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.25); appearance: none; }
.time-left::-webkit-progress-bar { background: rgba(255,255,255,.25); }
.time-left::-webkit-progress-value { background: var(--sun); border-radius: 99px; }
.time-left::-moz-progress-bar { background: var(--sun); border-radius: 99px; }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color:#D6E4FF; font-size: 14px; margin-top: 12px; }
.status-card .btn { background:var(--surface); border-color:var(--line); color: var(--primary-d); }
.grid.compact { gap: 16px; margin-bottom: 18px; }
.card.mini { padding: 18px 20px; margin-bottom: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.card.mini .head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.card.mini .value { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.card.mini .of { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card.mini progress { width: 100%; }
.steps-mini { margin: 8px 0 14px; padding-left: 20px; line-height: 1.8; }
.profile-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 20px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color:#fff; display: flex; align-items: center; justify-content: center; font: 800 22px var(--display); }
.profile-head .pe { font-weight: 700; overflow-wrap: anywhere; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.pgrid > .card { margin-bottom: 0; max-width: none; }
.folds { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.fold { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 4px 20px; }
.fold summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-size: 22px; color: var(--primary); }
.fold[open] summary::after { content: "–"; }
.fold[open] { padding-bottom: 18px; }
.main h1 { font-size: clamp(28px, 4vw, 40px); }
.hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: none; margin-bottom: 20px; }
.main h2.mt { font-size: 22px; margin: 28px 0 12px; }

/* sign in with Google */
.alt-login { margin-top: 16px; }
.alt-login .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.alt-login .or::before, .alt-login .or::after { content: ""; flex: 1; height: 1px; background: var(--line, #E1DCD2); }
.btn.google { background: #fff; color: #1B2A4A; border: 1.5px solid #1B2A4A; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn.google .ic { width: 20px; height: 20px; }

/* ---- customer area redesign: navy sidebar, paper workspace, bottom tab bar on phones ---- */
.shell.acct { background:var(--elev); flex-wrap: nowrap; }
.acct .side { flex: 0 0 270px; max-width: 270px; background: #1B2A4A; color:#fff; border-right: 0; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.acct .side-top { border-color: rgba(255,255,255,.14); }
.acct .side .brand { color:#fff; font-family: var(--display); font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.acct .side .back-site { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color:#fff; box-shadow: none; }
.acct .side nav { gap: 4px; }
.acct .side nav button { color:#C9D4E8; border-radius: 14px; min-height: 46px; padding: 10px 14px; }
.acct .side nav button:hover { background: rgba(255,255,255,.08); color:#fff; }
.acct .side nav button.active { background: #FFD54A; color:var(--ink); font-weight: 750; }
.acct .side nav .ic { width: 20px; height: 20px; }
.acct .side .foot .hint { color:#AFC0DA; }
.acct .side .foot .btn, .acct .side .foot select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color:#fff; box-shadow: none; }
.acct .main { flex: 1 1 0; max-width: 1080px; padding: 36px 40px 80px; }
.acct .main h1 { font-size: clamp(26px, 3.4vw, 36px); display: flex; align-items: center; margin-bottom: 8px; }
.acct .main .lead { margin: 0 0 24px; max-width: 60ch; }
.acct .title-ic { background:var(--elev); color:var(--primary); }
.acct .card, .acct .item { border-radius: 22px; border-color:var(--line); box-shadow: 0 1px 0 rgba(16,33,58,.04); }
.acct .card h2 { font-size: 19px; }
.acct .status-card { border-radius: 26px; background: linear-gradient(135deg, #2F6BFF, #1F54D6); }
.acct .btn.primary { background: #2F6BFF; border-color: #2F6BFF; }
.acct .kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom:1px solid var(--line); flex-wrap: wrap; }
.acct .kv:last-child { border-bottom: 0; }
.acct .profile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 22px 26px; margin: 16px 0 18px; }
.acct .profile-head .avatar { width: 64px; height: 64px; font-size: 26px; background: #2F6BFF; }
.acct .ph-main { flex: 1 1 220px; min-width: 0; }
.acct .ph-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.acct .ph-facts .muted { font-size: 13px; }
.acct .ph-facts strong { font-family: var(--display); font-size: 18px; }
.acct .pgrid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.acct .narrow-card { max-width: 640px; }
@media (max-width: 860px) {
  .shell.acct { flex-direction: column; padding-bottom: 76px; }
  .acct .side { position: static; flex: none; max-width: none; width: 100%; height: auto; padding: 14px 16px; gap: 0; }
  .acct .side .side-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 0; border: 0; }
  .acct .side .foot { display: none; }
  .acct .side nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; flex-direction: row; gap: 2px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #1B2A4A; overflow-x: auto; box-shadow: 0 -8px 24px rgba(16,33,58,.25); }
  .acct .side nav button { flex: 1 0 64px; min-height: 56px; padding: 6px 4px; justify-content: center; text-align: center; font-size: 11px; line-height: 1.15; border-radius: 12px; }
  .acct .side nav button .lbl { flex-direction: column; gap: 3px; }
  .acct .side nav .admin-link { display: none; }
  .acct .main { padding: 22px 16px 40px; }
}
.soon { color: var(--red); }
.acct input[type=text], .acct input[type=email], .acct input[type=password], .acct input[type=number], .acct select, .acct textarea { font-family: var(--font); font-size: 16px; }

/* ---- admin: customers as cards instead of a cramped table ---- */
.cust-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.cust { background:var(--surface); border:1px solid var(--line); border-radius: 20px; padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.cust.off { background:var(--elev); }
.cust-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.cust-id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; font-size: 17px; }
.cust-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 22px; padding: 14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.cf-k { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.cf-v { font-weight: 650; }
.cf-v select { width: 100%; max-width: 240px; }
.cust-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.more-menu { position: relative; }
.more-menu summary { list-style: none; cursor: pointer; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu .menu { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); min-width: 200px; background:var(--surface); border:1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 16px 36px -12px rgba(16,33,58,.3); }
.more-menu .menu .btn { width: 100%; justify-content: flex-start; }
@media (max-width: 600px) { .cust { padding: 16px; } .cust-facts { grid-template-columns: 1fr 1fr; } .cust-facts .cf:first-child { grid-column: 1 / -1; } }
.cust-facts .cf:first-child { grid-column: span 2; }
.cf-v select { max-width: 320px; }
details.more-menu { border: 0; background: none; padding: 0; margin: 0; box-shadow: none; }
.more-menu summary::after, .more-menu summary::before { content: none !important; }
.more-menu summary { padding: 0 14px; display: inline-flex; align-items: center; min-height: 34px; }

.acct .card h2 { display: flex; align-items: center; gap: 10px; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background:var(--elev); color:var(--primary); flex: none; }
.card-ic .ic { width: 18px; height: 18px; }
.acct .pgrid > .card { padding: 24px; }
.acct .pgrid .row input { flex: 1 1 200px; min-width: 0; }
@media (min-width: 900px) { .cust-facts { grid-template-columns: 2fr repeat(4, 1fr); } .cust-facts .cf:first-child { grid-column: auto; } }

/* ---- devices ---- */
.dev { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background:var(--surface); border:1px solid var(--line); border-radius: 22px; padding: 18px 22px; margin-bottom: 12px; }
.dev.off { background:var(--elev); }
.dev-ic { width: 52px; height: 52px; border-radius: 16px; background:var(--elev); color:var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.dev.off .dev-ic { background:var(--elev); color:var(--muted); }
.dev-ic .ic { width: 24px; height: 24px; }
.dev-main { flex: 1 1 260px; min-width: 0; }
.dev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.dev-name { font-family: var(--display); font-size: 18px; overflow-wrap: anywhere; }
.dev-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.dm { display: inline-flex; align-items: center; gap: 6px; }
.dm .ic { width: 15px; height: 15px; }
.dev-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dev .more-menu .menu { left: auto; right: 0; }
.newdev form { display: flex; flex-direction: column; gap: 6px; max-width: 680px; }
.newdev .field .hint { margin: 8px 0 0; line-height: 1.5; }
.check-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background:var(--elev); border-radius: 16px; cursor: pointer; font-weight: 400; }
.check-line input { margin-top: 4px; flex: none; }
.check-line .hint { display: block; margin-top: 4px; }
@media (max-width: 600px) { .dev { padding: 16px; } .dev-actions { width: 100%; margin-left: 0; } }
.acct .proto-info { background:var(--elev); border-color:var(--line); color:var(--ink); }

/* ---- charts: compact, with a summary and a tooltip ---- */
.chart.compact { margin: 6px 0 4px; }
.chart.compact svg { max-height: 220px; }
.chart-card { padding-bottom: 18px; }
.chart-head { align-items: center; gap: 10px 16px; margin-bottom: 14px; flex-wrap: wrap; }
.chart-head h2, .chart-head h3 { margin: 0; }
.sum-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sum-tile { background:var(--elev); border-radius: 14px; padding: 10px 14px; }
.sum-tile .k { font-size: 12.5px; color: var(--muted); }
.sum-tile .v { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.sum-tile .s { font-size: 12px; color: var(--muted); }
.chart.compact .rate-tip { top: 4px; transform: translate(-50%, 0); white-space: nowrap; text-align: left; line-height: 1.5; font-size: 12.5px; }
.chart .cross-band { fill: rgba(10,86,214,.08); pointer-events: none; }
.chart .bar-wg { fill: #2F6BFF; } .chart .bar-ovpn { fill: #FFD54A; }
.sw.wg { background: #2F6BFF; } .sw.ovpn { background: #FFD54A; }
.mini-bars { width: 100%; height: auto; max-height: 80px; }
.mini-bars .bar-wg { fill: #2F6BFF; } .mini-bars .bar-none { fill: #D3E3F5; }
/* overview */
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.quick .btn { display: inline-flex; align-items: center; gap: 8px; }
.quick .ic { width: 18px; height: 18px; }
.ov-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card.wide-mini .head { margin-bottom: 4px; }

.shell:not(.acct) .main h2 { font-size: 22px; }
.shell:not(.acct) .main h1 { font-size: clamp(26px, 3.2vw, 34px); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; align-items: start; }
.duo > .card { margin-bottom: 0; }
.duo .livestats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 10px 0; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } }

/* footer tidy-up */
footer.site { padding: 48px 0 0; }
.foot-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 24px 40px; align-items: start; }
.foot-grid h2 { font-size: 13px; color:#fff; opacity: .6; margin: 4px 0 12px; font-weight: 600; letter-spacing: .01em; }
.foot-grid ul { gap: 0; }
.foot-grid a { padding: 4px 0; font-size: 15px; color:#D6E0F2; }
.foot-brand p { font-size: 15px; line-height: 1.55; margin: 0; color:#AFC0DA; }
.copy-line { margin-top: 36px; padding: 18px 24px 24px; font-size: 13px; color:var(--muted); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .foot-grid a { padding: 6px 0; } }

/* guides */
.guide h2 { margin: 32px 0 10px; font-size: 24px; }
.guide p { max-width: 68ch; line-height: 1.7; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-list li { background:var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.guide-list a { font-weight: 700; font-size: 18px; }
.guide-list p { margin: 6px 0 0; color:var(--muted, var(--muted)); }

/* Compact footer */
footer.site { background: var(--deep); padding: 32px 0 0; }
.foot-grid { grid-template-columns: 1.1fr 1.5fr 1fr .9fr; gap: 20px 32px; }
.foot-grid ul { gap: 0; }
.foot-grid a { padding: 2px 0; font-size: 14px; }
.foot-grid h2 { margin: 0 0 8px; font-size: 12px; }
.foot-grid > div:nth-child(2) ul { column-count: 2; column-gap: 24px; display: block; }
.foot-grid li { break-inside: avoid; }
.foot-brand .brand { margin-bottom: 8px; }
.foot-brand p { font-size: 14px; max-width: 260px; }
.copy-line { margin-top: 22px; padding: 12px 24px 16px; font-size: 12px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:nth-child(2) { grid-column: 1 / -1; } .hero::after { height: 120px; } .hero-grid { padding-bottom: 110px; } }

.acct .help details { border-top: 1px solid var(--line2); padding: 12px 0; }
.acct .help details:first-child { border-top: 0; padding-top: 0; }
.acct .help summary { cursor: pointer; font-weight: 650; }
.acct .help p { margin: 8px 0 0; color: var(--muted); }
.acct details.ask { margin-top: 16px; }
.acct details.ask > summary { cursor: pointer; font-weight: 700; }
.acct details.ask form { margin-top: 14px; }
.acct .card.help details { border: 0; border-top: 1px solid var(--line2); border-radius: 0; box-shadow: none; background: none; margin: 0; padding: 4px 0; }
.acct .card.help details:first-child { border-top: 0; }
.acct .card.help summary { padding: 10px 0; min-height: 0; background: none; }
.acct .card.help details p { padding: 0 0 10px; margin: 0; }
.acct details.ask > summary { padding: 4px 0; background: none; }

/* ===== Look "Разговор": soft sky, Nunito, rounded cards, pill buttons ===== */
:root {
  --bg: #E6F2FF; --surface: #FFFFFF; --tint: #D5E8FB; --line: #C5DAF2; --line2: #DCEAF9;
  --ink: #1B2A4A; --muted: #55648A; --paper: var(--bg); --white: var(--surface);
  --primary: #2F6BFF; --primary-d: #1F54D6; --primary-l: #DCEBFF; --deep: #1B2A4A; --deep2: #2A3F6E;
  --sun: #FFD54A; --sun-ink: #1B2A4A; --violet: #2F6BFF; --coral: #FF7A66;
  --display: "Nunito", system-ui, sans-serif; --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 8px 28px rgba(27,42,74,.08);
}
body { font-weight: 500; }
h1, h2 { font-weight: 900; letter-spacing: -.02em; }
h3 { font-weight: 800; }
.btn { border-radius: 999px; font-weight: 800; }
.btn.primary { background: var(--primary); border-color: var(--primary); box-shadow: 0 12px 22px -12px rgba(47,107,255,.8); }
.btn.primary:hover { background: var(--primary-d); }
.card, .tile, .step, .plan, .item, .review { border-radius: 28px; border-color: transparent; box-shadow: var(--shadow); }
.stripe { display: none; }
header.site { padding-top: 6px; }
header.site .bar { border-radius: 999px; box-shadow: 0 6px 24px rgba(27,42,74,.08); border-color: transparent; }
.main-nav > a[aria-current=page] { background: var(--primary-l); color: var(--primary-d); border-radius: 999px; }
/* hero: centred, phone with floating answers */
.hero { background: var(--bg); }
.hero-grid { flex-direction: column; text-align: center; gap: 32px; padding: 48px 24px 56px; }
.hero .copy { flex: none; max-width: 820px; }
.hero h1 { max-width: 14em; margin-left: auto; margin-right: auto; text-wrap: balance; font-size: clamp(36px, 6vw, 68px); line-height: 1.04; }
.hero .lead { margin-left: auto; margin-right: auto; max-width: 34em; }
.hero .row, .hero .trust { justify-content: center; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; }
.hero .tag { background:var(--surface); border-color: transparent; color: var(--primary-d); box-shadow: var(--shadow); }
.hero .tag::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(47,107,255,.18); }
.hero .visual { flex: none; width: 100%; }
.phone-wrap { position: relative; width: min(520px, 100%); margin: 0 auto; }
.phone-bg { background: var(--sun); border-radius: 48px; transform: rotate(-4deg); }
.hchip { position: absolute; z-index: 3; background:var(--surface); border-radius: 18px; padding: 10px 16px; font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px rgba(27,42,74,.14); white-space: nowrap; color: var(--ink); }
.hchip.c1 { left: -10px; top: 14%; transform: rotate(-4deg); } .hchip.c2 { right: -10px; top: 42%; transform: rotate(3deg); } .hchip.c3 { left: 4px; bottom: 16%; transform: rotate(2deg); }
@media (max-width: 640px) { .hchip { font-size: 12.5px; padding: 8px 12px; } .hchip.c1 { left: -4px; } .hchip.c2 { right: -4px; } }
/* sections */
.section.tint, .section.alt { background: var(--tint); }
.section.deep { background: var(--deep); }
.tile .icon { border-radius: 18px; background: var(--primary-l); color: var(--primary-d); }
.cta, .callout { border-radius: 40px; background: var(--deep); }
.cta .btn.primary, .callout .btn.primary { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: none; }
details { border-radius: 22px; }
/* chat steps */
.chat { max-width: 660px; margin: 8px auto 0; display: grid; gap: 14px; }
.chat .m { max-width: 84%; padding: 14px 20px; border-radius: 24px; font-size: 17px; line-height: 1.5; }
.chat .m small { display: block; font-size: 13px; opacity: .7; font-weight: 800; margin-bottom: 2px; }
.chat .m.l { background:var(--surface); border-bottom-left-radius: 8px; justify-self: start; box-shadow: var(--shadow); }
.chat .m.r { background: var(--primary); color:#fff; border-bottom-right-radius: 8px; justify-self: end; }
.sec-head { text-align: center; }
.sec-head p { margin-left: auto; margin-right: auto; }
/* plans */
.plan.featured { background: var(--primary); box-shadow: 0 24px 44px -20px rgba(47,107,255,.8); }
.plan.featured .ribbon { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.plan.featured .hint, .plan.featured ul { color:#DCE8FF; }
.plan.featured li::before { color: var(--sun); }
.plan.featured .btn.primary { background:var(--surface); border-color:var(--line); color: var(--primary); box-shadow: none; }
/* footer */
footer.site { background: var(--deep); border-radius: 40px 40px 0 0; margin-top: 24px; }
/* customer area and admin */
.acct .side, .shell:not(.acct) .side { background: var(--deep); }
.acct .side nav button.active, .shell:not(.acct) .side nav button.active { background: var(--sun); color: var(--ink); }
.acct .status-card { background: linear-gradient(135deg, #2F6BFF, #1F54D6); border-radius: 32px; }
.sec-head { margin-left: auto; margin-right: auto; max-width: 720px; }
.more { text-align: center; }
.section .wrap > h2 { text-align: center; }
.nocharge { border-radius: 24px; }
@media (max-width: 640px) { .hchip.c3 { display: none; } .hchip.c2 { top: 24%; right: -2px; } .hero .tag { border-radius: 20px; text-align: center; } }
.ipcheck { background:var(--surface); border-radius: 32px; padding: 32px; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.ipcheck .ipval { font-size: clamp(30px, 6vw, 52px); font-weight: 900; letter-spacing: -.02em; margin: 4px 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ipcheck p { margin: 0 0 8px; }
.ipcheck .status:empty { display: none; }
.ipcheck .status { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--tint); font-weight: 800; font-size: 15px; }
.ipcheck .status.green { background:var(--green-bg); color:var(--green-ink); }

/* closing call to action: compact */
.cta.cta2 { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; text-align: left; padding: 28px 36px; border-radius: 32px; background: radial-gradient(520px 200px at 0% 0%, rgba(47,107,255,.5), transparent 70%), var(--deep); overflow: hidden; }
.cta2 .cta-copy { flex: 1 1 320px; min-width: 0; }
.cta2 .cta-copy h2 { font-size: clamp(22px, 3vw, 30px); color:#fff; margin: 0 0 4px; }
.cta2 .cta-copy p { margin: 0; font-size: 16px; }
.cta2 .btn { flex: none; }
@media (max-width: 640px) { .cta.cta2 { padding: 24px; } .cta2 .btn { width: 100%; text-align: center; } }
.scene-band { margin-top: 36px; border-radius: 32px; background:var(--surface); box-shadow: var(--shadow); padding: 24px 16px 0; overflow: hidden; }
.scene-band img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
.ph-art { flex: 0 1 340px; }

/* ===== Header: logo left, menu centred, language and account on the right ===== */
header.site { position: sticky; top: 10px; z-index: 40; padding: 0 12px; background: transparent; border: 0; backdrop-filter: none; }
header.site .wrap { max-width: 1260px; }
header.site .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 68px; padding: 8px 12px 8px 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border: 1px solid rgba(197,218,242,.7); border-radius: 999px; box-shadow: 0 10px 34px rgba(27,42,74,.10); }
header.site .brand { justify-self: start; font-size: 21px; font-weight: 900; }
header.site .brand svg { width: 34px; height: 34px; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 2px; padding: 5px; background: var(--bg); border-radius: 999px; font-weight: 700; font-size: 15.5px; }
.main-nav > a { padding: 9px 16px; border-radius: 999px; color: var(--muted); transition: background .18s ease, color .18s ease, transform .18s ease; white-space: nowrap; }
.main-nav > a:hover { color: var(--primary-d); background:var(--surface); transform: translateY(-1px); }
.main-nav > a[aria-current=page] { color:#fff; background: var(--primary); box-shadow: 0 8px 16px -8px rgba(47,107,255,.9); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.nav-actions .btn { border-radius: 999px; padding: 10px 20px; font-size: 15px; }
.nav-actions .btn.ghost { background: transparent; }
.lang { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border-radius: 999px; margin-right: 4px; }
.lang-opt { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); transition: background .18s ease, color .18s ease; }
a.lang-opt:hover { background:var(--surface); color: var(--ink); }
.lang-opt.on { background:var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(27,42,74,.14); }
.lang-opt img { display: block; width: 22px; height: 16px; border-radius: 3px; }
.nav-btn { display: none; justify-self: end; }
@media (max-width: 1240px) {
  header.site .bar { display: flex; flex-wrap: wrap; justify-content: space-between; border-radius: 30px; padding: 8px 12px 8px 18px; }
  .nav-btn { display: inline-flex; }
  .main-nav, .nav-actions { display: none; width: 100%; }
  .nav-toggle:checked ~ .main-nav { display: flex; flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; margin-top: 8px; order: 5; }
  .nav-toggle:checked ~ .nav-actions { display: flex; flex-wrap: wrap; justify-content: space-between; order: 6; padding: 12px 4px 6px; }
  .main-nav > a { padding: 13px 16px; font-size: 17px; }
  .nav-actions .btn { flex: 1; text-align: center; }
  .lang { margin: 0 8px 0 0; }
}
@media (max-width: 1240px) { header.site .bar > .nav-btn { order: 1; } header.site .bar > .main-nav { order: 6; } header.site .bar > .nav-actions { order: 7; } }
/* Header v2: the logo stands on its own at the top left, the menu is a separate centred pill */
@media (min-width: 1241px) {
  header.site { padding: 0 20px; }
  header.site .bar { background: transparent; backdrop-filter: none; border: 0; box-shadow: none; padding: 6px 0; }
  header.site .brand { padding: 0; }
  header.site .brand svg { width: 40px; height: 40px; }
  header.site .brand span { font-size: 23px; max-width: 260px; }
  .main-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(27,42,74,.12); padding: 6px; }
  .nav-actions { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(27,42,74,.12); padding: 6px; border-radius: 999px; }
}
@media (min-width: 1241px) { header.site { background: linear-gradient(to bottom, rgba(230,242,255,.96) 55%, rgba(230,242,255,0)); top: 0; padding-top: 10px; padding-bottom: 14px; } }
/* Header v3: one compact group (logo, menu, language and account side by side) */
@media (min-width: 1241px) {
  header.site .wrap { max-width: 1240px; }
  header.site .bar { display: flex; justify-content: center; align-items: center; gap: 14px; }
  header.site .brand { margin-right: 6px; justify-self: auto; }
  .main-nav, .nav-actions { justify-self: auto; }
  .main-nav { font-size: 15px; }
  .main-nav > a { padding: 9px 14px; }
  .nav-actions .btn { padding: 10px 18px; }
}
@media (min-width: 1241px) and (max-width: 1340px) { header.site .brand span { font-size: 21px; } .main-nav > a { padding: 9px 11px; } .lang-opt span { display: none; } .lang-opt { padding: 6px 8px; } }
@media (min-width: 1241px) { header.site .bar > .main-nav { display: flex; position: static; flex-direction: row; width: auto; padding: 6px; border: 0; } header.site .bar > .nav-btn { display: none; } header.site .bar > .nav-actions { display: flex; width: auto; } }
.hero h1 { font-size: clamp(32px, 4.8vw, 56px); max-width: 16em; }
.guide ul { padding-left: 22px; line-height: 1.7; max-width: 68ch; } .guide li { margin-bottom: 6px; }

/* ===== Header v4: logo on its own row (left), one menu pill centred underneath: links, language, account ===== */
header.site.hd { position: relative; top: auto; z-index: 40; background: transparent; backdrop-filter: none; border: 0; padding: 18px 20px 8px; }
.hd .hd-in { max-width: 1180px; margin: 0 auto; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hd .brand { align-self: flex-start; padding: 0; font-size: 23px; font-weight: 900; gap: 10px; }
.hd .brand svg { width: 38px; height: 38px; }
.hd-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hd-btn { display: none; }
.hd-menu { display: flex; align-items: center; gap: 6px; padding: 6px; background:var(--surface); border: 1px solid rgba(197,218,242,.8); border-radius: 999px; box-shadow: 0 10px 30px rgba(27,42,74,.10); max-width: 100%; }
.hd-nav { display: flex; align-items: center; gap: 2px; font-weight: 700; font-size: 15.5px; }
.hd-nav a { padding: 10px 15px; border-radius: 999px; color: var(--muted); white-space: nowrap; transition: background .18s ease, color .18s ease; }
.hd-nav a:hover { color: var(--primary-d); background: var(--bg); }
.hd-nav a[aria-current=page] { color:#fff; background: var(--primary); box-shadow: 0 8px 16px -8px rgba(47,107,255,.9); }
.hd-sep { width: 1px; height: 28px; background: #D5E3F5; margin: 0 8px; flex: none; }
.hd-menu .lang { margin: 0; }
.hd-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.hd-actions .btn { border-radius: 999px; padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.hd-actions .btn.ghost { background: transparent; }
@media (min-width: 1181px) and (max-width: 1280px) { .hd-nav a { padding: 10px 11px; font-size: 15px; } .lang-opt span { display: none; } .lang-opt { padding: 6px 8px; } .hd-actions .btn { padding: 10px 16px; } }
@media (max-width: 1180px) {
  .hd .hd-in { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
  .hd .brand { align-self: center; }
  .hd-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background:var(--surface); box-shadow: 0 6px 18px rgba(27,42,74,.10); font-weight: 800; color: var(--ink); cursor: pointer; margin: 0; }
  .hd-bars, .hd-bars::before, .hd-bars::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; }
  .hd-bars { position: relative; } .hd-bars::before, .hd-bars::after { content: ""; position: absolute; left: 0; } .hd-bars::before { top: -6px; } .hd-bars::after { top: 6px; }
  .hd-toggle:focus-visible + .hd-btn { outline: 3px solid rgba(47,107,255,.5); outline-offset: 2px; }
  .hd-menu { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; width: 100%; border-radius: 28px; padding: 8px; gap: 4px; }
  .hd-toggle:checked ~ .hd-menu { display: flex; }
  .hd-nav { flex-direction: column; align-items: stretch; }
  .hd-nav a { padding: 13px 16px; font-size: 17px; }
  .hd-sep { width: auto; height: 1px; margin: 4px 6px; }
  .hd-menu .lang { align-self: flex-start; margin: 2px 6px; }
  .hd-actions { margin: 4px 0 0; padding: 0 4px 4px; }
  .hd-actions .btn { flex: 1; text-align: center; }
}
@media (max-width: 480px) { .hd .brand span { font-size: 20px; } header.site.hd { padding-inline: 16px; } }
/* pageheads sit on the page colour so the header and the band read as one surface; the globe keeps a sensible size */
.pagehead { background: transparent; border-bottom: 0; padding-top: 8px; }
.scene-band img { max-width: 560px; }
.scene-band { padding-bottom: 16px; }
.pagehead { margin-top: 0; padding-top: 28px; }
.ph-art { padding-top: 4px; }

/* ===== Admin on a phone: a slim sticky bar with a swipeable tab strip, account block folded away ===== */
.side-more { display: none; }
@media (max-width: 900px) {
  .shell:not(.acct) { display: block; }
  .shell:not(.acct) .side { position: sticky; top: 0; z-index: 50; max-width: none; width: 100%; padding: 8px 12px 6px; gap: 4px; flex-direction: row; flex-wrap: wrap; align-items: center; box-shadow: 0 6px 18px rgba(16,33,58,.25); }
  .shell:not(.acct) .side .brand { flex: 1; font-size: 18px; font-weight: 800; color:#fff; display: flex; align-items: center; gap: 8px; min-width: 0; }
  .shell:not(.acct) .side .brand svg { width: 28px; height: 28px; }
  .shell:not(.acct) .side .side-more { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color:#fff; font-size: 22px; line-height: 1; cursor: pointer; }
  .shell:not(.acct) .side.open .side-more { background: var(--sun); color: var(--ink); }
  .shell:not(.acct) .side nav { order: 3; flex: 0 0 100%; flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin: 0 -12px; padding-inline: 12px; scroll-snap-type: x proximity; }
  .shell:not(.acct) .side nav::-webkit-scrollbar { display: none; }
  .shell:not(.acct) .side nav button { flex: none; min-height: 40px; padding: 6px 12px; border-radius: 999px; gap: 6px; white-space: nowrap; font-size: 14.5px; scroll-snap-align: center; }
  .shell:not(.acct) .side nav button .lbl { gap: 7px; }
  .shell:not(.acct) .side nav .ic { width: 18px; height: 18px; }
  .shell:not(.acct) .side .badge { line-height: 18px; padding: 0 6px; font-size: 11px; }
  .shell:not(.acct) .side .foot { display: none; order: 4; flex: 0 0 100%; margin: 0; padding: 10px 0 6px; border-top: 1px solid rgba(255,255,255,.14); align-items: center; }
  .shell:not(.acct) .side.open .foot { display: flex; }
  .shell:not(.acct) .main { padding: 16px 14px 48px; }
  .shell:not(.acct) .main h1 { font-size: 22px; margin-bottom: 14px; }
  .shell:not(.acct) .main h2 { font-size: 18px; }
  .shell:not(.acct) .main .card { padding: 14px; border-radius: 18px; }
  .shell:not(.acct) .table-wrap { border-radius: 14px; margin-inline: -4px; }
  .shell:not(.acct) .table-wrap td, .shell:not(.acct) .table-wrap th { padding: 9px 10px; font-size: 14px; }
  .shell:not(.acct) .main .btn { min-height: 40px; }
}
@media (max-width: 900px) {
  .shell:not(.acct) .main .grid.compact, .shell:not(.acct) .main .grid:has(> .stat) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .shell:not(.acct) .main .grid > .stat { padding: 12px 14px; }
  .shell:not(.acct) .main .stat .value { font-size: 22px; }
  .shell:not(.acct) .main .stat .head { font-size: 13px; gap: 6px; }
  .shell:not(.acct) .main .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .shell:not(.acct) .main .seg { display: flex; flex-wrap: nowrap; width: 100%; padding: 3px; overflow-x: auto; scrollbar-width: none; }
  .shell:not(.acct) .main .seg button { flex: 1 0 auto; min-height: 34px; padding: 5px 12px; font-size: 14px; white-space: nowrap; }
  .shell:not(.acct) .main .table-wrap table { font-size: 13.5px; }
  .shell:not(.acct) .main .table-wrap th, .shell:not(.acct) .main .table-wrap td { white-space: nowrap; }
  .shell:not(.acct) .main .table-wrap td:first-child, .shell:not(.acct) .main .table-wrap th:first-child { position: sticky; left: 0; background: inherit; }
}
@media (max-width: 900px) {
  .shell:not(.acct) .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .shell:not(.acct) .plan-grid .field { margin: 0; min-width: 0; }
  .shell:not(.acct) .plan-grid .field:nth-child(1), .shell:not(.acct) .plan-grid .field:nth-child(6), .shell:not(.acct) .plan-grid .field:nth-child(7), .shell:not(.acct) .plan-grid .field:nth-child(8) { grid-column: 1 / -1; }
  .shell:not(.acct) .plan-grid label { font-size: 13px; }
  .shell:not(.acct) .plan-grid input, .shell:not(.acct) .plan-grid select { min-height: 40px; padding: 8px 12px; }
}
@media (max-width: 900px) {
  .shell:not(.acct) .plan-grid input, .shell:not(.acct) .plan-grid select { width: 100%; box-sizing: border-box; }
  .shell:not(.acct) .main form .field { margin-bottom: 10px; }
  .shell:not(.acct) .main form input:not([type=checkbox]):not([type=radio]), .shell:not(.acct) .main form select { min-height: 42px; padding: 8px 12px; }
  .shell:not(.acct) .main form textarea { min-height: 90px; }
}
/* footer: copyright on the left, payment note on the right */
.copy-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; }
.copy-line span { margin-top: 0; padding: 0; border-top: 0; }
.copy-line span:first-child { }
.copy-line .pay-note { color:#C9D6EC; }
@media (max-width: 640px) { .copy-line { flex-direction: column; } }
.copy-line { margin-top: 28px; padding: 16px 24px 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }

/* maintenance page */
body.maint { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 20px; }
.maint-card { max-width: 520px; background:var(--surface); border-radius: 32px; padding: 44px 36px; text-align: center; box-shadow: var(--shadow); }
.maint-card::before { content: ""; display: block; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; background: var(--sun) url("/img/globe-s.svg") center / 64px no-repeat; }
.maint-card h1 { font-size: clamp(24px, 5vw, 32px); margin: 0 0 12px; }
.maint-card p { margin: 0; color: var(--muted); font-size: 17px; }
/* payment trust strip in the footer */
.pay-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding: 18px 24px 0; border-top: 1px solid rgba(255,255,255,.12); }
.pay-t { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color:#fff; font-size: 15px; }
.pay-t .ic { color: var(--sun); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pay-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 10px; background:var(--surface); color: var(--ink); font-weight: 800; font-size: 14px; letter-spacing: .01em; }
.pay-chips .ic { width: 1.1em; height: 1.1em; color: var(--primary); }
.pay-n { flex: 1 1 100%; margin: 2px 0 0; color:#C9D6EC; font-size: 13.5px; }
.pay-strip + .copy-line { margin-top: 16px; border-top: 0; }

.hostrow{margin-top:10px;align-items:center}

/* ===== Theme "Night + lime": deep violet-black, lime call to action, purple accent (one theme for the whole site) ===== */
:root {
  color-scheme: dark;
  --bg: #060410; --surface: #0E0A19; --tint: #0B0818; --line: #2A2142; --line2: #1D1632;
  --ink: #F5F4F8; --muted: #A8A3BC; --paper: var(--bg); --white: var(--surface);
  --primary: #D2FE0C; --primary-d: #B9E300; --primary-l: rgba(210,254,12,.12); --on-primary: #050505;
  --deep: #0A0716; --deep2: #241B3B; --elev: #171126;
  --sun: #D2FE0C; --sun-ink: #050505; --violet: #C574D9; --purple: #BF4AF0; --coral: #FF7A66;
  --green: #6EBB5D; --red: #FF6B6B; --blue: #8AA6FF;
  --amber-bg: rgba(255,209,102,.14); --amber: #FFD166; --green-bg: rgba(110,187,93,.16); --green-ink: #8BD17B; --red-bg: rgba(255,107,107,.14); --red-ink: #FF9A9A;
  --display: "Oswald", "Arial Narrow", system-ui, sans-serif; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 0 0 1px rgba(197,116,217,.10), 0 18px 40px -22px rgba(0,0,0,.9);
}
body { font-weight: 400; background: var(--bg); color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1.04; }
h3 { font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
::selection { background: var(--primary); color: var(--on-primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* buttons: square, mono capitals, lime for the main action */
.btn, .btn.small, .btn.big { border-radius: 2px; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); background: transparent; color: var(--ink); box-shadow: none; }
.btn.big { font-size: 14px; }
.btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(210,254,12,.06); }
.btn.primary, .btn.primary.big, .btn.primary.small { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.btn.primary:hover { background: #E3FF55; border-color: #E3FF55; color: var(--on-primary); box-shadow: 0 0 0 4px rgba(210,254,12,.16), inset 0 2px 6px rgba(0,0,0,.2); }
.btn.dark { background: var(--elev); border-color: var(--line); color: var(--ink); }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--red-bg); border-color: rgba(255,107,107,.45); color: var(--red-ink); }
.btn.danger:hover { background: rgba(255,107,107,.24); border-color: var(--red); color: #fff; }
/* fields */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url], input[type=tel], select, textarea { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #6F6A85; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(210,254,12,.14); outline: none; }
select option { background: var(--surface); color: var(--ink); }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px var(--surface) inset; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
label { color: var(--muted); }
/* surfaces */
.card, .tile, .step, .plan, .item, .review, details { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: none; }
.card h2, .card h3 { font-size: 18px; }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: none; }
th { background: var(--tint); color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
td, th { border-bottom-color: var(--line2); }
tbody tr:hover td { background: rgba(197,116,217,.07); }
.chip { border-radius: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; font-weight: 500; }
.banner { border-radius: 4px; border-color: rgba(255,209,102,.4); }
.banner.error { border-color: rgba(255,107,107,.45); }
.banner.ok { border-color: rgba(110,187,93,.45); }
.skip { background: var(--primary); color: var(--on-primary); border-radius: 2px; }
.stripe { display: none; }
/* header: dark bar, brand left, one square menu strip centred */
header.site, header.site.hd { background: rgba(6,4,16,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.hd .brand, .brand, .foot-brand .brand { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.hd .brand { font-size: 24px; }
.hd-menu { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px -24px rgba(191,74,240,.55); }
.hd-nav { font-weight: 600; font-size: 15px; }
.hd-nav a { border-radius: 2px; color: var(--muted); }
.hd-nav a:hover { color: var(--ink); background: rgba(197,116,217,.12); }
.hd-nav a[aria-current=page] { color: var(--on-primary); background: var(--primary); box-shadow: none; }
.hd-sep { background: var(--line); }
.hd-actions .btn { border-radius: 2px; padding: 9px 18px; font-size: 12.5px; }
.hd-btn { border-radius: 2px; background: var(--surface); border: 1px solid var(--line); box-shadow: none; color: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1180px) { .hd-menu { border-radius: 4px; } }
.lang { background: var(--tint); border-radius: 2px; }
.lang-opt { border-radius: 2px; }
a.lang-opt:hover, .lang-opt.on { background: var(--elev); color: var(--ink); box-shadow: inset 0 0 0 1px var(--primary); }
.langlink { color: var(--muted); }
/* hero */
.hero { background: radial-gradient(760px 420px at 85% -5%, rgba(191,74,240,.28), transparent 62%), radial-gradient(620px 420px at 0% 15%, rgba(210,254,12,.07), transparent 60%), var(--bg); }
.hero .tag, .hero .tag::before { border-radius: 2px; }
.hero .tag { background: var(--surface); border: 1px solid var(--line); color: var(--primary); box-shadow: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.hero .tag::before { width: 8px; height: 8px; background: var(--primary); box-shadow: 0 0 0 4px rgba(210,254,12,.16); border-radius: 50%; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); }
.hero .lead, .lead { color: var(--muted); }
.hero .trust li, .trust li { color: var(--muted); }
.phone-bg { background: radial-gradient(circle at 35% 30%, #D58CF2, var(--purple) 55%, #8B1FC4); border-radius: 50%; transform: none; filter: drop-shadow(0 30px 60px rgba(191,74,240,.35)); }
.hchip { background: var(--elev); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.8); font-weight: 600; }
.phone .row-i { background: var(--elev); border-radius: 4px; }
/* sections */
.section { background: transparent; }
.section.tint, .section.alt { background: var(--tint); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.section.white { background: var(--surface); }
.section.deep { background: radial-gradient(900px 420px at 100% 0%, rgba(191,74,240,.22), transparent 60%), var(--deep); color: var(--ink); }
.section.deep .muted, .section.deep .sec-head p { color: var(--muted); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: none; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: rgba(210,254,12,.5); transform: translateY(-2px); }
.section.tint .tile { border-color: var(--line); }
.tile .icon { border-radius: 2px; background: rgba(210,254,12,.1); color: var(--primary); }
.tile .icon svg { stroke: var(--primary); }
.tile h3 { color: var(--ink); }
.step { background: var(--surface); }
.pagehead { background: radial-gradient(700px 320px at 95% 0%, rgba(191,74,240,.25), transparent 60%); }
.more a, .more-link, .linkish { color: var(--primary); border-color: rgba(210,254,12,.35); }
/* chat steps */
.chat .m { border-radius: 4px; font-size: 16px; }
.chat .m.l { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 0; box-shadow: none; }
.chat .m.r { background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 0; }
.chat .m small { opacity: .75; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.chat .m.l small { color: var(--violet); opacity: 1; }
/* plans */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: none; color: var(--ink); }
.plan.featured { background: linear-gradient(180deg, rgba(191,74,240,.14), rgba(14,10,25,0) 55%), var(--surface); border: 1px solid var(--primary); box-shadow: 0 0 0 4px rgba(210,254,12,.08), 0 30px 60px -30px rgba(191,74,240,.6); }
.plan .price, .plan.featured .price { font-family: var(--display); font-weight: 700; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); -webkit-text-fill-color: currentColor; }
.plan.featured .hint, .plan.featured ul, .plan ul { color: var(--muted); }
.plan li::before, .plan.featured li::before { color: var(--primary); }
.plan .chip, .plan.featured .ribbon, .ribbon { background: var(--primary); color: var(--on-primary); border-color: var(--primary); border-radius: 2px; }
.plan.featured .btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.nocharge { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 4px; box-shadow: none; }
.nocharge h3, .nocharge strong { color: var(--ink); }
details { border-radius: 4px; }
details[open] { border-color: rgba(210,254,12,.4); }
summary { color: var(--ink); }
/* call to action */
.cta, .callout, .cta.cta2 { border-radius: 4px; border: 1px solid var(--line); background: radial-gradient(520px 220px at 0% 0%, rgba(191,74,240,.45), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(210,254,12,.12), transparent 70%), var(--surface); }
.cta .btn.primary, .callout .btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.cta2 .cta-copy h2 { color: var(--ink); }
/* footer */
footer.site { background: var(--deep); border-radius: 0; border-top: 1px solid var(--line2); margin-top: 24px; color: var(--muted); }
footer.site a:hover { color: var(--primary); }
.foot-grid h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; color: var(--violet); }
.copy-line { color: #7C7794; }
.pay-chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; font-weight: 500; }
.pay-t { color: var(--ink); } .pay-n { color: var(--muted); }
.ipcheck, .scene-band, .maint-card, .route, .modal, .guide-list li, .cookie-bar { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); color: var(--ink); }
.ipcheck .status { background: var(--elev); border-radius: 2px; }
.ipcheck .status.green { background: var(--green-bg); color: var(--green-ink); }
/* customer area and admin */
.side, .acct .side, .shell:not(.acct) .side { background: var(--deep); border-right: 1px solid var(--line2); }
.acct .side nav button, .shell:not(.acct) .side nav button, .side nav button { border-radius: 2px; color: var(--muted); }
.acct .side nav button:hover, .shell:not(.acct) .side nav button:hover, .side nav button:hover { background: rgba(197,116,217,.1); color: var(--ink); }
.acct .side nav button.active, .shell:not(.acct) .side nav button.active, .side.dark nav button.active, .side nav button.active { background: var(--primary); color: var(--on-primary); }
.side nav button.active .badge, .side nav button.active svg { color: inherit; }
.acct .status-card { border-radius: 4px; border: 1px solid var(--line); background: radial-gradient(520px 260px at 100% 0%, rgba(191,74,240,.55), transparent 65%), radial-gradient(420px 220px at 0% 100%, rgba(210,254,12,.10), transparent 70%), linear-gradient(135deg, #1B1233, #0E0A19); box-shadow: 0 30px 60px -34px rgba(191,74,240,.55); color: var(--ink); }
.status-card .btn, .acct .status-card .btn { background: transparent; border-color: var(--line); color: var(--ink); }
.status-card .btn:hover { border-color: var(--primary); color: var(--primary); }
.acct .btn.primary, .shell .btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.acct .btn.primary:hover, .shell .btn.primary:hover { background: #E3FF55; border-color: #E3FF55; color: var(--on-primary); }
.btn.google { background: #fff; color: #1B2A4A; border: 1px solid #fff; border-radius: 2px; text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 600; font-size: 15px; }
.btn.google:hover { background: #F0F0F5; color: #1B2A4A; border-color: #F0F0F5; }
.acct .card, .acct .stat, .cust, .dev, .modal, .more-menu .menu, .callout, .route, .review, .guide-list li, .item, .tile, .scene-band { border-radius: 4px; }
.title-ic, .stat .head .ic, .acct .title-ic, .card-ic, .dev-ic { background: rgba(210,254,12,.1); color: var(--primary); border-radius: 2px; }
.acct .profile-head .avatar, .avatar { background: var(--purple); color: #fff; border-radius: 4px; }
.chart .bar-wg, .mini-bars .bar-wg { fill: var(--purple); } .chart .bar-ovpn { fill: var(--primary); } .mini-bars .bar-none { fill: var(--line); }
.sw.wg { background: var(--purple); } .sw.ovpn { background: var(--primary); }
.chart .hit:hover { fill: rgba(197,116,217,.1); }
.chart text, .chart .axis { fill: var(--muted); }
.chart line, .chart .grid-line { stroke: var(--line2); }
.seg button.active { color: var(--on-primary); background: var(--primary); }
.seg { border-radius: 2px; background: var(--tint); border-color: var(--line); }
.progress, .meter, .bar-track { background: var(--line); }
.step .num, .bigsteps .num { background: var(--primary); color: var(--on-primary); box-shadow: none; border-radius: 2px; font-family: var(--display); }
summary::after { background: var(--elev); color: var(--primary); border-radius: 2px; }
details[open] summary::after { background: var(--primary); color: var(--on-primary); }
.checks .ic, .trust .ic { color: var(--primary); }
.route .node.exit { background: var(--primary); color: var(--on-primary); }
.route .foot span { background: var(--elev); color: var(--primary); }
.callout { background: radial-gradient(520px 220px at 0% 0%, rgba(191,74,240,.4), transparent 70%), var(--surface); }
details a, .legal a, .main a:not(.btn), .more a, .callout a { text-decoration-color: rgba(210,254,12,.4); }
.legal a, .main a:not(.btn):not(.brand) { color: var(--primary); }
.modal-back, .backdrop, .overlay { background: rgba(6,4,16,.78); backdrop-filter: blur(3px); }
.toast { background: var(--elev); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line2); }
code, pre, .mono, kbd { font-family: var(--mono); }
code { background: var(--elev); color: var(--primary); border-radius: 2px; padding: 1px 6px; }
pre { background: var(--tint); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.empty { color: var(--muted); }
.boot { border-color: var(--line); border-top-color: var(--primary); }
html { scrollbar-color: #3A2E5C var(--bg); scrollbar-width: thin; }
.dev-name, .acct .ph-facts strong, .phone .st { font-family: var(--font); font-weight: 700; letter-spacing: 0; }
.seg button { border-radius: 2px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.avatar { font-family: var(--display); }
/* finishing touches */
body { background-image: radial-gradient(rgba(245,244,248,.045) 1px, transparent 1px); background-size: 22px 22px; background-attachment: fixed; }
.shell, .main { background-color: transparent; }
.tile, .plan, .card, .cust, .dev, .item { transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover, .dev:hover, .cust:hover { border-color: #3A2E5C; }
.btn.primary:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.live-chip { font-variant-numeric: tabular-nums; }
.live-chip[hidden] { display: none; }
.live-chip.green::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-right: 7px; box-shadow: 0 0 0 3px rgba(210,254,12,.2); animation: livepulse 2s ease-out infinite; vertical-align: 1px; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(210,254,12,.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(210,254,12,0); } }
.live-mini .value { font-variant-numeric: tabular-nums; }
.modal textarea, .modal select { width: 100%; margin: 6px 0 4px; }
.modal .hint { display: block; margin-top: 10px; }

/* Tooltips, toasts and other "inverse" bubbles: --ink is the light text colour in this theme, so they get their own dark fill. */
.rate-tip, .toast { background: #1a1230; color: #F5F4F8; border: 1px solid #4a3a78; box-shadow: 0 12px 36px rgba(0,0,0,.6); }
.rate-tip strong, .rate-tip div, .rate-tip span, .toast * { color: #F5F4F8; }
.skip, .btn.dark { background: var(--lime, #D2FE0C); border-color: var(--lime, #D2FE0C); color: #050505; }
