/* BM VPN — типографика: Unbounded для заголовков и цифр, Manrope для текста.
   Единая шкала: 12 · 14 · 16 · 18 · 22 · 30 · 44 · 72 */
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("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: 400 800;
  font-display: swap;
  src: url("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;
}
:root {
  --display: Unbounded, Manrope, system-ui, sans-serif;
  --t-xs: 12px;
  --t-sm: 14px;
  --t-md: 16px;
  --t-lg: 18px;
}
body { font-size: var(--t-md); line-height: 1.6; font-weight: 450; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }

/* заголовки и крупные цифры */
.hero h1, .section-intro h2, .step-heading h3, .sheet h2, .sheet-dlg h2, dialog h2, .inner-card h2,
.plan h3, .ref-card h2, .feature h3, .w-big b, .plan-price b, .success-big, .login-big, .brand {
  font-family: var(--display);
  font-feature-settings: "ss01";
}
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px }
.section-intro h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px }
.section-intro > p:not(.kicker) { font-size: var(--t-lg); max-width: 46ch; line-height: 1.55 }
.step-heading h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15 }
.step-heading p { font-size: var(--t-md) }
.sheet h2, .ref-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em }
.sheet-dlg h2, dialog h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15 }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em }
.w-big b { font-weight: 600; letter-spacing: -.05em; font-size: clamp(56px, 7vw, 84px) }
.w-big span { font-family: var(--sans); font-size: var(--t-lg); font-weight: 600; letter-spacing: 0 }
.plan-price b { font-weight: 600; letter-spacing: -.04em; font-size: clamp(34px, 3.4vw, 44px) }
.plan-price span { font-size: var(--t-sm) }
.success-big { font-weight: 600; letter-spacing: -.035em }
.login-big { font-weight: 600; letter-spacing: -.035em; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08 }
.brand { font-size: 16px; font-weight: 700; letter-spacing: -.01em }

/* текст */
.intro { font-size: var(--t-lg); line-height: 1.6; max-width: 40ch }
.w-sub, .plan-total, .row small, .dev p, .steps p, .ref-card p, .instructions p, .faq details p { font-size: var(--t-sm); line-height: 1.55 }
.note, .w-foot, .lw-qr { font-size: 13px }
.faq summary { font-size: var(--t-md); font-weight: 650 }
.faq details p { font-size: 15px; max-width: 62ch }
.plan-list { font-size: var(--t-sm) }
.row b, .dev strong, .steps b { font-weight: 650 }

/* маленькие подписи: заглавные с разрядкой */
.kicker, .eyebrow, .w-label, .w-chip small, .plan-dev, .plan-badge, .progress li {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.w-label { color: rgba(255, 255, 255, .5) }

/* кнопки и навигация */
.button, .pill { font-size: 15px; font-weight: 650; letter-spacing: -.005em }
.pill.small { font-size: 13.5px }
nav { font-size: var(--t-sm); font-weight: 550 }
.period-btn { font-size: 13.5px; font-weight: 650 }
.w-status { font-size: 12.5px; font-weight: 600 }
.w-chip b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em }

/* галочки вместо эмодзи в списках тарифов */
.plan-list li { position: relative; padding-left: 26px }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(215, 250, 85, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%23d7fa55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* преимущества на главной */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-block: 8px 30px }
.feature {
  position: relative; padding: 24px 22px 22px; border-radius: 26px; border: 1px solid var(--glass-line);
  background: linear-gradient(160deg, rgba(32, 35, 33, .8), rgba(17, 19, 18, .72)); box-shadow: var(--raised);
  transition: transform .45s var(--ease), border-color .3s; animation: rise .7s var(--ease) backwards;
}
.feature:nth-child(2) { animation-delay: .06s } .feature:nth-child(3) { animation-delay: .12s } .feature:nth-child(4) { animation-delay: .18s }
.feature:hover { transform: translateY(-4px); border-color: rgba(215, 250, 85, .3) }
.f-ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; color: var(--acid);
  background: linear-gradient(160deg, #272a28, #131514); box-shadow: 0 0 30px -10px rgba(215, 250, 85, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.f-ico svg { width: 26px; height: 26px }
.f-ico img { width: 52px; height: 52px; object-fit: contain }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25 }
.feature p { color: var(--muted); font-size: var(--t-sm); line-height: 1.55 }

@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(34px, 9.4vw, 48px) }
  .intro { font-size: var(--t-md) }
  .section-intro h2 { font-size: 28px }
  .section-intro > p:not(.kicker) { font-size: var(--t-md) }
  .features { grid-template-columns: 1fr 1fr; gap: 10px }
  .feature { padding: 18px 16px; border-radius: 22px }
  .f-ico { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px }
  .feature h3 { font-size: 14.5px }
  .feature p { font-size: 13px }
  .w-big b { font-size: 60px }
}
@media (max-width: 340px) { .features { grid-template-columns: 1fr } }

