@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/onest-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 {
  font: 100%/1.5 Onest, system-ui, sans-serif;
  color: #f2f3f1;
  background: var(--page);
  color-scheme: dark;
  --brand-graphite: #151719;
  --brand-surface: #24282a;
  --brand-ink: #f2f3f1;
  --brand-muted: #bfc5c5;
  --brand-red: #cf3d2a;
  --brand-coral: #ff917c;
  --page: var(--brand-graphite);
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --gutter: clamp(1.15rem, 4.45vw, 5.5rem);
  --measure: 85rem;
  --curve: cubic-bezier(.22, .65, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-inline-size: 0; min-block-size: 100svh; background: var(--page); }
[hidden] { display: none !important; }
h1, h2, p, figure, dl, dd { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-inline-size: 100%; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--brand-coral); outline-offset: 5px; }
::selection { color: #180b08; background: var(--brand-coral); }

.wrap { width: min(var(--measure), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; z-index: 10; inset: .6rem auto auto .6rem;
  padding: .65rem 1rem; background: #24282a; border-radius: .5rem;
}

.site-header { position: relative; z-index: 2; }
.site-header-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-block-size: 4.3rem; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .54rem; flex-shrink: 0;
  font-size: 1.12rem; line-height: 1; font-weight: 740; letter-spacing: -.041em;
  min-block-size: 2.75rem;
}
.brand img { flex: none; width: 2.23rem; height: auto; }
.brand-vpn { font-size: .91em; font-weight: 560; letter-spacing: -.025em; }
.desktop-nav { display: none; }
.nav-link {
  display: inline-flex; gap: .2rem; min-block-size: 2.75rem; align-items: center;
  border: 0; background: none; padding: 0; color: var(--muted); font-size: .875rem;
  white-space: nowrap; cursor: pointer; transition: color 150ms ease;
}
.nav-link svg { display: none; }
.nav-link:hover, .text-button:hover { color: var(--brand-coral); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle {
  display: inline-grid; place-content: center; inline-size: 2.75rem; block-size: 2.75rem;
  padding: 0; border: 1px solid #ffffff26; border-radius: .75rem;
  background: transparent; cursor: pointer;
}
.menu-toggle:hover { background: #ffffff10; }
.menu-toggle svg:last-child,
.menu-toggle[aria-expanded="true"] svg:first-child { display: none; }
.menu-toggle[aria-expanded="true"] svg:last-child { display: block; }
.mobile-nav {
  position: absolute; top: calc(100% + .45rem); inset-inline: 0;
  padding: .65rem .9rem .9rem; background: #222224; border: 1px solid #ffffff26;
  border-radius: 1rem; box-shadow: 0 1.2rem 3rem #0008;
}
.mobile-nav .nav-link { display: flex; inline-size: 100%; }
.mobile-nav .button { margin-top: .55rem; inline-size: 100%; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .52rem;
  min-block-size: 3.35rem; padding: .68rem 1.17rem; border: 1px solid transparent;
  background: var(--brand-coral); color: #200b08; border-radius: var(--button-radius, .8rem);
  font-size: .9rem; line-height: 1.25; font-weight: 700; white-space: nowrap;
  cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 180ms var(--curve);
}
.button:active, .menu-toggle:active {
  transform: scale(.973); transition-duration: 90ms;
}
.button:hover { background: #ffa993; }
.header-cta { display: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; }
.text-button {
  display: inline-flex; align-items: center; gap: .4rem; min-block-size: 2.75rem;
  color: var(--ink); padding: 0; background: none; border: 0; font-size: .875rem;
  font-weight: 600; cursor: pointer; transition: color 150ms ease;
}
.text-button svg { transition: transform 180ms var(--curve); }
.text-button:hover svg { transform: translateX(3px); }
h1 { text-wrap: balance; }
.lead { font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.5; color: var(--muted); }

@media (min-width: 410px) {
  .header-cta { display: inline-flex; min-block-size: 2.75rem; font-size: .79rem; padding-inline: .83rem; }
  .header-cta svg { display: none; }
}

@media (min-width: 760px) {
  .site-header-inner { min-block-size: 4.9rem; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.75vw, 2.55rem); }
  .header-actions { margin-inline-start: 0; }
  .header-cta { gap: .4rem; font-size: .86rem; padding-inline: 1.05rem; }
  .header-cta svg { display: block; width: 15px; height: 15px; order: 2; }
  .menu-toggle, .mobile-nav { display: none; }
}
