/* BlooVPN — site styles */
@property --rim { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #060b1a;
  --bg-2: #0a1126;
  --panel: #0c142c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef2ff;
  --muted: #a7b1cc;
  --dim: #7f8aa8;
  --cyan: #5ce1ff;
  --blue: #3b7bff;
  --violet: #a98bff;
  --pink: #ff9fd0;
  --green: #4ade9a;
  --amber: #ffc857;
  --red: #ff6b81;
  --grad: linear-gradient(92deg, #5ce1ff 0%, #8fa2ff 45%, #e6a3ff 100%);
  --rim-grad: conic-gradient(from var(--rim), #5ce1ff, #2f6bff 25%, #a98bff 50%, #ff9fd0 72%, #5ce1ff);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 20px;
  --r-lg: 28px;
  --head: 'Unbounded', system-ui, sans-serif;
  --body: 'Onest', system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--panel); border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* type */
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }
.sec-head.center { text-align: center; justify-items: center; }

/* buttons */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; white-space: nowrap;
  font: 600 16px/1 var(--body); color: #fff; isolation: isolate;
  border: 1.5px solid transparent;
  background: linear-gradient(#0e1730, #0e1730) padding-box, var(--rim-grad) border-box;
  box-shadow: inset 0 1px #ffffff1a, 0 8px 28px -10px #5ce1ffa6;
  animation: rim 4s linear infinite;
  transition: transform .14s var(--ease), filter .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { filter: brightness(1.15); box-shadow: inset 0 1px #ffffff1f, 0 12px 36px -8px #5ce1ffd9; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); animation: none; box-shadow: none; }
.btn--ghost:hover { border-color: #5ce1ff80; box-shadow: none; }
.btn--solid { background: var(--grad); color: #071026; animation: none; border: 0; box-shadow: 0 10px 30px -10px #8fa2ffcc; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
@keyframes rim { to { --rim: 360deg; } }

/* header */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(7, 12, 30, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.header.scrolled { background: rgba(7, 12, 30, .86); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--head); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 700; color: var(--cyan); }
.nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s var(--ease), background .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); background: rgba(255, 255, 255, .09); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(calc(100vh - var(--header-h) - 60px), 700px); display: flex; align-items: center; padding: 56px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 11, 26, .92) 28%, rgba(6, 11, 26, .35) 55%, rgba(6, 11, 26, 0) 75%),
    linear-gradient(180deg, rgba(6, 11, 26, 0) 0%, rgba(6, 11, 26, 0) 50%, rgba(6, 11, 26, .75) 80%, var(--bg) 100%); }
.hero-copy { display: grid; gap: 24px; max-width: 600px; }
.hero-copy .lead { max-width: 34em; }
.alt-link { font-size: 14.5px; color: var(--muted); }
.alt-link a { color: var(--cyan); }
.alt-link a:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(12, 20, 44, .7); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); backdrop-filter: blur(8px); }
.fact b { color: var(--text); font-weight: 600; }
.fact svg { width: 16px; height: 16px; color: var(--cyan); }

.page-hero { min-height: min(56vh, 500px); }
.page-hero .hero-bg img { object-position: 80% 50%; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding-top: 24px; }
.glow-bg::before { content: ''; position: absolute; inset: -220px 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  background: radial-gradient(640px 420px at 15% 45%, rgba(59, 123, 255, .10), transparent 70%), radial-gradient(560px 420px at 85% 60%, rgba(169, 139, 255, .09), transparent 70%); }

.card { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: var(--line-2); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(92, 225, 255, .08); border: 1px solid rgba(92, 225, 255, .22); color: var(--cyan); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }

