@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  color-scheme: light;
  --paper: #f8f5fb;
  --paper-accent: #eae0f5;
  --ink: #171023;
  --text-muted: #51465e;
  --accent: #5a358a;
  --accent-deep: #48276f;
  --line: #ded5e7;
  --dark: #20172c;
  --dark-field: #30233e;
  --dark-text: #f9f4ff;
  --dark-muted: #dbcee7;
  --radius: 1.6rem;
  --gutter: clamp(1.25rem, 4.5vw, 4.75rem);
  --wrap: 87.5rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::after, *::before { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.frame { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; padding: .75rem 1rem; background: var(--ink); color: white; translate: 0 -160%; border-radius: .5rem; }
.skip:focus { translate: 0; }

.header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: 1.23rem; letter-spacing: -.06em; font-weight: 800; white-space: nowrap; }
.brand img { border-radius: .72rem; }
.brand-vpn { color: var(--accent); }
.header-actions { display: flex; gap: clamp(.55rem, 2.3vw, 1.75rem); align-items: center; }
.header-link, .header-support { font-size: .91rem; min-height: 44px; display: inline-flex; align-items: center; font-weight: 720; }
.header-link:hover, .header-support:hover, .legal a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.locale { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); padding: 3px; border-radius: 999px; }
.locale a { display: grid; place-items: center; border-radius: inherit; min-height: 44px; min-width: 44px; color: var(--text-muted); font-size: .83rem; font-weight: 800; }
.locale a[aria-current] { color: var(--ink); background: var(--paper-accent); }
.locale a:hover { color: var(--accent); }

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-watermark { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-watermark img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; opacity: .72; mix-blend-mode: multiply; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgb(248 245 251 / 94%) 27%, rgb(248 245 251 / 57%) 54%, transparent 82%),
              linear-gradient(0deg, var(--paper) 0%, transparent 24%);
}
.hero-inner { position: relative; z-index: 2; min-height: clamp(37rem, 52vw, 48rem); display: flex; align-items: center; padding-block: clamp(5rem, 9.2vw, 9rem); }
.hero-copy { max-width: min(100%, 49rem); min-width: 0; }
.hero h1 { line-height: 1.09; font-size: clamp(3.6rem, 6.1vw, 6.35rem); letter-spacing: -.045em; font-weight: 800; }
.hero h1 span { color: var(--accent); display: block; }
.hero-copy p { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 40ch; line-height: 1.72; color: var(--text-muted); margin-top: clamp(1.6rem, 3vw, 2.75rem); }
.pill, .download-button { display: inline-flex; justify-content: center; align-items: center; text-align: center; border: 1px solid transparent; min-height: 3rem; padding: .64rem 1.18rem; font-size: .9rem; font-weight: 800; border-radius: 999px; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.pill.primary { min-height: 3.5rem; padding-inline: 1.5rem; background: var(--accent); color: white; }
.pill.primary:hover { background: var(--accent-deep); }
.pill.primary:active { background: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: clamp(1.75rem, 3.4vw, 2.8rem); }
.pill.secondary { min-height: 3.5rem; display: inline-flex; gap: .52rem; padding-inline: 1.12rem; background: rgb(248 245 251 / 80%); border-color: #b39dc7; color: var(--accent-deep); }
.pill.secondary:hover { background: var(--paper-accent); border-color: var(--accent); }
.pill.secondary .glyph { width: 1.15rem; height: 1.15rem; }

.features { padding-block: clamp(4rem, 8.5vw, 8.25rem); }
h2 { font-size: clamp(2.35rem, 4.25vw, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -.064em; }
.features h2 { margin-bottom: clamp(2rem, 4.5vw, 4rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3.1vw, 3rem); }
.feature { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.glyph { width: 1.5rem; height: 1.5rem; display: inline-block; flex: none; background: currentColor; mask: var(--icon) center / contain no-repeat; }
.glyph--tap { --icon: url("hand-tap.svg"); }
.glyph--shield { --icon: url("shield-check.svg"); }
.glyph--globe { --icon: url("globe-hemisphere-west.svg"); }
.glyph--apple { --icon: url("apple-logo.svg"); }
.glyph--android { --icon: url("android-logo.svg"); }
.glyph--qr { --icon: url("qr-code.svg"); }
.glyph--close { --icon: url("x.svg"); }
.glyph--telegram { --icon: url("telegram-logo.svg"); }
.feature .glyph { width: 1.8rem; height: 1.8rem; color: var(--accent); }
.feature h3 { font-size: clamp(1.15rem, 1.75vw, 1.55rem); margin-top: .8rem; font-weight: 800; letter-spacing: -.04em; }
.feature p { margin-top: .55rem; color: var(--text-muted); max-width: 37ch; line-height: 1.65; }

.pricing { padding-bottom: clamp(4rem, 8.5vw, 7.5rem); }
.pricing h2 { margin-bottom: clamp(1.6rem, 3.2vw, 3rem); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.plan { border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.05rem, 2.6vw, 2.1rem); min-width: 0; }
.plan:last-child { background: var(--paper-accent); }
.plan h3 { font-size: 1.12rem; font-weight: 800; }
.plan-price { font-size: clamp(2.25rem, 4.3vw, 4.1rem); line-height: 1.1; font-weight: 800; letter-spacing: -.072em; margin-block: .55rem; font-variant-numeric: tabular-nums; }
.plan-price span { font-weight: 750; }
.plan-term { color: var(--text-muted); font-weight: 620; }
.plan-savings { display: inline-flex; margin-top: .95rem; padding: .32rem .64rem; border-radius: 100vw; background: #e4d7f2; color: #492866; font-size: .83rem; font-weight: 800; }
.pricing-note { margin-top: .9rem; color: var(--text-muted); font-size: .875rem; }

.download { scroll-margin-top: 1rem; }
.download-shell { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; border-radius: var(--radius); background: var(--dark); color: var(--dark-text); padding: clamp(1.5rem, 5.85vw, 5.3rem); }
.download-shell :focus-visible { outline-color: #e9d3ff; }
.download-intro > p { color: var(--dark-muted); margin-top: 1.2rem; max-width: 33ch; line-height: 1.65; }
.download-grid { display: grid; gap: .8rem; }
.platform { background: var(--dark-field); border: 1px solid #493956; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.15rem; border-radius: 1.02rem; padding: 1rem; }
.platform-title { display: flex; gap: .78rem; align-items: center; }
.platform-title .glyph { color: #e5d4ff; width: 1.85rem; height: 1.85rem; }
.platform h3 { font-size: 1.16rem; line-height: 1.2; }
.platform-title p { color: var(--dark-muted); font-size: .875rem; margin-top: .12rem; }
.platform-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.download-button { background: #e9d9ff; color: #2a153b; white-space: nowrap; }
.download-button:hover { background: #f3e9ff; }
.download-button.unavailable { background: transparent; color: var(--dark-muted); border-color: #786487; cursor: default; }
.qr-button { padding: .54rem .65rem; min-height: 44px; min-width: 44px; display: inline-flex; gap: .42rem; align-items: center; border: 1px solid transparent; border-radius: .65rem; background: transparent; color: var(--dark-text); font-size: .83rem; font-weight: 800; }
.qr-button:hover { background: #4b385c; }
.qr-button .glyph { width: 1.15rem; height: 1.15rem; }
.pending-note { width: 100%; color: var(--dark-muted); font-size: .9rem; }
.footer { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; padding-block: 2rem 2.7rem; }
.footer p { color: var(--text-muted); font-size: .95rem; }
.telegram, .legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
.telegram { color: var(--accent); font-weight: 800; }
.telegram:hover { text-decoration: underline; text-underline-offset: .22em; }
.legal { display: flex; align-items: center; gap: .25rem 1.25rem; flex-wrap: wrap; color: var(--text-muted); }

.qr-dialog { background: var(--paper); color: var(--ink); width: min(calc(100% - 2rem), 27rem); max-height: calc(100dvh - 2rem); border-radius: var(--radius); border: 1px solid var(--line); padding: 0; }
.qr-dialog::backdrop { background: rgb(20 12 31 / 70%); }
.dialog-content { position: relative; text-align: center; padding: 3.4rem 1.4rem 1.5rem; }
.dialog-content h2 { font-size: clamp(1.65rem, 6vw, 2.2rem); }
.dialog-content p { color: var(--text-muted); margin-top: .66rem; }
.dialog-content img { margin: 1.15rem auto; width: min(100%, 14rem); height: auto; background: white; border: 1px solid var(--line); border-radius: .8rem; }
.dialog-close { position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 999px; }
.dialog-close:hover { background: var(--paper-accent); }
@media (max-width: 73rem) {
  .download-shell { grid-template-columns: minmax(0, 1fr); }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .hero-inner { min-height: 35rem; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 4.9rem); }
}
@media (max-width: 43rem) {
  .header { min-height: 4.7rem; }
  .header-support { display: none; }
  .header-link { font-size: .88rem; }
  .hero-inner { min-height: 34rem; align-items: flex-start; padding-block: clamp(4.1rem, 15vw, 6rem) 8rem; }
  .hero h1 { font-size: clamp(2.75rem, 10.2vw, 4.3rem); line-height: 1.09; letter-spacing: -.034em; }
  .hero-copy p { max-width: 33ch; }
  .hero-watermark img { object-position: 70% 70%; opacity: .58; }
  .hero::after {
    background: linear-gradient(180deg, var(--paper) 0%, rgb(248 245 251 / 92%) 35%, rgb(248 245 251 / 38%) 73%, var(--paper) 100%);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding-block: 3.65rem; }
  .feature h3 { margin-top: .52rem; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 1.1rem 1.2rem; }
  .plan-price { font-size: 2.65rem; }
  .download-shell { padding: 1.24rem; border-radius: 1.25rem; }
  .download-grid { grid-template-columns: 1fr; }
  .platform { padding: .85rem; }
  .footer { gap: .6rem; }
}
@media (max-width: 23.5rem) {
  .header-actions { gap: .5rem; }
  .brand { font-size: 1.08rem; gap: .45rem; }
  .brand img { width: 35px; height: 35px; }
  .platform-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

