:root {
  --bg-main: #020723;
  --bg-deep: #030617;
  --bg-header: rgba(4, 9, 23, 0.82);
  --bg-card: rgba(6, 20, 49, 0.78);
  --bg-card-2: rgba(8, 18, 44, 0.92);
  --bg-soft: rgba(8, 19, 54, 0.55);
  --text-main: #f4f7ff;
  --text-soft: #c9d3f4;
  --text-muted: #98a3c7;
  --text-dim: #69759a;
  --blue-1: #1a7fff;
  --blue-2: #2b6dff;
  --blue-3: #4157ff;
  --indigo-1: #5148ff;
  --violet-1: #8c39ff;
  --violet-2: #b03cff;
  --pink-danger: #ff5b91;
  --green-ok: #36e5a4;
  --line: rgba(94, 136, 255, 0.18);
  --line-strong: rgba(142, 92, 255, 0.34);
  --grad-main: linear-gradient(90deg, #1a7fff 0%, #4157ff 52%, #b03cff 100%);
  --grad-title: linear-gradient(90deg, #4db2ff 0%, #4c7cff 40%, #8d52ff 72%, #c54bff 100%);
  --shadow-card: 0 0 0 1px rgba(60, 120, 255, 0.04), 0 18px 60px rgba(0, 0, 0, 0.34);
  --container: 1370px;
}
* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  touch-action: pan-y;
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 94, 225, .18), transparent 24%),
    radial-gradient(circle at 78% 12%, rgba(144, 49, 220, .18), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(28, 37, 209, .14), transparent 30%),
    linear-gradient(180deg, #05091d 0%, #020723 100%);
  color: var(--text-main);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image: radial-gradient(circle at center, rgba(81, 108, 255, .32) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .14;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.12));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(64, 89, 255, .08) 30%, transparent 42%),
    linear-gradient(65deg, transparent 0%, rgba(176, 60, 255, .07) 64%, transparent 75%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(88, 135, 255, .10);
  background: var(--bg-header);
  backdrop-filter: blur(22px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 13px; min-width: 232px; }
.logo-mark { position: relative; width: 54px; height: 54px; display: grid; place-items: center; }
.logo-mark::before { content: ""; position: absolute; inset: 5px; border-radius: 18px; background: rgba(26,127,255,.16); box-shadow: 0 0 34px rgba(26,127,255,.58), 0 0 48px rgba(176,60,255,.24); }
.shield { position: relative; width: 43px; height: 48px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(17,42,119,.95), rgba(9,18,54,.96)); border: 1px solid rgba(79,178,255,.62); clip-path: polygon(50% 0%, 92% 13%, 86% 72%, 50% 100%, 14% 72%, 8% 13%); box-shadow: inset 0 0 18px rgba(26,127,255,.28), 0 0 24px rgba(26,127,255,.40); }
.shield span { position: relative; width: 20px; height: 18px; margin-top: 9px; border-radius: 5px; background: var(--grad-main); box-shadow: 0 0 18px rgba(176,60,255,.62); }
.shield span::before { content: ""; position: absolute; left: 50%; top: -12px; width: 14px; height: 15px; transform: translateX(-50%); border: 3px solid #4db2ff; border-bottom: 0; border-radius: 10px 10px 0 0; box-sizing: border-box; }
.shield span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 5px; transform: translateX(-50%); border-radius: 4px; background: rgba(255,255,255,.78); }
.logo-text strong { display: block; font-size: 22px; line-height: 1; letter-spacing: -.02em; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.logo-text small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .22em; color: var(--text-dim); }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 54px); color: var(--text-soft); font-size: 14px; font-weight: 560; }
.nav a { position: relative; transition: color .22s ease; }
.nav a:hover, .nav a.active { color: white; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: -34px; width: 42px; height: 2px; transform: translateX(-50%); border-radius: 4px; background: #b03cff; box-shadow: 0 0 16px rgba(176,60,255,.95); }
.mobile-menu-btn {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88,135,255,.28);
  border-radius: 15px;
  background: rgba(9,18,46,.72);
  color: #eef3ff;
  box-shadow: inset 0 0 14px rgba(0,140,255,.04), 0 0 22px rgba(26,127,255,.12);
  cursor: pointer;
}
.mobile-menu-btn span,
.mobile-menu-btn::before,
.mobile-menu-btn::after {
  content: "";
  display: block;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(77,178,255,.28);
}
.mobile-menu-btn span { margin: 5px 0; }
.mobile-menu-btn[aria-expanded="true"]::before { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"]::after { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: rgba(2,7,35,.64);
  backdrop-filter: blur(10px);
}
.mobile-menu-panel.open { display: block; }
.mobile-menu-card {
  width: min(320px, calc(100vw - 28px));
  margin: calc(16px + env(safe-area-inset-top)) 14px 0;
  padding: 14px;
  border: 1px solid rgba(94,136,255,.24);
  border-radius: 22px;
  background: rgba(6,20,49,.96);
  box-shadow: 0 26px 86px rgba(0,0,0,.52), 0 0 40px rgba(65,87,255,.18);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px 14px;
  color: white;
  font-weight: 850;
}
.mobile-menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(88,135,255,.24);
  border-radius: 13px;
  background: rgba(9,18,46,.72);
  color: #eef3ff;
  cursor: pointer;
}
.mobile-menu-links {
  display: grid;
  gap: 9px;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(88,135,255,.16);
  border-radius: 15px;
  background: rgba(9,18,46,.56);
  color: var(--text-soft);
  font-weight: 760;
}
.mobile-menu-links a.active,
.mobile-menu-links a:hover {
  border-color: rgba(176,60,255,.58);
  background: linear-gradient(135deg, rgba(26,127,255,.22), rgba(176,60,255,.24));
  color: white;
}
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 168px; }
.icon-btn, .login-btn { border: 1px solid rgba(88,135,255,.24); background: rgba(9,18,46,.72); color: #eef3ff; box-shadow: inset 0 0 14px rgba(0,140,255,.04); transition: .22s ease; cursor: pointer; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; }
.login-btn { height: 43px; padding: 0 24px; border-radius: 13px; font-weight: 650; }
.icon-btn:hover, .login-btn:hover { transform: translateY(-1px); border-color: rgba(160,72,255,.48); box-shadow: 0 0 24px rgba(160,72,255,.28), inset 0 0 18px rgba(26,127,255,.06); }
.main { padding: 34px 0 42px; }
.glass-card, .map-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}
.glass-card::before, .map-card::before { content:""; position:absolute; inset:1px; border-radius:23px; background: linear-gradient(135deg, rgba(44,126,255,.08), transparent 48%, rgba(176,60,255,.08)); pointer-events:none; }
.glass-card > *, .map-card > * { position: relative; z-index: 2; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 430px; align-items: center; gap: 40px; margin-top: 10px; }
.hero.compact { grid-template-columns: 1fr; }
.hero h1, .page-title { margin:0; max-width: 820px; color:white; font-size: clamp(44px, 5.7vw, 74px); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.hero h1 span, .gradient-text { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle, .lead { margin: 20px 0 0; max-width: 650px; color: var(--text-muted); font-size: 17px; line-height: 1.62; }
.top-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.purchase-agreement {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}
.purchase-agreement a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.purchase-agreement a:hover { text-decoration: underline; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border:0; border-radius:14px; padding: 0 24px; color:white; font-size:14px; font-weight:760; cursor:pointer; overflow:hidden; transition: .22s ease; }
.btn::after { content:""; position:absolute; inset:0; transform:translateX(-120%); background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transition:.65s ease; pointer-events:none; }
.btn:hover::after { transform:translateX(120%); }
.btn-primary { background: var(--grad-main); box-shadow: 0 0 22px rgba(67,87,255,.32), 0 0 36px rgba(176,60,255,.18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(67,87,255,.42), 0 0 48px rgba(176,60,255,.24); }
.btn-secondary { border:1px solid rgba(88,135,255,.24); background: rgba(9,18,46,.72); color:#eef3ff; box-shadow: inset 0 0 14px rgba(0,140,255,.04); }
.btn-danger { border:1px solid rgba(255,91,145,.45); background: rgba(88,20,47,.35); color:#ff91b2; }
.grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:22px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:19px; }
.section { margin-top: 22px; }
.section-title { margin:0; color:white; font-size:23px; letter-spacing:-.02em; font-weight:850; }
.card-pad { padding: 22px; }
.icon-box { width:64px; height:64px; display:grid; place-items:center; border-radius:20px; border:1px solid rgba(77,178,255,.27); background: rgba(26,127,255,.10); color:#4db2ff; box-shadow:0 0 30px rgba(26,127,255,.19); font-size:30px; font-weight:900; }
.icon-box.purple { color:#b78cff; border-color: rgba(176,60,255,.34); background: rgba(176,60,255,.10); }
.icon-box.orange { color:#ff9f43; border-color: rgba(255,159,67,.34); background: rgba(255,159,67,.10); }
.icon-box.green { color:#36e5a4; border-color: rgba(54,229,164,.34); background: rgba(54,229,164,.10); }
.icon-box.red { color:#ff6b98; border-color: rgba(255,91,145,.42); background: rgba(255,91,145,.10); }
.icon-box svg { width:31px; height:31px; stroke-width:1.9; }
.choice-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px; margin-top:22px; }
.choice-block { padding:16px; border-radius:20px; border:1px solid rgba(88,135,255,.16); background:rgba(9,18,46,.54); }
.choice-title { display:flex; align-items:center; gap:10px; color:white; font-weight:850; margin-bottom:13px; }
.num { width:27px; height:27px; display:grid; place-items:center; border-radius:10px; background:rgba(26,127,255,.18); color:#4db2ff; box-shadow:0 0 18px rgba(26,127,255,.25); }
.chips { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:10px; }
.chip { min-height:74px; padding:13px; border-radius:15px; border:1px solid rgba(88,135,255,.16); background:rgba(6,20,49,.55); color:var(--text-soft); cursor:pointer; transition:.2s ease; }
.chip strong { display:block; color:white; margin-bottom:4px; }
.chip small { color:var(--text-dim); }
.chip.active, .chip:hover { border-color:rgba(176,60,255,.75); background:linear-gradient(135deg, rgba(26,127,255,.26), rgba(176,60,255,.28)); box-shadow:0 0 22px rgba(176,60,255,.22); }
.pricing-card { min-height:272px; padding:24px 20px 19px; transition:.25s ease; }
.pricing-card:hover { transform:translateY(-7px); border-color:rgba(142,92,255,.48); box-shadow:0 22px 70px rgba(0,0,0,.38), 0 0 40px rgba(65,87,255,.16); }
.pricing-card.featured { border-color:rgba(176,60,255,.72); background:linear-gradient(135deg, rgba(13,32,83,.82), rgba(32,17,92,.88)); box-shadow:0 0 38px rgba(176,70,255,.32), 0 20px 60px rgba(0,0,0,.40); }
.ribbon { position:absolute; right:0; top:0; z-index:5; border-radius:0 23px 0 18px; padding:8px 18px; background:linear-gradient(90deg,#6c44ff,#b03cff); color:white; font-size:12px; font-weight:760; }
.price-title { color:white; font-size:19px; font-weight:750; margin-top:14px; }
.price { display:flex; align-items:baseline; gap:5px; margin-top:8px; color:white; font-size:35px; line-height:1; letter-spacing:-.04em; font-weight:950; }
.price small { color:var(--text-soft); font-size:17px; font-weight:750; }
.price-sub { margin-top:10px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.08); color:var(--text-muted); font-size:13px; line-height:1.45; }
.features { display:grid; gap:9px; margin-top:15px; }
.feature { display:flex; align-items:center; gap:8px; color:var(--text-soft); font-size:13px; }
.check { width:16px; height:16px; display:grid; place-items:center; flex:0 0 auto; border-radius:999px; background:rgba(26,127,255,.18); color:#4db2ff; font-size:10px; box-shadow:0 0 14px rgba(26,127,255,.18); }
.sidebar-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:22px; align-items:start; }
.summary-card { position: sticky; top: 110px; }
.summary-item { display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.summary-item:last-child { border-bottom:0; }
.summary-item b { display:block; color:white; margin-bottom:3px; }
.summary-item span { color:var(--text-muted); font-size:13px; }
.steps { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:14px; }
.step-card { position:relative; min-height:155px; padding:18px; border-radius:18px; border:1px solid rgba(88,135,255,.16); background:rgba(11,27,76,.34); }
.step-card h3 { margin:12px 0 8px; color:white; font-size:16px; }
.step-card p { margin:0; color:var(--text-muted); font-size:13px; line-height:1.45; }
.badge { display:inline-flex; align-items:center; gap:9px; min-height:36px; padding:0 14px; border-radius:999px; border:1px solid rgba(88,135,255,.18); background:rgba(9,18,46,.62); color:var(--text-soft); font-size:13px; }
.badge.red { border-color:rgba(255,91,145,.42); color:#ff91b2; background:rgba(88,20,47,.28); }
.badge.green { border-color:rgba(54,229,164,.42); color:#8cf2c9; background:rgba(20,88,59,.25); }
.notice { display:flex; gap:16px; align-items:flex-start; padding:18px; border-radius:18px; border:1px solid rgba(88,135,255,.16); background:rgba(9,18,46,.48); color:var(--text-muted); }
.notice strong { display:block; color:white; margin-bottom:4px; }
.warning { border-color:rgba(255,91,145,.45); background:rgba(88,20,47,.28); }
.warning strong { color:#ff91b2; }
.form-card { padding:42px; }
.input { width:100%; height:52px; border-radius:14px; border:1px solid rgba(88,135,255,.24); background:rgba(0,0,0,.24); color:white; padding:0 16px; outline:none; transition:.22s ease; }
.input:focus { border-color:rgba(77,178,255,.55); box-shadow:0 0 20px rgba(77,178,255,.16); }
.input::placeholder { color:var(--text-dim); }
.url-box { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 20px; border-radius:16px; border:1px solid rgba(142,92,255,.46); background:rgba(0,0,0,.24); color:white; font-size: clamp(18px, 2.3vw, 30px); font-weight:750; letter-spacing:-.03em; }
.copy-btn { flex:0 0 auto; width:43px; height:43px; display:grid; place-items:center; border-radius:13px; border:1px solid rgba(88,135,255,.24); background:rgba(9,18,46,.72); color:#cbd7ff; cursor:pointer; }
.status-card { max-width:740px; margin: 0 auto; padding:56px 42px; text-align:center; }
.spinner { width:116px; height:116px; margin:0 auto 24px; border-radius:999px; background: conic-gradient(from 90deg, #1a7fff, #b03cff, transparent 72%); mask: radial-gradient(circle, transparent 47%, #000 49%); animation: spin 1.6s linear infinite; filter: drop-shadow(0 0 20px rgba(77,178,255,.52)); }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height:5px; border-radius:999px; background:rgba(88,135,255,.20); overflow:hidden; max-width:420px; margin:24px auto 10px; }
.progress span { display:block; height:100%; width:70%; border-radius:999px; background:var(--grad-main); box-shadow:0 0 18px rgba(176,60,255,.5); }
.legal-layout { display:grid; grid-template-columns: 245px minmax(0,1fr); gap:22px; }
.legal-nav { padding:18px; min-height:520px; }
.legal-nav a { display:block; padding:13px 14px; border-radius:12px; color:var(--text-muted); margin-bottom:8px; border:1px solid transparent; }
.legal-nav a.active, .legal-nav a:hover { color:white; border-color:rgba(142,92,255,.45); background:rgba(65,87,255,.15); }
.legal-content { padding:26px; max-height:680px; overflow:auto; }
.legal-content h2 { margin:0 0 18px; font-size:30px; }
.legal-content h3 { margin:26px 0 10px; color:white; }
.legal-content p, .legal-content li { color:var(--text-muted); line-height:1.65; }
.legal-date { float:right; font-size:13px; color:var(--text-soft); padding:8px 12px; border-radius:999px; background:rgba(80,47,155,.26); }
.illustration { min-height: 240px; display:grid; place-items:center; }
.neon-shield-art, .headset-art, .mail-art, .link-art, .success-art, .fail-art { width:210px; height:210px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(142,92,255,.35); background:radial-gradient(circle, rgba(65,87,255,.25), rgba(176,60,255,.10) 45%, transparent 70%); box-shadow:0 0 55px rgba(65,87,255,.24), inset 0 0 35px rgba(176,60,255,.15); font-size:82px; }
.success-art { color: var(--green-ok); border-color:rgba(54,229,164,.45); }
.fail-art { color: var(--pink-danger); border-color:rgba(255,91,145,.45); }
.bottom-strip { margin-top:26px; padding:22px 26px; border-radius:20px; border:1px solid rgba(88,135,255,.20); background:rgba(9,18,46,.56); backdrop-filter:blur(16px); display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:22px; }
.bottom-item { display:flex; align-items:center; gap:15px; min-height:56px; color:var(--text-muted); font-size:13px; }
.bottom-item .icon-box { width:46px !important; height:46px !important; min-width:46px; font-size:20px !important; }
.bottom-item .icon-box svg { width:22px; height:22px; stroke-width:2; }
.bottom-item b,
.bottom-item h3 { display:block; color:white; font-size:15px; margin:0 0 4px; }
.bottom-copy { display: grid; gap: 3px; }
.bottom-copy p { margin: 0; color: var(--text-muted); line-height: 1.45; }
.toast { position:fixed; left:50%; bottom:22px; z-index:100; transform:translate(-50%,110px); min-width:280px; max-width:calc(100% - 32px); padding:14px 18px; border-radius:16px; border:1px solid rgba(88,135,255,.30); background:rgba(6,20,49,.94); color:white; box-shadow:0 20px 70px rgba(0,0,0,.45), 0 0 28px rgba(65,87,255,.18); opacity:0; transition:.35s ease; text-align:center; font-size:14px; backdrop-filter:blur(16px); }
.toast.show { transform:translate(-50%,0); opacity:1; }
.chat-toggle { position:fixed; right:22px; bottom:22px; z-index:90; width:58px; height:58px; border:1px solid rgba(77,178,255,.62); border-radius:20px; background:var(--grad-main); color:white; display:grid; place-items:center; cursor:pointer; box-shadow:0 0 34px rgba(26,127,255,.34), 0 18px 44px rgba(0,0,0,.32); }
.chat { position:fixed; right:22px; bottom:92px; z-index:90; width:min(420px, calc(100vw - 32px)); max-height:min(720px, calc(100vh - 118px)); overflow:hidden; display:none; border:1px solid var(--line); border-radius:24px; background:rgba(5,12,34,.96); box-shadow:0 30px 90px rgba(0,0,0,.52); backdrop-filter:blur(18px); }
.chat.open { display:block; }
.chat-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 18px; border-bottom:1px solid rgba(103,180,255,.18); }
.chat-head strong { color:white; font-size:16px; }
.chat-body { display:grid; gap:10px; padding:16px; }
.chat-body p { margin:0 0 4px; color:var(--text-soft); line-height:1.45; }
.chat-messages { min-height:120px; max-height:240px; overflow:auto; display:grid; align-content:start; gap:9px; padding:10px; border:1px solid rgba(88,135,255,.16); border-radius:16px; background:rgba(3,10,28,.48); }
.chat-message { max-width:88%; padding:10px 12px; border-radius:14px; color:#e9f0ff; background:rgba(26,127,255,.14); border:1px solid rgba(77,178,255,.18); font-size:14px; line-height:1.4; overflow-wrap:anywhere; white-space:pre-wrap; }
.chat-message.client { justify-self:end; background:linear-gradient(135deg, rgba(26,127,255,.34), rgba(176,60,255,.28)); border-color:rgba(176,60,255,.34); }
.chat-message.admin { justify-self:start; }
.chat-message img { display:block; max-width:100%; margin-top:8px; border-radius:12px; border:1px solid rgba(88,135,255,.20); }
.chat input, .chat textarea { width:100%; border:1px solid var(--line); border-radius:14px; background:rgba(3,10,28,.78); color:white; padding:12px 14px; outline:none; }
.chat textarea { min-height:92px; resize:vertical; }
.chat input:focus, .chat textarea:focus { border-color:rgba(77,178,255,.55); box-shadow:0 0 20px rgba(77,178,255,.16); }
.chat-file { margin:0; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:43px; padding:10px 12px; border:1px dashed rgba(88,135,255,.28); border-radius:14px; color:var(--text-soft); font-size:13px; }
.chat-file input { width:auto; max-width:170px; padding:0; border:0; background:transparent; color:var(--text-muted); }
.chat-status { min-height:20px; color:var(--text-soft); font-size:13px; }
.support-chat-inline.chat { position:relative; right:auto; bottom:auto; z-index:1; width:100%; max-height:none; display:block; overflow:hidden; }
.support-chat-inline .chat-head { padding:20px 22px; }
.chat-head-note { color:var(--text-muted); font-size:13px; }
.support-chat-inline .chat-body { gap:14px; padding:22px; }
.support-chat-inline .chat-messages { min-height:220px; max-height:360px; }
.support-chat-inline .chat textarea { min-height:128px; }
.support-chat-inline .chat-body { gap:16px; }
.support-chat-inline .chat-file { margin-top:2px; }
.support-chat-inline .btn[type="submit"] { margin-top:2px; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.particles { position:fixed; inset:0; z-index:-2; pointer-events:none; overflow:hidden; }
.particle { position:absolute; width:3px; height:3px; border-radius:999px; background:rgba(77,178,255,.65); box-shadow:0 0 10px rgba(77,178,255,.75); animation: floatParticle linear infinite; }
@keyframes floatParticle { 0% { transform:translate3d(0,0,0); opacity:0; } 15% { opacity:.9; } 85% { opacity:.7; } 100% { transform:translate3d(var(--move-x), -120vh, 0); opacity:0; } }
@media (max-width: 1180px) {
  .hero, .sidebar-layout, .legal-layout { grid-template-columns:1fr; }
  .summary-card { position: relative; top: auto; }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-3, .choice-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nav { gap:24px; }
}
@media (max-width: 860px) {
  .container { width:min(100% - 32px, var(--container)); }
  .header-inner { min-height:auto; padding:15px 0; }
  .mobile-menu-btn { display: inline-flex; flex-direction: column; }
  .nav { display:none; }
  .login-btn, .icon-btn.moon { display:none; }
  .main { padding-top:28px; }
  .grid-2, .grid-4, .steps, .bottom-strip { grid-template-columns:1fr; }
  .chips { grid-template-columns:1fr; }
  .form-card { padding:24px; }
  .legal-nav { min-height:auto; }
  .hero h1, .page-title {
    font-size: 39px;
    letter-spacing: -.04em;
  }
  body.has-mobile-sticky .chat-toggle {
    display: none;
  }
}


/* production additions */
.header-actions { min-width: auto; }
.icon-btn[href] { text-decoration: none; }
.btn.primary, .btn.success, button.primary, a.primary { border: 0; color: #fff; background: var(--grad-main); box-shadow: 0 0 22px rgba(67,87,255,.32), 0 0 36px rgba(176,60,255,.18); }
.btn.primary:hover, .btn.success:hover, button.primary:hover, a.primary:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(67,87,255,.42), 0 0 48px rgba(176,60,255,.24); }
button:disabled, .btn:disabled { opacity: .58; cursor: wait; transform: none; }
button, .btn, input, textarea, select { touch-action: manipulation; }
label { display: block; margin: 14px 0 8px; color: var(--text-soft); font-weight: 750; }
input, select, textarea { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid rgba(88,135,255,.24); border-radius: 14px; background: rgba(0,0,0,.24); color: #fff; outline: none; }
textarea { padding: 13px 15px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus { border-color: rgba(77,178,255,.55); box-shadow: 0 0 20px rgba(77,178,255,.16); }
.form, .checkout { display: grid; gap: 10px; }
.checkout .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.option { position: relative; min-height: 74px; padding: 13px; border-radius: 15px; border: 1px solid rgba(88,135,255,.16); background: rgba(6,20,49,.55); color: var(--text-soft); text-align: left; cursor: pointer; transition: .2s ease; }
.option strong, .option b { color: #fff; }
.option.active, .option:hover { border-color: rgba(176,60,255,.75); background: linear-gradient(135deg, rgba(26,127,255,.26), rgba(176,60,255,.28)); box-shadow: 0 0 22px rgba(176,60,255,.22); }
.option.active {
  padding-right: 86px;
  border-color: rgba(77,178,255,.95);
  background:
    linear-gradient(135deg, rgba(26,127,255,.36), rgba(176,60,255,.34)),
    rgba(6,20,49,.84);
  box-shadow: 0 0 0 2px rgba(77,178,255,.18), 0 0 28px rgba(176,60,255,.24);
}
.option.active::after {
  content: "Выбрано";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(77,178,255,.16);
  color: #9de0ff;
  font-size: 11px;
  font-weight: 850;
}
.option:disabled { opacity: .45; cursor: not-allowed; }
.option .muted, .muted { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.warning { display: none; margin-top: 10px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255,91,145,.45); background: rgba(88,20,47,.28); color: #ff91b2; }
.warning.show { display: block; }
.summary { display: grid; gap: 6px; margin-top: 14px; padding: 16px; border-radius: 16px; border: 1px solid rgba(77,178,255,.30); background: rgba(26,127,255,.10); }
.summary strong { color: #fff; font-size: 18px; }
.summary span { color: var(--text-soft); font-size: 14px; }
.summary-list { margin: 4px 0 0; padding-left: 18px; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.summary-list li { margin: 0; }
.tariff-skeleton {
  min-height: 520px;
  display: grid;
  align-content: start;
  gap: 16px;
}
.tariffs-loading .checkout > :not(#tariffSkeleton):not(#status):not(noscript) {
  display: none !important;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.skeleton-grid span {
  min-height: 74px;
  border-radius: 15px;
  border: 1px solid rgba(88,135,255,.14);
  background: linear-gradient(90deg, rgba(9,18,46,.45), rgba(26,127,255,.14), rgba(9,18,46,.45));
  background-size: 220% 100%;
  animation: skeletonPulse 1.6s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0% { background-position: 120% 0; opacity: .68; }
  50% { opacity: 1; }
  100% { background-position: -120% 0; opacity: .68; }
}
.status { color: var(--text-soft); min-height: 24px; margin-top: 12px; }
.state-flow { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.state-flow span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(88,135,255,.18); background: rgba(9,18,46,.48); color: var(--text-muted); font-size: 13px; }
.state-flow span.active { border-color: rgba(176,60,255,.58); background: linear-gradient(135deg, rgba(26,127,255,.20), rgba(176,60,255,.22)); color: #fff; box-shadow: 0 0 18px rgba(176,60,255,.16); }
.hidden { display: none !important; }
.sub-link, .linkbox input { font: 14px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.sub-link { width: 100%; min-height: 108px; margin-top: 16px; }
.linkbox { margin-top: 18px; }
.linkbox label { margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.actions a:not(.btn), .actions button:not(.btn), #open { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid rgba(88,135,255,.24); border-radius: 14px; background: rgba(9,18,46,.72); color: #eef3ff; font-weight: 760; text-decoration: none; }
.action-secondary-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.action-secondary-grid .btn {
  width: 100%;
  min-height: 46px;
}
.fallback-summary {
  display: grid;
  gap: 6px;
}
.fallback-summary strong,
.fallback-summary span,
.contact-card .contact-title,
.contact-card .contact-desc {
  display: block;
}
.contact-card .contact-desc {
  margin-top: 6px;
}
.chat-upload-row,
.chat-submit-row {
  display: block;
  margin-top: 12px;
}
.chat-submit-row .btn {
  width: 100%;
}
@media (min-width: 520px) {
  .action-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  .action-secondary-grid {
    grid-template-columns: 1fr;
  }
}
.status-card .spinner { width: 116px; height: 116px; margin: 0 auto 24px; border-radius: 999px; background: conic-gradient(from 90deg,#1a7fff,#b03cff,transparent 72%); mask: radial-gradient(circle, transparent 47%, #000 49%); animation: spin 1.6s linear infinite; filter: drop-shadow(0 0 20px rgba(77,178,255,.52)); border: 0; }
.status-page .status-card {
  max-width: 840px;
}
.status-page #access .actions,
.status-page #activateBox .actions {
  justify-content: center;
}
.status-page #access .btn-primary,
.status-page #activateBox .btn-primary {
  min-width: 220px;
}
.badge .spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--blue-1); border-radius: 50%; animation: spin 1s linear infinite; }
.badge.ok { border-color: rgba(54,229,164,.42); color: #8cf2c9; background: rgba(20,88,59,.25); }
.badge.warn { border-color: rgba(251,191,36,.42); color: #fde68a; background: rgba(251,191,36,.12); }
.badge.bad { border-color: rgba(255,91,145,.42); color: #ff91b2; background: rgba(88,20,47,.28); }
.progress { height: 5px; border-radius: 999px; background: rgba(88,135,255,.20); overflow: hidden; max-width: 420px; margin: 24px auto 10px; }
.progress span { display:block; height:100%; width:70%; border-radius:999px; background: var(--grad-main); box-shadow:0 0 18px rgba(176,60,255,.5); }
.support-form { display: grid; gap: 12px; }
.support-form textarea { min-height: 150px; }
.support-status { color: var(--text-soft); min-height: 24px; }
.chat-field {
  display: grid;
  gap: 8px;
}
.chat-field label {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
}
.chat-field + .chat-field {
  margin-top: 10px;
}
.support-chat-inline #chatIdentity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.device-title,
.contact-title,
.device-card h3,
.contact-card h3,
.security-note h3 {
  display: block;
  margin: 0;
  color: white;
  font-size: 15px;
  font-weight: 850;
}
.device-desc,
.contact-desc,
.device-card p,
.contact-card p,
.security-note p {
  display: block;
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}
.option.contact-card {
  display: block;
  text-align: left;
}
.device-list,
.contact-grid {
  list-style: none;
  padding-left: 0;
}
.device-list li,
.contact-grid li {
  min-width: 0;
}
.tg-fallback-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.email-help { margin-top: 18px; padding: 16px; border: 1px solid rgba(251,191,36,.34); border-radius: 18px; background: rgba(251,191,36,.09); text-align: left; }
body.center-page { display: grid; place-items: center; padding: 24px; }
body.center-page main { width: min(760px, 100%); padding: 0; }
#app { position: fixed; left: 0; right: 0; top: var(--tg-top-offset, 0px); bottom: var(--tg-bottom-offset, 0px); width: 100%; height: calc(100% - var(--tg-top-offset, 0px) - var(--tg-bottom-offset, 0px)); border: 0; background: var(--bg-main); }
#fallback { position: fixed; inset: 0; display: none; place-items: center; padding: 24px; text-align: center; }
.legal-content { max-height: none; }
.legal-content .meta { color: var(--text-soft); }
.legal-content .box { border: 0; background: transparent; box-shadow: none; padding: 0; }
.legal-content .box::before { display: none; }
@media (max-width: 860px) { .checkout .grid { grid-template-columns: 1fr; } .actions .btn, .actions button, .actions a { width: 100%; } .status-page .state-flow { grid-template-columns: 1fr; } .status-page .state-flow span:not(.active) { display: none; } .status-page .status-card { padding: 34px 22px; } }

/* neon background parity with main page */
.orb { position: fixed; z-index: -1; pointer-events: none; border-radius: 999px; filter: blur(58px); opacity: .34; animation: orbPulse 6s ease-in-out infinite; }
.orb.one { width: 360px; height: 360px; top: 210px; left: -140px; background: rgba(26,127,255,.26); }
.orb.two { width: 440px; height: 440px; top: 260px; right: -170px; background: rgba(176,60,255,.22); animation-delay: -2s; }
.orb.three { width: 430px; height: 430px; bottom: -210px; left: 34%; background: rgba(65,87,255,.18); animation-delay: -4s; }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity:.28; } 50% { transform: scale(1.16); opacity:.48; } }
.header-actions .icon-btn { font-size: 20px; }
.telegram-btn {
  width: auto;
  min-width: 122px;
  padding: 0 16px;
  gap: 9px;
  display: inline-flex;
  text-decoration: none;
  white-space: nowrap;
}
.telegram-btn .telegram-text {
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}
@media (max-width: 520px) {
  .header-inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo-text small { display: none; }
  .header-actions { gap: 0; }
  .telegram-btn { display: none; }
  .theme-toggle { display: grid; }
}

/* instructions page layout fix */
.instructions-page .sidebar-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}
.instructions-page .sidebar-layout > .glass-card:first-child {
  grid-column: 1;
  grid-row: 1;
}
.instructions-page .sidebar-layout > .glass-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.instructions-page .sidebar-layout > .glass-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.instructions-page .sidebar-layout .steps {
  grid-template-columns: 1fr;
}
.instructions-page .sidebar-layout .step-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.instructions-page .sidebar-layout .step-card h3,
.instructions-page .sidebar-layout .step-card p {
  grid-column: 3;
}
.instructions-page .sidebar-layout .step-card h3 {
  margin: 0 0 6px;
}
.instructions-page .sidebar-layout .step-card p {
  font-size: 12px;
}
.instructions-page .sidebar-layout .step-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 22px;
}
.instructions-page .sidebar-layout .notice.section {
  margin-top: 14px;
}
@media (max-width: 1180px) {
  .instructions-page .sidebar-layout {
    grid-template-columns: 1fr;
  }
  .instructions-page .sidebar-layout > .glass-card:first-child,
  .instructions-page .sidebar-layout > .glass-card:nth-child(2),
  .instructions-page .sidebar-layout > .glass-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .instructions-page .sidebar-layout .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .instructions-page .sidebar-layout .steps {
    grid-template-columns: 1fr;
  }
}

/* buy page choice layout fix */
.buy-page .checkout .grid {
  display: grid;
  gap: 12px;
}
.buy-page #periods {
  grid-template-columns: repeat(2, minmax(132px, 170px));
  justify-content: start;
}
.buy-page #accessTypes {
  grid-template-columns: repeat(2, minmax(220px, 280px));
  justify-content: start;
}
.buy-page #tariffs {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: stretch;
}
.buy-page .contact-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}
.buy-page .option {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
}
.buy-page .option .muted {
  margin-top: 0;
  line-height: 1.25;
}
.buy-page select {
  appearance: none;
}
.buy-page .form-card {
  overflow: visible;
}
@media (max-width: 760px) {
  .buy-page #periods,
  .buy-page #accessTypes,
  .buy-page #tariffs,
  .buy-page .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* subscription open actions */
.subscription-primary-action {
  margin-top: 18px;
}
.subscription-primary-action .btn {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}
.subscription-secondary-actions {
  margin-top: 12px;
}
.subscription-secondary-actions .btn {
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
}
.subscription-open-page .chat-toggle {
  display: none;
}
@media (max-width: 520px) {
  .skeleton-grid,
  .support-chat-inline #chatIdentity,
  .subscription-secondary-actions {
    grid-template-columns: 1fr;
  }
  .support-chat-inline .btn[type="submit"] {
    width: 100%;
    min-height: 52px;
  }
}

/* app download links */
.apps-download-card .app-downloads {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.download-app {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(88,135,255,.16);
  background: rgba(9,18,46,.48);
}
.download-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.download-head strong,
.download-head small {
  display: block;
}
.download-head strong {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
.download-head small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}
.download-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.download-links .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}
.download-link-hidden,
.download-app-hidden {
  display: none !important;
}
@media (max-width: 520px) {
  .download-links { grid-template-columns: 1fr; }
}

/* shared theme toggle + light theme */
.icon-btn svg { display: block; }
.theme-toggle.is-light svg { transform: rotate(-18deg); }
html[data-theme="light"] {
  --bg-main: #eef5ff;
  --bg-deep: #dfeaff;
  --bg-header: rgba(245, 249, 255, .84);
  --bg-card: rgba(255, 255, 255, .78);
  --bg-card-2: rgba(246, 250, 255, .92);
  --bg-soft: rgba(230, 239, 255, .72);
  --text-main: #0a1433;
  --text-soft: #22345f;
  --text-muted: #526487;
  --text-dim: #7180a0;
  --line: rgba(35, 94, 210, .18);
  --line-strong: rgba(124, 63, 230, .28);
  --shadow-card: 0 0 0 1px rgba(35, 94, 210, .06), 0 18px 55px rgba(26, 59, 120, .14);
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(26, 127, 255, .18), transparent 24%),
    radial-gradient(circle at 78% 12%, rgba(176, 60, 255, .13), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(65, 87, 255, .10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}
html[data-theme="light"] body::before { opacity: .24; }
html[data-theme="light"] body::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(26,127,255,.10) 30%, transparent 42%),
    linear-gradient(65deg, transparent 0%, rgba(176,60,255,.08) 64%, transparent 75%);
}
html[data-theme="light"] .header { border-bottom-color: rgba(35,94,210,.12); }
html[data-theme="light"] .glass-card,
html[data-theme="light"] .map-card,
html[data-theme="light"] .choice-block,
html[data-theme="light"] .step-card,
html[data-theme="light"] .notice,
html[data-theme="light"] .bottom-strip,
html[data-theme="light"] .download-app,
html[data-theme="light"] .chip,
html[data-theme="light"] .option,
html[data-theme="light"] .summary,
html[data-theme="light"] .email-help {
  background: rgba(255,255,255,.70);
  border-color: rgba(35,94,210,.18);
  color: var(--text-muted);
}
html[data-theme="light"] .glass-card::before,
html[data-theme="light"] .map-card::before {
  background: linear-gradient(135deg, rgba(26,127,255,.10), transparent 48%, rgba(176,60,255,.10));
}
html[data-theme="light"] .nav,
html[data-theme="light"] .nav a {
  color: #1d2d4f;
}
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a.active,
html[data-theme="light"] .state-flow span.active,
html[data-theme="light"] .section-title,
html[data-theme="light"] .price-title,
html[data-theme="light"] .price,
html[data-theme="light"] .feature,
html[data-theme="light"] .step-card h3,
html[data-theme="light"] .notice strong,
html[data-theme="light"] .summary strong,
html[data-theme="light"] .summary-list,
html[data-theme="light"] .summary-item b,
html[data-theme="light"] .bottom-item b,
html[data-theme="light"] .bottom-item h3,
html[data-theme="light"] .device-title,
html[data-theme="light"] .contact-title,
html[data-theme="light"] .device-card h3,
html[data-theme="light"] .contact-card h3,
html[data-theme="light"] .security-note h3,
html[data-theme="light"] .download-head strong,
html[data-theme="light"] .chip strong,
html[data-theme="light"] .option strong,
html[data-theme="light"] .option b,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3 {
  color: #0a1433;
}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .page-title { color: #0a1433; }
html[data-theme="light"] .option.active {
  background:
    linear-gradient(135deg, rgba(26,127,255,.18), rgba(176,60,255,.16)),
    rgba(255,255,255,.94);
  border-color: rgba(26,127,255,.58);
  box-shadow: 0 0 0 2px rgba(26,127,255,.12), 0 12px 32px rgba(35,94,210,.14);
}
html[data-theme="light"] .option.active::after {
  background: rgba(26,127,255,.12);
  color: #1257b8;
}
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .mobile-menu-btn,
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .copy-btn,
html[data-theme="light"] .actions a:not(.btn),
html[data-theme="light"] .actions button:not(.btn),
html[data-theme="light"] #open {
  background: rgba(255,255,255,.76);
  color: #14306a;
  border-color: rgba(35,94,210,.24);
  box-shadow: 0 8px 26px rgba(35,94,210,.10), inset 0 0 14px rgba(26,127,255,.04);
}
html[data-theme="light"] .mobile-menu-panel {
  background: rgba(218,226,255,.58);
}
html[data-theme="light"] .mobile-menu-card {
  background: rgba(248,251,255,.96);
  border-color: rgba(35,94,210,.20);
  box-shadow: 0 24px 72px rgba(31,48,96,.22), 0 0 34px rgba(65,87,255,.12);
}
html[data-theme="light"] .mobile-menu-head {
  color: #081538;
}
html[data-theme="light"] .mobile-menu-close,
html[data-theme="light"] .mobile-menu-links a {
  background: rgba(255,255,255,.82);
  color: #14306a;
  border-color: rgba(35,94,210,.18);
}
html[data-theme="light"] .mobile-menu-links a.active,
html[data-theme="light"] .mobile-menu-links a:hover {
  background: linear-gradient(135deg, rgba(26,127,255,.15), rgba(176,60,255,.16));
  border-color: rgba(142,92,255,.38);
  color: #081538;
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .input,
html[data-theme="light"] .url-box {
  background: rgba(255,255,255,.78);
  color: #0a1433;
  border-color: rgba(35,94,210,.22);
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: #7180a0; }
html[data-theme="light"] .particle { background: rgba(26,127,255,.70); box-shadow: 0 0 10px rgba(26,127,255,.45); }
html[data-theme="light"] .orb.one { background: rgba(26,127,255,.18); }
html[data-theme="light"] .orb.two { background: rgba(176,60,255,.15); }
html[data-theme="light"] .orb.three { background: rgba(65,87,255,.13); }
html[data-theme="light"] .toast { background: rgba(255,255,255,.94); color: #0a1433; }
html[data-theme="light"] .chat {
  background: rgba(255,255,255,.96);
  border-color: rgba(35,94,210,.18);
  box-shadow: 0 30px 90px rgba(35,54,110,.20);
}
html[data-theme="light"] .chat-head {
  border-color: rgba(35,94,210,.14);
}
html[data-theme="light"] .chat-head strong,
html[data-theme="light"] .chat-message {
  color: #0a1433;
}
html[data-theme="light"] .chat-body p,
html[data-theme="light"] .chat-file,
html[data-theme="light"] .chat-status {
  color: #526487;
}
html[data-theme="light"] .chat-messages,
html[data-theme="light"] .chat input,
html[data-theme="light"] .chat textarea {
  background: rgba(238,245,255,.78);
  border-color: rgba(35,94,210,.18);
  color: #0a1433;
}
html[data-theme="light"] .chat-message {
  background: rgba(26,127,255,.10);
  border-color: rgba(35,94,210,.16);
}
html[data-theme="light"] .chat-message.client {
  color: white;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  margin: 0;
}

/* scale + checkout/instructions polish */
body { font-size: 16px; }
.header-inner { min-height: 96px; }
.logo-text strong { font-size: 24px; }
.logo-text small { font-size: 11px; }
.nav { font-size: 15px; font-weight: 650; }
.icon-btn { width: 48px; height: 48px; border-radius: 15px; }
.telegram-btn { min-width: 126px; min-height: 48px; padding: 0 14px; }
.telegram-btn .telegram-text { font-size: 14px; }
.main { padding-top: 42px; }
.hero-subtitle,
.lead { font-size: 18px; }
.btn { min-height: 50px; padding: 0 26px; font-size: 15px; }
.badge { min-height: 40px; font-size: 14px; padding: 0 16px; }
.card-pad { padding: 28px; }
.form-card { padding: 46px; }
.section-title { font-size: 26px; }
.notice { padding: 20px; font-size: 15px; }
.notice p { margin: 4px 0 0; line-height: 1.55; }
.option { min-height: 86px; padding: 16px; font-size: 15px; }
.option .muted,
.muted,
.summary-item span,
.feature,
.step-card p,
.device-desc,
.contact-desc,
.download-head small,
.bottom-copy p { font-size: 14px; }
.device-title,
.contact-title,
.download-head strong { font-size: 17px; }

.buy-page .sidebar-layout {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  gap: 26px;
}
.buy-page .summary-card { top: 116px; }
.checkout-visual {
  min-height: 118px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(142,92,255,.28);
  background:
    radial-gradient(circle at 20% 45%, rgba(26,127,255,.22), transparent 36%),
    linear-gradient(135deg, rgba(9,18,46,.74), rgba(48,17,93,.45));
}
.checkout-visual-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px solid rgba(77,178,255,.34);
  background: rgba(26,127,255,.12);
  color: #4db2ff;
  font-size: 38px;
  box-shadow: 0 0 34px rgba(26,127,255,.22), inset 0 0 22px rgba(176,60,255,.12);
}
.checkout-visual b,
.side-total strong { display: block; color: white; font-size: 22px; line-height: 1.15; }
.checkout-visual span { display: block; margin-top: 6px; color: var(--text-muted); line-height: 1.45; }
.checkout-side-summary {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(77,178,255,.24);
  background: rgba(26,127,255,.08);
}
.checkout-side-summary h3 { margin: 0 0 12px; color: white; font-size: 22px; }
.side-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-choice li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  line-height: 1.35;
}
.side-choice b { color: var(--text-main); text-align: right; }
.side-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(142,92,255,.22);
  color: var(--text-muted);
}
.checkout-side-summary .btn { width: 100%; margin-top: 18px; }

.account-card {
  padding: 30px;
}
.account-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
  color: var(--text-soft);
}
.account-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.account-facts div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(88,135,255,.18);
  background: rgba(6,20,49,.48);
}
.account-facts dt {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 13px;
}
.account-facts dd {
  margin: 0;
  color: var(--text-main);
  font-weight: 850;
  line-height: 1.3;
}
.account-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.account-primary-actions .btn {
  width: 100%;
}
.renewal-plans {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.renewal-option {
  width: 100%;
}
.server-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.server-status-card h2 {
  margin: 0 0 16px;
}
.server-list {
  display: grid;
  gap: 12px;
}
.server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(88,135,255,.18);
  background: rgba(6,20,49,.42);
}
.server-row strong {
  color: var(--text-main);
  font-size: 17px;
}
.server-row p {
  margin: 5px 0 0;
  color: var(--text-muted);
  line-height: 1.45;
  font-size: 14px;
}
@media (max-width: 640px) {
  .account-card { padding: 22px; }
  .account-facts,
  .account-primary-actions,
  .server-status-grid {
    grid-template-columns: 1fr;
  }
  .server-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

html[data-theme="light"] .account-facts div {
  background: rgba(255,255,255,.7);
  border-color: rgba(80,112,170,.24);
}
html[data-theme="light"] .server-row {
  background: rgba(255,255,255,.68);
  border-color: rgba(80,112,170,.22);
}
.buy-page #pay {
  display: none;
}

.instructions-page .sidebar-layout {
  grid-template-columns: minmax(320px, .38fr) minmax(0, .62fr);
  gap: 28px;
}
.instructions-page .sidebar-layout > .glass-card:first-child {
  grid-column: 1;
  grid-row: 1;
}
.instructions-page .sidebar-layout > .glass-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.instructions-page .sidebar-layout > .glass-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.device-list {
  display: grid;
  gap: 12px;
}
.device-list li { width: 100%; }
.instructions-page .device-card {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  text-align: left;
}
.instructions-page .device-card.active {
  padding-right: 18px;
}
.instructions-page .device-card::after {
  content: "→";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(77,178,255,.26);
  color: #4db2ff;
  background: rgba(26,127,255,.10);
}
.instructions-page .device-card.active::after {
  content: "✓";
  border-color: rgba(77,178,255,.62);
  background: var(--grad-main);
  color: white;
  box-shadow: 0 0 18px rgba(77,178,255,.28);
}
.instructions-page .device-card .device-title,
.instructions-page .device-card .device-desc { grid-column: 1; }
.flow-visual {
  margin-top: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr) auto minmax(0, 1fr) auto minmax(0, .8fr);
  gap: 10px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(77,178,255,.22);
  background:
    linear-gradient(90deg, rgba(26,127,255,.10), rgba(176,60,255,.10)),
    rgba(9,18,46,.46);
}
.flow-visual span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(88,135,255,.16);
  background: rgba(6,20,49,.45);
  color: white;
  font-weight: 800;
}
.flow-visual b {
  color: #4db2ff;
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(77,178,255,.45));
}
.instructions-page .sidebar-layout .steps {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .buy-page .sidebar-layout,
  .instructions-page .sidebar-layout {
    grid-template-columns: 1fr;
  }
  .instructions-page .sidebar-layout > .glass-card:first-child,
  .instructions-page .sidebar-layout > .glass-card:nth-child(2),
  .instructions-page .sidebar-layout > .glass-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .buy-page .summary-card { top: auto; }
}
@media (max-width: 860px) {
  .header-inner { min-height: auto; }
  .form-card { padding: 28px; }
  .card-pad { padding: 22px; }
  .checkout-visual { grid-template-columns: 1fr; }
  .flow-visual { grid-template-columns: 1fr; }
  .flow-visual b { display: none; }
  .buy-page { padding-bottom: 24px; }
  .buy-page .summary-card {
    position: static;
  }
  .buy-page .checkout-side-summary {
    margin-top: 18px;
  }
  .buy-page #pay {
    display: inline-flex;
    width: 100%;
    min-height: 58px;
    margin-top: 10px;
    border-radius: 18px;
  }
  .buy-page #sidePay {
    display: none;
  }
}

.header-actions .telegram-btn {
  width: auto;
  min-width: 126px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

/* final contrast pass */
html[data-theme="light"] .checkout-visual,
html[data-theme="light"] .checkout-side-summary,
html[data-theme="light"] .flow-visual,
html[data-theme="light"] .flow-visual span,
html[data-theme="light"] .state-flow span,
html[data-theme="light"] .download-links .btn,
html[data-theme="light"] .legal-nav,
html[data-theme="light"] .legal-content {
  background: rgba(255,255,255,.76);
  border-color: rgba(35,94,210,.18);
  color: var(--text-muted);
}

html[data-theme="light"] .checkout-visual {
  background:
    radial-gradient(circle at 20% 45%, rgba(26,127,255,.16), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(238,245,255,.78));
}

html[data-theme="light"] .checkout-visual b,
html[data-theme="light"] .checkout-side-summary h3,
html[data-theme="light"] .side-choice b,
html[data-theme="light"] .side-total strong,
html[data-theme="light"] .flow-visual span,
html[data-theme="light"] .legal-content h2,
html[data-theme="light"] .legal-content h3,
html[data-theme="light"] .legal-nav h2,
html[data-theme="light"] .download-head strong,
html[data-theme="light"] .status-card h1,
html[data-theme="light"] .url-box,
html[data-theme="light"] .price-sub {
  color: #0a1433;
}

html[data-theme="light"] .checkout-visual span,
html[data-theme="light"] .side-choice,
html[data-theme="light"] .side-choice span,
html[data-theme="light"] .side-total,
html[data-theme="light"] .status,
html[data-theme="light"] .support-status,
html[data-theme="light"] .legal-content p,
html[data-theme="light"] .legal-content li,
html[data-theme="light"] .lead,
html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .device-desc,
html[data-theme="light"] .contact-desc,
html[data-theme="light"] .download-head small,
html[data-theme="light"] .bottom-copy p,
html[data-theme="light"] .price-sub,
html[data-theme="light"] .option .muted {
  color: #526487;
}

html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.primary,
html[data-theme="light"] button.primary,
html[data-theme="light"] a.primary {
  color: #fff;
}

html[data-theme="light"] .warning {
  background: rgba(255,91,145,.10);
  color: #9f1239;
  border-color: rgba(255,91,145,.32);
}

html[data-theme="light"] .warning strong,
html[data-theme="light"] .badge.red {
  color: #9f1239;
}

html[data-theme="light"] .badge {
  color: #14306a;
  background: rgba(255,255,255,.82);
  border-color: rgba(35,94,210,.24);
  box-shadow: 0 8px 22px rgba(35,94,210,.10);
}

html[data-theme="light"] .badge:hover {
  color: #081538;
  border-color: rgba(142,92,255,.38);
  box-shadow: 0 10px 28px rgba(142,92,255,.14);
}

html[data-theme="light"] .badge.red,
html[data-theme="light"] .badge.bad {
  color: #9f1239;
  background: rgba(255,91,145,.10);
  border-color: rgba(255,91,145,.32);
}

html[data-theme="light"] .badge.green,
html[data-theme="light"] .badge.ok {
  color: #047857;
  background: rgba(16,185,129,.11);
  border-color: rgba(16,185,129,.30);
}

html[data-theme="light"] .badge.warn {
  color: #92400e;
  background: rgba(251,191,36,.16);
  border-color: rgba(251,191,36,.34);
}

html[data-theme="light"] .legal-nav a,
html[data-theme="light"] .summary-item {
  color: #526487;
}

html[data-theme="light"] .legal-nav a.active,
html[data-theme="light"] .legal-nav a:hover {
  color: #0a1433;
  background: rgba(26,127,255,.10);
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: none;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 8px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(88,135,255,.18);
  background: rgba(5,12,34,.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 -16px 48px rgba(0,0,0,.34), 0 0 32px rgba(65,87,255,.16);
}
.mobile-sticky-cta a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #eef3ff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.mobile-sticky-cta .sticky-buy {
  background: var(--grad-main);
  color: white;
  box-shadow: 0 0 22px rgba(67,87,255,.32), 0 0 30px rgba(176,60,255,.16);
}
.mobile-sticky-cta .sticky-link {
  border: 1px solid rgba(88,135,255,.22);
  background: rgba(9,18,46,.72);
}
html[data-theme="light"] .mobile-sticky-cta {
  background: rgba(248,251,255,.92);
  border-color: rgba(35,94,210,.16);
  box-shadow: 0 -14px 38px rgba(31,48,96,.16);
}
html[data-theme="light"] .mobile-sticky-cta .sticky-link {
  background: rgba(255,255,255,.82);
  color: #14306a;
  border-color: rgba(35,94,210,.20);
}
@media (max-width: 768px) {
  body.has-mobile-sticky {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .buy-page .chat-toggle {
    display: none;
  }
  body.has-mobile-sticky .mobile-sticky-cta {
    display: grid;
  }
  body.has-mobile-sticky .toast {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

/* final mobile header lock */
@media (max-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    justify-content: normal;
    column-gap: 10px;
  }
  .logo {
    min-width: 0;
    justify-self: center;
    justify-content: center;
    overflow: hidden;
  }
  .logo-text {
    min-width: 0;
  }
  .logo-text strong {
    white-space: nowrap;
  }
  .header-actions {
    min-width: 48px;
    width: 48px;
    justify-content: flex-end;
    overflow: visible;
  }
  .header-actions .telegram-btn {
    display: none !important;
  }
  .header-actions .theme-toggle {
    display: grid !important;
  }
}

/* unified card system */
.glass-card,
.map-card,
.step-card,
.notice,
.bottom-strip,
.bottom-item,
.choice-block,
.chip,
.option,
.summary,
.email-help,
.checkout-visual,
.checkout-side-summary,
.download-app,
.support-chat-inline.chat,
.legal-nav,
.legal-content,
.url-box {
  border-radius: 22px;
  border: 1px solid rgba(88,135,255,.20);
  background:
    linear-gradient(135deg, rgba(13,32,83,.76), rgba(13,21,58,.72));
  box-shadow: 0 18px 54px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04);
}

.glass-card::before,
.map-card::before {
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(77,178,255,.08), transparent 48%, rgba(176,60,255,.08));
}

.step-card,
.pay-step,
.faq-card,
.product-card,
.app-card,
.device-card,
.contact-card,
.security-note,
.checkout-visual,
.checkout-side-summary,
.notice,
.bottom-item {
  min-height: auto;
  border-radius: 20px;
  border: 1px solid rgba(88,135,255,.18);
  background: rgba(9,18,46,.54);
}

.step-card,
.pay-step,
.faq-card,
.product-card,
.app-card,
.device-card,
.contact-card,
.security-note {
  padding: 18px;
}

.step-card h3,
.pay-step b,
.faq-card h3,
.product-card h3,
.app-card h3,
.device-card h3,
.contact-card h3,
.bottom-item h3,
.bottom-item b,
.notice strong {
  color: var(--text-main);
}

.step-card p,
.pay-step span,
.faq-card p,
.product-card p,
.app-card p,
.device-card p,
.contact-card p,
.bottom-copy p,
.notice p {
  color: var(--text-muted);
  line-height: 1.5;
}

.steps,
.grid-2,
.grid-3,
.grid-4,
.bottom-strip,
.faq-grid,
.pay-flow {
  gap: 16px;
}

.bottom-strip {
  padding: 18px;
}

.legal-footer-links {
  width: min(var(--container), calc(100% - 48px));
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 14px;
}

.legal-footer-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(91, 141, 255, .24);
  background: rgba(7, 20, 53, .52);
  font-weight: 650;
}

.legal-footer-links a:hover {
  color: #fff;
  border-color: rgba(142, 92, 255, .5);
  background: rgba(65, 87, 255, .16);
}

.faq-anchor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.faq-anchor-grid a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 14px;
  border: 1px solid rgba(91, 141, 255, .24);
  background: rgba(7, 20, 53, .52);
  color: var(--text-soft);
  font-weight: 700;
  text-align: center;
}

.faq-anchor-grid a:hover {
  color: #fff;
  border-color: rgba(142, 92, 255, .5);
  background: rgba(65, 87, 255, .16);
}

.faq-section {
  scroll-margin-top: 110px;
  margin-top: 30px;
}

.faq-page .hero.compact {
  display: block;
  max-width: 980px;
}

.faq-page .hero.compact .hero-subtitle {
  max-width: 720px;
}

.faq-section .section-title {
  margin-bottom: 4px;
}

.faq-section .faq-grid {
  margin-top: 18px;
  gap: 12px;
}

.faq-page .faq-card {
  min-height: 132px;
  padding: 16px;
}

.faq-page .faq-card h3 {
  font-size: 17px;
}

.faq-page .faq-card p {
  margin-top: 8px;
}

.faq-final-cta {
  margin-top: 30px;
  padding: 28px;
  text-align: center;
}

.faq-final-cta .hero-subtitle {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.faq-card .text-link {
  display: inline-flex;
  margin-top: 12px;
  color: #76c7ff;
  font-weight: 750;
}

.bottom-item {
  padding: 16px;
  align-items: flex-start;
}

.checkout-visual,
.checkout-side-summary,
.notice {
  padding: 18px;
}

html[data-theme="light"] .glass-card,
html[data-theme="light"] .map-card,
html[data-theme="light"] .step-card,
html[data-theme="light"] .pay-step,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .app-card,
html[data-theme="light"] .device-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .security-note,
html[data-theme="light"] .notice,
html[data-theme="light"] .bottom-strip,
html[data-theme="light"] .bottom-item,
html[data-theme="light"] .choice-block,
html[data-theme="light"] .chip,
html[data-theme="light"] .option,
html[data-theme="light"] .summary,
html[data-theme="light"] .email-help,
html[data-theme="light"] .checkout-visual,
html[data-theme="light"] .checkout-side-summary,
html[data-theme="light"] .download-app,
html[data-theme="light"] .support-chat-inline.chat,
html[data-theme="light"] .legal-nav,
html[data-theme="light"] .legal-content,
html[data-theme="light"] .url-box {
  background: rgba(255,255,255,.78);
  border-color: rgba(35,94,210,.18);
  box-shadow: 0 18px 46px rgba(31,48,96,.12), inset 0 1px 0 rgba(255,255,255,.82);
}

html[data-theme="light"] .legal-footer-links a {
  color: #33456f;
  background: rgba(255,255,255,.82);
  border-color: rgba(35,94,210,.18);
  box-shadow: 0 10px 26px rgba(31,48,96,.09);
}

html[data-theme="light"] .legal-footer-links a:hover {
  color: #0a1433;
  background: rgba(255,255,255,.96);
}

html[data-theme="light"] .faq-anchor-grid a {
  color: #33456f;
  background: rgba(255,255,255,.82);
  border-color: rgba(35,94,210,.18);
  box-shadow: 0 10px 26px rgba(31,48,96,.09);
}

html[data-theme="light"] .faq-anchor-grid a:hover {
  color: #0a1433;
  background: rgba(255,255,255,.96);
}

html[data-theme="light"] .step-card,
html[data-theme="light"] .pay-step,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .app-card,
html[data-theme="light"] .device-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .security-note,
html[data-theme="light"] .checkout-visual,
html[data-theme="light"] .checkout-side-summary,
html[data-theme="light"] .notice,
html[data-theme="light"] .bottom-item {
  background: rgba(255,255,255,.72);
}

html[data-theme="light"] .glass-card::before,
html[data-theme="light"] .map-card::before {
  background: linear-gradient(135deg, rgba(26,127,255,.08), transparent 48%, rgba(176,60,255,.08));
}

@media (max-width: 768px) {
  .legal-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .legal-footer-links a {
    width: 100%;
  }

  .faq-anchor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-anchor-grid a {
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
  }

  .faq-page .faq-card {
    min-height: auto;
  }

  .faq-final-cta {
    padding: 22px;
    text-align: left;
  }

  .card-pad,
  .form-card,
  .panel,
  .status-card {
    padding: 22px;
  }

  .step-card,
  .pay-step,
  .faq-card,
  .product-card,
  .app-card,
  .device-card,
  .contact-card,
  .security-note,
  .notice,
  .bottom-item {
    border-radius: 18px;
    padding: 16px;
  }
}

/* subscription page step cards */
.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 5px;
  min-height: 114px;
  padding: 18px 22px;
}

.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card .num {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card .icon-box {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 26px;
}

.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card h3 {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

.subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card p {
  grid-column: 3;
  grid-row: 2;
  margin: 0;
}

@media (max-width: 768px) {
  .subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card {
    grid-template-columns: 30px 54px minmax(0, 1fr);
    min-height: 104px;
    padding: 16px;
  }

  .subscription-open-page .container.glass-card.card-pad.section > .grid-4.section .step-card .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 24px;
  }
}

/* polished brand */
.logo {
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(22, 55, 145, .96), rgba(14, 23, 68, .98));
  border: 1px solid rgba(77, 178, 255, .24);
  box-shadow: 0 12px 32px rgba(26, 127, 255, .18), inset 0 1px 0 rgba(255,255,255,.08);
}

.logo-mark::before {
  inset: 0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 68% 24%, rgba(176,60,255,.34), transparent 34%),
    radial-gradient(circle at 28% 78%, rgba(26,127,255,.28), transparent 34%);
  box-shadow: none;
}

.shield {
  width: 26px;
  height: 30px;
  clip-path: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shield span {
  width: 18px;
  height: 16px;
  margin-top: 9px;
  border-radius: 5px;
  background: linear-gradient(135deg, #4db2ff, #9d5cff);
  box-shadow: 0 8px 18px rgba(65,87,255,.28);
}

.shield span::before {
  top: -11px;
  width: 13px;
  height: 14px;
  border-width: 2px;
  border-color: rgba(231, 243, 255, .92);
}

.shield span::after {
  top: 6px;
  width: 3px;
  height: 5px;
  background: rgba(255,255,255,.86);
}

.logo-text strong {
  font-size: 22px;
  line-height: .98;
  letter-spacing: .01em;
  font-weight: 900;
  background: linear-gradient(90deg, #f4f8ff 0%, #6cb6ff 58%, #b85cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text small {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .24em;
  color: rgba(177,190,222,.62);
  font-weight: 700;
}

.logo-text {
  justify-content: center;
  gap: 0;
}

.logo-text small {
  display: none !important;
}

html[data-theme="light"] .logo-mark {
  background: linear-gradient(145deg, rgba(246,250,255,.96), rgba(224,235,255,.92));
  border-color: rgba(35,94,210,.18);
  box-shadow: 0 12px 28px rgba(35,94,210,.14), inset 0 1px 0 rgba(255,255,255,.9);
}

html[data-theme="light"] .logo-text strong {
  background: linear-gradient(90deg, #0a1433 0%, #2179f5 58%, #923cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .logo-text small {
  color: rgba(82,100,135,.72);
}

@media (max-width: 860px) {
  .logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .logo-mark::before {
    border-radius: 14px;
  }

  .logo-text strong {
    font-size: 20px;
  }
}

/* Light theme clarity overrides */
html[data-theme="light"] .logo-mark {
  background: linear-gradient(145deg, #143a88 0%, #1b6df2 58%, #7438f5 100%);
  border-color: rgba(25, 92, 220, .34);
  box-shadow: 0 10px 24px rgba(35, 94, 210, .22), inset 0 1px 0 rgba(255,255,255,.22);
}

html[data-theme="light"] .logo-mark::before {
  background:
    radial-gradient(circle at 68% 24%, rgba(255,255,255,.22), transparent 34%),
    radial-gradient(circle at 28% 78%, rgba(74,178,255,.24), transparent 36%);
}

html[data-theme="light"] .logo-text strong {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #102452;
  text-shadow: none;
}

html[data-theme="light"] .glass-card::before,
html[data-theme="light"] .map-card::before {
  background: linear-gradient(135deg, rgba(26,127,255,.045), transparent 52%, rgba(176,60,255,.04));
}

html[data-theme="light"] .location-badges span,
html[data-theme="light"] .badge {
  background: rgba(255,255,255,.86);
  color: #17346f;
  border-color: rgba(35,94,210,.22);
  box-shadow: 0 8px 20px rgba(35,94,210,.10);
}