/* locations / globe */
.geo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; }
.geo-copy { display: grid; gap: 22px; position: relative; z-index: 2; }
.geo-visual { position: relative; margin-right: calc((100vw - min(100vw, calc(var(--wrap) + var(--pad) * 2))) / -2 - var(--pad)); }
.geo-visual::before { content: ''; position: absolute; inset: 8% 22% 12% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 225, 255, .22), transparent); filter: blur(30px); animation: breathe 6s var(--ease) infinite alternate; }
.geo-visual img { position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.pulse { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #bff4ff; box-shadow: 0 0 12px 3px rgba(92, 225, 255, .9); pointer-events: none; }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(92, 225, 255, .8); animation: ping 2.6s var(--ease) infinite; animation-delay: inherit; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.chip:hover { color: var(--text); border-color: #5ce1ff66; background: rgba(92, 225, 255, .06); }
.flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento .feature { grid-column: span 5; grid-row: span 2; position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; }
.bento .feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.bento .feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 26, 0) 30%, rgba(6, 11, 26, .92) 78%); }
.bento .feature .feature-copy { position: relative; z-index: 1; padding: 28px; display: grid; gap: 10px; }
.bento .feature h3 { font-size: 26px; }
.bento > .card:not(.feature) { grid-column: span 7; }
.bento .half { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento .half .card { grid-column: auto; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* tariffs */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; }
.plan .name { font: 600 16px/1.2 var(--head); color: var(--muted); }
.plan .price { font: 700 40px/1 var(--head); letter-spacing: -.03em; margin-top: 14px; }
.plan .price small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.plan .per { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); min-height: 26px; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--green); background: rgba(74, 222, 154, .1); border: 1px solid rgba(74, 222, 154, .25); }
.plan ul { list-style: none; padding: 18px 0 0; margin: 14px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.plan .btn { margin-top: auto; }
.plan--best { border-color: transparent; background: linear-gradient(#0d1531, #0d1531) padding-box, var(--rim-grad) border-box; border: 1.5px solid transparent; animation: rim 6s linear infinite; box-shadow: 0 20px 60px -30px #8fa2ff; }
.plan--best .tag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--grad); color: #071026; }
.plans-note { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 15px; }
.plans-note span { display: inline-flex; align-items: center; gap: 8px; }
.plans-note svg { width: 18px; height: 18px; color: var(--cyan); }

.plans-feats { display: none; }
@media (max-width: 600px) {
  .plans-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }
  .plans-feats li { display: flex; gap: 8px; align-items: center; }
  .plans-feats svg { width: 16px; height: 16px; color: var(--green); flex: none; }
  .plans { gap: 12px; }
  .plan { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name btn" "price btn" "per btn"; gap: 2px 14px; align-items: center; padding: 18px; }
  .plan ul { display: none; }
  .plan .name { grid-area: name; font-size: 14px; }
  .plan .price { grid-area: price; font-size: 30px; margin-top: 4px; }
  .plan .per { grid-area: per; font-size: 13.5px; }
  .plan .btn { grid-area: btn; width: auto; margin: 0; --h: 44px; padding: 0 18px; font-size: 14.5px; }
  .plan--best .tag { left: 18px; }
}

/* steps */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 20px; }
.steps li::before { counter-increment: s; content: counter(s); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 700 20px/1 var(--head); background: rgba(92, 225, 255, .08); border: 1px solid rgba(92, 225, 255, .25); color: var(--cyan); }
.steps p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.phone-visual { position: relative; display: grid; place-items: center; }
.phone-visual::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 225, 255, .2), transparent); filter: blur(20px); }
.phone-visual img { position: relative; width: min(420px, 86%); }

/* faq */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .045); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235ce1ff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .answer a { color: var(--cyan); }

