/* VPN Sync: a dusk band (the app's own backdrop) over a light mist page. Signal green is only
   for "live"; the download blue / upload orange pair only for data. */
:root {
  --dusk: #231d4f;
  --dusk-2: #3a2c74;
  --dusk-3: #142344;
  --mist: #f4f3fb;
  --paper: #ffffff;
  --ink: #16142d;
  --ink-2: #4a4766;
  --ink-3: #6f6c8a;
  --line: #dcd9ec;
  --signal: #1baf7a;
  --down: #3d7cf2;
  --up: #ee8a3c;
  --accent: #5b4ee0;
  --radius: 18px;
  --max: 1180px;
  --pad: clamp(16px, 4vw, 48px);
  /* left and right padding that lines full-width bands up with the 1180px column */
  --edge: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --mist: #12112a;
    --paper: #1b1a38;
    --ink: #eeedf8;
    --ink-2: #bdbad6;
    --ink-3: #908cb0;
    --line: #2e2c52;
    --accent: #9a90ff;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
code { font: 500 0.86em/1 var(--mono); background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 0.15em 0.35em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--edge);
  background: color-mix(in srgb, var(--dusk) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,0.25); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.brand, .top nav a, .top .lang { white-space: nowrap; }
.top nav a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }
@media (max-width: 900px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: #fff; color: var(--dusk); font-weight: 650; text-decoration: none;
  box-shadow: 0 6px 20px rgba(20, 12, 70, 0.25);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.small { padding: 7px 14px; font-size: 14px; }
.top .btn.ghost { color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* hero: the dusk band */
.hero {
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(96, 110, 255, 0.35), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(190, 90, 255, 0.28), transparent 70%),
    linear-gradient(160deg, var(--dusk) 0%, var(--dusk-2) 55%, var(--dusk-3) 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 88px) var(--edge) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px;
  overflow: hidden;
}
.hero-text { max-width: 760px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
  font: 500 14px/1.4 var(--mono); color: rgba(255,255,255,0.92);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(27,175,122,0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(27,175,122,0.65); } 70% { box-shadow: 0 0 0 9px rgba(27,175,122,0); } 100% { box-shadow: 0 0 0 0 rgba(27,175,122,0); } }
@media (prefers-reduced-motion: reduce) { .status .dot { animation: none; } }
h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; margin: 0 0 22px; max-width: 14ch; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.86); max-width: 62ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.hero .fine { color: rgba(255,255,255,0.62); }
.fine { font-size: 14px; color: var(--ink-3); margin: 0; }
.hero-shot { position: relative; margin: 0 auto; max-width: 1060px; width: 100%; }
.hero-shot img {
  width: 100%;
  /* the screenshot's own backdrop melts into the band at the sides */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%);
  mask-composite: intersect;
}

/* sections */
main > section:not(.hero) { padding: clamp(48px, 6vw, 80px) var(--pad); max-width: var(--max); margin: 0 auto; }
main > section { scroll-margin-top: 62px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 720; margin: 0 0 18px; max-width: 24ch; text-wrap: balance; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.intro { color: var(--ink-2); max-width: 66ch; margin: 0 0 36px; font-size: 18px; }

/* why: the comparison */
.compare { border-top: 1px solid var(--line); }
.compare-head, .compare-row { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1fr 1.3fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.compare-head { font-size: 14px; font-weight: 650; color: var(--ink-3); padding: 12px 0; }
.compare-row > :first-child { font-weight: 650; }
.compare-row > :nth-child(2) { color: var(--ink-3); }
.compare-row > :nth-child(3) { color: var(--ink); }
.compare-head > :nth-child(3) { color: var(--signal); }
@media (max-width: 760px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; }
  .compare-row > :nth-child(2)::before { content: "Script alone: "; font-weight: 600; }
  .compare-row > :nth-child(3)::before { content: "VPN Sync: "; font-weight: 600; color: var(--signal); }
}


/* screenshots */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); margin: 12px 0 28px; flex-wrap: wrap; }
.tabs button { font: 600 15px/1 var(--sans); color: var(--ink-2); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(20, 12, 70, 0.12); }
.panel { margin: 0; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 48px; align-items: start; }
.panel[hidden] { display: none; }
.panel img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(30, 20, 90, 0.28); background: var(--dusk); }
#p-menubar img { background: none; }   /* its corners are rounder than 16px: the fill would show in them */
.panel figcaption { color: var(--ink-2); font-size: 18px; max-width: 36ch; padding-top: 24px; }
.screens .fine { margin-top: 28px; }
@media (max-width: 900px) {
  .panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .panel img { max-width: 480px; }
  .panel figcaption { padding-top: 0; max-width: 60ch; }
}
@media (max-width: 720px) {
  .tabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
}

