/* SERVA site stylesheet */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #6633cc;
  --brand-dark: #5228ab;
  --brand-deep: #3f1f85;
  --brand-tint: #f4f1fc;
  --brand-tint-2: #e9e3f9;
  --ink: #151021;
  --ink-2: #1e1830;
  --ink-3: #2a2340;
  --text: #241e38;
  --muted: #5d5773;
  --muted-2: #8b86a0;
  --line: #e8e5f1;
  --bg: #ffffff;
  --bg-alt: #f8f7fc;
  --green: #1a9a52;
  --green-bg: #e9f7ef;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(21, 16, 33, .05), 0 4px 16px rgba(21, 16, 33, .06);
  --shadow-2: 0 2px 6px rgba(21, 16, 33, .07), 0 16px 40px rgba(63, 31, 133, .13);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'cv05' 1, 'cv11' 1;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul[role="list"] { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }

.h1 { font-size: 48px; font-weight: 800; }
.h2 { font-size: 34px; margin-bottom: 12px; }
.h3 { font-size: 20px; }

.section-intro { max-width: 620px; color: var(--muted); font-size: 17px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(102, 51, 204, .28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand-deep); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(21, 16, 33, .05); }

.header-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }

.nav a.nav-link,
.nav .drop > button {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}
.nav a.nav-link:hover, .nav .drop > button:hover { color: var(--brand); }
.nav a.nav-link.active { color: var(--brand); }

.drop { position: relative; }
.drop .caret { width: 10px; height: 10px; transition: transform .15s ease; }
.drop.open .caret { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 8px;
  display: none;
}
.drop.open .drop-menu, .lang.open .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}
.drop-menu a:hover { background: var(--brand-tint); color: var(--brand); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang { position: relative; }
.lang > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
}
.lang > button:hover { color: var(--brand); border-color: var(--brand); }
.lang .drop-menu { left: auto; right: 0; min-width: 140px; }