/* cta */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 380px; display: flex; align-items: center; padding: 56px; border: 1px solid var(--line); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -1; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 11, 26, .95) 0%, rgba(6, 11, 26, .75) 40%, rgba(6, 11, 26, 0) 70%); }
.cta-copy { display: grid; gap: 18px; max-width: 480px; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 32px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font: 600 14px/1 var(--head); color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer .brand { margin-bottom: 14px; color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* status page */
.status-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.status-banner__main { min-width: 0; display: grid; gap: 6px; }
.status-banner h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.status-banner__note { font-size: 14px; max-width: 52ch; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.ok { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.warn { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.dot.down { background: var(--red); box-shadow: 0 0 10px var(--red); }
.bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; margin: 18px 0 10px; }
.bars i { height: 34px; border-radius: 5px; background: rgba(255, 255, 255, .08); transition: transform .2s var(--ease); }
.bars i:hover { transform: scaleY(1.12); }
.bars i.ok { background: rgba(74, 222, 154, .75); } .bars i.warn { background: rgba(255, 200, 87, .8); } .bars i.down { background: rgba(255, 107, 129, .8); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filters .search { flex: 1 1 240px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); font: inherit; }
.filters .search::placeholder { color: var(--dim); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.seg button { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.seg button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
.loc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.loc { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); scroll-margin-top: 120px; }
.loc:target { border-color: var(--cyan); }
.loc .nm { font-weight: 600; }
.loc .ping { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.loc .mini { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.loc .mini i { height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.loc .mini i.ok { background: rgba(74, 222, 154, .6); } .loc .mini i.warn { background: rgba(255, 200, 87, .7); } .loc .mini i.down { background: rgba(255, 107, 129, .7); }
.empty { text-align: center; padding: 48px 24px; display: grid; justify-items: center; gap: 12px; }
.empty img { width: 140px; }

/* connect page */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 500; color: var(--muted); transition: all .2s var(--ease); }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-color: #5ce1ff80; background: rgba(92, 225, 255, .08); }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.howto .card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.howto .num { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font: 700 17px/1 var(--head); color: var(--cyan); background: rgba(92, 225, 255, .08); border: 1px solid rgba(92, 225, 255, .25); }
.downloads { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* info / legal */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--cyan); }
.prose mark { background: rgba(255, 200, 87, .14); color: var(--amber); padding: 0 4px; border-radius: 4px; font-size: .9em; }
.tbl { overflow-x: auto; margin: 12px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { color: var(--text); font-weight: 600; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; padding: 12px 20px; border-radius: 14px; background: #121c3a; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px #000; transition: all .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento .feature, .bento .half, .bento > .card:not(.feature) { grid-column: span 12; }
  .bento .feature { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { position: fixed; top: var(--header-h); left: 12px; right: 12px; flex-direction: column; padding: 8px; border-radius: 20px; background: rgba(10, 17, 38, .97); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .25s var(--ease); }
  .nav a { padding: 14px 16px; font-size: 16px; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: grid; }
  .header-cta .btn { --h: 42px; padding: 0 16px; font-size: 14px; }
  .geo, .steps-grid { grid-template-columns: 1fr; }
  .geo-visual { order: -1; margin: 0 calc(var(--pad) * -1); }
  .phone-visual { order: -1; }
  .grid-3, .howto, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 270px; align-items: flex-end; }
  .hero-bg img { object-position: 78% 0; height: 70%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(6, 11, 26, .2) 0%, rgba(6, 11, 26, .1) 30%, rgba(6, 11, 26, .85) 55%, var(--bg) 70%); }
  .page-hero { padding-top: 180px; }
  .page-hero .hero-bg img { height: 60%; object-position: 80% 0; }
  .cta { padding: 220px 24px 32px; align-items: flex-end; }
  .cta > img { height: 60%; object-position: 70% 0; }
  .cta::before { background: linear-gradient(180deg, rgba(6, 11, 26, 0) 25%, rgba(6, 11, 26, .95) 60%); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .footer-grid, .grid-4 { grid-template-columns: 1fr; }
  .bento .half { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .status-banner { flex-direction: column; align-items: flex-start; }
  .brand span.long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* add.html — подключение подписки */
.add-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.add-hero img { width: 130px; flex: none; filter: drop-shadow(0 14px 30px rgba(92, 225, 255, .3)); }
.add-steps { display: grid; gap: 14px; margin-top: 4px; }
.add-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.add-step .num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 700 20px/1 var(--head); color: var(--cyan); background: rgba(92, 225, 255, .08); border: 1px solid rgba(92, 225, 255, .25); }
.add-step--main { border-color: rgba(92, 225, 255, .35); background: linear-gradient(180deg, rgba(92, 225, 255, .07), rgba(255, 255, 255, .015)); }
.add-step .downloads { margin-top: 16px; }
.add-step .btn svg { width: 18px; height: 18px; }
.add-help { margin-top: 14px; }
.add-help summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.add-help summary::-webkit-details-marker { display: none; }
.add-help summary svg { width: 20px; height: 20px; color: var(--violet); }
.add-help ol { margin: 14px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 600px) { .add-hero { flex-direction: column; text-align: center; } .add-hero img { width: 110px; } .add-step { grid-template-columns: 1fr; } }

.sub-info { margin-bottom: 18px; display: grid; gap: 16px; }
.sub-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill-ok { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--green); background: rgba(74, 222, 154, .1); border: 1px solid rgba(74, 222, 154, .25); }
.pill-ok i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sub-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sub-stats div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); display: grid; gap: 4px; }
.sub-stats b { font: 700 18px/1.2 var(--head); }
.sub-stats span { font-size: 13px; color: var(--muted); }
.sub-info details summary { cursor: pointer; font-weight: 600; color: var(--muted); }
@media (max-width: 600px) { .sub-stats { grid-template-columns: 1fr 1fr; } }
