/* ==========================================================================
   SDKV VPN — единые стили публичного сайта.
   Цвета бренда: чёрный фон + оранжевый градиент #ff8a1e → #ff5c33.
   ========================================================================== */

:root{
  --bg:#000;
  --bg-elev:#0a0a0a;
  --card:#111112;
  --card-2:#0b0b0c;
  --line:rgba(255,255,255,.08);
  --line-hi:rgba(255,255,255,.15);
  --text-hi:#f5f5f7;
  --text-mid:#a1a1a6;
  --text-lo:#6e6e73;
  --orange-1:#ff8a1e;
  --orange-2:#ff5c33;
  --orange-soft:rgba(255,124,30,.12);
  --orange-line:rgba(255,138,30,.42);
  --grad:linear-gradient(135deg,var(--orange-1),var(--orange-2));
  --green:#4ade80;
  --green-soft:rgba(74,222,128,.10);
  --red:#ff6b6b;
  --red-soft:rgba(255,107,107,.09);
  --amber:#ffb454;
  --radius:20px;
  --radius-sm:14px;
  --shadow-orange:0 16px 36px -14px rgba(255,110,40,.6);
  --font:'Inter',-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',sans-serif;
  --display:'Unbounded','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; padding:0; -webkit-font-smoothing:antialiased; }
html{ overflow-x:hidden; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  background:var(--bg); color:var(--text-hi); font-family:var(--font);
  line-height:1.55; min-height:100vh; display:flex; flex-direction:column;
  overflow-x:hidden;
}
main{ flex:1 0 auto; position:relative; z-index:1; }
a{ color:inherit; text-decoration:none; }
img,svg{ max-width:100%; display:block; }
ul,ol{ list-style:none; }
button,input{ font:inherit; color:inherit; }
[hidden]{ display:none !important; }
::selection{ background:rgba(255,138,30,.35); }
:focus-visible{ outline:2px solid var(--orange-1); outline-offset:3px; border-radius:6px; }

.skip-link{
  position:fixed; left:12px; top:-60px; z-index:100; padding:10px 16px; border-radius:100px;
  background:var(--grad); color:#0a0a0a; font-weight:700; font-size:14px; transition:top .2s ease;
}
.skip-link:focus{ top:12px; outline-offset:2px; }

.container{ max-width:1080px; margin:0 auto; padding:0 24px; }
.container-narrow{ max-width:740px; margin:0 auto; padding:0 24px; }
section{ position:relative; z-index:1; padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-elev{ background:var(--bg-elev); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.center{ text-align:center; justify-content:center; }

/* фон */
.glow-top{
  position:fixed; z-index:0; pointer-events:none; width:1200px; height:860px; left:50%; top:-6%;
  transform:translateX(-50%);
  background:radial-gradient(ellipse 50% 45% at 50% 0%,rgba(255,138,30,.14) 0%,transparent 65%);
}

/* ---------- меню ---------- */
.nav{
  position:sticky; top:0; z-index:50; padding:14px 24px;
  background:rgba(0,0,0,.72); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid transparent; transition:border-color .2s ease;
}
.nav.scrolled,.nav.open{ border-bottom-color:var(--line); }
.nav-inner{ max-width:1080px; margin:0 auto; display:flex; align-items:center; gap:28px; }
.brand{ display:inline-flex; align-items:center; gap:9px; }
.brand svg{ width:22px; height:22px; }
.brand span{ font-weight:700; font-size:15.5px; letter-spacing:-.01em; }
.brand b,.grad-text{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nav-links{ display:flex; align-items:center; gap:6px; margin-left:auto; }
.nav-links a{
  font-size:14px; font-weight:500; color:var(--text-mid); padding:8px 14px; border-radius:100px;
  transition:color .2s ease, background .2s ease;
}
.nav-links a:hover{ color:var(--text-hi); background:rgba(255,255,255,.05); }
.nav-links a.active{ color:var(--text-hi); background:rgba(255,255,255,.07); }
.nav-cta{
  display:inline-flex; align-items:center; justify-content:center; min-width:92px; padding:9px 18px;
  border-radius:100px; background:var(--grad); color:#0a0a0a; font-weight:700; font-size:13.5px;
  box-shadow:0 10px 24px -12px rgba(255,110,40,.6); white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.nav-cta:hover{ transform:translateY(-1px); filter:brightness(1.06); box-shadow:0 14px 28px -12px rgba(255,110,40,.75); }
.menu-btn{
  display:none; width:40px; height:40px; align-items:center; justify-content:center; flex-shrink:0;
  background:rgba(255,255,255,.04); border:1px solid var(--line-hi); border-radius:12px; cursor:pointer;
}
.menu-btn svg{ width:20px; height:20px; }
.menu-btn .i-close,.nav.open .menu-btn .i-open{ display:none; }
.nav.open .menu-btn .i-close{ display:inline; }

/* ---------- кнопки ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px;
  border-radius:100px; border:0; cursor:pointer; font-weight:700; font-size:15px; letter-spacing:-.005em;
  line-height:1.2; text-align:center; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-primary{ background:var(--grad); color:#0a0a0a; box-shadow:0 1px 0 rgba(255,255,255,.25) inset, var(--shadow-orange); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 20px 40px -14px rgba(255,110,40,.75); }
.btn-ghost{ background:rgba(255,255,255,.04); border:1px solid var(--line-hi); color:var(--text-hi); }
.btn-ghost:hover{ background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-danger{ background:var(--red-soft); border:1px solid rgba(255,107,107,.25); color:#ff9a9a; }
.btn-sm{ padding:10px 16px; font-size:13.5px; }
.btn-block{ width:100%; }
.btn:disabled,.btn.is-loading{ opacity:.55; cursor:not-allowed; transform:none; }
.btn.is-done{ background:var(--green-soft); border:1px solid rgba(74,222,128,.3); color:#86efac; box-shadow:none; }
.btn-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }

/* ---------- типографика ---------- */
.eyebrow{
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:14px;
}
h1,h2,h3{ letter-spacing:-.02em; line-height:1.12; }
.lead{ color:var(--text-mid); font-size:16px; line-height:1.65; }
.muted{ color:var(--text-mid); }
.hint{ font-size:12.5px; color:var(--text-lo); line-height:1.6; margin-top:14px; }

.hero{ padding:84px 0 40px; position:relative; z-index:1; }
.hero-sm{ padding:64px 0 20px; text-align:center; }
.hero-sm h1{ font-size:clamp(32px,5.2vw,48px); font-weight:800; letter-spacing:-.03em; margin-bottom:14px; }
.hero-sm .lead{ max-width:560px; margin:0 auto; }

.section-head{ text-align:center; max-width:640px; margin:0 auto 52px; }
.section-head h2{ font-weight:800; font-size:clamp(28px,4.2vw,40px); letter-spacing:-.025em; margin-bottom:14px; }
.section-head p{ color:var(--text-mid); font-size:16px; line-height:1.65; }

/* ---------- главная: hero ---------- */
.hero-grid{ max-width:1080px; margin:0 auto; padding:0 24px; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:100px; margin-bottom:22px;
  background:var(--orange-soft); border:1px solid rgba(255,138,30,.25); color:#ffb066; font-size:12.5px; font-weight:600;
}
.hero-badge i{ width:7px; height:7px; border-radius:50%; background:var(--orange-1); box-shadow:0 0 12px rgba(255,138,30,.9); }
.hero h1{ font-weight:800; font-size:clamp(38px,6vw,64px); line-height:1.04; letter-spacing:-.035em; margin-bottom:22px; }
.hero .sub{ font-size:18px; color:var(--text-mid); max-width:520px; line-height:1.6; margin-bottom:32px; }
.hero-points{ display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:28px; }
.hero-points li{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-mid); }
.hero-points svg{ width:15px; height:15px; color:var(--orange-1); flex-shrink:0; }

@keyframes ring{ 0%{ transform:scale(.8); opacity:.9; } 100%{ transform:scale(1.35); opacity:0; } }
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.45; } }

/* ---------- карточки ---------- */
.grid{ display:grid; gap:20px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.card{
  background:linear-gradient(180deg,var(--card),var(--card-2)); border:1px solid var(--line);
  border-radius:var(--radius); padding:28px 26px;
}
.feature{ transition:border-color .25s ease, transform .25s ease; }
.feature:hover{ border-color:var(--line-hi); transform:translateY(-3px); }
.card-icon{ width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:var(--orange-soft); border:1px solid rgba(255,138,30,.16); margin-bottom:18px; color:var(--orange-1); }
.card-icon svg{ width:22px; height:22px; }
.card h3{ font-size:17px; font-weight:700; margin-bottom:8px; }
.card p{ font-size:14.5px; color:var(--text-mid); line-height:1.65; }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset:step; }
.step{ position:relative; padding:26px; border-radius:var(--radius); border:1px solid var(--line); background:rgba(255,255,255,.02); }
.step-num{ width:36px; height:36px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:14px; color:var(--orange-1); border:1px solid rgba(255,138,30,.4); background:var(--orange-soft); margin-bottom:16px; }
.step h3{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
.step p{ font-size:14.5px; color:var(--text-mid); line-height:1.65; }

.platform-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.platform-row.left{ justify-content:flex-start; }
.platform-chip{
  display:inline-flex; align-items:center; gap:9px; padding:11px 18px; border-radius:100px;
  background:var(--card); border:1px solid var(--line); font-size:14px; font-weight:500;
  transition:border-color .2s ease, background .2s ease;
}
a.platform-chip:hover{ border-color:var(--orange-line); background:#17130f; }
.platform-chip svg{ width:17px; height:17px; color:var(--orange-1); }

/* ---------- тарифы ---------- */
.price-grid{ display:grid; gap:20px; align-items:stretch; grid-template-columns:repeat(3,1fr); }
.price-grid.n2{ grid-template-columns:repeat(2,1fr); max-width:720px; margin:0 auto; }
.price-grid.n1{ grid-template-columns:minmax(0,360px); justify-content:center; }
.price-grid.n4{ grid-template-columns:repeat(4,1fr); }
.price-card{
  position:relative; display:flex; flex-direction:column; text-align:center; padding:34px 26px 28px;
  background:linear-gradient(180deg,var(--card),var(--card-2)); border:1px solid var(--line); border-radius:var(--radius);
  transition:border-color .25s ease, transform .25s ease;
}
.price-card:hover{ transform:translateY(-4px); border-color:var(--line-hi); }
.price-card.featured{ border-color:var(--orange-line); box-shadow:0 30px 60px -30px rgba(255,110,40,.4); }
.price-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--grad); color:#0a0a0a;
  font-size:11.5px; font-weight:800; padding:5px 14px; border-radius:100px; white-space:nowrap;
}
.price-period{ font-size:13.5px; color:var(--text-mid); font-weight:700; margin-bottom:14px; }
.price-amount{ font-size:44px; font-weight:800; letter-spacing:-.03em; line-height:1; margin-bottom:8px; white-space:nowrap; }
.price-per-month{ font-size:13.5px; color:var(--text-mid); margin-bottom:14px; }
.price-save{ display:inline-block; align-self:center; font-size:12px; font-weight:700; color:#86efac; background:var(--green-soft); border:1px solid rgba(74,222,128,.2); padding:4px 10px; border-radius:100px; margin-bottom:20px; }
.price-spacer{ height:26px; margin-bottom:20px; }
.price-features{ text-align:left; margin:4px 0 24px; border-top:1px solid var(--line); padding-top:14px; }
.price-features li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-mid); padding:6px 0; }
.price-features svg{ width:16px; height:16px; margin-top:3px; color:var(--orange-1); flex-shrink:0; }
.price-actions{ display:grid; gap:10px; margin-top:auto; }
.price-card .btn{ width:100%; white-space:nowrap; }

.trial-strip{
  display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; padding:24px 28px;
  border-radius:var(--radius); border:1px dashed var(--orange-line); background:linear-gradient(90deg,rgba(255,138,30,.07),transparent);
}
.trial-strip h3{ font-size:18px; font-weight:700; margin-bottom:4px; }
.trial-strip p{ color:var(--text-mid); font-size:14.5px; }
.trial-strip .btn{ flex-shrink:0; }
.pay-note{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin-top:36px; font-size:13.5px; color:var(--text-lo); }
.pay-note span{ display:inline-flex; align-items:center; gap:7px; }
.pay-note svg{ width:15px; height:15px; color:var(--orange-1); }
.guest-note{ text-align:center; margin-top:24px; font-size:13.5px; color:var(--text-mid); }
.guest-note a{ color:var(--orange-1); font-weight:600; }
.guest-note a:hover{ text-decoration:underline; }

/* ---------- FAQ ---------- */
.faq-list{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  display:flex; align-items:center; justify-content:space-between; gap:18px; cursor:pointer; list-style:none;
  padding:22px 0; font-size:16.5px; font-weight:600; letter-spacing:-.005em;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color:#fff; }
.plus{ position:relative; width:22px; height:22px; flex-shrink:0; }
.plus::before,.plus::after{ content:''; position:absolute; background:var(--orange-1); border-radius:2px; transition:transform .25s ease, opacity .25s ease; }
.plus::before{ width:14px; height:2px; top:10px; left:4px; }
.plus::after{ width:2px; height:14px; top:4px; left:10px; }
.faq-item[open] .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ padding:0 0 24px; max-width:640px; color:var(--text-mid); font-size:15px; line-height:1.75; }
.faq-a p + p{ margin-top:10px; }
.faq-a a:not(.platform-chip){ color:var(--orange-1); }
.faq-a .platform-row{ margin-top:16px; }

.cta-band{
  max-width:900px; margin:0 auto; padding:60px 40px; text-align:center; border-radius:28px; position:relative; overflow:hidden;
  background:linear-gradient(180deg,var(--card),var(--card-2)); border:1px solid var(--line);
}
.cta-band::before{ content:''; position:absolute; left:50%; top:-120px; width:560px; height:260px; transform:translateX(-50%); background:radial-gradient(ellipse,rgba(255,138,30,.22),transparent 70%); pointer-events:none; }
.cta-band > *{ position:relative; }
.cta-band h2{ font-size:clamp(26px,4vw,36px); font-weight:800; letter-spacing:-.025em; margin-bottom:12px; }
.cta-band p{ color:var(--text-mid); margin-bottom:28px; }

/* ---------- подвал ---------- */
.footer{ position:relative; z-index:1; border-top:1px solid var(--line); padding:40px 24px 28px; margin-top:40px; flex-shrink:0; }
.footer-inner{ max-width:1080px; margin:0 auto; display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.footer-brand p{ margin-top:10px; font-size:13.5px; color:var(--text-lo); max-width:260px; }
.footer-links{ display:grid; grid-template-columns:repeat(2,auto); gap:10px 40px; align-content:start; }
.footer-links a{ font-size:13.5px; color:var(--text-mid); transition:color .2s ease; }
.footer-links a:hover{ color:var(--text-hi); }
.footer-copy{ max-width:1080px; margin:28px auto 0; padding-top:20px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-lo); }

/* ---------- формы, уведомления ---------- */
.page{ padding:56px 24px 72px; max-width:1080px; margin:0 auto; width:100%; }
.auth{ max-width:440px; margin:24px auto 0; }
.auth .card{ padding:32px; }
.auth h1,.center-card h1{ font-size:28px; font-weight:800; letter-spacing:-.03em; margin-bottom:8px; }
.auth .lead{ font-size:14.5px; margin-bottom:24px; }
.center-card{ text-align:center; }
.center-card .lead{ margin-bottom:24px; }
.btn-row.center{ justify-content:center; }
.result-icon{ width:58px; height:58px; border-radius:50%; display:grid; place-items:center; margin:0 auto 20px; background:var(--grad); color:#0a0a0a; box-shadow:0 16px 40px -14px rgba(255,110,40,.6); }
.result-icon.warn{ background:var(--red-soft); color:#ff9a9a; border:1px solid rgba(255,107,107,.25); box-shadow:none; }
.result-icon svg{ width:28px; height:28px; }

.tabs{ display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; background:#070707; border:1px solid var(--line); border-radius:14px; margin-bottom:20px; }
.tab{ border:0; background:transparent; color:var(--text-mid); padding:11px; border-radius:10px; font-weight:650; font-size:14px; cursor:pointer; transition:background .2s ease, color .2s ease; }
.tab:hover{ color:var(--text-hi); }
.tab.active{ background:rgba(255,255,255,.08); color:var(--text-hi); }
.form{ display:grid; gap:14px; }
.field label{ display:block; font-size:12.5px; font-weight:500; color:var(--text-mid); margin-bottom:7px; }
.field input{ width:100%; background:#050505; border:1px solid var(--line-hi); border-radius:12px; padding:13px 14px; outline:none; font-size:15px; transition:border-color .2s ease, box-shadow .2s ease; }
.field input::placeholder{ color:#4a4a4f; }
.field input:focus{ border-color:rgba(255,138,30,.6); box-shadow:0 0 0 3px rgba(255,138,30,.12); }
.field .field-hint{ font-size:12px; color:var(--text-lo); margin-top:6px; }
.code-input{ text-align:center; letter-spacing:.5em; font-size:26px !important; font-weight:800; padding:14px 14px 14px 22px !important; }
.alert{ padding:12px 14px; border-radius:12px; font-size:13.5px; line-height:1.55; margin-bottom:16px; border:1px solid; }
.alert.error{ background:var(--red-soft); border-color:rgba(255,107,107,.22); color:#ffb1b1; }
.alert.ok{ background:var(--green-soft); border-color:rgba(74,222,128,.2); color:#a7f3c0; }
.alert.info{ background:var(--orange-soft); border-color:rgba(255,138,30,.22); color:#ffc48a; }

/* ---------- кабинет ---------- */
.page-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.page-head h1{ font-size:clamp(30px,4.6vw,44px); font-weight:800; letter-spacing:-.035em; }
.page-head p{ color:var(--text-mid); margin-top:8px; font-size:15px; word-break:break-word; }
.dash{ display:grid; grid-template-columns:1.5fr .9fr; gap:20px; align-items:start; }
.stack{ display:grid; gap:20px; }
.card h2{ font-size:18px; font-weight:700; letter-spacing:-.02em; margin-bottom:16px; }
.card-note{ color:var(--text-mid); font-size:13.5px; margin:-8px 0 16px; line-height:1.6; }

.status-card{ padding:30px; }
.status-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.status-title{ font-size:25px; font-weight:800; letter-spacing:-.03em; line-height:1.15; }
.status-sub{ color:var(--text-mid); font-size:14px; margin-top:6px; }
.pill{ display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border-radius:100px; font-size:12px; font-weight:700; white-space:nowrap; border:1px solid; }
.pill i{ width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 10px currentColor; }
.pill.ok{ color:#86efac; background:var(--green-soft); border-color:rgba(74,222,128,.2); }
.pill.warn{ color:#ffc48a; background:var(--orange-soft); border-color:rgba(255,138,30,.28); }
.pill.bad{ color:#ff9a9a; background:var(--red-soft); border-color:rgba(255,107,107,.25); }
.pill.off{ color:var(--text-mid); background:rgba(255,255,255,.04); border-color:var(--line); }
.pill.off i{ box-shadow:none; }
.progress{ height:6px; border-radius:100px; background:rgba(255,255,255,.07); margin-top:24px; overflow:hidden; }
.progress > span{ display:block; height:100%; border-radius:inherit; background:var(--grad); }
.progress.low > span{ background:linear-gradient(90deg,#ffb454,var(--orange-2)); }
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:20px; }
.stat{ padding:16px; border-radius:16px; background:rgba(255,255,255,.035); border:1px solid var(--line); min-width:0; }
.stat-label{ font-size:12px; color:var(--text-mid); margin-bottom:5px; }
.stat-value{ font-size:16.5px; font-weight:700; overflow-wrap:anywhere; }
.actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }

.banner{ display:flex; gap:14px; align-items:flex-start; padding:16px 18px; border-radius:var(--radius-sm); margin-bottom:20px; border:1px solid; }
.banner svg{ width:22px; height:22px; flex-shrink:0; margin-top:1px; }
.banner b{ display:block; font-size:15px; margin-bottom:2px; }
.banner span{ font-size:13.5px; line-height:1.55; }
.banner .btn{ margin-left:auto; flex-shrink:0; align-self:center; }
.banner.warn{ background:var(--orange-soft); border-color:rgba(255,138,30,.3); color:#ffc48a; }
.banner.bad{ background:var(--red-soft); border-color:rgba(255,107,107,.28); color:#ffb1b1; }
.banner b{ color:var(--text-hi); }

.renew-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; }
.renew-opt{
  position:relative; display:flex; flex-direction:column; gap:4px; padding:16px; border-radius:16px; background:rgba(255,255,255,.03);
  border:1px solid var(--line); transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.renew-opt:hover{ border-color:var(--orange-line); background:rgba(255,138,30,.06); transform:translateY(-2px); }
.renew-opt.best{ border-color:var(--orange-line); }
.renew-opt .p{ font-size:13px; color:var(--text-mid); font-weight:600; }
.renew-opt .a{ font-size:22px; font-weight:800; letter-spacing:-.02em; }
.renew-opt .m{ font-size:12px; color:var(--text-lo); }
.renew-opt .tag{ position:absolute; top:-9px; right:12px; background:var(--grad); color:#0a0a0a; font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:100px; }
.renew-note{ font-size:12.5px; color:var(--text-lo); margin-top:14px; line-height:1.6; }

.key-box{ padding:15px; border-radius:14px; background:#050505; border:1px solid var(--line); font-family:var(--mono); font-size:12.5px; color:#c9c9cd; word-break:break-all; line-height:1.6; user-select:all; }
.key-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }

.side-item{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--line); }
.side-item:first-child{ padding-top:0; }
.side-item:last-child{ border-bottom:0; }
.side-label{ font-size:13px; color:var(--text-mid); flex-shrink:0; }
.side-value{ font-size:13px; font-weight:600; text-align:right; word-break:break-all; }
.side-help{ margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.side-help p{ font-size:13.5px; color:var(--text-mid); line-height:1.65; margin-bottom:14px; }
.side-help .btn + .btn{ margin-top:10px; }

.sub-list{ display:grid; gap:10px; }
.sub-item{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px; border-radius:16px; background:rgba(255,255,255,.03); border:1px solid var(--line); }
.sub-title{ font-weight:700; font-size:15px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mini-badge{ font-size:10.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:3px 8px; border-radius:100px; color:var(--text-mid); background:rgba(255,255,255,.06); border:1px solid var(--line); }
.sub-meta{ font-size:13px; color:var(--text-mid); margin-top:4px; }
.sub-meta .s-active{ color:#86efac; } .sub-meta .s-waiting{ color:#ffc48a; } .sub-meta .s-expired,.sub-meta .s-disabled{ color:#ff9a9a; }
.sub-actions{ display:flex; gap:8px; flex-shrink:0; }

.steps-sm{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.steps-sm .step{ padding:18px; border-radius:16px; }
.steps-sm .step-num{ width:30px; height:30px; font-size:12.5px; margin-bottom:12px; }
.steps-sm .step h3{ font-size:14.5px; margin-bottom:6px; }
.steps-sm .step p{ font-size:13px; }

.table-wrap{ overflow-x:auto; }
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ text-align:left; padding:14px 10px; border-bottom:1px solid var(--line); font-size:13.5px; }
.table th{ color:var(--text-mid); font-weight:600; font-size:12.5px; }
.table td{ color:#dedee2; }
.table tr:last-child td{ border-bottom:0; }
.badge{ display:inline-flex; padding:4px 10px; border-radius:100px; font-size:11.5px; font-weight:700; background:var(--green-soft); border:1px solid rgba(74,222,128,.16); color:#86efac; white-space:nowrap; }
.badge.mute{ background:rgba(255,255,255,.04); border-color:var(--line); color:var(--text-mid); }
.badge.bad{ background:var(--red-soft); border-color:rgba(255,107,107,.2); color:#ff9a9a; }
.empty{ padding:24px 0 8px; color:var(--text-mid); font-size:14px; }

/* ---------- страница выдачи / оплаты ---------- */
.narrow-page{ max-width:620px; margin:0 auto; padding:48px 24px 72px; width:100%; }
.result-hero{ text-align:center; margin-bottom:28px; }
.result-hero h1{ font-size:30px; font-weight:800; letter-spacing:-.03em; margin-bottom:8px; }
.result-hero p{ color:var(--text-mid); font-size:14px; }
.mono{ font-family:var(--mono); font-size:12.5px; color:var(--text-lo); word-break:break-all; }
.spinner{ width:30px; height:30px; margin:0 auto 22px; border-radius:50%; border:3px solid rgba(255,255,255,.12); border-top-color:var(--orange-1); animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.card + .card,.card + .tabs,.tabs + .step-list,.step-list + .card,.card + .note-card{ margin-top:20px; }
.step-list{ display:grid; gap:12px; }
.step-row{ display:flex; gap:16px; align-items:flex-start; padding:18px 20px; border-radius:16px; background:var(--card); border:1px solid var(--line); }
.step-row .step-num{ margin:0; width:30px; height:30px; font-size:13px; flex-shrink:0; }
.step-row h3{ font-size:15px; margin-bottom:4px; }
.step-row p{ color:var(--text-mid); font-size:13.5px; line-height:1.6; }
.step-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip-link{ display:inline-flex; align-items:center; padding:8px 14px; border-radius:100px; background:rgba(255,255,255,.04); border:1px solid var(--line-hi); font-size:12.5px; font-weight:600; white-space:nowrap; transition:background .2s ease; }
.chip-link:hover{ background:rgba(255,255,255,.09); }
.step-note{ margin-top:10px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.03); border:1px solid var(--line); color:var(--text-mid); font-size:12.5px; line-height:1.55; }
.step-note b{ color:var(--text-hi); }
.pillbar{ display:flex; gap:6px; padding:4px; background:var(--card); border:1px solid var(--line); border-radius:100px; margin:22px 0 16px; }
.pillbar .tab{ flex:1; border-radius:100px; display:flex; align-items:center; justify-content:center; gap:7px; }
.pillbar .tab.active{ background:var(--grad); color:#0a0a0a; }
.pillbar svg{ width:16px; height:16px; }
.help-card{ margin-top:20px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.help-card summary{ list-style:none; cursor:pointer; padding:18px 20px; display:flex; align-items:center; justify-content:space-between; font-weight:700; font-size:14.5px; }
.help-card summary::-webkit-details-marker{ display:none; }
.help-card summary::after{ content:'▾'; color:var(--text-mid); font-size:13px; transition:transform .2s ease; }
.help-card[open] summary::after{ transform:rotate(180deg); }
.help-item{ padding:0 20px 16px; }
.help-item + .help-item{ padding-top:14px; border-top:1px solid var(--line); }
.help-item h4{ font-size:13.5px; margin-bottom:4px; }
.help-item p{ font-size:13px; color:var(--text-mid); line-height:1.6; }
.foot-links{ text-align:center; font-size:13.5px; color:var(--text-lo); margin-top:24px; }
.foot-links a{ color:var(--orange-1); } .foot-links a:hover{ text-decoration:underline; }
.foot-links .sep{ margin:0 8px; }

/* ---------- юридические страницы ---------- */
.doc-links{ display:flex; gap:10px; flex-wrap:wrap; margin:6px 0 28px; justify-content:center; }
.doc-links a{ font-size:14px; font-weight:500; color:var(--text-mid); padding:9px 18px; border-radius:100px; border:1px solid var(--line-hi); transition:color .2s ease, background .2s ease; }
.doc-links a:hover:not(.active){ color:var(--text-hi); background:rgba(255,255,255,.05); }
.doc-links a.active{ color:#0a0a0a; background:var(--grad); border-color:transparent; font-weight:700; }
.legal-card{ background:linear-gradient(180deg,var(--card),var(--card-2)); border:1px solid var(--line); border-radius:var(--radius); padding:44px 44px 48px; }
.legal h2{ font-size:21px; font-weight:800; letter-spacing:-.01em; margin:40px 0 14px; }
.legal h2:first-child{ margin-top:0; }
.legal h3{ font-size:16px; font-weight:700; margin:22px 0 8px; }
.legal p{ font-size:15px; color:var(--text-mid); line-height:1.75; margin-bottom:12px; }
.legal p b,.legal li b{ color:var(--text-hi); font-weight:600; }
.legal a{ color:var(--orange-1); } .legal a:hover{ text-decoration:underline; }
.legal ul,.legal ol{ margin:4px 0 14px 4px; }
.legal ul li{ position:relative; padding-left:20px; font-size:15px; color:var(--text-mid); line-height:1.75; margin-bottom:6px; }
.legal ul li::before{ content:''; position:absolute; left:0; top:11px; width:6px; height:6px; border-radius:50%; background:var(--orange-1); }
.legal ol{ list-style:decimal; padding-left:20px; }
.legal ol li{ font-size:15px; color:var(--text-mid); line-height:1.75; margin-bottom:6px; }
.legal hr{ border:0; border-top:1px solid var(--line); margin:32px 0; }
.legal table{ width:100%; border-collapse:collapse; margin:8px 0 18px; }
.legal table th,.legal table td{ text-align:left; padding:12px 16px; font-size:14.5px; border-bottom:1px solid var(--line); }
.legal table th{ color:var(--text-mid); font-weight:600; font-size:12.5px; text-transform:uppercase; letter-spacing:.04em; }
.legal .note{ margin-top:30px; padding:16px 18px; background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:14px; font-size:13px; color:var(--text-lo); line-height:1.6; }
.legal-meta{ margin-top:12px; font-size:13.5px; color:var(--text-lo); }

/* ---------- адаптив ---------- */
@media (max-width:980px){
  .price-grid.n4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  section{ padding:64px 0; }
  .hero{ padding-top:48px; }
  .hero-grid{ grid-template-columns:1fr; gap:44px; }
  .grid-3,.price-grid,.price-grid.n2{ grid-template-columns:1fr; max-width:460px; margin-left:auto; margin-right:auto; }
  .grid-3{ max-width:none; grid-template-columns:1fr 1fr; }
  .steps,.steps-sm{ grid-template-columns:1fr; }
  .dash{ grid-template-columns:1fr; }
  .page-head{ flex-direction:column; align-items:flex-start; }
  .trial-strip{ flex-direction:column; align-items:flex-start; }

  .nav{ padding:12px 16px; }
  .nav-inner{ gap:12px; position:relative; }
  .nav-cta{ margin-left:auto; }
  .menu-btn{ display:inline-flex; }
  .nav-links{
    display:none; position:absolute; top:calc(100% + 12px); left:-16px; right:-16px; margin:0; flex-direction:column; align-items:stretch; gap:2px;
    padding:10px 16px 18px; background:rgba(0,0,0,.97); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-bottom:1px solid var(--line);
  }
  .nav.open .nav-links{ display:flex; }
  .nav-links a{ padding:14px 12px; font-size:15.5px; border-radius:12px; }
}
@media (max-width:640px){
  .container,.container-narrow,.hero-grid{ padding-left:20px; padding-right:20px; }
  .grid-3{ grid-template-columns:1fr; }
  .hero .sub{ font-size:16.5px; }
  .hero .btn-row .btn{ flex:1 1 100%; }
  .legal-card{ padding:28px 20px 32px; }
  .legal table{ display:block; overflow-x:auto; }
  .cta-band{ padding:44px 22px; }
  .cta-band .btn{ width:100%; }
  .page{ padding:36px 16px 56px; }
  .narrow-page{ padding:32px 16px 56px; }
  .auth .card{ padding:24px 20px; }
  .card{ padding:22px 20px; }
  .status-card{ padding:22px 20px; }
  .status-top{ flex-direction:column; }
  .stats{ grid-template-columns:1fr; }
  .actions .btn,.key-actions .btn{ flex:1 1 100%; }
  .banner{ flex-wrap:wrap; }
  .banner .btn{ margin-left:0; width:100%; }
  .sub-item{ flex-direction:column; align-items:stretch; }
  .sub-actions .btn{ flex:1; }
  .footer-links{ grid-template-columns:1fr 1fr; gap:10px 24px; }
  .price-amount{ font-size:40px; }

  /* таблица платежей превращается в карточки */
  .table thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .table,.table tbody,.table tr,.table td{ display:block; width:100%; }
  .table tr{ padding:12px 0; border-bottom:1px solid var(--line); }
  .table tr:last-child{ border-bottom:0; }
  .table td{ display:flex; justify-content:space-between; gap:16px; padding:6px 0; border:0; text-align:right; }
  .table td::before{ content:attr(data-label); color:var(--text-mid); text-align:left; font-weight:500; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.legal{ overflow-wrap:anywhere; }

/* ==========================================================================
   v2 — новый hero с телефоном, bento-блоки, QR, восстановление пароля,
   обновлённый подвал. Цвета бренда не менялись: чёрный + оранжевый градиент.
   ========================================================================== */

/* ---------- заголовки: Unbounded для крупных, Inter для текста ---------- */
.hero h1,.hero-sm h1,.sec-head h2,.cta-band h2,.page-head h1,.auth h1,.center-card h1,
.result-hero h1,.faq-split-head h2,.status-title,.price-amount{ font-family:var(--display); font-weight:600; }
.hero-v2 h1{ font-size:clamp(34px,4.6vw,56px); line-height:1.08; letter-spacing:-.03em; margin-bottom:22px; }
.hero-sm h1{ font-size:clamp(28px,4.4vw,42px); letter-spacing:-.025em; }
.sec-head h2{ font-size:clamp(24px,3.4vw,34px); letter-spacing:-.025em; line-height:1.18; margin-bottom:12px; }
.cta-band h2{ font-size:clamp(22px,3.2vw,32px); letter-spacing:-.025em; line-height:1.2; }
.page-head h1{ font-size:clamp(26px,4vw,38px); letter-spacing:-.03em; }
.auth h1,.center-card h1{ font-size:24px; letter-spacing:-.02em; line-height:1.2; }
.result-hero h1{ font-size:clamp(24px,4vw,30px); letter-spacing:-.025em; line-height:1.2; }
.status-title{ font-size:21px; letter-spacing:-.02em; }
.price-amount{ font-size:34px; letter-spacing:-.03em; }
.price-grid.n4 .price-amount{ font-size:28px; }
.price-period{ letter-spacing:0; font-size:14px; }

/* ---------- hero ---------- */
.hero-v2{ padding:64px 0 48px; }
.hero-v2 .hero-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:36px; }
.hero-v2 .sub{ max-width:470px; }
.hero-proof{ display:flex; align-items:center; gap:11px; margin-top:28px; font-size:14.5px; color:var(--text-mid); }
.hero-proof b{ color:var(--text-hi); font-weight:650; }
.hero-proof i{ width:8px; height:8px; flex-shrink:0; border-radius:50%; background:var(--orange-1); box-shadow:0 0 12px rgba(255,138,30,.9); animation:pulse 2s ease-in-out infinite; }
.hero-v2 .hero-points{ margin-top:16px; }

/* hero: телефон с экраном подключения */
.phone-wrap{ position:relative; width:100%; max-width:460px; margin:0 auto; padding:8px 0; display:flex; justify-content:center; }
.phone-wrap::before{ content:''; position:absolute; inset:-6% -4%; pointer-events:none; background:radial-gradient(circle at 50% 48%,rgba(255,138,30,.20),transparent 58%); }
.phone{ position:relative; width:242px; aspect-ratio:242/488; padding:8px; border-radius:40px; background:linear-gradient(160deg,#1b1b1e,#0c0c0d 60%);
  border:1px solid var(--line-hi); box-shadow:0 34px 80px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.03) inset,0 0 70px rgba(255,138,30,.08); }
.phone-notch{ position:absolute; z-index:3; top:15px; left:50%; width:62px; height:18px; margin-left:-31px; border-radius:12px; background:#000; }
.ph-screen{ position:relative; height:100%; overflow:hidden; border-radius:32px; padding:46px 16px 16px; display:flex; flex-direction:column; background:linear-gradient(180deg,#101011,#070708); }
.ph-screen::before{ content:''; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .8s ease; background:radial-gradient(circle at 50% 42%,rgba(255,124,30,.22),transparent 62%); }
.phone[data-state="on"] .ph-screen::before{ opacity:1; }
.ph-top{ position:relative; display:flex; align-items:center; justify-content:center; gap:8px; font-size:13.5px; letter-spacing:-.01em; }
.ph-logo{ display:grid; place-items:center; width:22px; height:22px; border-radius:7px; background:var(--grad); color:#0a0a0a; }
.ph-logo svg{ width:14px; height:14px; }

.ph-main{ position:relative; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; }
.ph-power{ position:relative; width:112px; height:112px; display:grid; place-items:center; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.ph-core{ position:relative; z-index:1; display:grid; place-items:center; width:100%; height:100%; border-radius:50%; color:var(--text-mid);
  background:#151517; border:1px solid var(--line-hi); transition:background .5s ease,color .4s ease,border-color .4s ease,box-shadow .5s ease,transform .2s ease; }
.ph-power:active .ph-core{ transform:scale(.95); }
.ph-core svg{ grid-area:1/1; width:42px; height:42px; transition:opacity .35s ease,transform .45s cubic-bezier(.3,1.3,.5,1); }
.ph-ic-on{ opacity:0; transform:scale(.5); }
.ph-core::after{ content:''; position:absolute; inset:-5px; border-radius:50%; opacity:0; pointer-events:none;
  background:conic-gradient(from 0deg,transparent 0 62%,var(--orange-1)); -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2px)); mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2px)); }
.ph-ring{ position:absolute; inset:0; border-radius:50%; border:1.5px solid var(--orange-line); opacity:0; pointer-events:none; }

.phone[data-state="connecting"] .ph-core{ color:var(--orange-1); border-color:var(--orange-line); }
.phone[data-state="connecting"] .ph-core::after{ opacity:1; animation:ph-spin 1s linear infinite; }
.phone[data-state="on"] .ph-core{ color:#0a0a0a; background:var(--grad); border-color:transparent; box-shadow:0 0 44px rgba(255,124,30,.5); }
.phone[data-state="on"] .ph-ic-off{ opacity:0; transform:scale(.5); }
.phone[data-state="on"] .ph-ic-on{ opacity:1; transform:none; }
.phone[data-state="on"] .ph-ring{ animation:ph-ring 3.2s ease-out infinite; }
.phone[data-state="on"] .ph-ring-2{ animation-delay:1.6s; }

.ph-status{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; min-height:62px; }
.ph-status b{ font-size:19px; font-weight:700; letter-spacing:-.02em; }
.ph-status span{ font-size:12.5px; color:var(--text-mid); }
.ph-status em{ font-style:normal; font-size:12.5px; font-variant-numeric:tabular-nums; color:var(--orange-1); font-weight:600; opacity:0; transition:opacity .4s ease; }
.phone[data-state="on"] .ph-status em{ opacity:1; }

.ph-key{ position:relative; display:flex; align-items:center; gap:9px; padding:10px; border-radius:16px; background:rgba(255,255,255,.045); border:1px solid var(--line);
  opacity:0; transform:translateY(14px); transition:opacity .5s ease,transform .6s cubic-bezier(.3,1.2,.5,1); }
.phone[data-key="1"] .ph-key{ opacity:1; transform:none; }
.ph-key-ic{ display:grid; place-items:center; flex-shrink:0; width:30px; height:30px; border-radius:10px; background:var(--orange-soft); color:var(--orange-1); }
.ph-key-ic svg{ width:17px; height:17px; }
.ph-key-tx{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.ph-key-tx b{ font-size:12.5px; font-weight:650; white-space:nowrap; }
.ph-key-tx small{ font-size:11px; color:var(--text-mid); white-space:nowrap; }
.ph-key-ok{ display:grid; place-items:center; flex-shrink:0; width:20px; height:20px; border-radius:50%; background:var(--grad); color:#0a0a0a; }
.ph-key-ok svg{ width:12px; height:12px; color:#0a0a0a; }

.ph-chip{ position:absolute; z-index:2; display:flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px; font-size:13px; font-weight:600; white-space:nowrap;
  background:rgba(17,17,18,.88); border:1px solid var(--line-hi); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); box-shadow:0 12px 32px rgba(0,0,0,.5); animation:ph-float 6s ease-in-out infinite; }
.ph-chip i{ width:7px; height:7px; border-radius:50%; background:var(--orange-1); box-shadow:0 0 10px rgba(255,138,30,.9); }
.ph-chip-a{ left:-2px; top:24%; }
.ph-chip-b{ right:-2px; bottom:22%; animation-delay:-3s; }
@keyframes ph-spin{ to{ transform:rotate(360deg); } }
@keyframes ph-ring{ 0%{ transform:scale(1); opacity:.8; } 100%{ transform:scale(1.7); opacity:0; } }
@keyframes ph-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

/* ---------- заголовки секций слева ---------- */
.sec-head{ max-width:620px; margin:0 0 40px; }
.sec-head p{ color:var(--text-mid); font-size:16px; line-height:1.65; }
.sec-tight-top{ padding-top:40px; }

/* ---------- facts: три факта без плашек ---------- */
.facts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); }
.fact{ padding:36px 32px 6px 0; }
.fact + .fact{ padding-left:32px; border-left:1px solid var(--line); }
.fact-num{ font-family:var(--display); font-size:clamp(46px,5.6vw,68px); font-weight:600; line-height:1; letter-spacing:-.03em; margin-bottom:20px;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.fact-inf svg{ height:1em; width:auto; display:block; margin-left:-.2em; }
.fact h3{ font-size:18px; font-weight:700; letter-spacing:-.01em; margin-bottom:8px; }
.fact p{ color:var(--text-mid); font-size:15px; line-height:1.65; max-width:32ch; }
.platforms{ display:flex; align-items:center; gap:12px 22px; flex-wrap:wrap; margin-top:36px; padding-top:24px; border-top:1px solid var(--line); }
.platforms .platform-row{ gap:8px 24px; }
.platforms .platform-chip{ padding:0; border:0; background:none; color:var(--text-mid); }
.platforms-label{ font-size:14px; color:var(--text-mid); }
.platforms .platform-row{ margin:0; }

/* ---------- шаги: настоящая последовательность ---------- */
.flow-steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; list-style:none; }
.flow-step{ position:relative; }
.flow-step .step-num{ position:relative; z-index:1; margin-bottom:18px; background:#120d08; }
.flow-step:not(:last-child)::before{ content:''; position:absolute; top:18px; left:48px; right:-10px; height:1px;
  background:repeating-linear-gradient(90deg,var(--orange-line) 0 6px,transparent 6px 12px); }
.flow-step h3{ font-size:17px; font-weight:700; margin-bottom:8px; }
.flow-step p{ font-size:14.5px; color:var(--text-mid); line-height:1.65; max-width:300px; }

/* ---------- FAQ ---------- */
.faq-split{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start; }
.faq-split-head{ position:sticky; top:96px; }
.faq-split-head h2{ font-size:clamp(24px,3.2vw,32px); letter-spacing:-.025em; line-height:1.18; margin-bottom:12px; }
.faq-split-head p{ color:var(--text-mid); font-size:16px; line-height:1.65; margin-bottom:22px; max-width:340px; }
.faq-page{ padding-top:32px; }
.faq-cta{ padding-top:0; }
.faq-tools{ margin-bottom:30px; }
.search{ position:relative; }
.search svg{ position:absolute; left:18px; top:50%; width:18px; height:18px; transform:translateY(-50%); color:var(--text-lo); pointer-events:none; }
.search input{ width:100%; padding:15px 20px 15px 48px; border-radius:100px; outline:none; font-size:15px; background:var(--card); border:1px solid var(--line-hi);
  transition:border-color .2s ease, box-shadow .2s ease; -webkit-appearance:none; appearance:none; }
.search input::placeholder{ color:#55555a; }
.search input:focus{ border-color:rgba(255,138,30,.6); box-shadow:0 0 0 3px rgba(255,138,30,.12); }
.faq-group + .faq-group{ margin-top:44px; }
.faq-group h2{ font-size:15px; font-weight:600; letter-spacing:0; color:var(--text-mid); margin-bottom:6px; font-family:var(--font); }
.faq-empty{ text-align:center; padding:48px 0 8px; }
.faq-empty h3{ font-size:18px; margin-bottom:8px; }
.faq-empty p{ color:var(--text-mid); margin-bottom:20px; }
.faq-item mark{ background:rgba(255,138,30,.28); color:inherit; border-radius:3px; }

/* ---------- ключ, QR ---------- */
.qr-box{ display:flex; align-items:center; gap:22px; margin-top:18px; padding:18px; border-radius:16px; background:rgba(255,255,255,.03); border:1px solid var(--line); }
.qr-img{ flex-shrink:0; width:176px; height:176px; border-radius:12px; overflow:hidden; background:#fff; }
.qr-img svg{ width:100%; height:100%; display:block; }
.qr-box p{ font-size:13.5px; color:var(--text-mid); line-height:1.65; }
.qr-fail{ display:grid; place-items:center; height:100%; padding:12px; text-align:center; font-size:12.5px; color:#444; }
.key-actions .btn svg{ width:17px; height:17px; }
.order-summary{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:20px; }
.mono-sm{ font-family:var(--mono); font-size:14px !important; }
.result-icon.is-draw{ animation:r-pop-h .55s cubic-bezier(.3,1.4,.5,1) backwards; }
.result-icon.is-draw .draw{ stroke-dasharray:1; animation:r-draw .55s ease .2s backwards; }
@keyframes r-pop-h{ from{ transform:scale(.55); opacity:0; } }

/* ожидание оплаты: этапы */
.progress-steps{ list-style:none; display:grid; gap:12px; max-width:260px; margin:22px auto; text-align:left; }
.progress-steps li{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--text-lo); }
.progress-steps i{ position:relative; width:18px; height:18px; flex-shrink:0; border-radius:50%; border:2px solid var(--line-hi); }
.progress-steps .done{ color:var(--text-mid); }
.progress-steps .done i{ background:var(--green-soft); border-color:rgba(74,222,128,.5); }
.progress-steps .done i::after{ content:''; position:absolute; left:4px; top:0; width:4px; height:8px; border:solid #86efac; border-width:0 2px 2px 0; transform:rotate(45deg); }
.progress-steps .active{ color:var(--text-hi); }
.progress-steps .active i{ border-color:var(--orange-1); border-top-color:transparent; animation:spin .8s linear infinite; }

/* ---------- кабинет, формы ---------- */
.center-card .field{ text-align:left; }
.form-aside{ text-align:center; font-size:13.5px; margin-top:2px; }
.form-aside a{ color:var(--orange-1); font-weight:600; }
.form-aside a:hover{ text-decoration:underline; text-underline-offset:3px; }
.pw-wrap{ position:relative; }
.pw-wrap input{ padding-right:48px; }
.pw-toggle{ position:absolute; right:5px; top:50%; transform:translateY(-50%); width:38px; height:38px; display:grid; place-items:center; border:0; border-radius:10px; background:transparent; color:var(--text-lo); cursor:pointer; }
.pw-toggle:hover{ color:var(--text-hi); }
.pw-toggle svg{ width:19px; height:19px; }
.renew-trial{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:14px; padding:14px 16px; border-radius:16px; font-size:14px; color:var(--text-mid);
  border:1px dashed var(--orange-line); background:linear-gradient(90deg,rgba(255,138,30,.07),transparent); }
.renew-trial b{ color:var(--text-hi); }
.status-card{ position:relative; overflow:hidden; }
.status-card::before{ content:''; position:absolute; inset:0 0 auto 0; height:2px; background:var(--grad); opacity:.85; }

/* ---------- подвал ---------- */
.footer-inner{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:40px; }
.footer-col h2{ font-size:13px; font-weight:600; margin-bottom:12px; color:var(--text-hi); }
.footer-col a{ display:block; padding:5px 0; font-size:14px; color:var(--text-mid); transition:color .2s ease; }
.footer-col a:hover{ color:var(--text-hi); }
.footer-tg{ display:inline-flex; align-items:center; gap:8px; margin-top:16px; font-size:13.5px; font-weight:600; color:var(--orange-1); }
.footer-tg svg{ width:16px; height:16px; }
.footer-tg:hover{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- адаптив v2 ---------- */
@media (max-width:980px){
  .faq-split{ gap:36px; }
}
@media (max-width:860px){
  .hero-v2{ padding:40px 0 24px; }
  .hero-v2 .hero-grid{ grid-template-columns:minmax(0,1fr); gap:28px; }
  .phone-wrap{ max-width:420px; }
  .facts{ grid-template-columns:minmax(0,1fr); }
  .fact,.fact + .fact{ padding:26px 0 24px; border-left:0; border-bottom:1px solid var(--line); }
  .fact:last-child{ border-bottom:0; }
  .fact p{ max-width:none; }
  .flow-steps{ grid-template-columns:minmax(0,1fr); gap:30px; }
  .flow-step:not(:last-child)::before{ display:none; }
  .faq-split{ grid-template-columns:minmax(0,1fr); }
  .faq-split-head{ position:static; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }
  .sec-head{ margin-bottom:28px; }
}
@media (max-width:640px){
  .ph-chip{ display:none; }
  .qr-box{ flex-direction:column; text-align:center; }
  .order-summary{ grid-template-columns:minmax(0,1fr); }
  .hero-v2 h1{ font-size:clamp(30px,9vw,40px); }
  .renew-trial{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:640px){
  .r-label{ font-size:21px; } .r-code{ font-size:14px; } .r-cap{ font-size:16px; } .r-cap-hub{ font-size:17px; }
}

/* ==========================================================================
   Кабинет v2: кольцо статуса, быстрые действия, свёрнутые разделы
   ========================================================================== */
.cab-hero{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:40px; align-items:center; padding:34px 36px; margin-bottom:20px;
  background:radial-gradient(circle at 14% 40%,rgba(255,138,30,.14),transparent 46%),linear-gradient(180deg,var(--card),var(--card-2)); }
.cab-ring{ position:relative; width:200px; height:200px; }
.cab-ring svg{ width:100%; height:100%; transform:rotate(-90deg); }
.ring-track{ fill:none; stroke:rgba(255,255,255,.07); stroke-width:7; }
.ring-val{ fill:none; stroke:url(#cabg); stroke-width:7; stroke-linecap:round; stroke-dasharray:var(--p) 100;
  animation:ring-fill 1.2s cubic-bezier(.3,.7,.2,1) .15s backwards; }
@keyframes ring-fill{ from{ stroke-dasharray:0 100; } }
.is-warn .ring-val{ stroke:var(--amber); }
.is-wait .ring-val{ stroke-dasharray:2 3.2; animation:none; }
.is-off .ring-val,.is-bad .ring-val{ display:none; }
.is-bad .ring-track{ stroke:rgba(255,107,107,.28); }
.ring-center{ position:absolute; inset:0; display:grid; place-content:center; justify-items:center; padding:0 28px; text-align:center; }
.ring-center b{ font-family:var(--display); font-weight:600; font-size:46px; line-height:1; letter-spacing:-.04em; }
.ring-center span{ margin-top:8px; max-width:112px; font-size:12.5px; line-height:1.35; color:var(--text-mid); }
.cab-hero .status-title{ margin-top:14px; }
.cab-hero .status-sub{ margin-top:6px; max-width:460px; color:var(--text-mid); font-size:14.5px; line-height:1.6; }
.cab-facts{ display:grid; grid-template-columns:repeat(3,auto); justify-content:start; gap:12px 40px; margin-top:22px; }
.cab-facts dt{ font-size:12px; color:var(--text-lo); margin-bottom:3px; }
.cab-facts dd{ font-size:15.5px; font-weight:650; }
.cab-hero .actions{ margin-top:26px; }

.cab-grid{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:20px; align-items:stretch; margin-bottom:20px; }
/* карточка подключения тянется до высоты соседней, «Как подключиться» прижимается вниз — без пустоты под ней */
#key-card{ display:flex; flex-direction:column; }
#key-card > .fold{ margin-top:auto; }
#key-card > :nth-last-child(2){ margin-bottom:22px; }
.cab-help-wide{ display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; padding:22px 26px; }
.cab-help-wide h2{ margin:0 0 4px; }
.cab-help-wide p{ margin:0; }
.cab-help-wide .btn{ flex-shrink:0; }
.renew-perks{ display:grid; gap:11px; margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
.renew-perks li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-mid); line-height:1.5; }
.renew-perks svg{ width:16px; height:16px; margin-top:2px; color:var(--orange-1); flex-shrink:0; }
.cab-grid .stack > .card,.cab-folds > .card{ margin-top:0 !important; }
.cab-empty{ display:flex; align-items:center; gap:16px; }
.cab-empty .result-icon{ margin:0; flex-shrink:0; width:52px; height:52px; }
.cab-empty p{ font-size:14px; }

.fold{ margin-top:22px; border-top:1px solid var(--line); }
.fold > summary,.fold-card > summary{ display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; font-weight:650; }
.fold > summary{ justify-content:space-between; padding:16px 0 4px; font-size:15px; }
.fold > summary::-webkit-details-marker,.fold-card > summary::-webkit-details-marker{ display:none; }
.fold-chev{ flex-shrink:0; width:9px; height:9px; margin:0 4px 3px 0; border-right:2px solid var(--text-mid); border-bottom:2px solid var(--text-mid); transform:rotate(45deg); transition:transform .2s ease; }
details[open] > summary .fold-chev{ transform:rotate(-135deg); margin-bottom:-3px; }
.fold .pillbar{ margin-top:14px; }

.renew-list{ display:grid; gap:10px; }
.renew-row{ position:relative; display:flex; align-items:center; gap:12px; padding:16px 18px; border-radius:16px; background:rgba(255,255,255,.03);
  border:1px solid var(--line); transition:border-color .2s ease, background .2s ease; }
.renew-row:hover{ border-color:var(--orange-line); background:rgba(255,138,30,.06); }
.renew-row.best{ border-color:var(--orange-line); background:rgba(255,138,30,.06); }
.rr-main{ display:grid; gap:2px; flex:1; min-width:0; }
.rr-main b{ font-size:15px; }
.rr-main small{ font-size:12.5px; color:var(--text-lo); }
.renew-row .tag{ background:var(--grad); color:#0a0a0a; font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:100px; white-space:nowrap; }
.rr-price{ font-family:var(--display); font-weight:600; font-size:17px; letter-spacing:-.02em; white-space:nowrap; }
.cab-help p{ margin-bottom:14px; }

.cab-folds{ display:grid; gap:12px; }
.fold-card{ padding:0; }
.fold-card > summary{ padding:20px 24px; font-size:16px; }
.fold-card > summary > span:first-child{ flex:1; }
.fold-card .count{ min-width:24px; height:24px; padding:0 8px; display:grid; place-items:center; border-radius:100px; font-size:12px; font-weight:700; background:var(--orange-soft); color:var(--orange-1); }
.fold-body{ padding:0 24px 24px; }

@media (max-width:860px){
  .cab-hero{ grid-template-columns:minmax(0,1fr); gap:24px; padding:26px 20px; }
  .cab-ring{ margin:0 auto; width:176px; height:176px; }
  .ring-center b{ font-size:40px; }
  .cab-facts{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 20px; }
  .cab-hero .actions .btn{ flex:1 1 auto; }
  .cab-grid{ grid-template-columns:minmax(0,1fr); }
  .cab-help-wide{ flex-direction:column; align-items:stretch; padding:20px; }
  .fold-card > summary{ padding:18px 20px; }
  .fold-body{ padding:0 20px 20px; }
}
@media (max-width:860px){ .page-head{ flex-wrap:nowrap; align-items:flex-start; } .page-head > div{ min-width:0; } }