.btn-login { padding: 10px 20px; }
.btn-signup { padding: 10px 20px; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger svg { display: block; }

/* ---------- hero ---------- */

.hero {
  background: var(--ink) radial-gradient(900px 480px at 78% -10%, rgba(102, 51, 204, .5), transparent 65%);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 460px at 70% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 460px at 70% 20%, #000 30%, transparent 75%);
}

.hero-in {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px 92px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: #b394f2; }

.hero-sub { font-size: 18px; color: #c6bfdd; max-width: 500px; margin-bottom: 30px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }

.hero-points { display: flex; gap: 20px; row-gap: 12px; flex-wrap: wrap; }
.hero-point { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d9d4ea; font-weight: 500; white-space: nowrap; }
.hero-point svg { flex: none; }

/* server mock panel */

.panel-mock {
  background: linear-gradient(160deg, #221a38, #191227);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  padding: 22px 24px 24px;
  font-size: 14px;
}
.panel-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 16px;
}
.panel-mock-title { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px; }
.panel-mock-title.brand-title { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.panel-mock-title .flag { border-radius: 3px; }
.win-dots { display: flex; gap: 7px; flex: none; }
.win-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.win-dots i:nth-child(1) { background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }

.panel-rows { display: grid; gap: 11px; margin-bottom: 18px; }
.panel-row { display: flex; justify-content: space-between; gap: 14px; color: #a79fc2; }
.panel-row b { color: #fff; font-weight: 600; text-align: right; }

.panel-slide { display: none; }
.panel-slide.active { display: block; animation: pfade .45s ease; }
@keyframes pfade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.pslide-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.pslide-head b { color: #fff; font-size: 19px; font-weight: 700; }
.pslide-price { color: #b394f2; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.pslide-price i { font-style: normal; font-size: 12.5px; color: #7d7698; font-weight: 500; margin-left: 3px; }
.panel-slide form { margin-top: 16px; }
.panel-slide .btn { padding: 11px 20px; font-size: 14.5px; }
.panel-dots { display: flex; gap: 7px; justify-content: center; margin-top: 16px; }
.panel-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.panel-dots button.active { background: #8a5ee6; width: 20px; }

.panel-graph { display: flex; align-items: flex-end; gap: 5px; height: 58px; margin-bottom: 8px; }
.panel-graph span { flex: 1; background: linear-gradient(180deg, #8a5ee6, #6633cc); border-radius: 3px 3px 0 0; opacity: .85; }
.panel-graph-label { font-size: 12px; color: #7d7698; }

/* ---------- stats band ---------- */

.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); }

/* ---------- pricing ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid #d9d3e8;
  box-shadow: var(--shadow-1);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, background .18s ease;
}
.plan:hover { border-color: #b394f2; background: #fdfcff; }
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: .01em; margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; }
.plan-price b { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); }
.plan-price .cur { font-size: 20px; font-weight: 700; color: var(--brand); }
.plan-price .per { font-size: 14px; color: var(--muted-2); }
.plan-price .pfrac { font-size: 15px; font-weight: 700; color: var(--brand); opacity: .75; position: relative; top: -13px; margin-left: 1px; }
.plan-note { font-size: 13px; color: var(--muted-2); margin-bottom: 18px; }

.plan-rows { border-top: 1px solid var(--line); margin-bottom: 22px; flex: 1; }
.plan-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.plan-row span { font-size: 13.5px; color: var(--muted-2); }
.plan-row b { font-size: 15px; font-weight: 650; color: var(--text); }

.btn-soft { background: var(--brand-tint); color: var(--brand-dark); }
.btn-soft:hover { background: var(--brand-tint-2); color: var(--brand-deep); }

.plans-incl { text-align: center; font-size: 14px; color: var(--muted-2); margin-top: 28px; }

.select {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d5773' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select:focus { outline: 2px solid var(--brand-tint-2); border-color: var(--brand); }

/* big plans table */

.plans-more { margin-top: 56px; }
.plans-more h3 { font-size: 22px; margin-bottom: 6px; }
.plans-more-sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.ptable {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ptable-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr .9fr;
  gap: 12px;
  align-items: center;
  padding: 16px 22px;
}
.ptable-row + .ptable-row { border-top: 1px solid var(--line); }
form + form .ptable-row { border-top: 1px solid var(--line); }
.ptable-row.alt { background: var(--brand-tint); }
.ptable-row.head { background: var(--bg-alt); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); padding: 12px 22px; }
.ptable-row .pname { font-weight: 700; }
.ptable-row .pprice { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.ptable-row .pprice small { font-weight: 500; font-size: 12.5px; color: var(--muted-2); }
.ptable-row .pprice .pfrac { font-size: 11.5px; font-weight: 600; color: var(--muted-2); position: relative; top: -5px; margin-left: 1px; }
.ptable-row .pcell { font-size: 15px; color: var(--muted); }
.ptable-row .pcell b { color: var(--text); font-weight: 600; }

.plans-foot { margin-top: 22px; font-size: 14px; color: var(--muted-2); text-align: center; }
.plans-foot a { font-weight: 500; }

/* ---------- vpn ---------- */

.vs-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.vs-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.vs-card .vs-title { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.vs-card .plan-rows { margin-bottom: 0; border-top: 0; }
.vs-card .plan-row i,
.vs-card .plan-row b { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 13.5px; text-align: right; max-width: 64%; justify-content: flex-end; }
.vs-card .plan-row i { color: var(--muted-2); font-weight: 500; }
.vs-card .plan-row i svg, .vs-card .plan-row b svg { flex: none; }
.vs-card .plan-row:last-child { border-bottom: 0; }
.vs-mark-x { color: #d97688; }
.vs-mark-ok { color: #35c977; }

.vs-card.ours {
  background: var(--ink) radial-gradient(420px 280px at 90% -15%, rgba(102, 51, 204, .45), transparent 65%);
  border-color: rgba(102, 51, 204, .55);
  box-shadow: 0 18px 50px rgba(63, 31, 133, .25);
}
.vs-card.ours .vs-title { color: #fff; }
.vs-card.ours .plan-row { border-color: rgba(255, 255, 255, .1); }
.vs-card.ours .plan-row span { color: #a79fc2; }
.vs-card.ours .plan-row b { color: #fff; font-weight: 600; }

/* protocols */

.proto-card { display: flex; flex-direction: column; }
.proto-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.proto-head h3 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.proto-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.proto-line { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

/* qr block in hero mock */

.qr-row { display: flex; gap: 16px; align-items: center; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }
.qr-tile { background: #fff; border-radius: 10px; padding: 9px; flex: none; display: flex; }
.qr-cap { font-size: 13px; color: #a79fc2; line-height: 1.55; }
.qr-cap b { display: block; color: #fff; font-size: 14px; margin-bottom: 3px; }

.vpn-grid { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }

.feat-grid.proto-grid { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin: 0 auto; }

.proto-badge {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ---------- locations ---------- */

.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.loc-card:hover { box-shadow: var(--shadow-1); transform: translateY(-2px); }
.loc-card .flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(21, 16, 33, .08); flex: none; }
.loc-card b { display: block; font-size: 15.5px; font-weight: 700; }
.loc-card span { font-size: 13.5px; color: var(--muted-2); }

/* location page cards */

.locp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.locp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.locp-card .flag { border-radius: 5px; box-shadow: 0 0 0 1px rgba(21, 16, 33, .08); flex: none; }
.locp-body { flex: 1; }
.locp-body b { font-size: 17px; font-weight: 700; display: block; }
.locp-body span { font-size: 14px; color: var(--muted); }
.locp-card .btn { flex: none; padding: 9px 18px; font-size: 14px; }

/* ---------- features ---------- */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section.alt .feat { border-color: transparent; box-shadow: var(--shadow-1); }
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* ---------- trust / why ---------- */

.trust-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust-list { display: grid; gap: 22px; }
.trust-item { display: flex; gap: 16px; }
.trust-item .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.trust-item b { display: block; font-size: 16px; margin-bottom: 3px; }
.trust-item p { font-size: 14.5px; color: var(--muted); }

.trust-side {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 34px 34px 30px;
}
.trust-side .h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.trust-side dl { display: grid; gap: 14px; }
.trust-side .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.09); padding-bottom: 13px; font-size: 14.5px; }
.trust-side .row:last-child { border-bottom: 0; padding-bottom: 0; }
.trust-side dt { color: #a79fc2; }
.trust-side dd { color: #fff; font-weight: 600; text-align: right; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 22px;
  margin-bottom: 12px;
}
.faq details[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 30px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq-a { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 65%, #7c4fdd);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.cta-band p { color: #e3daf8; font-size: 16.5px; margin-bottom: 26px; }

/* ---------- page hero (inner pages) ---------- */

.page-hero { background: var(--ink) radial-gradient(700px 320px at 80% -20%, rgba(102, 51, 204, .45), transparent 65%); color: #fff; padding: 64px 0 58px; }
.page-hero h1 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #c6bfdd; font-size: 17px; max-width: 640px; }

/* ---------- content / legal ---------- */

.content-narrow { max-width: 820px; margin: 0 auto; }

.legal-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}
.legal-body p { margin-bottom: 14px; }
.legal-body h2 { font-size: 20px; margin: 30px 0 12px; }
.legal-body ul { margin: 0 0 16px 24px; }
.legal-body li { margin-bottom: 7px; }
.legal-body i { color: var(--muted-2); }
.legal-updated { font-size: 13.5px; color: var(--muted-2); margin-top: 18px; }

.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: block;
  color: var(--text);
  transition: box-shadow .2s ease, transform .2s ease;
}
.legal-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--text); }
.legal-card h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.legal-card h3 svg { color: var(--brand); flex: none; }
.legal-card p { font-size: 14px; color: var(--muted); }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about-text p { margin-bottom: 16px; color: var(--muted); font-size: 16px; }
.about-text p b { color: var(--text); }

.req-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.req-card h3 { font-size: 17px; margin-bottom: 16px; }
.req-card dl { display: grid; gap: 12px; font-size: 14.5px; }
.req-card dt { font-weight: 600; color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.req-card dd { color: var(--text); }

/* ---------- referral ---------- */

.ref-hero-num { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

/* ---------- support ---------- */

.support-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 svg { color: var(--brand); }
.contact-card p { font-size: 14.5px; color: var(--muted); }
.contact-card a.mail { font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-1); }
.form-card h2 { font-size: 22px; margin-bottom: 20px; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { margin-bottom: 14px; }
.f-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.f-field .req { color: var(--brand); }

.input, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--brand-tint-2); border-color: var(--brand); }
.textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 13px; color: var(--muted-2); margin: 12px 0 18px; }

.form-ok, .form-err { display: none; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; margin-top: 16px; }
.form-ok { background: var(--green-bg); color: var(--green); }
.form-err { background: #fdeeee; color: #b42121; }

.hp-field { position: absolute; left: -6000px; top: -6000px; }

/* ---------- knowledge base ---------- */

.kb-cat { margin-bottom: 46px; }
.kb-cat > h2 { font-size: 22px; margin-bottom: 18px; }
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kb-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  color: var(--text);
  transition: border-color .18s ease, background .18s ease;
}
.kb-card:hover { border-color: var(--brand); color: var(--text); background: #fdfcff; }
.kb-card h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.35; }
.kb-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.kb-card .kb-tag { font-size: 12.5px; font-weight: 600; color: var(--brand); }

.article-wrap { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted-2); margin-bottom: 8px; }
.article-meta .kb-tag { color: var(--brand); font-weight: 600; }
.article-lead { font-size: 18px; color: var(--muted); margin-bottom: 30px; }

.article-body { font-size: 16px; line-height: 1.75; color: var(--text); }
.article-body h2 { font-size: 24px; margin: 40px 0 14px; }
.article-body h3 { font-size: 18px; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--bg-alt); font-weight: 600; }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  border-radius: 5px;
  padding: 2px 6px;
}
.article-body pre {
  background: var(--ink);
  color: #e6e1f5;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  overflow-x: auto;
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.6;
}
.article-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }

.callout {
  border-left: 3px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 18px;
}
.callout.warn { border-left-color: #d97688; background: #fdf1f3; }

.kb-related { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 26px; }
.kb-related h2 { font-size: 19px; margin-bottom: 14px; }
.kb-related a { display: block; padding: 6px 0; font-weight: 500; }

@media (max-width: 1020px) { .kb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .kb-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #b1aac8; }
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 0; }

.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }

.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 300px; margin-bottom: 18px; }

.footer-req { font-size: 12.5px; color: #7d7698; line-height: 1.7; }

.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col a { display: block; color: #b1aac8; font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #7d7698;
}

.pay-row { display: flex; align-items: center; gap: 10px; }
.pay-chip {
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  height: 28px;
  color: #cfc9e2;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- cookie bar ---------- */

.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--muted);
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-row { display: flex; gap: 14px; align-items: flex-start; }
.cookie-icon { flex: none; margin-top: 2px; }
.cookie-bar .btn { padding: 8px 18px; font-size: 13.5px; margin-top: 12px; }

/* ---------- flags ---------- */

.flag { display: inline-block; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .vpn-grid { grid-template-columns: 1fr; max-width: 480px; }
  .feat-grid.proto-grid { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; padding: 64px 24px; gap: 44px; }
  .panel-mock { max-width: 460px; }
  .trust-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .ptable-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .ptable-row .pt-hide { display: none; }
  .ptable-row.head { display: none; }
  .ptable-row { padding: 18px 20px; }
}

@media (max-width: 760px) {
  .h1 { font-size: 34px; }
  .hero h1 { font-size: 32px; }
  .h2 { font-size: 27px; }
  .section { padding: 60px 0; }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plans-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .locp-grid { grid-template-columns: 1fr; }
  .ptable-row { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .ptable-row .pbtn { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .legal-body { padding: 28px 22px; }
  .cta-band { padding: 40px 24px; }
  .cookie-bar { left: 14px; right: 14px; max-width: none; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(21, 16, 33, .1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    margin: 0;
  }
  .nav.open { display: flex; }
  .nav a.nav-link, .nav .drop > button { padding: 12px 4px; width: 100%; justify-content: space-between; font-size: 16px; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .header-actions .btn-signup { display: none; }
  .burger { display: block; }
}
