/* Proxy VPN site. Hand-written, no framework, no external requests.
   Light "airy lilac" palette by default, dark one via prefers-color-scheme. */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Comfortaa";
  src: url("/assets/fonts/comfortaa.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf6ff;
  --card: #ffffff;
  --line: #eadfff;
  --text: #2a2140;
  --muted: #5b4d7a;
  --accent: #9a63f5;
  --link: #6b35c8;
  --btn: #7b45db;
  --btn-text: #ffffff;
  --btn-ghost-bg: #ffffff;
  --chip: #f1e7ff;
  --hero-a: #eaddff;
  --hero-b: #c3a0ff;
  --glow: #8a52e3;
  --blob: #ffffff;
  --blob-ink: #9a63f5;
  --shadow: 0 18px 50px -24px rgba(106, 58, 190, 0.35);
  --focus: #2a2140;
  --r-lg: 36px;
  --r-md: 28px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17112b;
    --card: #241b3f;
    --line: #5a4694;
    --text: #f5efff;
    --muted: #cfc4ec;
    --accent: #b592ff;
    --link: #c9b0ff;
    --btn: #b592ff;
    --btn-text: #17112b;
    --btn-ghost-bg: #241b3f;
    --chip: #2f2352;
    --hero-a: #33276a;
    --hero-b: #4a3799;
    --glow: #7a56d6;
    --blob: #f5efff;
    --blob-ink: #8a52e3;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
    --focus: #f5efff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17112b;
  --card: #241b3f;
  --line: #5a4694;
  --text: #f5efff;
  --muted: #cfc4ec;
  --accent: #b592ff;
  --link: #c9b0ff;
  --btn: #b592ff;
  --btn-text: #17112b;
  --btn-ghost-bg: #241b3f;
  --chip: #2f2352;
  --hero-a: #33276a;
  --hero-b: #4a3799;
  --glow: #7a56d6;
  --blob: #f5efff;
  --blob-ink: #8a52e3;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  --focus: #f5efff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 {
  font-family: "Comfortaa", "Nunito", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  background: var(--btn); color: var(--btn-text);
  padding: 10px 18px; border-radius: 999px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Floating pill navigation */
.top { padding: 18px 0 0; position: sticky; top: 0; z-index: 20; pointer-events: none; }
.pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: fit-content; max-width: 100%; margin-inline: auto;
  padding: 6px 8px 6px 10px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.brand {
  display: flex; align-items: center; gap: 8px; padding-right: 8px;
  font: 700 1.05rem/1 "Comfortaa", sans-serif; color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.pill nav { display: flex; gap: 2px; }
.pill nav a {
  padding: 9px 15px; border-radius: 999px; color: var(--muted);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.pill nav a:hover { background: var(--chip); color: var(--text); }
.pill nav a[aria-current="page"] { background: var(--btn); color: var(--btn-text); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 28px 0 48px;
}
.hero-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 24px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 48px;
  background: linear-gradient(140deg, var(--hero-a) 0%, var(--hero-b) 100%);
}
.hero-panel::before {
  content: ""; position: absolute; z-index: -1; right: -8%; bottom: -30%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%); opacity: 0.85;
}
.hero-copy .eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); color: #2a2140; font-weight: 800; font-size: 0.85rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-copy .eyebrow { background: rgba(23, 17, 43, 0.5); color: #f5efff; }
}
:root[data-theme="dark"] .hero-copy .eyebrow { background: rgba(23, 17, 43, 0.5); color: #f5efff; }
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy p.lead { font-size: 1.2rem; max-width: 34ch; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(100%, 380px); height: auto; filter: drop-shadow(0 24px 30px rgba(74, 36, 150, 0.35)); animation: drift 9s ease-in-out infinite; }
.blob-fill { fill: var(--blob); }
.blob-ink { stroke: var(--blob-ink); fill: none; }
.bubble { fill: rgba(255, 255, 255, 0.45); animation: drift 12s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-1.2deg); }
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 26px;
  border-radius: 999px; background: var(--btn); color: var(--btn-text);
  font-weight: 800; text-decoration: none; border: 2px solid var(--btn);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.ghost { background: var(--btn-ghost-bg); color: var(--text); border-color: var(--line); }
