@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-400.woff2') format('woff2'), url('assets/fonts/onest-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-500.woff2') format('woff2'), url('assets/fonts/onest-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-600.woff2') format('woff2'), url('assets/fonts/onest-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-700.woff2') format('woff2'), url('assets/fonts/onest-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07060c;
  --bg-soft: #0b0912;
  --panel: #100d19;
  --panel-2: #161122;
  --text: #f4f1ff;
  --muted: #a39cb8;
  --muted-2: #766f8a;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-accent: rgba(167, 139, 250, 0.24);
  --accent: #a78bfa;
  --accent-2: #7c5cff;
  --accent-3: #c4b5fd;
  --green: #4ade80;
  --amber: #f5c76a;
  --red: #f87171;
  --radius: 20px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(800px 500px at 4% 12%, rgba(167, 139, 250, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body, button, input { font-family: var(--font); }
img, svg { display: block; }
a { color: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(167, 139, 250, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 12, 0.66);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-head.scrolled {
  background: rgba(7, 6, 12, 0.92);
  border-bottom-color: var(--line);
}
.head { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { border-radius: 8px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-logo { height: 40px; width: auto; flex: none; border-radius: 0; }
.site-foot .brand-mark { width: 26px; height: 26px; }
.site-foot .brand-logo { height: 28px; }
.brand em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  padding: 2px 6px;
}
.nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
.nav a { color: var(--muted); text-decoration: none; transition: color 0.18s ease; }
.nav a:hover { color: var(--text); }
.nav details { position: relative; }
.nav summary {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease;
}
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: '▾'; font-size: 10px; opacity: 0.7; }
.nav summary:hover,
.nav details[open] summary { color: var(--text); }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.nav-menu a { padding: 9px 12px; border-radius: 9px; font-size: 13.5px; }
.nav-menu a:hover { background: var(--soft); color: var(--text); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-only { display: none; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--muted-2); font-size: 12.5px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: 0.6; }
.head-actions { display: flex; align-items: center; gap: 16px; }
.cab { font-size: 13.5px; color: var(--muted); text-decoration: none; transition: color 0.18s ease; }
.cab:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: #0a0810;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 20px;
  font: 600 14.5px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.lg { padding: 16px 24px; font-size: 15px; border-radius: 14px; }
.btn.sm { padding: 10px 16px; font-size: 13px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.15); }
.btn.ghost:hover { background: rgba(167, 139, 250, 0.08); border-color: rgba(167, 139, 250, 0.45); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- shared ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
  animation: blink 3.6s ease-in-out infinite;
}
.ico { display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--accent); }
.ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.16);
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.ico-wrap svg,
.card-head svg,
.srv-check svg,
.status-link svg,
.plans-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.section { padding: 96px 0; scroll-margin-top: 80px; }
.sec-head { max-width: 740px; margin-bottom: 40px; }
.sec-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.sec-head .sub { margin: 0; color: var(--muted); font-size: 16px; max-width: 58ch; }
.accent { color: var(--accent-3); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 54px 0 30px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: -220px -10% auto;
  height: 760px;
  pointer-events: none;
  background:
    radial-gradient(620px 460px at 74% 36%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(520px 380px at 18% 18%, rgba(124, 92, 255, 0.08), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.7px, transparent 0.7px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(#000 0%, transparent 72%);
  mask-image: linear-gradient(#000 0%, transparent 72%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 48px;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.hero .lead {
  margin: 0 0 28px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12.5px;
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts .ico { color: var(--green); }
.hero-facts .ico svg { width: 14px; height: 14px; }

/* hero product mock */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  padding: 20px 16px;
}
.star-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.42), rgba(124, 92, 255, 0.1) 46%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.star-rays {
  position: absolute;
  width: 760px;
  height: 760px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.42;
  background: repeating-conic-gradient(from 0deg, rgba(196, 181, 253, 0.22) 0deg 0.9deg, transparent 0.9deg 22.5deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 16%, #000 34%, transparent 66%);
  mask-image: radial-gradient(circle, transparent 0 16%, #000 34%, transparent 66%);
  animation: spin 180s linear infinite;
}
.app {
  position: relative;
  width: min(100%, 398px);
  padding: 17px 17px 15px;
  border-radius: 28px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: linear-gradient(165deg, rgba(27, 22, 42, 0.96), rgba(10, 8, 17, 0.99));
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
.app-brand img { border-radius: 7px; }
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.08);
  color: #9ff0bb;
  font-size: 11px;
  font-weight: 500;
}
.app-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12); }
.app-core { position: relative; height: 186px; display: grid; place-items: center; margin: 8px 0 4px; }
.core-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(167, 139, 250, 0.16); }
.core-ring.r1 { width: 164px; height: 164px; }
.core-ring.r2 { width: 212px; height: 212px; border-color: rgba(167, 139, 250, 0.07); }
.core {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.32);
  background: radial-gradient(circle at 36% 30%, rgba(196, 181, 253, 0.34), rgba(124, 92, 255, 0.16) 46%, rgba(10, 8, 17, 0.94) 76%);
  box-shadow: 0 0 64px rgba(124, 92, 255, 0.5), inset 0 0 28px rgba(167, 139, 250, 0.22);
  animation: corepulse 5.5s ease-in-out infinite;
}
.core img { border-radius: 50%; filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.8)); }
.app-state { margin: 0; text-align: center; font-size: 16px; font-weight: 600; }
.app-sub { margin: 4px 0 15px; text-align: center; font-size: 11.5px; color: var(--muted); }
.srv-list { display: grid; gap: 6px; }
.srv {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
}
.srv.is-on { border-color: rgba(167, 139, 250, 0.28); background: rgba(124, 92, 255, 0.09); }
.flag {
  width: 30px;
  height: 21px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.flag svg { width: 100%; height: 100%; }
.flag-cf { color: var(--amber); background: rgba(245, 199, 106, 0.08); border-color: rgba(245, 199, 106, 0.2); }
.flag-cf svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.srv-txt { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.srv-txt b { font-size: 12.5px; font-weight: 500; }
.srv-txt small { font-size: 10.5px; color: var(--muted); }
.srv-check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(167, 139, 250, 0.16); color: var(--accent); margin-left: auto; }
.srv-check svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { display: flex; align-items: baseline; gap: 14px; padding: 26px 26px; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-grid b { font-size: 38px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; min-width: 34px; }
.strip-grid span { color: var(--muted); font-size: 12.5px; line-height: 1.35; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: rgba(167, 139, 250, 0.3); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.card .ico-wrap { margin-bottom: 16px; }
.card-route { grid-column: span 2; display: flex; flex-direction: column; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head .ico-wrap { margin: 0; }
.card-head h3 { margin: 0; font-size: 19px; }
.card-route > p { max-width: 62ch; }
.card-foot { margin-top: auto !important; padding-top: 14px; color: var(--muted-2) !important; font-size: 12px !important; }
.card-traffic { position: relative; overflow: hidden; }
.card-traffic h3,
.card-traffic p,
.card-traffic .ico-wrap { position: relative; z-index: 1; }
.card-mark {
  position: absolute;
  right: 12px;
  bottom: -34px;
  z-index: 0;
  color: rgba(167, 139, 250, 0.1);
  font-size: 136px;
  line-height: 1;
  font-weight: 600;
  pointer-events: none;
}
.route-visual { display: grid; gap: 9px; margin: 20px 0 6px; }
.route-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) 88px; align-items: center; gap: 10px; }
.route-name { display: flex; align-items: center; font-size: 12.5px; color: var(--text); }
.route-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 7px; flex: 0 0 auto; }
.route-dot.ru { background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1); }
.route-dot.eu { background: var(--accent); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1); }
.route-line { display: flex; align-items: center; gap: 7px; min-width: 0; }
.route-line i { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent); }
.route-line.direct i { background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.42), transparent); }
.route-line.via i { background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.45), transparent); }
.route-line em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent-3);
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(124, 92, 255, 0.1);
  border-radius: 999px;
  padding: 3px 7px;
  white-space: nowrap;
}
.route-state { text-align: right; font-size: 11px; color: var(--muted); white-space: nowrap; }

