/* Не плачь VPN — сайт. Цвета как у баннера бота: серый «холст» + джинсовый синий. */
:root {
  --bg: #DBDBDB;
  --ink: #1B3A6B;
  --ink-2: #3E5F8F;
  --ink-3: #6A7F9E;
  --accent: #2F6DB5;
  --accent-2: #23579B;
  --card: rgba(255, 255, 255, .6);
  --card-strong: rgba(255, 255, 255, .85);
  --card-line: rgba(255, 255, 255, .75);
  --line: rgba(27, 58, 107, .14);
  --radius: 24px;
  --grad: linear-gradient(135deg, #3C7CC8, #23579B);
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: 800 17px/1.2 var(--body); color: #fff; text-decoration: none; white-space: nowrap;
  background: var(--grad); box-shadow: 0 10px 24px rgba(35, 87, 155, .32);
  outline: 2px dashed rgba(255, 255, 255, .7); outline-offset: -7px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(35, 87, 155, .42); }
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(27, 58, 107, .35); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sm { padding: 10px 18px; font-size: 15px; outline-offset: -6px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-lg { padding: 18px 34px; font-size: 20px; outline-offset: -8px; }
.btn-lg svg { width: 26px; height: 26px; }
.btn-white { background: #fff; color: var(--accent-2); outline-color: rgba(47, 109, 181, .35); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(219, 219, 219, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px; flex: none;
  font: 800 19px/1 var(--head); letter-spacing: -.3px; color: var(--ink); text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--accent); }

/* ---------- первый экран ---------- */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 40px; }
.hero-art { justify-self: center; width: min(400px, 100%); }
.hero-art img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.hero h1 { margin: 0; font: 800 clamp(44px, 6.6vw, 78px)/1.02 var(--head); letter-spacing: -1.5px; }
.hero h1 span { color: var(--accent); }
.slogan { margin: 18px 0 0; display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; }
.slogan svg { width: 22px; height: 30px; flex: none; }
.lead { margin: 12px 0 0; max-width: 520px; font-size: 18px; font-weight: 600; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 700; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.note { font-size: 15px; font-weight: 700; color: var(--ink-3); }

/* ---------- секции ---------- */
section { padding: 52px 0; }
.h2 { margin: 0; font: 800 clamp(28px, 3.6vw, 42px)/1.12 var(--head); letter-spacing: -.8px; }
.sub { margin: 10px 0 0; max-width: 640px; font-size: 18px; font-weight: 600; color: var(--ink-2); }
.grid { display: grid; gap: 16px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.card p { margin: 0; font-size: 16px; color: var(--ink-2); }
.ico {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(35, 87, 155, .25);
}
.ico svg { width: 24px; height: 24px; }
.features { grid-template-columns: repeat(3, 1fr); }

/* ---------- цены ---------- */
.offers { grid-template-columns: repeat(2, 1fr); }
.offer { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.offer .big { font: 800 40px/1 var(--head); letter-spacing: -1px; white-space: nowrap; }
.offer .big s { margin-left: 6px; font: 700 20px/1 var(--body); letter-spacing: 0; color: var(--ink-3); }
.offer .t { font-size: 18px; font-weight: 800; }
.offer .d { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.plans { grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.plan { position: relative; text-align: center; padding: 30px 18px 26px; }
.plan .per { font-size: 17px; font-weight: 800; color: var(--ink-2); }
.plan .price { margin: 8px 0 4px; font: 800 40px/1 var(--head); letter-spacing: -1px; }
.plan .pm { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.plan.best {
  background: linear-gradient(160deg, #3C7CC8, #23579B); color: #fff; border-color: transparent;
  outline: 2px dashed rgba(255, 255, 255, .55); outline-offset: -9px; box-shadow: 0 14px 30px rgba(35, 87, 155, .3);
}
.plan.best .per, .plan.best .pm { color: rgba(255, 255, 255, .88); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--accent-2);
  font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 10px rgba(27, 58, 107, .15);
}
.incl { margin-top: 16px; }
.incl-title { font-size: 18px; font-weight: 800; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.topup { margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px !important; }
.center { text-align: center; margin-top: 32px; }

/* ---------- как подключить ---------- */
.steps { grid-template-columns: repeat(3, 1fr); }
.num {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--accent); font: 800 22px/1 var(--head);
  outline: 2px dashed rgba(47, 109, 181, .45); outline-offset: -6px;
}
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; padding: 18px 24px; }
.apps b { font-size: 16px; }
.apps .tag { background: #fff; }

/* ---------- вопросы ---------- */
.faq { max-width: 840px; margin-top: 28px; }
details { margin-bottom: 10px; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; }
summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 56px 18px 22px; font-size: 17px; font-weight: 800;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
details p { margin: 0; padding: 0 22px 18px; color: var(--ink-2); }

/* ---------- финальный призыв ---------- */
.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px 48px; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #2F6DB5, #1B3F73);
  outline: 2px dashed rgba(255, 255, 255, .35); outline-offset: -12px;
  box-shadow: 0 18px 40px rgba(27, 63, 115, .3);
}
.band .h2 { color: #fff; }
.band p { margin: 10px 0 0; font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, .85); }

/* ---------- подвал ---------- */
footer { padding: 8px 0 48px; font-size: 15px; color: var(--ink-2); }
footer .wrap > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }

/* ---------- документы ---------- */
.doc { padding: 24px 0 64px; }
.doc article {
  max-width: 860px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 56px);
  background: var(--card-strong); border-radius: var(--radius);
}
.doc h1 { margin: 0 0 6px; font: 800 clamp(19px, 5.2vw, 30px)/1.25 var(--head); letter-spacing: -.4px; overflow-wrap: break-word; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 800; }
.doc p, .doc li { font-size: 16px; color: #2A4166; }
.doc ul { padding-left: 22px; }
.back { display: inline-block; margin: 0 0 16px; font-weight: 800; text-decoration: none; }

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { padding-top: 8px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .hero-art { width: min(230px, 60vw); }
  .slogan, .tags, .cta-row { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .features, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr; }
  .plans { row-gap: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 44px 0; }
  .top .wrap { gap: 12px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .features, .steps, .checks { grid-template-columns: 1fr; }
  .offer { flex-direction: column; align-items: flex-start; padding: 20px 22px; gap: 10px; }
  .band .btn { width: 100%; padding: 16px 18px; font-size: 17px; }
  .band .btn svg { width: 22px; height: 22px; }
  .offer .big, .plan .price { font-size: 32px; }
  .plan { padding: 26px 12px 22px; }
  .band { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-row .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