.hero .btn.ghost { border-color: transparent; }


/* App state card in the hero */
.stage { position: relative; display: grid; place-items: center; padding: 18px 0 30px; }
.state-card {
  width: min(100%, 300px); padding: 20px; border-radius: 36px 36px 80px 36px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: drift 10s ease-in-out infinite;
}
.state-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-brand { display: flex; align-items: center; gap: 8px; font: 700 0.95rem/1 "Comfortaa", sans-serif; }
.mini-brand img { width: 26px; height: 26px; border-radius: 8px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--chip); color: var(--link); font-weight: 800; font-size: 0.82rem;
}
.live-pill i, .status-dot, .row-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.drop-visual { margin: 14px auto 6px; width: 62%; }
.drop-visual svg { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(106, 58, 190, 0.3)); }
.state-status { text-align: center; margin-bottom: 14px; }
.state-status span, .state-row span { display: block; color: var(--muted); font-size: 0.85rem; }
.state-status strong { font: 700 1.35rem/1.2 "Comfortaa", sans-serif; }
.state-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-radius: 22px; background: var(--chip);
}
.state-row strong { font-weight: 800; }
.tick {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--btn); color: var(--btn-text); font-weight: 800; flex: none;
}
.note {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  line-height: 1.25;
}
.note .tick { width: 30px; height: 30px; }
.note strong { display: block; font-size: 0.92rem; }
.note small { color: var(--muted); font-size: 0.8rem; }
.stage { padding: 72px 0 72px; }
.note-key { left: 0; top: 6px; }
.note-control { right: 0; bottom: 6px; }

.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.platform-note { margin: 18px 0 0; font-weight: 700; }

/* Sections */
section.block { padding: 36px 0; }
.eyebrow-tag {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--chip); color: var(--link); font-weight: 800; font-size: 0.82rem;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.trust div {
  padding: 18px 24px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); text-align: center;
}
.trust strong { display: block; font: 700 1.05rem/1.3 "Comfortaa", sans-serif; }
.trust span { color: var(--muted); font-size: 0.95rem; }

.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: end; margin-bottom: 32px;
}
.sec-head p { color: var(--muted); margin: 0; }
.sec-head h2 { margin: 6px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 28px 26px 30px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 36px 36px 80px 36px;
}
.step:nth-child(2) { border-radius: 36px 80px 36px 36px; background: linear-gradient(150deg, var(--hero-a), var(--hero-b)); border-color: transparent; }
.step:nth-child(2) p { color: var(--text); }
.step:nth-child(3) { border-radius: 80px 36px 36px 36px; }
.step-number {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px;
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; background: var(--chip); color: var(--link);
  font: 700 1.1rem/1 "Comfortaa", sans-serif;
}
.step:nth-child(2) .step-number { background: var(--card); color: var(--link); }
.step p { color: var(--muted); margin: 0; }

.feature { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 28px; align-items: center; }
.feature.flip { grid-template-columns: 1.45fr 0.55fr; }
.feature.flip .art { order: 2; }
.art {
  display: grid; place-items: center; align-self: stretch; min-height: 220px;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  border-radius: 28px 90px 28px 90px;
}
.art svg { width: min(70%, 150px); height: auto; }
.text-link { font-weight: 800; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.key-card {
  padding: 22px; border-radius: 36px 90px 36px 36px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: grid; gap: 14px; align-self: center;
}
.key-card-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; }
.key-card-head span { display: inline-flex; align-items: center; gap: 8px; }
.key-card-head img { width: 26px; height: 26px; border-radius: 8px; }
.key-card-head i { font-style: normal; padding: 4px 12px; border-radius: 999px; background: var(--chip); color: var(--link); font-size: 0.82rem; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-row div { padding: 12px 16px; border-radius: 22px; background: var(--chip); }
.metric-row small { display: block; color: var(--muted); }
.metric-row strong { font: 700 1.4rem/1.2 "Comfortaa", sans-serif; }
.key-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 22px; background: var(--chip); }
.key-card-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.key-card-row b { color: var(--link); }