/* ---------- status ---------- */
.section-status { padding-top: 40px; }
.status {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.status-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.status-now { display: flex; align-items: center; gap: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); flex: 0 0 auto; }
.dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1); }
.dot.warn { background: var(--amber); }
.dot.bad { background: var(--red); }
.dot.maint { background: var(--accent); }
.status-now b { display: block; font-size: 16px; font-weight: 600; }
.status-now small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.status-pct { text-align: right; }
.status-pct b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.03em; font-weight: 600; }
.status-pct small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; }
.bars { display: flex; gap: 0; height: 40px; }
.bars i { flex: 1; min-width: 0; border-radius: 0; background: var(--green); position: relative; transform-origin: center; transition: transform 0.12s ease, opacity 0.12s ease, filter 0.12s ease; }
.bars i.is-near { z-index: 2; }
.bars i.is-active { z-index: 3; }
.bars.is-hover i { opacity: 0.5; }
.bars.is-hover i.is-near { opacity: 0.9; transform: scale(1.08); }
.bars.is-hover i.is-active { opacity: 1; transform: scale(1.15); }
.bars i:first-child { border-radius: 7px 0 0 7px; }
.bars i:last-child { border-radius: 0 7px 7px 0; }
.bars i.w { background: var(--amber); }
.bars i.b { background: var(--red); }
.bars i.m { background: var(--accent); }
.bars i.off { background: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 2px, transparent 2px 4px); opacity: .5; }
.bars i:hover::after {
  content: attr(data-t);
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #12101a;
  font: 500 11.5px/1.3 var(--font);
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}
.bars i:nth-child(-n+10):hover::after { left: 0; transform: none; }
.bars i:nth-last-child(-n+10):hover::after { left: auto; right: 0; transform: none; }
.axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted-2); font-size: 11.5px; }
.status-note { margin: 10px 0 0; color: var(--muted-2); font-size: 11.5px; }
.nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.nodes div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
}
.nodes small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.nodes b { color: var(--green); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.nodes b.warn { color: var(--amber); }
.nodes b.bad { color: var(--red); }
.nodes b.maint { color: var(--accent); }
.status-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent); font-size: 13px; text-decoration: none; }
.status-link svg { width: 14px; height: 14px; }
.status-link:hover { color: var(--accent-3); }

