/* VVPN landing. Fonts: Manrope, Unbounded, IBM Plex Mono — SIL OFL, see fonts/OFL-*.txt */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070908;
  --bg-elev: #101412;
  --bg-elev-2: #171c19;
  --line: rgba(244, 245, 240, 0.12);
  --line-strong: rgba(244, 245, 240, 0.28);
  --text: #f4f5f0;
  --muted: #c5cec2;
  --dim: #9aa396;
  --lime: #d6ff4a;
  --lime-ink: #142000;
  --amber: #ffb15a;
  --header: 72px;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(214, 255, 74, 0.08), transparent 55%),
    radial-gradient(700px 420px at -10% 8%, rgba(155, 231, 214, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--lime-ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  max-width: 11em;
}

h1 .line {
  display: block;
  color: var(--lime);
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 16em;
}

.lead,
.section__head p {
  color: var(--muted);
  font-size: 17px;
  max-width: 42rem;
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.5vw, 18px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

/* Blur lives on a pseudo-element. backdrop-filter on .header itself
   would make the mobile nav (position: fixed) stick to the 72px bar. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 9, 8, 0.88);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.header__cta {
  margin-left: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  margin: 0 auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.btn--primary {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn--primary:hover {
  background: #e4ff7a;
}

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

.btn--ghost:hover {
  border-color: var(--text);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  padding: 56px 0 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 245, 240, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 245, 240, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: end;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fine {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 14px;
  max-width: 38rem;
}

.panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(214, 255, 74, 0.05), transparent 28%), var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  top: -72px;
  background: linear-gradient(to bottom, transparent, rgba(214, 255, 74, 0.08), transparent);
  animation: sweep 9s linear infinite;
  pointer-events: none;
}

@keyframes sweep {
  to {
    transform: translateY(460px);
  }
}

.panel h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.panel > p {
  margin: 0 0 8px;
  color: var(--dim);
  font-size: 13px;
}

.route {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.route__n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  padding-top: 3px;
}

.route strong {
  display: block;
  font-size: 15px;
}

.route span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

.tag--main {
  color: var(--lime-ink);
  background: var(--lime);
  border-color: var(--lime);
}

.tag--alt {
  color: var(--amber);
  border-color: rgba(255, 177, 90, 0.45);
}

.section {
  padding: 80px 0;
}

.section__head {
  margin-bottom: 32px;
}

.section__head p {
  margin: 14px 0 0;
}

.reason {
  display: grid;
  grid-template-columns: 72px minmax(0, 220px) minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.reason:last-child {
  border-bottom: 1px solid var(--line);
}

.reason__n {
  font-family: var(--mono);
  color: var(--lime);
  font-size: 13px;
  padding-top: 6px;
}

.reason h3 {
  font-size: 22px;
}

.reason p {
  margin: 0;
  color: var(--muted);
}

.plain {
  margin-top: 48px;
}

.plain h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.plain__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.plain__grid article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.plain__grid h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.plain__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step__n {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 255, 74, 0.85);
}

.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.devices {
  border-top: 1px solid var(--line);
}

.device {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(160px, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.device h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.device__app {
  font-weight: 700;
}

.device p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.note p {
  margin: 0;
  color: var(--muted);
}

.shared {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.shared li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--muted);
  font-size: 14px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.plan--default {
  border-color: rgba(214, 255, 74, 0.55);
  background:
    linear-gradient(180deg, rgba(214, 255, 74, 0.08), transparent 42%),
    var(--bg-elev);
}

.plan__badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 4px 8px;
}

.plan h3 {
  font-size: 26px;
}

.plan__note {
  margin: 0;
  color: var(--muted);
  min-height: 3.2em;
  font-size: 15px;
}

.plan__price {
  margin: 4px 0 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.plan .btn {
  margin-top: auto;
}

.faq {
  max-width: 760px;
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 4px;
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq__item p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 62ch;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: end;
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(214, 255, 74, 0.14), transparent 60%),
    var(--bg-elev);
}

.contact p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.footer {
  padding: 28px 0 40px;
  color: var(--dim);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.short {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 8px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #070908;
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
    z-index: 40;
  }

  .nav a {
    font-size: 22px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }

  .header__cta {
    margin-left: 0;
  }

  .wide {
    display: none;
  }

  .short {
    display: inline;
  }

  .hero__grid,
  .reason,
  .plain__grid,
  .steps,
  .plans,
  .contact {
    grid-template-columns: 1fr;
  }

  .reason {
    gap: 8px;
  }

  .device {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step {
    min-height: 0;
  }

  .contact .btn {
    justify-self: start;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .header__cta {
    display: none;
  }

  .wrap,
  .header__inner {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel::after {
    animation: none;
  }

  .btn--primary:hover {
    background: var(--lime);
  }
}