/* вопросы: «＋» справа вместо треугольника */
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%23d7fa55' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(215, 250, 85, .12) }
.faq summary:hover::after { background-color: rgba(255, 255, 255, .1) }

/* 3D-иконки (сгенерированы в Figma) */
.f-ico.f-img {
  width: 76px; height: 76px; margin-bottom: 18px; border-radius: 22px; overflow: hidden; background: #181a19;
  box-shadow: 0 0 36px -12px rgba(215, 250, 85, .6), 0 10px 24px -12px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.f-ico.f-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .5s var(--ease) }
.feature:hover .f-img img { transform: scale(1.28) rotate(-3deg) }
.ref-gift { width: 68px; height: 68px; overflow: hidden; border-radius: 20px; background: #181a19; box-shadow: 0 14px 30px -12px rgba(21, 23, 19, .7) }
.ref-gift img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) }
@media (max-width: 700px) {
  .f-ico.f-img { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 12px }
  .ref-gift { width: 56px; height: 56px; border-radius: 16px }
}

/* ===== удобство: крупнее подписи, понятнее элементы ===== */
:root { --muted: #a9afa6 }
.kicker, .eyebrow, .w-label, .w-chip small, .plan-dev, .plan-badge { font-size: 12.5px; letter-spacing: .05em }
.w-sub, .plan-total, .row small, .dev p, .steps p, .ref-card p, .faq details p, .feature p, .how-steps p { font-size: 15px }
.note, .w-foot { font-size: 14px }
.plan-list { font-size: 15px }
.period-btn { font-size: 14.5px }
.dev-del { width: 42px; height: 42px; font-size: 22px }
.link-btn { font-size: 14.5px; text-align: left; line-height: 1.45 }
.w-top .pill.small { color: rgba(255, 255, 255, .8) }

/* как начать */
.how { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); gap: 16px; align-items: stretch }
.how-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px }
.how-steps li {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 24px; border: 1px solid var(--glass-line);
  background: linear-gradient(160deg, rgba(32, 35, 33, .8), rgba(17, 19, 18, .72)); box-shadow: var(--raised);
}
.how-n {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--acid); color: var(--dark);
  font-family: var(--display); font-weight: 700; font-size: 18px; box-shadow: 0 0 26px -6px rgba(215, 250, 85, .7);
}
.how-steps h3 { margin: 0 0 4px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25 }
.how-steps p { color: var(--muted) }
.how-side {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 22px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--glass-line); background: radial-gradient(80% 60% at 50% 40%, rgba(215, 250, 85, .18), transparent 70%), linear-gradient(160deg, var(--g1), var(--g3));
  box-shadow: var(--raised); min-height: 340px;
}
.how-side img { position: absolute; inset: 10px 0 80px; width: 100%; height: calc(100% - 90px); object-fit: contain }
.how-side .button { position: relative; width: 100%; min-height: 54px; font-size: 16px }

/* помощь */
.help-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 30px;
  border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(32, 35, 33, .8), rgba(17, 19, 18, .72)); box-shadow: var(--raised);
}
.help-card h2 { margin: 0 0 4px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em }
.help-card p { color: var(--muted); font-size: 15px }

/* что будет после заявки */
.next-steps { margin: 12px 0 4px; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 10px }
.next-steps li { position: relative; padding-left: 38px; color: var(--ink); font-size: 15px; line-height: 1.45; counter-increment: n }
.next-steps li::before {
  content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--acid); color: var(--dark); font-size: 13px; font-weight: 800;
}
#checkout-text { color: var(--ink) !important; font-size: 17px; font-weight: 600 }

/* нижнее меню с подписями */
@media (max-width: 700px) {
  .tabbar a, .tabbar button { width: 74px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 22px }
  .tabbar span { font-size: 11px; font-weight: 650; line-height: 1 }
  .tabbar svg { width: 20px; height: 20px }
  .how { grid-template-columns: 1fr }
  .how-side { min-height: 300px }
  .how-steps li { padding: 18px; gap: 14px }
  .help-card { grid-template-columns: 1fr; padding: 20px }
  .help-card .pill { width: 100% }
  .w-top .pill.small span, .w-top .pill.small { font-size: 13px }
}

.this-dev { display: inline-block; margin: 2px 0 2px; padding: 2px 8px; border-radius: 999px; background: var(--acid); color: var(--dark); font-size: 11.5px; font-style: normal; font-weight: 750 }