/* ---------- pricing ---------- */
.buy-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: start; gap: 20px; }
.plans { display: grid; gap: 8px; }
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.plan:hover { border-color: rgba(167, 139, 250, 0.35); transform: translateX(2px); }
.plan[aria-pressed="true"] {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 92, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(167, 139, 250, 0.12);
}
.plan-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; font-weight: 600; }
.plan-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.plan-price { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.badge {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.badge.hot { color: var(--accent-3); border-color: rgba(167, 139, 250, 0.35); background: rgba(124, 92, 255, 0.12); }
.badge.best { color: var(--green); border-color: rgba(74, 222, 128, 0.28); background: rgba(74, 222, 128, 0.08); }
.badge.muted { color: var(--muted-2); }
.plans-note { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; padding-left: 4px; color: var(--muted-2); font-size: 11.5px; }
.plans-note svg { width: 14px; height: 14px; flex: 0 0 auto; }

.checkout {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: linear-gradient(180deg, #171226, #0d0a15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.checkout-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.checkout-top b { color: var(--text); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; text-transform: none; }
.checkout-plan { margin: 3px 0 18px; color: var(--muted); font-size: 12.5px; }
.field { display: grid; gap: 7px; margin-bottom: 12px; }
.field > span { color: var(--muted); font-size: 11.5px; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 6, 12, 0.7);
  color: var(--text);
  font: 400 14px/1 var(--font);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: rgba(167, 139, 250, 0.55); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16); }
.legal-check { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.55; cursor: pointer; }
.legal-check input { margin: 2px 0 0; accent-color: var(--accent-2); flex: 0 0 auto; }
.legal-check a { color: var(--accent); text-decoration: none; }
.legal-check a:hover { text-decoration: underline; }
.legal-check.is-error { color: #fca5a5; }
.legal-check.is-error a { color: #fecaca; }
.legal-check.is-error input { outline: 2px solid rgba(248, 113, 113, 0.65); outline-offset: 2px; border-radius: 3px; }
.legal-error { margin: -4px 0 12px; color: #fca5a5; font-size: 11.5px; line-height: 1.45; }
.field input.is-error { border-color: rgba(248, 113, 113, 0.7); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12); }
#msg.is-error { color: #fca5a5; }
.btn.pay {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: linear-gradient(135deg, #8b5cf6, #6a45f5);
  color: #fff;
  box-shadow: 0 12px 30px rgba(106, 69, 245, 0.32);
}
.btn.pay:hover { background: linear-gradient(135deg, #9b74ff, #7a55ff); box-shadow: 0 16px 36px rgba(106, 69, 245, 0.42); }
.note { margin: 12px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.note a, .checkout-trial a { color: var(--accent); text-decoration: none; }
.note a:hover, .checkout-trial a:hover { text-decoration: underline; }
.checkout-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}
.checkout-list li { display: flex; align-items: center; gap: 8px; }
.checkout-list .ico { color: var(--accent); }
.checkout-list .ico svg { width: 14px; height: 14px; }
.checkout-trial { margin: 16px 0 0; color: var(--muted-2); font-size: 11.5px; }

.pending {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 199, 106, 0.25);
  border-radius: 12px;
  background: rgba(245, 199, 106, 0.06);
  font-size: 12px;
}
.pending p { margin: 0 0 8px; color: var(--muted); }
.pending b { color: var(--text); }
.pending__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.paybox {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.paybox h3 { margin: 0 0 6px; font-size: 15px; }
.paybox p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.paybox b { color: var(--text); }
.paybox .suburl { display: flex; gap: 6px; margin: 10px 0 4px; }
.paybox .suburl input {
  flex: 1;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 6, 12, 0.7);
  color: var(--text);
  font: 12px/1.4 var(--font);
}
.paybox .btn.sm { padding: 9px 12px; }

/* ---------- how ---------- */
.how { padding-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { display: block; margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; }
.steps h3 { margin: 0 0 7px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin: 0; max-width: 36ch; color: var(--muted); font-size: 13.5px; line-height: 1.62; }

/* ---------- devices ---------- */
.devices-sec { padding-top: 40px; }
.devices-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(520px 240px at 6% 0%, rgba(124, 92, 255, 0.14), transparent 70%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.devices-copy h2 { margin: 9px 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.devices-copy p:last-child { margin: 0; max-width: 32ch; color: var(--muted); font-size: 13.5px; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.device-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 6, 12, 0.35);
}
.device-grid .ico-wrap { width: 34px; height: 34px; grid-row: span 2; margin: 0; border-radius: 10px; }
.device-grid .ico-wrap svg { width: 17px; height: 17px; }
.device-grid b { font-size: 13.5px; font-weight: 500; }
.device-grid li > span:last-child { color: var(--muted); font-size: 11px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.faq summary:hover { color: var(--accent-3); }
.faq summary:hover::after { border-color: rgba(167, 139, 250, 0.4); color: var(--accent); }
.faq details[open] summary::after { content: '−'; color: var(--accent); border-color: rgba(167, 139, 250, 0.4); }
.faq details p { margin: 0 0 19px; max-width: 72ch; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- cta ---------- */
.cta-sec { padding: 0 0 96px; }
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 44px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(560px 300px at 82% 18%, rgba(124, 92, 255, 0.28), transparent 70%),
    linear-gradient(120deg, #151022, #0b0912);
}
.cta::after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  right: -80px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.12);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 600px; }
.cta h2 { margin: 10px 0 8px; font-size: clamp(26px, 3.3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.cta p { margin: 0; max-width: 52ch; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }

/* ---------- footer ---------- */
.site-foot { padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 14px 0 16px; max-width: 30ch; color: var(--muted); font-size: 13px; }
.foot-support { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 13px; text-decoration: none; }
.foot-support .ico svg { width: 15px; height: 15px; }
.foot-support:hover { color: var(--accent-3); }
.site-foot h3 { margin: 0 0 14px; color: var(--muted-2); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.site-foot .foot-grid > div:not(.foot-brand) a { display: block; margin: 9px 0; color: var(--muted); font-size: 13px; text-decoration: none; transition: color 0.18s ease; }
.site-foot .foot-grid > div:not(.foot-brand) a:hover { color: var(--text); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

/* ---------- mobile cta ---------- */
.mobile-cta { display: none; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- animations ---------- */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes corepulse {
  0%, 100% { box-shadow: 0 0 54px rgba(124, 92, 255, 0.42), inset 0 0 24px rgba(167, 139, 250, 0.18); }
  50% { box-shadow: 0 0 82px rgba(124, 92, 255, 0.62), inset 0 0 34px rgba(167, 139, 250, 0.3); }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero h1 { font-size: clamp(42px, 5.2vw, 64px); }
  .hero-art { min-height: 520px; }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { max-width: 680px; }
  .hero-art { min-height: 0; padding: 22px 0 12px; }
  .app { width: min(100%, 420px); }
  .star-glow { width: 480px; height: 480px; }
  .star-rays { width: 620px; height: 620px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-route { grid-column: span 2; }
  .buy-grid { grid-template-columns: 1fr; }
  .checkout { max-width: none; }
  .devices-panel { grid-template-columns: 1fr; gap: 24px; }
  .devices-copy p:last-child { max-width: 52ch; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: span 3; }
  .foot-brand p { max-width: 50ch; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .head-actions .cab-desktop { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    z-index: 60;
  }
  .nav.is-open > a,
  .nav.is-open > details > summary {
    padding: 13px 2px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-size: 15.5px;
  }
  .nav.is-open > .nav-mobile-only { display: block; }
  .nav.is-open details { width: 100%; }
  .nav.is-open details[open] .nav-menu {
    position: static;
    min-width: 0;
    padding: 4px 0 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav.is-open .nav-menu a { padding: 10px 4px; font-size: 14.5px; }
  .section { padding: 76px 0; }
  .section-status, .how, .devices-sec { padding-top: 24px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div { padding: 22px 20px; }
  .strip-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li { padding: 22px 0; border-top: 1px solid var(--line); }
  .steps li + li { padding-left: 0; border-left: 0; }
  .steps p { max-width: 60ch; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 200px; }
  body { padding-bottom: 92px; }
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 10px 16px;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    background: rgba(16, 13, 25, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-cta.show { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-cta b { display: block; font-size: 12.5px; font-weight: 600; }
  .mobile-cta small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
  .mobile-cta-btn {
    padding: 11px 16px;
    border-radius: 11px;
    background: linear-gradient(135deg, #8b5cf6, #6a45f5);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero .lead { font-size: 15.5px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 8px 14px; font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .card-route { grid-column: span 1; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: clamp(27px, 7vw, 36px); }
  .status { padding: 18px; }
  .status-top { gap: 12px; }
  .status-pct b { font-size: 28px; }
  .nodes { grid-template-columns: 1fr; }
  .plan { padding: 15px 16px; }
  .plan-price { font-size: 23px; }
  .plan-sub { font-size: 11.5px; }
  .checkout { padding: 18px; }
  .cta { padding: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: span 2; }
  .device-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .head { height: 60px; gap: 12px; }
  .head-actions { gap: 10px; }
  .brand { font-size: 15px; flex: none; }
  .brand img:not(.brand-logo) { width: 26px; height: 26px; }
  .brand-logo { height: 30px; }
  .hero-art { padding-top: 14px; }
  .app { border-radius: 24px; padding: 14px; }
  .app-core { height: 160px; }
  .core-ring.r1 { width: 144px; height: 144px; }
  .core-ring.r2 { width: 184px; height: 184px; }
  .core { width: 92px; height: 92px; }
  .core img { width: 46px; height: 46px; }
  .strip-grid b { font-size: 32px; }
  .strip-grid span { font-size: 11.5px; }
  .route-row { grid-template-columns: 74px minmax(0, 1fr) 74px; gap: 7px; }
  .route-state { font-size: 10px; }
  .status-top { flex-direction: column; align-items: flex-start; }
  .status-pct { text-align: left; }
  .plan-name { font-size: 14.5px; }
  .plans-note { font-size: 11px; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; flex: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .plan-price { font-size: 21px; }
  .plan-name { font-size: 13.5px; }
  .app-status { font-size: 10px; padding: 4px 7px; }
  .srv-txt b { font-size: 12px; }
  .srv-txt small { font-size: 10px; }
}
@media (max-width: 340px) {
  .cab { display: none; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .strip-grid > div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .bento.two-col { grid-template-columns: 1fr; }
}

/* news */
.news { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time { color: var(--muted-2); font-size: 13px; line-height: 1.5; }
.news-item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.news-item p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.news-item a { font-size: 13px; color: var(--accent-3); }
@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* video */
.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
.video-frame {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
}
.video-frame figcaption {
  margin: 10px 4px 2px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}
.video-frame.square { max-width: 520px; }
.steps.vertical { grid-template-columns: 1fr; }
.steps.vertical li { padding: 18px 0; }
.steps.vertical li + li {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* toc */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.toc a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.toc a:hover {
  color: var(--text);
  border-color: var(--line-accent);
}

/* device switcher */
.device-switcher {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 18px;
}
.device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.device-tab {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.device-tab:hover { color: var(--text); border-color: var(--line-accent); }
.device-tab.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.device-panel[hidden] { display: none; }
.device-panel .steps {
  grid-template-columns: 1fr;
  border-top: 0;
}
.device-panel .steps li { padding: 16px 0; }
.device-panel .steps li + li {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
}
.device-panel .hero-cta { margin-top: 14px; }
@media (max-width: 700px) {
  .device-panel .steps { grid-template-columns: 1fr; }
  .device-panel .steps li { padding: 16px 0; }
  .device-panel .steps li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* guide screenshots */
.guide-shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 18px auto 0;
}
.guide-shot {
  flex: 0 0 300px;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.guide-shot img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: #0b0912;
  cursor: zoom-in;
}
.guide-shot figcaption {
  padding: 8px 10px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .guide-shot { flex: 1 1 100%; }
  .guide-shot img { height: auto; max-height: 360px; }
}

/* auto add subscription */
.auto-add-block {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.auto-add-block h3 { margin: 0 0 6px; font-size: 17px; }
.auto-add-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.auto-add { display: flex; flex-wrap: wrap; gap: 10px; }
.auto-add input {
  flex: 1 1 320px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.auto-add input::placeholder { color: var(--muted-2); }
.auto-add input:focus { outline: 2px solid var(--line-accent); outline-offset: 1px; }
.auto-add.is-linked input {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  cursor: default;
}
.auto-add-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* manual / automatic mode */
.mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.mode-btn {
  margin-bottom: -1px;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.is-active {
  color: var(--accent-3);
  border-bottom-color: var(--accent);
}
.mode-panel[hidden] { display: none; }
.manual-sub {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.manual-sub h3 { margin: 0 0 6px; font-size: 18px; }
.manual-sub > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.manual-sub .steps {
  grid-template-columns: 1fr;
  border-top: 0;
}
.manual-sub .steps li { padding: 16px 0; }
.manual-sub .steps li + li {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
}

/* guide hub layout */
.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.guide-side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 14px;
}
.guide-side h3 {
  margin: 14px 10px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.guide-side h3:first-child { margin-top: 0; }
.guide-side a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.guide-side a:hover,
.guide-side a.is-active {
  color: var(--text);
  background: var(--soft);
}
.guide-main { min-width: 0; max-width: 820px; }
.guide-main h1 {
  margin: 6px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.guide-main .lead { max-width: 68ch; }
.guide-main p a,
.callout a { color: var(--accent-3); text-decoration: none; }
.guide-main p a:hover,
.callout a:hover { text-decoration: underline; }

/* DocHub-style content blocks */
.guide-block { margin-top: 36px; }
.guide-block > h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.guide-block > h3 { margin: 0 0 12px; font-size: 20px; }
.guide-block p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 68ch; }
.guide-block ul { margin: 0 0 14px; padding-left: 22px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 68ch; }
.guide-block li + li { margin-top: 6px; }

/* articles */
.article { max-width: 820px; }
.article h2 { margin: 38px 0 12px; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -0.02em; }
.article h3 { margin: 24px 0 8px; font-size: 19px; }
.article p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.article ul, .article ol { margin: 0 0 14px; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.article li + li { margin-top: 6px; }
.article a { color: var(--accent-3); text-decoration: none; }
.article a:hover { text-decoration: underline; }
.quick-answer {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--panel);
}
.quick-answer b {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-3);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quick-answer p { margin: 0; color: var(--text); font-size: 15px; }
.article-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.article-toc a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.article-toc a:hover { color: var(--text); border-color: var(--line-accent); }
.cmp-wrap { overflow-x: auto; margin: 4px 0 10px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { color: var(--text); font-weight: 600; }
.cmp td { color: var(--text); }
.cmp td:first-child { color: var(--muted); }

.dl-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dl-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-3);
  font-size: 16px;
  text-decoration: none;
}
.dl-list a:hover { color: var(--text); text-decoration: underline; }
.dl-list .dl-alt { color: var(--muted); font-size: 14px; }

.callout {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-accent);
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.08);
}
.callout .callout-ico { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.callout-ico svg,
.guide-index svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.callout b { display: block; font-size: 13px; letter-spacing: 0.02em; }
.callout p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.guide-steps { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.guide-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.guide-step .num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.guide-step h3 {
  margin: 3px 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.guide-step p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.guide-step img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.guide-step .step-note { margin-top: 10px; color: var(--muted-2); font-size: 12.5px; }

/* screenshot placeholder: disappears when the image file exists */
.shot-ph {
  margin: 14px 0 0;
  width: 100%;
  max-width: 360px;
}
.shot-ph img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.shot-ph-fallback { display: none; }
.shot-ph.is-missing img { display: none; }
.shot-ph.is-missing .shot-ph-fallback {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 26px 16px;
  border: 1px dashed var(--line-accent);
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.06);
  text-align: center;
}
.shot-ph-fallback svg { color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shot-ph-fallback b { font-size: 13px; font-weight: 500; color: var(--text); }
.shot-ph-fallback code { font-size: 11px; color: var(--muted-2); word-break: break-all; }

.guide-index { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}
.guide-index a:hover { border-color: var(--line-accent); background: var(--soft); }
.guide-index .ico-wrap { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
.guide-index .ico-wrap svg { width: 17px; height: 17px; }
.guide-index .gi-text { display: grid; gap: 2px; }
.guide-index .gi-text b { font-size: 15px; font-weight: 500; }
.guide-index .gi-text span { color: var(--muted-2); font-size: 13px; }
.guide-index .gi-arrow { margin-left: auto; color: var(--muted-2); }
.guide-main .steps {
  grid-template-columns: 1fr;
  border-top: 0;
}
.guide-main .steps li { padding: 16px 0; }
.guide-main .steps li + li {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
}
.guide-buy {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.guide-buy h2 { margin: 0 0 8px; font-size: 24px; }
.guide-buy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.guide-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-side { position: static; }
  .guide-side nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .guide-side h3 { display: none; }
  .guide-side a { padding: 7px 10px; border: 1px solid var(--line); }
  .guide-platforms { grid-template-columns: 1fr; }
  .guide-main { max-width: none; }
  .guide-step img { max-width: 100%; }
}