/* Inner pages */
.page-head { padding: 40px 0 16px; }
.page-head .wrap { max-width: 900px; }
.page-head h1 { margin-top: 10px; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.page-head .eyebrow-tag { margin: 0; }
.layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; max-width: 1000px; margin: 0 auto; }
.layout.faq { grid-template-columns: 1fr 320px; }
.aside {
  position: sticky; top: 84px; display: grid; gap: 4px; padding: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.aside .label { padding: 4px 12px; color: var(--muted); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.aside a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--link); }
.aside a:hover { background: var(--chip); }
.prose section { margin-bottom: 8px; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { color: var(--text); font-size: 1.35rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.value-grid article { padding: 20px; border-radius: 28px; background: var(--chip); border: 1px solid var(--line); }
.value-grid article:nth-child(1) { border-radius: 28px 28px 60px 28px; }
.value-grid article:nth-child(2) { border-radius: 28px 60px 28px 28px; }
.value-grid article:nth-child(3) { border-radius: 60px 28px 28px 28px; }
.value-grid span { color: var(--link); font: 700 1rem/1 "Comfortaa", sans-serif; }
.value-grid h3 { margin: 8px 0; }
.value-grid p { margin: 0; font-size: 0.97rem; }
.cta-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: 28px; padding: 28px; border-radius: var(--r-lg); background: var(--chip); border: 1px solid var(--line);
}
.cta-card h2 { margin: 6px 0 0; font-size: 1.4rem; }
.cta-card .eyebrow-tag { margin: 0; }

.faq-list { display: grid; gap: 14px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 24px; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 700 1.05rem/1.35 "Comfortaa", sans-serif;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--chip); color: var(--link);
  font: 800 1.2rem/1 "Nunito", sans-serif;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.help-card { position: sticky; top: 84px; padding: 28px; border-radius: 36px 90px 36px 36px; background: linear-gradient(150deg, var(--hero-a), var(--hero-b)); }
.help-card h2 { margin: 10px 0; font-size: 1.4rem; }
.help-card p { color: var(--text); }
.help-card .eyebrow-tag { background: rgba(255, 255, 255, 0.6); color: #2a2140; }
.notice-card { margin-top: 20px; padding: 20px 24px; border-radius: 26px; background: var(--chip); border: 1px solid var(--line); }
.notice-card p { margin: 6px 0 0; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0 40px; }
.lost img { width: 96px; height: 96px; border-radius: 28px; margin: 0 auto 16px; }

footer { padding: 28px 0 48px; color: var(--muted); font-size: 0.95rem; }
.foot { padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.foot-top, .foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); font-weight: 700; }
.foot .brand { color: var(--text); text-decoration: none; }

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; }
  .stage { padding-inline: 12px; }
  .trust, .steps, .value-grid { grid-template-columns: 1fr; }
  .trust div { border-radius: 36px; }
  .sec-head { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .art { order: 0; }
  .art { min-height: 160px; }
  .layout, .layout.faq { grid-template-columns: 1fr; }
  .aside, .help-card { position: static; }
  .aside { display: flex; flex-wrap: wrap; }
  .aside .label { width: 100%; }
}
@media (max-width: 520px) {
  .pill { border-radius: 28px; flex-wrap: wrap; justify-content: center; }
  .pill nav { flex-wrap: wrap; justify-content: center; }
  .pill nav a { padding: 8px 10px; font-size: 0.88rem; }
  .brand span { display: none; }
  .brand { padding-right: 2px; }
  .hero-panel { border-radius: 36px; }
  .faq-list summary { padding: 16px 18px; }
  .faq-list details p { padding: 0 18px 20px; }
  .note { position: static; margin-top: 10px; }
  .stage { display: flex; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .state-card { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