/* iPhone */
.iphone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.iphone-text p { color: var(--ink-2); max-width: 58ch; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone { width: min(46%, 260px); border-radius: 34px; box-shadow: 0 0 0 9px #0b0b12, 0 26px 60px rgba(30, 20, 90, 0.3); }
.phone + .phone { margin-top: 48px; }
@media (max-width: 860px) { .iphone { grid-template-columns: 1fr; } }

/* diagram */
.diagram { margin: 24px 0 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram .narrow { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 640px) { .diagram .wide { display: none; } .diagram .narrow { display: block; } }
.diagram .box rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.diagram .server rect { fill: var(--dusk); stroke: none; }
.diagram text { font: 650 19px var(--sans); fill: var(--ink); text-anchor: middle; }
.diagram .server text { fill: #fff; }
.diagram .sub { font: 400 13.5px var(--mono); fill: var(--ink-3); }
.diagram .server .sub { fill: rgba(255,255,255,0.72); }
.diagram .label { font: 500 13px var(--mono); fill: var(--signal); }
.diagram .wire { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 7 7; animation: flow 1.3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .diagram .wire { animation: none; } }
.diagram .wire.thin { stroke-width: 2; }
.diagram figcaption { color: var(--ink-2); margin-top: 14px; max-width: 70ch; }

/* install */
.steps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 56px; margin-top: 26px; }
.step:first-child { grid-row: span 2; }
.step h3 { margin-top: 18px; }
.step p { color: var(--ink-2); }
.code { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0; border-radius: 14px; background: var(--dusk); overflow: hidden; }
.code pre { flex: 1; min-width: 0; margin: 0; padding: 16px 4px 16px 18px; color: #ecebff; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.28) transparent; }
.code pre code { background: none; padding: 0; font: 500 13.5px/1.7 var(--mono); color: inherit; }
.copy { flex: none; margin: 12px 12px 0 0; font: 600 12px var(--sans); color: #fff; background: rgba(255,255,255,0.14); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,0.24); }
@media (max-width: 1180px) { .steps { grid-template-columns: minmax(0, 1fr); } .step:first-child { grid-row: auto; } }

/* privacy */
.privacy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 900px; }
.privacy li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.privacy li::before { content: ""; position: absolute; left: 6px; top: 25px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }

/* closing band and footer */
main > section.last { max-width: none; background: linear-gradient(160deg, var(--dusk), var(--dusk-2)); color: #fff; text-align: center; }
.last h2 { margin: 0 auto 26px; max-width: 20ch; }
.last .actions { justify-content: center; margin: 0; }
.foot { padding: 30px var(--edge) 48px; color: var(--ink-3); font-size: 14px; text-align: center; }
.foot p { max-width: 80ch; margin: 0 auto; }

/* ---------------------------------------------------------------- the script's view vs VPN Sync */
.versus { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 4px 0 48px; }
.versus figure { margin: 0; }
.versus figcaption { color: var(--ink-3); font-size: 15px; margin-top: 12px; }
.term { border-radius: 14px; background: #0f0d22; box-shadow: 0 20px 50px rgba(20, 12, 70, 0.22), inset 0 0 0 1px rgba(255,255,255,0.07); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1c1938; color: rgba(255,255,255,0.5); font: 500 12px var(--mono); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b3762; }
.term-bar span { margin-left: 8px; }
.term pre { margin: 0; padding: 14px 18px 18px; color: #c9c7e6; font: 400 12.5px/1.6 var(--mono); overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }
.term .prompt { color: var(--signal); }
.term .cmd-text { color: #fff; }
.term .ln.hide { visibility: hidden; }
.term .caret { display: inline-block; width: 0.6em; height: 1.15em; margin-left: 1px; vertical-align: text-bottom; background: #c9c7e6; animation: blink 1s steps(1) infinite; }
.term:not(.typing) .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.term .peer { border-radius: 4px; transition: background 0.2s, color 0.2s; }
.term .peer.lit { background: rgba(27, 175, 122, 0.22); color: #fff; }
.named { list-style: none; margin: 0; padding: 8px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, var(--dusk), var(--dusk-2)); box-shadow: 0 20px 50px rgba(20, 12, 70, 0.22); transition: opacity 0.6s ease, transform 0.6s ease; }
.named.waiting { opacity: 0; transform: translateY(10px); }
.named li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; transition: background 0.2s; }
.named li:hover, .named li.lit { background: rgba(255,255,255,0.1); }
.named .rt { font: 500 13px var(--mono); color: #9dbcff; white-space: nowrap; }
.lim { display: block; width: 120px; height: 4px; margin: 6px 0 4px; border-radius: 2px; background: rgba(255,255,255,0.16); }
.lim i { display: block; height: 100%; border-radius: 2px; background: var(--down); }
.av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--h) 42% 44%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.av svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.7); }
.who b { color: #fff; font-size: 16px; }
@media (max-width: 860px) { .versus { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .named, .term .peer { transition: none; } .term .caret { animation: none; } }

/* ---------------------------------------------------------------- try it: the demo app */
.app { margin-top: 8px; }
.app-win { position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 60% at 10% 0%, rgba(96, 110, 255, 0.28), transparent 70%), linear-gradient(160deg, #2c245f 0%, #1d1a44 55%, #142142 100%);
  box-shadow: 0 30px 80px rgba(20, 12, 70, 0.32), inset 0 0 0 1px rgba(255,255,255,0.08); }
.app-win :focus-visible { outline-color: #b3aaff; }
.app-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.srv-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.srv-tabs button { font: 600 14px var(--sans); color: rgba(255,255,255,0.78); background: none; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.srv-tabs button[aria-pressed="true"] { background: rgba(255,255,255,0.94); color: var(--dusk); }
.app-btn { margin-left: auto; font: 600 14px var(--sans); color: #fff; background: #5b4ee0; border: 0; padding: 8px 15px; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 14px rgba(91, 78, 224, 0.45); }
.app-btn:hover { background: #6a5ef0; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px 16px; }
.online { width: 66px; height: 66px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 25%, #4d5cb0, #1c2350); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 0 26px rgba(91, 110, 255, 0.35); }
.online b { font-size: 26px; line-height: 1; }
.online span { font-size: 11px; opacity: 0.8; }
.srv-name { font-size: 22px; font-weight: 720; letter-spacing: -0.01em; }
.srv-ip { font: 500 14px var(--mono); color: rgba(255,255,255,0.65); }
.svcs { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.pill .port { font: 500 12px var(--mono); color: rgba(255,255,255,0.62); }
.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; border-top: 1px solid rgba(255,255,255,0.08); }
.devs { list-style: none; margin: 0; padding: 4px 12px 12px; min-height: 460px; }
.dev { display: grid; grid-template-columns: 40px minmax(0, 1fr) 110px 96px auto; gap: 6px 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dev:last-child { border-bottom: 0; }
.grp { padding: 14px 6px 2px; font-size: 12.5px; font-weight: 650; color: rgba(255,255,255,0.66); }
.dev .av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2.5px #211c4c; }
.dev.off .av::after { background: #8a87a8; }
.dev.paused .av::after { background: var(--up); }
.dev.off .av { filter: saturate(0.4); opacity: 0.7; }
.nm { display: flex; align-items: center; gap: 8px; }
.badge { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(238, 138, 60, 0.22); color: #ffbe8a; }
.badge[hidden] { display: none; }
.dev .how, .dev .use { font-size: 13px; color: rgba(255,255,255,0.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev .use { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; white-space: normal; }
.dev .use > span { white-space: nowrap; }
.dev .meter, .dev .pct { display: none; }
.dev .use.has-limit .meter { display: block; }
.dev .use.has-limit .pct { display: inline; }
.meter { flex: none; width: 72px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.15); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--down); transition: width 0.6s ease; }
.use.near .meter i { background: var(--up); }
.use.over .meter i { background: #ff6b6b; }
.use.near .pct, .use.over .pct { color: #ffc183; }
.note { font-size: 13px; color: #ffc46b; }
.note[hidden] { display: none; }
.spark { width: 110px; height: 34px; overflow: visible; }
.spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark .d { stroke: var(--down); }
.spark .u { stroke: var(--up); }
.speed { display: flex; flex-direction: column; align-items: flex-end; font: 500 12.5px/1.5 var(--mono); white-space: nowrap; }
.sd { color: #cfe0ff; }
.su { color: rgba(255,255,255,0.58); }
.acts { display: flex; gap: 6px; }
.mini, .opt { font: 600 12.5px var(--sans); color: #fff; background: rgba(255,255,255,0.1); border: 0; padding: 6px 11px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); white-space: nowrap; }
.mini:hover, .opt:hover { background: rgba(255,255,255,0.18); }
.dev.paused .mini:first-child { background: var(--signal); box-shadow: none; }
.mini[aria-expanded="true"], .opt.on { background: #fff; color: var(--dusk); }
.limit-pop { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.22); }
.limit-pop[hidden] { display: none; }
.limit-pop fieldset { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.limit-pop legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-size: 12.5px; color: rgba(255,255,255,0.62); }
.limit-pop .fine, .add-form .fine { width: 100%; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.add-form { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.add-form form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.add-form label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.78); }
.add-form input { width: 190px; font: 500 14px var(--mono); color: #fff; background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.22); border-radius: 10px; padding: 8px 10px; }
.add-form input::placeholder { color: rgba(255,255,255,0.35); }
.add-form .app-btn { margin-left: 0; }
.linkish { align-self: flex-start; padding: 0; background: none; border: 0; color: rgba(255,255,255,0.62); font: 500 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.feed { display: flex; flex-direction: column; padding: 14px 16px 16px; border-left: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.1); }
.feed h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }
.feed ol { list-style: none; margin: 0 0 14px; padding: 0; display: grid; align-content: start; gap: 11px; flex: 1; }
.feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.82); }
.feed time { font: 500 12px/1.5 var(--mono); color: rgba(255,255,255,0.42); }
.feed li span { position: relative; padding-left: 13px; }
.feed li span::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--down); }
.feed li.ok span::before { background: var(--signal); }
.feed li.warn span::before { background: var(--up); }
.feed li.muted span::before { background: #8a87a8; }
.feed li.new { animation: slidein 0.45s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
.toast { position: absolute; z-index: 3; top: 64px; right: 16px; max-width: 340px; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; background: rgba(46, 41, 92, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.14); opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast.strong { box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 0 0 1.5px rgba(238, 138, 60, 0.7); }
.toast b { display: block; font-size: 12px; color: rgba(255,255,255,0.6); }
.sheet { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(10, 8, 30, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[hidden] { display: none; }
.sheet-box { width: 100%; max-width: 540px; padding: 22px; border-radius: 18px; background: #262150; box-shadow: 0 24px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.12); }
.sheet-box h3 { margin: 0 0 16px; font-size: 18px; }
.sheet-grid { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 14px; }
.qr { margin: 0; }
.qr svg { display: block; width: 156px; height: 156px; border-radius: 10px; }
.qr figcaption { margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,0.55); }
.files { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; flex-direction: column; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,0.07); }
.files code { padding: 0; background: none; color: #fff; font-size: 13px; overflow-wrap: anywhere; }
.files span { font-size: 12px; color: rgba(255,255,255,0.55); }
.sheet .fine { color: rgba(255,255,255,0.6); font-size: 13px; }
.sheet .app-btn { display: block; }
@media (max-width: 900px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .feed { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .devs { min-height: 0; }
  .dev { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .dev .spark { display: none; }
  .dev .speed { grid-column: 3; grid-row: 1; }
  .dev .acts { grid-column: 2 / -1; }
  .limit-pop { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .lights { display: none; }
  .svcs { margin-left: 0; width: 100%; }
  .app-head { padding: 14px 14px 12px; }
  .devs { padding: 4px 8px 8px; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .toast { left: 12px; right: 12px; max-width: none; }
  .dev .how { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .toast, .meter i { transition: none; } .feed li.new { animation: none; } }

/* ---------------------------------------------------------------- the IP-change story */
.story { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.story-steps li { counter-increment: st; }
.story-steps button { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: none; color: var(--ink-2); font: inherit; font-size: 15px; line-height: 1.45; text-align: left; cursor: pointer; transition: background 0.25s, box-shadow 0.25s; }
.story-steps button:hover { background: color-mix(in srgb, var(--paper) 60%, transparent); }
.story-steps b { display: block; color: var(--ink); font-size: 16px; }
.story-steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line); }
.story-steps .n::before { content: counter(st); }
.story-steps button[aria-current="step"] { background: var(--paper); box-shadow: 0 8px 24px rgba(20, 12, 70, 0.1); }
.story-steps button[aria-current="step"] .n { background: var(--accent); color: #fff; box-shadow: none; }
.story-steps button.done .n { background: color-mix(in srgb, var(--signal) 22%, transparent); color: var(--signal); box-shadow: none; }
.story-play { justify-self: start; margin-left: 14px; font: 600 14px var(--sans); color: var(--ink-2); background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.stage { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: center; min-height: 320px; padding: 26px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, var(--dusk), var(--dusk-2)); box-shadow: 0 24px 60px rgba(20, 12, 70, 0.25); }
.st-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); transition: opacity 0.4s; }
.st-label { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.st-state { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.st-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.st-ip { display: flex; flex-direction: column; font: 500 15px/1.5 var(--mono); }
.st-ip s { color: rgba(255,255,255,0.45); }
.st-ip b { font-weight: 600; }
.stage[data-step="0"] .st-ip b { animation: ipin 0.9s ease; }
@keyframes ipin { 0% { opacity: 0; transform: translateY(6px); color: var(--signal); } 60% { color: var(--signal); } }
.st-note { font: 500 12px/1.4 var(--mono); color: #7ff0c2; opacity: 0; transition: opacity 0.4s; }
.stage[data-step="2"] .st-note, .stage[data-step="3"] .st-note { opacity: 1; }
.st-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-files li { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: background 0.4s, box-shadow 0.4s; }
.st-files li:nth-child(2) { transition-delay: 0.12s; }
.st-files li:nth-child(3) { transition-delay: 0.24s; }
.st-files code { padding: 0; background: none; color: #fff; font-size: 13px; overflow-wrap: anywhere; }
.ep { font: 500 12.5px var(--mono); color: rgba(255,255,255,0.6); }
.ep::before { content: "points at "; }
.ep .new { display: none; }
.stage[data-step="1"] .st-files li { background: rgba(255, 90, 90, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 120, 120, 0.55); }
.stage[data-step="1"] .ep .old { color: #ffa3a3; }
.stage[data-step="1"] .ep .old::after { content: ", no answer"; }
.stage[data-step="2"] .st-files li, .stage[data-step="3"] .st-files li { background: rgba(27, 175, 122, 0.18); box-shadow: inset 0 0 0 1px rgba(27, 175, 122, 0.6); }
.stage[data-step="2"] .ep .old, .stage[data-step="3"] .ep .old { display: none; }
.stage[data-step="2"] .ep .new, .stage[data-step="3"] .ep .new { display: inline; color: #8ff5cf; }
.st-mac { position: relative; opacity: 0.6; }
.st-wait { position: absolute; top: 40px; left: 16px; right: 16px; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,0.75); }
.stage[data-step="3"] .st-wait { display: none; }
.stage[data-step="3"] .st-mac { opacity: 1; }
.st-mac ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.4; }
.st-mac li { position: relative; padding-left: 20px; opacity: 0; transform: translateX(-4px); transition: opacity 0.35s, transform 0.35s; }
.st-mac li::before { content: "\2713"; position: absolute; left: 0; color: #7ff0c2; font-weight: 700; }
.st-mac li.muted { color: rgba(255,255,255,0.6); }
.st-mac li.muted::before { content: "\2192"; color: rgba(255,255,255,0.5); }
.stage[data-step="3"] .st-mac li { opacity: 1; transform: none; }
.stage[data-step="3"] .st-mac li:nth-child(2) { transition-delay: 0.3s; }
.stage[data-step="3"] .st-mac li:nth-child(3) { transition-delay: 0.6s; }
.stage[data-step="3"] .st-mac li:nth-child(4) { transition-delay: 0.9s; }
@media (max-width: 980px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .stage { grid-column: 1; grid-row: 1; }
  .story-steps { grid-row: 2; }
  .story-play { grid-row: 3; margin-left: 14px; }
}
@media (max-width: 640px) {
  .stage { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; min-height: 0; }
  .story-steps button { padding: 8px 12px; }
  .story-steps button:not([aria-current="step"]) b + span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .story-steps button, .st-card, .st-note, .st-files li, .st-mac li { transition: none; }
  .stage[data-step="0"] .st-ip b { animation: none; }
}

/* ---------------------------------------------------------------- the diagram's tools */
.diagram .tool { cursor: pointer; outline: none; }
.diagram .tool .hit { fill: transparent; stroke: none; transition: fill 0.2s; }
.diagram .tool:hover .hit, .diagram .tool.on .hit { fill: rgba(255,255,255,0.13); }
.diagram .server .tool.on .sub { fill: #8ff5cf; }
.diagram .tool:focus-visible .hit { stroke: #b3aaff; stroke-width: 2; }
.tool-tip { min-height: 3.3em; max-width: 780px; margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tool-tip b { margin-right: 6px; font: 600 0.92em var(--mono); color: var(--ink); }

/* ---------------------------------------------------------------- hero: notification banners */
.notes { position: absolute; z-index: 2; top: 7%; right: 3%; width: min(320px, 62%); display: grid; gap: 8px; pointer-events: none; }
.note-b { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: 16px; color: #fff; font-size: 13px; line-height: 1.35;
  background: rgba(44, 38, 92, 0.72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 14px 36px rgba(8, 4, 40, 0.4), inset 0 0 0 1px rgba(255,255,255,0.16);
  animation: notein 0.5s cubic-bezier(.2, .9, .3, 1.2) both; }
.note-b.out { animation: noteout 0.4s ease both; }
.note-b .ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--ic, var(--signal)); }
.note-b .ic svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note-b b { font-weight: 650; }
.note-b span { color: rgba(255,255,255,0.72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes notein { from { opacity: 0; transform: translateX(24px) scale(0.96); } }
@keyframes noteout { to { opacity: 0; transform: translateY(-8px) scale(0.97); } }
@media (max-width: 600px) { .notes { width: 74%; top: 4%; } .note-b { font-size: 11.5px; padding: 7px 9px; grid-template-columns: 24px minmax(0, 1fr); } .note-b .ic { width: 24px; height: 24px; } .note-b:nth-child(n+2) { display: none; } }

/* ---------------------------------------------------------------- comparison: VPN Sync's column arrives row by row */
.compare-row > :nth-child(3) { position: relative; padding-left: 26px; }
.compare-row > :nth-child(3)::after { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border: solid var(--signal); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.compare.pre .compare-row > :nth-child(3) { opacity: 0; transform: translateX(-10px); }
.compare.pre .compare-row > :nth-child(2) { opacity: 1; }
.compare .compare-row > :nth-child(3) { transition: opacity 0.45s ease, transform 0.45s ease; }
.compare .compare-row > :nth-child(2) { transition: opacity 0.45s ease; }
.compare.go .compare-row > :nth-child(2) { opacity: 0.55; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.compare-row:nth-child(3) > * { transition-delay: 0.15s !important; }
.compare-row:nth-child(4) > * { transition-delay: 0.3s !important; }
.compare-row:nth-child(5) > * { transition-delay: 0.45s !important; }
.compare-row:nth-child(6) > * { transition-delay: 0.6s !important; }
.compare-row:nth-child(7) > * { transition-delay: 0.75s !important; }
.compare-row:nth-child(8) > * { transition-delay: 0.9s !important; }
.compare-row:nth-child(9) > * { transition-delay: 1.05s !important; }
@media (max-width: 760px) { .compare-row > :nth-child(3)::before { display: none; } .compare-row > :nth-child(2)::before { content: none; } }

/* ---------------------------------------------------------------- features: small loops */
.feats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.feats-note { margin-top: 36px; max-width: 78ch; }
.feat h3 { margin: 16px 0 4px; font-size: 19px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feats.pre .feat:not(.in) { opacity: 0; transform: translateY(14px); }
.feat { transition: opacity 0.5s ease, transform 0.5s ease; }
.feat:nth-child(3n+2) { transition-delay: 0.1s; }
.feat:nth-child(3n) { transition-delay: 0.2s; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feats { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.vig { position: relative; height: 168px; overflow: hidden; border-radius: 18px; color: #fff; font-size: 13px;
  background: radial-gradient(80% 90% at 0% 0%, rgba(96, 110, 255, 0.3), transparent 70%), linear-gradient(160deg, var(--dusk), var(--dusk-2));
  box-shadow: 0 16px 40px rgba(20, 12, 70, 0.18); }
.vig ul { list-style: none; margin: 0; padding: 0; }
.vig em { font-style: normal; }
.feats:not(.run) .vig, .feats:not(.run) .vig * { animation-play-state: paused !important; }

/* one menu */
.v-bar { display: flex; justify-content: flex-end; align-items: center; gap: 6px; height: 28px; padding: 0 14px; background: rgba(255,255,255,0.08); font: 600 12px var(--mono); }
.v-bar svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; }
.v-srv { position: absolute; top: 34px; right: 12px; width: 62%; padding: 6px !important; border-radius: 12px; background: rgba(30, 26, 70, 0.85); box-shadow: 0 10px 24px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.14); transform-origin: top right; animation: drop 6s ease infinite; }
.v-srv li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; animation: hl 6s infinite; }
.v-srv li:nth-child(2) { animation-delay: 1s; }
.v-srv li:nth-child(3) { animation-delay: 2s; }
.v-srv li span { margin-left: auto; font: 500 11.5px var(--mono); color: rgba(255,255,255,0.6); }
.v-srv i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 2.4s infinite; }
@keyframes drop { 0%, 8% { opacity: 0; transform: scale(0.92) translateY(-6px); } 16%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hl { 0%, 20% { background: transparent; } 28%, 40% { background: rgba(255,255,255,0.12); } 48%, 100% { background: transparent; } }

/* live view */
.v-live ul { padding: 10px 12px !important; display: grid; gap: 5px; }
.v-live li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 6px 10px; line-height: 1.3; border-radius: 9px; background: rgba(255,255,255,0.06); }
.v-live b { font-size: 13px; }
.v-live span { grid-column: 1; font-size: 11.5px; color: rgba(255,255,255,0.62); }
.v-live em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 11.5px var(--mono); color: #cfe0ff; }
.v-live .join { animation: join 7s ease infinite; }
@keyframes join { 0%, 12% { opacity: 0; transform: translateX(-16px); box-shadow: none; } 20% { opacity: 1; transform: none; box-shadow: inset 0 0 0 1.5px var(--signal); } 40%, 84% { opacity: 1; box-shadow: none; } 94%, 100% { opacity: 0; } }

/* traffic */
.v-traffic svg { position: absolute; inset: 22px 0 0; width: 100%; height: calc(100% - 22px); }
.v-traffic .v-scroll { animation: scrollx 9s linear infinite; }
.v-traffic .dn { fill: color-mix(in srgb, var(--down) 38%, transparent); stroke: var(--down); stroke-width: 2; vector-effect: non-scaling-stroke; }
.v-traffic .upl { fill: color-mix(in srgb, var(--up) 34%, transparent); stroke: var(--up); stroke-width: 2; vector-effect: non-scaling-stroke; }
.v-traffic line { stroke: rgba(255,255,255,0.25); stroke-width: 1; vector-effect: non-scaling-stroke; }
.v-rates { position: absolute; top: 10px; left: 14px; display: flex; gap: 14px; font: 500 12px var(--mono); }
.v-rates .d { color: #9dbcff; } .v-rates .d::before { content: "\2193 "; }
.v-rates .u { color: #ffc183; } .v-rates .u::before { content: "\2191 "; }
@keyframes scrollx { to { transform: translateX(-300px); } }

/* limits */
@property --p { syntax: "<integer>"; inherits: true; initial-value: 80; }
.v-limit { --p: 80; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 22px; counter-reset: p var(--p); animation: limp 7s ease-in-out infinite; }
.v-lrow { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.7); }
.v-lrow b { font-size: 16px; color: #fff; }
.v-pct { font: 600 15px var(--mono); }
.v-pct::after { content: counter(p) "%"; }
.v-meter { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); overflow: hidden; }
.v-meter i { display: block; height: 100%; width: calc(min(var(--p), 100) * 1%); border-radius: 4px; background: var(--up); animation: limc 7s infinite; }
.v-badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #ffbe8a; background: rgba(238, 138, 60, 0.22); opacity: 0; animation: badge 7s infinite; }
@keyframes limp { 0% { --p: 30; } 45% { --p: 80; } 62%, 92% { --p: 100; } 100% { --p: 30; } }
@keyframes limc { 0%, 40% { background: var(--down); } 46%, 58% { background: var(--up); } 62%, 94% { background: #ff6b6b; } 100% { background: var(--down); } }
@keyframes badge { 0%, 62% { opacity: 0; transform: scale(0.8); } 66%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* profiles */
.v-prof { display: flex; align-items: center; gap: 18px; padding: 0 20px; }
.v-qr { flex: none; width: 104px; height: 104px; padding: 6px; border-radius: 10px; background: #fff; }
.v-qr rect { fill: #1d1a44; }
.v-qr .m { animation: qr 6s infinite both; animation-delay: var(--d); }
@keyframes qr { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.v-prof ul { display: grid; gap: 6px; min-width: 0; }
.v-prof li { padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,0.08); font: 500 11.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: file 6s infinite both; }
.v-prof li:nth-child(1) { animation-delay: 1.2s; }
.v-prof li:nth-child(2) { animation-delay: 1.5s; }
.v-prof li:nth-child(3) { animation-delay: 1.8s; }
@keyframes file { 0% { opacity: 0; transform: translateX(-8px); } 6%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; } }

/* ports */
.v-port { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 22px; }
.v-prow { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.72); }
.v-odo { display: inline-flex; flex-direction: column; height: 30px; overflow: hidden; font: 600 24px/30px var(--mono); color: #fff; text-align: right; }
.v-odo span { animation: odo 7s cubic-bezier(.6, 0, .2, 1) infinite; transform: translateY(-30px); }
@keyframes odo { 0%, 18% { transform: translateY(0); } 26%, 82% { transform: translateY(-30px); } 92%, 100% { transform: translateY(-60px); } }
.v-port ul { display: flex; flex-wrap: wrap; gap: 6px; }
.v-port li { padding: 4px 10px 4px 22px; position: relative; border-radius: 999px; font-size: 12px; background: rgba(27, 175, 122, 0.22); box-shadow: inset 0 0 0 1px rgba(27, 175, 122, 0.6); animation: chip 7s infinite; }
.v-port li::before { content: "\2713"; position: absolute; left: 9px; color: #7ff0c2; font-weight: 700; }
.v-port li:nth-child(2) { animation-delay: 0.25s; }
.v-port li:nth-child(3) { animation-delay: 0.5s; }
.v-port li:nth-child(4) { animation-delay: 0.75s; }
@keyframes chip { 0%, 28% { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); } 34%, 84% { background: rgba(27, 175, 122, 0.22); box-shadow: inset 0 0 0 1px rgba(27, 175, 122, 0.6); color: #fff; } 92%, 100% { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); } }

/* Lightsail: stop, start, data allowance */
.v-allow { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.72); }
.v-allow u { grid-column: 1 / -1; }
.v-allow i { display: block; height: 100%; width: 64%; border-radius: 4px; background: var(--up); }
.v-power { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 16px; align-content: center; padding: 0 22px; }
.v-sw { grid-row: span 2; align-self: center; width: 50px; height: 30px; border-radius: 999px; background: var(--signal); position: relative; animation: swbg 8s infinite; }
.v-sw i { position: absolute; top: 3px; left: 23px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); animation: swk 8s infinite; }
.v-state { position: relative; height: 22px; font-size: 16px; }
.v-state b { position: absolute; left: 0; top: 0; }
.v-state .off { opacity: 0; color: rgba(255,255,255,0.6); animation: offt 8s infinite; }
.v-state .on { animation: ont 8s infinite; }
.v-ip { display: flex; flex-wrap: wrap; gap: 0 8px; font: 500 12px var(--mono); }
.v-ip s { color: rgba(255,255,255,0.45); animation: ipold 8s infinite; }
.v-ip b { color: #8ff5cf; font-weight: 600; animation: ipnew 8s infinite; }
@keyframes swbg { 0%, 25% { background: var(--signal); } 30%, 55% { background: rgba(255,255,255,0.2); } 60%, 100% { background: var(--signal); } }
@keyframes swk { 0%, 25% { left: 23px; } 30%, 55% { left: 3px; } 60%, 100% { left: 23px; } }
@keyframes ont { 0%, 25% { opacity: 1; } 28%, 57% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes offt { 0%, 25% { opacity: 0; } 28%, 57% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes ipold { 0%, 58% { color: #fff; text-decoration-color: transparent; } 66%, 100% { color: rgba(255,255,255,0.45); text-decoration-color: currentColor; } }
@keyframes ipnew { 0%, 62% { opacity: 0; transform: translateY(6px); } 70%, 100% { opacity: 1; transform: none; } }

/* blocking alerts */
.v-block ul { display: grid; gap: 6px; padding: 14px 12px; align-content: center; height: 100%; }
.v-block li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 6px 12px; line-height: 1.3; border-radius: 9px; background: rgba(255,255,255,0.06); }
.v-block b { font-size: 13px; }
.v-block span { grid-column: 1; font: 500 11px var(--mono); color: rgba(255,255,255,0.62); }
.v-block em { grid-column: 2; grid-row: 1 / span 2; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: #7ff0c2; background: rgba(27, 175, 122, 0.22); animation: probe 7s infinite both; }
.v-block .no em { color: #ffbe8a; background: rgba(238, 138, 60, 0.24); animation-delay: 0.7s; }
.v-block li:nth-child(3) em { animation-delay: 1.4s; }
@keyframes probe { 0%, 8% { opacity: 0; transform: scale(0.85); } 14%, 76% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; } }

/* reality */
.v-real { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 22px; }
.v-sees { font-size: 12px; color: rgba(255,255,255,0.66); }
.v-url { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.94); color: #1d1a44; font: 600 14px var(--mono); }
.v-url svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #1baf7a; stroke-width: 2.4; }
.v-url i { flex: 1; height: 7px; border-radius: 4px; background: rgba(29, 26, 68, 0.16); }
.v-flow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.72); }
.v-flow u { position: relative; height: 2px; background: rgba(255,255,255,0.18); }
.v-flow i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: hop 2.4s linear infinite both; }
.v-flow i:nth-child(2) { animation-delay: 0.8s; }
.v-flow i:nth-child(3) { animation-delay: 1.6s; }
@keyframes hop { 0% { left: 0; opacity: 0; } 12%, 86% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* add-ons */
.v-add { display: flex; align-items: center; padding: 0 16px; }
.v-add ul { display: flex; flex-wrap: wrap; gap: 6px; }
.v-add li { padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); animation: addon 9s infinite; }
.v-add li:nth-child(2) { animation-delay: 1s; } .v-add li:nth-child(3) { animation-delay: 2s; }
.v-add li:nth-child(4) { animation-delay: 3s; } .v-add li:nth-child(5) { animation-delay: 4s; }
.v-add li:nth-child(6) { animation-delay: 5s; } .v-add li:nth-child(7) { animation-delay: 6s; }
.v-add li:nth-child(8) { animation-delay: 7s; } .v-add li:nth-child(9) { animation-delay: 8s; }
.v-add .own { box-shadow: none; outline: 1.5px dashed rgba(255,255,255,0.35); outline-offset: -1.5px; }
@keyframes addon { 0%, 12% { background: rgba(27, 175, 122, 0.4); } 20%, 100% { background: rgba(255,255,255,0.08); } }

/* health and speed test */
.v-health { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 22px; }
.v-health div { display: grid; grid-template-columns: 62px minmax(0, 1fr) 38px; align-items: center; gap: 10px; color: rgba(255,255,255,0.72); }
.v-health u, .v-allow u { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.15); overflow: hidden; text-decoration: none; }
.v-health u i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--down); transform-origin: left; animation: fill 6s ease infinite alternate; }
.v-health b { font: 600 12px var(--mono); color: #fff; text-align: right; }
.vig.v-health p { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.14); font: 500 12px var(--mono); color: #7ff0c2; }
.v-health .d { color: #9dbcff; } .v-health .d::before { content: "\2193 "; }
.v-health .u { color: #ffc183; } .v-health .u::before { content: "\2191 "; }
@keyframes fill { from { transform: scaleX(0.75); } to { transform: scaleX(1); } }

/* cli */
.v-cli { background: #0f0d22; }
.v-cli pre { margin: 0; padding: 22px 18px; font: 400 12.5px/1.9 var(--mono); color: #c9c7e6; }
.v-cli .p { color: var(--signal); }
.v-type { box-sizing: content-box; display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; color: #fff; width: 21ch; animation: type 7s steps(21) infinite; border-right: 0.55em solid transparent; }
.v-cli .o { opacity: 1; animation: outl 7s infinite; }
.v-cli .o + .o { animation-name: outl2; }
@keyframes type { 0%, 4% { width: 0; border-right-color: #c9c7e6; } 34% { width: 21ch; border-right-color: #c9c7e6; } 38%, 100% { width: 21ch; border-right-color: transparent; } }
@keyframes outl { 0%, 40% { opacity: 0; } 42%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes outl2 { 0%, 46% { opacity: 0; } 48%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* iPhone ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 11px; height: 6px; border: solid var(--signal); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .vig, .vig *, .note-b { animation: none !important; }
  .feat, .compare .compare-row > * { transition: none; }
  .v-srv { opacity: 1; }
  .v-badge { opacity: 1; }
  .v-limit { --p: 100; }
  .v-meter i { background: #ff6b6b; }
}

/* ---------------------------------------------------------------- language link and the Chinese page */
.top .lang { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 15px; }
.top .lang:hover { color: #fff; }
@media (max-width: 900px) { .top .lang { margin-left: auto; } .top .lang + .btn { margin-left: 0; } }
:lang(zh) { --sans: "Schibsted Grotesk", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh) body { line-height: 1.75; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0.01em; }
:lang(zh) h1 { max-width: 11em; line-height: 1.15; }
:lang(zh) h2 { max-width: 18em; line-height: 1.25; }
:lang(zh) .lede { max-width: 34em; }
:lang(zh) .ep::before { content: "指向 "; }
:lang(zh) .stage[data-step="1"] .ep .old::after { content: "，无响应"; }

/* the demo's people and labels */
.dev .nm .real { margin-left: 6px; font-size: 11.5px; font-weight: 500; opacity: 0.62; }
.dev .person { justify-self: start; align-self: flex-start; width: max-content; margin-top: 4px; padding: 1px 9px; border: 0; border-radius: 999px; font: 600 11.5px inherit; font-family: inherit; color: inherit; background: rgba(255,255,255,0.12); cursor: pointer; }
.dev .person:hover { background: rgba(255,255,255,0.2); }
