/* router license storefront — dependency-free, CSP-safe. */

:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --bg-elevated: #eef3fa;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #edf2f9;
  --text: #091322;
  --text-soft: #26344a;
  --muted: #5a677c;
  --muted-strong: #3d4b61;
  --line: #dfe6f0;
  --line-strong: #c8d3e2;
  --accent: #2457e6;
  --accent-strong: #1743c7;
  --accent-contrast: #ffffff;
  --accent-soft: #e9efff;
  --accent-soft-line: #cbd9ff;
  --teal: #0f9f95;
  --teal-soft: #e3f7f4;
  --success: #0c7a47;
  --success-soft: #e5f6ed;
  --warning: #9a5205;
  --warning-soft: #fdf1dc;
  --danger: #b9202b;
  --danger-soft: #fdecee;
  --ink: #07101f;
  --ink-2: #0c1729;
  --ink-text: #eef4ff;
  --ink-muted: #9dabc2;
  --ink-line: rgba(148, 175, 214, 0.18);
  --ink-surface: rgba(13, 25, 44, 0.82);
  --shadow-sm: 0 1px 2px rgba(9, 19, 34, 0.06);
  --shadow: 0 2px 4px rgba(9, 19, 34, 0.04), 0 24px 64px -34px rgba(9, 19, 34, 0.34);
  --shadow-lift: 0 4px 10px rgba(9, 19, 34, 0.05), 0 32px 72px -36px rgba(9, 19, 34, 0.42);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --transition: 180ms var(--ease);
  --header-height: 70px;
  --shell: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c15;
    --bg-elevated: #0a1220;
    --surface: #0d1624;
    --surface-2: #111c2c;
    --surface-3: #162336;
    --text: #e9eff9;
    --text-soft: #cfd9e9;
    --muted: #9aa8bd;
    --muted-strong: #bcc8da;
    --line: #223047;
    --line-strong: #33455f;
    --accent: #6f9eff;
    --accent-strong: #8db3ff;
    --accent-contrast: #06122c;
    --accent-soft: rgba(85, 135, 255, 0.14);
    --accent-soft-line: rgba(111, 158, 255, 0.3);
    --teal: #45d3c6;
    --teal-soft: rgba(69, 211, 198, 0.12);
    --success: #4ad18d;
    --success-soft: rgba(74, 209, 141, 0.12);
    --warning: #f0b45c;
    --warning-soft: rgba(240, 180, 92, 0.12);
    --danger: #ff8089;
    --danger-soft: rgba(255, 128, 137, 0.12);
    --ink: #050a12;
    --ink-2: #08111e;
    --ink-text: #eef4ff;
    --ink-muted: #9dabc2;
    --ink-line: rgba(148, 175, 214, 0.16);
    --ink-surface: rgba(10, 20, 36, 0.86);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 26px 64px -34px rgba(0, 0, 0, 0.85);
    --shadow-lift: 0 4px 10px rgba(0, 0, 0, 0.4), 0 34px 78px -38px rgba(0, 0, 0, 0.9);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070c15;
  --bg-elevated: #0a1220;
  --surface: #0d1624;
  --surface-2: #111c2c;
  --surface-3: #162336;
  --text: #e9eff9;
  --text-soft: #cfd9e9;
  --muted: #9aa8bd;
  --muted-strong: #bcc8da;
  --line: #223047;
  --line-strong: #33455f;
  --accent: #6f9eff;
  --accent-strong: #8db3ff;
  --accent-contrast: #06122c;
  --accent-soft: rgba(85, 135, 255, 0.14);
  --accent-soft-line: rgba(111, 158, 255, 0.3);
  --teal: #45d3c6;
  --teal-soft: rgba(69, 211, 198, 0.12);
  --success: #4ad18d;
  --success-soft: rgba(74, 209, 141, 0.12);
  --warning: #f0b45c;
  --warning-soft: rgba(240, 180, 92, 0.12);
  --danger: #ff8089;
  --danger-soft: rgba(255, 128, 137, 0.12);
  --ink: #050a12;
  --ink-2: #08111e;
  --ink-text: #eef4ff;
  --ink-muted: #9dabc2;
  --ink-line: rgba(148, 175, 214, 0.16);
  --ink-surface: rgba(10, 20, 36, 0.86);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 26px 64px -34px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 4px 10px rgba(0, 0, 0, 0.4), 0 34px 78px -38px rgba(0, 0, 0, 0.9);
}

:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); }
h3 { font-size: 1.04rem; }
a { color: var(--accent); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
code, .mono { font-family: var(--mono); font-variant-ligatures: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(49, 105, 255, 0.24); }

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

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 650;
  text-decoration: none;
  transition: transform var(--transition);
}
.skip-link:focus-visible { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; scroll-margin-top: calc(var(--header-height) + 20px); }
#features, #pricing, #activation, #faq { scroll-margin-top: calc(var(--header-height) + 12px); }
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.06rem; line-height: 1.7; max-width: 62ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--ink-muted); }
.eyebrow-dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 16%, transparent);
}
.mono { font-size: 0.86em; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-weight: 620;
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.text-link:hover svg { transform: translateX(3px); }
.text-link.light { color: #c8d9ff; }
.link-button {
  border: 0;
  padding: 6px 0;
  min-height: 32px;
  background: none;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { color: var(--text); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-height);
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--surface) 94%, transparent); }
.header-inner {
  width: 100%;
  max-width: var(--shell);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  flex: none;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px; height: 31px;
  border-radius: 9px;
  background: linear-gradient(145deg, #2f6bff, #1843c2);
  color: #fff;
  box-shadow: 0 4px 12px -5px rgba(31, 83, 222, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.brand-mark svg { width: 19px; height: 19px; stroke-width: 2.3; }
.brand-badge {
  margin-left: 2px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.site-nav { display: flex; align-items: center; gap: 3px; margin-left: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.87rem;
  font-weight: 550;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button svg { width: 17px; height: 17px; flex: none; }
.button.small { min-height: 40px; padding: 0 14px; font-size: 0.84rem; border-radius: 9px; }
.header-actions .button.small { min-height: 44px; }
.button.large { min-height: 50px; padding: 0 22px; font-size: 0.98rem; border-radius: 12px; }
.button.full { width: 100%; }
.button.primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #ffffff), var(--accent));
  border-color: color-mix(in srgb, var(--accent) 86%, #000000);
  color: var(--accent-contrast);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 8px 22px -12px color-mix(in srgb, var(--accent) 85%, transparent);
}
.button.primary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #ffffff), var(--accent-strong));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 12px 26px -12px color-mix(in srgb, var(--accent) 85%, transparent);
}
.button.quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.button.quiet:hover { border-color: var(--line-strong); background: var(--surface-2); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.56; cursor: not-allowed; transform: none; }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--muted-strong);
  transition: background var(--transition), color var(--transition);
}
.icon-button:hover { background: var(--surface-2); color: var(--text); }
.icon-button svg { width: 19px; height: 19px; }
.language-select {
  height: 44px;
  min-height: 44px;
  max-width: 112px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 550;
  cursor: pointer;
}
.language-select:hover { border-color: var(--line-strong); }
.header-buy { margin-left: 2px; }
.menu-toggle { display: none; }
.menu-close-icon { display: none; }
.header-actions .menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.header-actions .menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }

.theme-sun { display: none; }
.theme-moon { display: block; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: block; }
  :root:not([data-theme="light"]) .theme-moon { display: none; }
}
:root[data-theme="light"] .theme-sun { display: none; }
:root[data-theme="light"] .theme-moon { display: block; }

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  padding: 14px 22px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mobile-nav nav { display: grid; gap: 2px; }
.mobile-nav nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--text-soft);
  font-weight: 560;
  text-decoration: none;
}
.mobile-nav nav a:hover { background: var(--surface-2); }
.mobile-nav-actions { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
  isolation: isolate;
}
.hero-background { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-grid {
  position: absolute;
  inset: -20% -10% -10%;
  background-image:
    linear-gradient(to right, rgba(137, 168, 214, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(137, 168, 214, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 74% 62% at 50% 30%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 74% 62% at 50% 30%, #000 12%, transparent 74%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(8px); }
.hero-glow-a {
  width: 760px; height: 620px;
  top: -260px; right: -160px;
  background: radial-gradient(circle, rgba(42, 106, 255, 0.32), transparent 67%);
}
.hero-glow-b {
  width: 640px; height: 540px;
  bottom: -280px; left: -180px;
  background: radial-gradient(circle, rgba(15, 159, 149, 0.2), transparent 68%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(76px, 10vw, 124px);
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: #b6c7e2; }
.hero h1 {
  margin-bottom: 24px;
  color: #f5f9ff;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero-lead {
  max-width: 56ch;
  margin-bottom: 32px;
  color: #b6c5da;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.72;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.hero .button.primary {
  background: linear-gradient(180deg, #4a80ff, #2b5ee8);
  border-color: #5b8bff;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 16px 34px -16px rgba(51, 110, 255, 0.9);
}
.hero .button.primary:hover { background: linear-gradient(180deg, #5b8dff, #3769f2); }
.hero .button.quiet {
  border-color: rgba(167, 190, 226, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f1ff;
  box-shadow: none;
}
.hero .button.quiet:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(167, 190, 226, 0.42); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 26px; }
.hero-facts div {
  min-width: 128px;
  padding: 0 24px;
  border-left: 1px solid rgba(154, 180, 218, 0.2);
}
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt {
  margin-bottom: 2px;
  color: #f3f8ff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-facts dd { color: #9fb0c9; font-size: 0.79rem; line-height: 1.45; }
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 54ch;
  color: #8fa1ba;
  font-size: 0.78rem;
  line-height: 1.6;
}
.hero-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #7f96ba; }

.hero-visual { position: relative; min-width: 0; }
.app-window {
  position: relative;
  border: 1px solid rgba(154, 184, 231, 0.2);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(18, 34, 58, 0.94), rgba(7, 16, 30, 0.97));
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.05) inset, 0 48px 100px -38px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(2, 6, 15, 0.6);
  overflow: hidden;
}
.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(122, 165, 255, 0.08), transparent 42%);
}
.app-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(143, 169, 209, 0.14);
  background: rgba(8, 17, 32, 0.66);
}
.window-dots { display: inline-flex; gap: 5px; flex: none; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #334764; }
.window-dots i:first-child { background: #c95757; }
.window-dots i:nth-child(2) { background: #bf8d39; }
.window-dots i:nth-child(3) { background: #3c9b6b; }
.window-address {
  flex: 1;
  color: #7e91ad;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  text-align: center;
}
.window-live { display: inline-flex; align-items: center; gap: 6px; color: #8fd7c3; font-size: 0.61rem; font-weight: 600; }
.live-dot {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}
.window-live .live-dot { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.app-window-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 326px; }
.mini-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 10px;
  border-right: 1px solid rgba(143, 169, 209, 0.12);
  background: rgba(4, 10, 20, 0.34);
}
.mini-brand { display: flex; align-items: center; gap: 7px; padding-left: 4px; color: #dfe9f9; font-size: 0.77rem; font-weight: 650; letter-spacing: -0.02em; }
.mini-brand-mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #2f63e9; color: #fff; }
.mini-brand-mark svg { width: 13px; height: 13px; stroke-width: 2.3; }
.mini-nav { display: grid; gap: 3px; }
.mini-nav-item { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 6px; color: #7f90a9; font-size: 0.62rem; }
.mini-nav-item i { width: 11px; height: 11px; flex: none; border-radius: 3px; border: 1px solid #40536d; }
.mini-nav-item.is-active { background: rgba(58, 105, 214, 0.16); color: #cfe0ff; }
.mini-nav-item.is-active i { border-color: #6d9cff; background: #2f63e9; }
.mini-license { margin-top: auto; display: grid; gap: 7px; padding: 8px; border: 1px solid rgba(143, 169, 209, 0.14); border-radius: 8px; }
.mini-badge { display: inline-flex; width: max-content; padding: 2px 6px; border-radius: 4px; font-size: 0.52rem; font-weight: 650; }
.mini-badge.success { color: #7be0b3; background: rgba(50, 179, 120, 0.14); }
.mini-license-line { height: 3px; border-radius: 2px; background: #23344c; }
.mini-main { min-width: 0; padding: 16px 16px 18px; }
.mini-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.mini-kicker { display: block; margin-bottom: 2px; color: #70849f; font-size: 0.54rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mini-head h3 { color: #eaf2ff; font-size: 0.98rem; letter-spacing: -0.02em; }
.mini-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid rgba(83, 181, 135, 0.26); border-radius: 999px; color: #7ddbb0; background: rgba(50, 179, 120, 0.1); font-size: 0.53rem; white-space: nowrap; }
.mini-pill .live-dot { width: 4px; height: 4px; box-shadow: none; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 13px; }
.mini-stat { min-width: 0; padding: 9px 10px; border: 1px solid rgba(143, 169, 209, 0.13); border-radius: 8px; background: rgba(255, 255, 255, 0.025); }
.mini-stat-label { display: block; overflow: hidden; color: #788ba5; font-size: 0.54rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-stat strong { display: block; margin: 3px 0 2px; color: #edf4ff; font-size: 1.05rem; line-height: 1.1; font-weight: 680; font-variant-numeric: tabular-nums; }
.mini-stat strong small { margin-left: 2px; color: #8d9fb7; font-size: 0.54rem; font-weight: 500; }
.mini-stat-note { display: block; overflow: hidden; color: #7588a1; font-size: 0.52rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-spark { display: flex; align-items: flex-end; gap: 2px; height: 10px; margin-top: 4px; }
.mini-spark i { width: 4px; border-radius: 1px; background: #3b72ed; }
.mini-spark i:nth-child(1) { height: 35%; opacity: 0.5; }
.mini-spark i:nth-child(2) { height: 55%; opacity: 0.6; }
.mini-spark i:nth-child(3) { height: 42%; opacity: 0.65; }
.mini-spark i:nth-child(4) { height: 74%; opacity: 0.8; }
.mini-spark i:nth-child(5) { height: 62%; opacity: 0.85; }
.mini-spark i:nth-child(6) { height: 92%; }
.mini-spark i:nth-child(7) { height: 100%; background: #64d5c1; }
.mini-table { border: 1px solid rgba(143, 169, 209, 0.13); border-radius: 8px; overflow: hidden; }
.mini-table-head, .mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
}
.mini-table-head { color: #6f849f; font-size: 0.51rem; letter-spacing: 0.035em; text-transform: uppercase; border-bottom: 1px solid rgba(143, 169, 209, 0.12); }
.mini-row { color: #a9b9ce; font-size: 0.6rem; border-bottom: 1px solid rgba(143, 169, 209, 0.09); }
.mini-row:last-child { border-bottom: 0; }
.mini-domain { overflow: hidden; color: #cfdcf0; text-overflow: ellipsis; white-space: nowrap; }
.mini-row .mono { overflow: hidden; color: #8ea2bc; font-size: 0.55rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-state { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 0.52rem; }
.mini-state i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.mini-state.success { color: #68d7a7; }
.mini-state.pending { color: #e3b465; }

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(151, 180, 225, 0.2);
  border-radius: 12px;
  background: rgba(9, 20, 37, 0.86);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float 7s ease-in-out infinite;
}
.hero-float-top { top: -28px; right: 22px; }
.hero-float-bottom { bottom: -30px; left: -34px; animation-delay: -3.5s; }
.hero-float strong { display: block; color: #e5eeff; font-size: 0.68rem; font-weight: 620; }
.hero-float small { display: block; color: #8496b0; font-size: 0.57rem; }
.float-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(70, 120, 240, 0.16); color: #91b4ff; }
.float-icon.success { background: rgba(45, 168, 112, 0.14); color: #6fdbaa; }
.float-icon svg { width: 15px; height: 15px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------------------------------------------------------------- features */

#features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg)));
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border: 1px solid var(--accent-soft-line);
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-icon.small { width: 36px; height: 36px; margin: 0; }
.feature-icon.small svg { width: 17px; height: 17px; }
.feature-card h3 { margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.68; }

/* ---------------------------------------------------------------- how step */

.how-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 85% -20%, rgba(49, 104, 231, 0.2), transparent 66%),
    radial-gradient(700px 420px at 8% 110%, rgba(18, 133, 126, 0.14), transparent 66%),
    var(--ink-2);
  color: var(--ink-text);
}
.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(137, 168, 214, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(137, 168, 214, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.how-layout { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.how-section .section-head { margin-bottom: 0; }
.how-section .section-head h2 { color: #f1f6ff; }
.how-section .section-lead { color: #a7b7cd; }
.how-section .text-link { margin-top: 18px; }
.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 32px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 21px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(117, 149, 196, 0.32), rgba(117, 149, 196, 0.04));
}
.steps li:last-child::before { display: none; }
.step-number {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(128, 162, 214, 0.26);
  border-radius: 12px;
  background: rgba(82, 126, 206, 0.1);
  color: #a7c5ff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
}
.steps h3 { margin: 2px 0 7px; color: #eef5ff; }
.steps p { max-width: 48ch; color: #9cacc2; font-size: 0.92rem; line-height: 1.7; }
.steps code, .activation-section code { padding: 2px 6px; border: 1px solid rgba(148, 175, 214, 0.16); border-radius: 5px; background: rgba(148, 175, 214, 0.09); color: #c4d7f7; font-size: 0.8em; }

/* ---------------------------------------------------------------- pricing */

.pricing-section { background: var(--bg); }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.pricing-head > div { max-width: 680px; }
.pricing-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pricing-seal svg { width: 15px; height: 15px; color: var(--teal); }
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.88fr); gap: 22px; align-items: start; }
.plan-column { min-width: 0; }
.plan-list { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.plan-loading { display: grid; gap: 12px; }
.plan-skeleton {
  height: 142px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--surface) 18%, var(--surface-3) 38%, var(--surface) 58%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.pricing-empty {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}
.pricing-empty svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.plan-card {
  position: relative;
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.plan-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.plan-card:has(input:checked) {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 44%, var(--surface)), var(--surface));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent), var(--shadow);
}
.plan-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.plan-body { min-width: 0; }
.plan-radio {
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  margin-top: 3px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  transition: border-color var(--transition), background var(--transition);
}
.plan-radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: transparent; transition: background var(--transition); }
.plan-card:has(input:checked) .plan-radio { border-color: var(--accent); background: var(--accent); }
.plan-card:has(input:checked) .plan-radio::after { background: var(--accent-contrast); }
.plan-title-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.plan-title-row h3 { font-size: 1.08rem; }
.plan-recommended {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--accent-soft-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-meta { display: flex; flex-wrap: wrap; gap: 5px 13px; color: var(--muted); font-size: 0.8rem; }
.plan-meta span { display: inline-flex; align-items: center; gap: 5px; }
.plan-meta svg { width: 13px; height: 13px; color: var(--muted); }
.plan-features { display: flex; flex-wrap: wrap; gap: 5px; margin: 11px 0 0; padding: 0; list-style: none; }
.plan-features li {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.55;
}
.plan-price { text-align: right; white-space: nowrap; }
.plan-price strong { display: block; font-size: 1.38rem; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; margin-top: 1px; color: var(--muted); font-size: 0.65rem; }
.pricing-footnote {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}
.pricing-footnote svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--danger) 28%, var(--line));
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.55;
}
.inline-alert > svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.inline-alert strong { display: block; color: var(--danger); font-size: 0.84rem; }
.inline-alert p { color: color-mix(in srgb, var(--danger) 82%, var(--text)); }
.inline-alert .button { margin-left: auto; flex: none; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, var(--line)); background: transparent; box-shadow: none; }
.inline-alert .button:hover { background: color-mix(in srgb, var(--danger) 7%, transparent); }

.checkout-card {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.checkout-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
.checkout-step { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.checkout-head h3 { font-size: 1.28rem; }
.selected-plan { margin: 18px 0 20px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.selected-plan-empty { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.82rem; }
.selected-plan-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--surface-3); color: var(--muted); }
.selected-plan-icon svg { width: 15px; height: 15px; }
.selected-plan-chosen { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.selected-plan-chosen h4 { margin: 0; font-size: 0.95rem; }
.selected-plan-chosen p { margin-top: 2px; color: var(--muted); font-size: 0.72rem; }
.selected-plan-chosen strong { font-size: 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { display: flex; align-items: baseline; gap: 7px; color: var(--text-soft); font-size: 0.79rem; font-weight: 620; }
.field label small { color: var(--muted); font-size: 0.65rem; font-weight: 500; }
.field-help { color: var(--muted); font-size: 0.71rem; line-height: 1.55; }
.field-help code { padding: 1px 4px; border-radius: 4px; background: var(--surface-3); font-size: 0.9em; }
.field-error { color: var(--danger); font-size: 0.73rem; line-height: 1.5; }
.input-with-icon { position: relative; }
.input-with-icon > svg { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.input-with-icon input {
  width: 100%;
  height: 46px;
  padding: 0 13px 0 39px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-with-icon input::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
.input-with-icon input:hover { border-color: color-mix(in srgb, var(--line-strong) 60%, var(--muted)); }
.input-with-icon input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.input-with-icon input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 12%, transparent); }
#device-code, #lookup-id { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.01em; text-transform: uppercase; }
.check-field { display: flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted-strong); font-size: 0.76rem; line-height: 1.55; cursor: pointer; }
.check-field input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); cursor: pointer; }
.check-field a { display: inline-block; padding: 4px 0; font-weight: 600; }
.checkout-methods { display: grid; gap: 7px; }
.checkout-methods-label { color: var(--muted); font-size: 0.68rem; font-weight: 600; }
.checkout-methods .payment-methods { gap: 5px; }
.checkout-methods .payment-method { min-height: 30px; padding: 0 8px; gap: 6px; border-radius: 7px; font-size: 0.68rem; }
.checkout-methods .payment-method svg { width: 13px; height: 13px; }
.checkout-secure { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 0.66rem; line-height: 1.5; }
.checkout-secure svg { width: 13px; height: 13px; flex: none; margin-top: 1px; }
.button-spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid color-mix(in srgb, currentColor 26%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.button.is-loading .button-spinner { display: inline-block; }
.button.is-loading .button-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------- activation */

.activation-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activation-layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(38px, 6vw, 80px); align-items: center; }
.activation-layout .section-lead { margin-bottom: 24px; }
.activation-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.terminal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid rgba(143, 169, 209, 0.14); background: rgba(7, 16, 30, 0.7); }
.terminal-title { margin-left: auto; color: #8599b5; font-size: 0.64rem; font-weight: 550; }
.terminal-body { padding: 22px 20px 24px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.9; }
.terminal-line { display: flex; align-items: center; gap: 9px; min-width: 0; color: #a4b6cd; }
.terminal-line.command { align-items: flex-start; padding-bottom: 4px; }
.prompt { color: #55c7b0; user-select: none; }
.terminal-line code { color: #d8e6fb; word-break: break-word; }
.terminal-line.muted { color: #6c829e; font-size: 0.72rem; }
.terminal-line.success { margin-top: 5px; color: #65d5a4; font-size: 0.72rem; }
.copy-button {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: none;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #879bb7;
  transition: color var(--transition), background var(--transition);
}
.copy-button:hover { background: rgba(148, 175, 214, 0.12); color: #d8e6fb; }
.copy-button svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------- faq */

.faq-section { background: var(--bg); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-height) + 30px); margin-bottom: 0; }
.faq-support { display: flex; align-items: center; gap: 11px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq-support-label { display: block; color: var(--muted); font-size: 0.68rem; }
.faq-support a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.84rem; font-weight: 600; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 14px 2px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 16px; height: 16px; flex: none; color: var(--muted); transform: rotate(90deg); transition: transform var(--transition), color var(--transition); }
.faq-item[open] summary svg { transform: rotate(270deg); color: var(--accent); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 30px 20px 2px; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
.faq-answer code { padding: 1px 5px; border-radius: 4px; background: var(--surface-3); color: var(--text-soft); font-size: 0.86em; }

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 85% 20%, rgba(49, 104, 231, 0.26), transparent 64%),
    radial-gradient(600px 360px at 8% 100%, rgba(18, 133, 126, 0.16), transparent 68%),
    var(--ink);
  color: var(--ink-text);
  padding: 72px 0;
}
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.final-cta h2 { margin-bottom: 8px; color: #f2f7ff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.final-cta p { color: #9fb0c8; font-size: 0.95rem; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 9px; flex: none; }
.final-cta .button.primary { background: linear-gradient(180deg, #4a80ff, #2b5ee8); border-color: #5b8bff; color: #fff; }
.final-cta .button.quiet { border-color: rgba(167, 190, 226, 0.24); background: rgba(255, 255, 255, 0.05); color: #e9f1ff; }
.final-cta .button.quiet:hover { background: rgba(255, 255, 255, 0.1); }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 58px 0 46px; }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(120px, 0.65fr)) minmax(180px, 0.8fr); gap: 36px; }
.footer-brand p { margin: 14px 0 16px; max-width: 30ch; color: var(--muted); font-size: 0.8rem; line-height: 1.65; }
.footer-copy { color: var(--muted); font-size: 0.68rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-column h3 { margin-bottom: 9px; color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-column a { display: inline-flex; align-items: center; min-height: 34px; color: var(--text-soft); font-size: 0.79rem; text-decoration: none; }
.footer-column a:hover { color: var(--accent); }
.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--success) 26%, var(--line));
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 600;
}
.footer-status-pill .live-dot { color: var(--success); width: 5px; height: 5px; }
.footer-status p { margin-top: 10px; max-width: 25ch; color: var(--muted); font-size: 0.68rem; line-height: 1.55; }

/* ------------------------------------------------------------------- order */

.order-view { padding: 42px 0 96px; background: var(--bg); min-height: 70vh; }
.order-shell { max-width: 1120px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 550;
}
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); transition: transform var(--transition); }
.back-link:hover { color: var(--text); }
.back-link:hover svg { transform: rotate(180deg) translateX(3px); }
.order-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.order-head h1 { margin-bottom: 9px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.order-head .section-lead { margin: 0; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 620;
  box-shadow: var(--shadow-sm);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill[data-state="created"] { border-color: color-mix(in srgb, var(--warning) 28%, var(--line)); background: var(--warning-soft); color: var(--warning); }
.status-pill[data-state="issued"] { border-color: color-mix(in srgb, var(--success) 26%, var(--line)); background: var(--success-soft); color: var(--success); }
.status-pill[data-state="error"] { border-color: color-mix(in srgb, var(--danger) 26%, var(--line)); background: var(--danger-soft); color: var(--danger); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr); gap: 20px; align-items: start; }
.order-layout:has(.order-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.order-main { min-width: 0; }
.order-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; color: var(--muted); font-size: 0.86rem; }
.large-spinner {
  width: 28px; height: 28px;
  border: 2.5px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.order-state { display: grid; gap: 24px; }
.order-state-head { display: flex; align-items: flex-start; gap: 15px; }
.state-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; }
.state-icon svg { width: 21px; height: 21px; }
.state-icon.warning { background: var(--warning-soft); color: var(--warning); }
.state-icon.success { background: var(--success-soft); color: var(--success); }
.state-icon.muted { background: var(--surface-3); color: var(--muted); }
.state-kicker { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.order-state-head h2 { margin-bottom: 6px; font-size: 1.34rem; }
.order-state-head p { color: var(--muted); font-size: 0.86rem; line-height: 1.65; max-width: 58ch; }
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.copy-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.63rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; }
.copy-value { display: block; overflow-wrap: anywhere; color: var(--text); font-size: 0.81rem; font-weight: 600; }
.copy-button-text { flex: none; }
.copy-button-text svg { width: 14px; height: 14px; }
.payment-block h3 { margin-bottom: 12px; font-size: 0.92rem; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.77rem;
  font-weight: 550;
}
.payment-method svg { width: 16px; height: 16px; color: var(--accent); }
.payment-note {
  margin-top: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.payment-checkout { margin-top: 14px; }
.payment-fallback { margin-top: 12px; color: var(--muted); font-size: 0.79rem; line-height: 1.65; }
.polling-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.polling-status { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 0.78rem; font-weight: 550; }
.polling-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 14%, transparent); animation: pulse 2.2s ease-in-out infinite; }
.polling-time { margin-left: auto; color: var(--muted); font-size: 0.68rem; white-space: nowrap; }
.polling-card .button { flex: none; }
.mini-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-steps li { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mini-steps li > span { display: grid; place-items: center; width: 21px; height: 21px; flex: none; border-radius: 50%; background: var(--surface-3); color: var(--muted-strong); font-size: 0.64rem; font-weight: 700; }
.mini-steps p { color: var(--muted); font-size: 0.73rem; line-height: 1.55; }
.activation-code-card { border: 1px solid color-mix(in srgb, var(--success) 26%, var(--line)); border-radius: var(--radius); background: var(--success-soft); overflow: hidden; }
.activation-code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid color-mix(in srgb, var(--success) 20%, var(--line)); }
.activation-code-head > span { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 0.76rem; font-weight: 650; }
.activation-code-head svg { width: 15px; height: 15px; }
.activation-code-head .button { color: var(--success); border-color: color-mix(in srgb, var(--success) 24%, var(--line)); background: color-mix(in srgb, var(--surface) 60%, transparent); box-shadow: none; }
.activation-code {
  display: block;
  padding: 16px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}
.activation-code-note { display: flex; align-items: flex-start; gap: 6px; padding: 0 16px 14px; color: color-mix(in srgb, var(--success) 76%, var(--text)); font-size: 0.68rem; line-height: 1.55; }
.activation-code-note svg { width: 13px; height: 13px; flex: none; margin-top: 1px; }
.activate-steps h3 { margin-bottom: 13px; font-size: 0.94rem; }
.activate-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.activate-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 11px; align-items: start; }
.activate-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.65rem; font-weight: 700; }
.activate-steps strong { display: block; margin-bottom: 2px; color: var(--text-soft); font-size: 0.82rem; }
.activate-steps p { color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.activate-steps code { padding: 1px 5px; border-radius: 4px; background: var(--surface-3); color: var(--text-soft); font-size: 0.9em; }
.order-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 2px; }
.order-empty { justify-items: center; text-align: center; padding: 12px 0; }
.order-empty h2 { font-size: 1.3rem; }
.order-empty p { max-width: 46ch; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }
.order-side { display: grid; gap: 16px; }
.summary-panel h2 { margin-bottom: 16px; font-size: 1rem; }
.summary-list { display: grid; gap: 12px; margin: 0; }
.summary-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.summary-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.summary-list dt { color: var(--muted); font-size: 0.73rem; }
.summary-list dd { margin: 0; color: var(--text-soft); font-size: 0.78rem; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary-list dd.amount { font-family: var(--mono); }
.summary-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.68rem; line-height: 1.55; }
.summary-note svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.help-panel { display: grid; gap: 10px; }
.help-panel h3 { margin-top: 2px; }
.help-panel p { color: var(--muted); font-size: 0.78rem; line-height: 1.65; }
.help-panel .text-link { font-size: 0.78rem; }
.help-panel .button { margin-top: 4px; }

/* ------------------------------------------------------------------ dialog */

.lookup-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(3, 10, 22, 0.55);
  overflow-y: auto;
}
.lookup-dialog::backdrop { background: rgba(3, 9, 18, 0.56); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.lookup-dialog[open] { animation: dialog-in 180ms var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dialog-head h2 { font-size: 1.45rem; }
.dialog-head .eyebrow { margin-bottom: 8px; }
.dialog-lead { margin: 12px 0 20px; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.lookup-form { display: grid; gap: 14px; }
.recent-orders { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.recent-head h3 { font-size: 0.8rem; }
.recent-orders ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.recent-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: left;
}
.recent-order:hover { border-color: var(--line-strong); }
.recent-order small { color: var(--muted); font-family: var(--font); font-size: 0.63rem; white-space: nowrap; }
.dialog-foot { display: flex; align-items: flex-start; gap: 6px; margin-top: 20px; color: var(--muted); font-size: 0.66rem; line-height: 1.55; }
.dialog-foot svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }

/* ------------------------------------------------------------------- toast */

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 8px;
  max-width: min(360px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: var(--shadow-lift);
  font-size: 0.8rem;
  line-height: 1.5;
  animation: toast-in 200ms var(--ease);
}
.toast svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.toast.success svg { color: var(--success); }
.toast.error { border-color: color-mix(in srgb, var(--danger) 28%, var(--line)); }
.toast.error svg { color: var(--danger); }
.toast.is-leaving { opacity: 0; transform: translateY(5px); transition: opacity 180ms, transform 180ms; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1120px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 0 9px; font-size: 0.83rem; }
  .header-inner { gap: 16px; }
  .pricing-layout { grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr); }
}

@media (max-width: 1040px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-buy { display: inline-flex; }
  .header-lookup span { display: none; }
  .header-lookup { width: 44px; min-height: 44px; padding: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 32px; }
  .hero-float { display: none; }
  .pricing-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-card { position: static; max-width: 640px; }
  .plan-column { max-width: 760px; }
  .footer-inner { grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(110px, 0.7fr)); }
  .footer-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
  .footer-status p { margin: 0; max-width: none; }
}

@media (max-width: 900px) {
  .section { padding: 78px 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 52px; padding-top: 66px; padding-bottom: 80px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 620px; }
  .how-layout, .activation-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .how-section .section-head { max-width: 620px; }
  .faq-layout .section-head { position: static; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .order-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .pricing-head { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .shell, .header-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 10px; }
  .brand-badge { display: none; }
  .header-lookup { display: none; }
  .header-buy { display: none; }
  .language-select { max-width: 100px; height: 44px; font-size: 0.74rem; }
  .icon-button { width: 44px; height: 44px; }
  .hero-facts div { min-width: 104px; padding: 0 16px; }
  .hero-facts dt { font-size: 1.32rem; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { margin-bottom: 34px; }
  .plan-inner { grid-template-columns: auto minmax(0, 1fr); }
  .plan-price { grid-column: 2; display: flex; align-items: baseline; gap: 7px; text-align: left; }
  .plan-price small { margin: 0; }
  .mini-steps { grid-template-columns: minmax(0, 1fr); }
  .mini-steps li { padding: 10px 12px; }
  .order-side { grid-template-columns: minmax(0, 1fr); }
  .polling-card { flex-wrap: wrap; }
  .polling-time { margin-left: 0; }
  .polling-card .button { margin-left: auto; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-status { grid-column: 1 / -1; flex-wrap: wrap; }
  .footer-status p { flex-basis: 100%; }
  .app-window-body { grid-template-columns: 92px minmax(0, 1fr); min-height: 300px; }
  .mini-sidebar { padding: 12px 8px; }
  .mini-main { padding: 13px 12px 14px; }
  .mini-table-head, .mini-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mini-table-head span:nth-child(2), .mini-row .mono { display: none; }
  .mini-stats { gap: 5px; }
  .mini-stat { padding: 7px 8px; }
  .mini-stat strong { font-size: 0.92rem; }
  .hero-float { display: none; }
}

@media (max-width: 520px) {
  :root { --header-height: 62px; }
  .shell, .header-inner { padding-left: 15px; padding-right: 15px; }
  .header-inner { gap: 6px; }
  .brand-word { font-size: 1.1rem; }
  .brand-mark { width: 29px; height: 29px; }
  .language-select { max-width: 84px; min-width: 0; padding: 0 5px; font-size: 0.7rem; }
  .icon-button { width: 44px; height: 44px; }
  .hero { padding-bottom: 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 58px; gap: 40px; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.75rem); }
  .hero-lead { font-size: 0.94rem; margin-bottom: 26px; }
  .hero-actions { gap: 8px; margin-bottom: 28px; }
  .hero-actions .button { flex: 1 1 auto; justify-content: center; padding: 0 14px; font-size: 0.87rem; }
  .hero-facts { gap: 16px 0; }
  .hero-facts div { min-width: 0; flex: 1; padding: 0 12px; }
  .hero-facts dt { font-size: 1.18rem; }
  .hero-facts dd { font-size: 0.68rem; }
  .hero-note { font-size: 0.72rem; }
  .hero-visual { margin: 0 -4px; }
  .app-window-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mini-sidebar { display: none; }
  .mini-head { margin-bottom: 11px; }
  .mini-stats { margin-bottom: 10px; }
  .mini-table-head, .mini-row { padding: 6px 8px; }
  .section { padding: 62px 0; }
  .section-head h2 { font-size: 1.68rem; }
  .section-lead { font-size: 0.94rem; }
  .feature-card { padding: 21px 19px; }
  .pricing-seal { display: none; }
  .plan-card { padding: 17px 16px; }
  .plan-inner { gap: 10px; }
  .checkout-card { padding: 20px 17px; border-radius: 18px; }
  .input-with-icon input, #device-code, #lookup-id { font-size: 16px; letter-spacing: -0.01em; }
  .hero-lead, .section-lead { font-size: 1rem; }
  .feature-card p, .steps p, .faq-answer, .order-empty p, .help-panel p { font-size: 0.95rem; }
  .plan-features li { font-size: 0.72rem; }
  .order-view { padding-top: 24px; }
  .panel { padding: 20px 17px; border-radius: 18px; }
  .order-state-head { gap: 11px; }
  .state-icon { width: 38px; height: 38px; border-radius: 10px; }
  .copy-row { flex-wrap: wrap; }
  .copy-row .button { width: 100%; }
  .polling-card { gap: 9px; }
  .polling-status { flex: 1 1 100%; }
  .polling-card .button { width: 100%; margin-left: 0; }
  .terminal-body { padding: 17px 14px 19px; font-size: 0.7rem; }
  .terminal-line code { font-size: 0.68rem; }
  .final-cta { padding: 54px 0; }
  .final-cta-actions { width: 100%; }
  .final-cta-actions .button { flex: 1 1 auto; justify-content: center; }
  .faq-item summary { min-height: 58px; font-size: 0.88rem; }
  .faq-answer { padding-right: 12px; font-size: 0.85rem; }
  .lookup-dialog { padding: 20px 18px; border-radius: 18px; }
  .toast-region { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-column a { min-height: 40px; }
}

@media (max-width: 370px) {
  .hero-actions .button { flex-basis: 100%; }
  .brand-word { display: none; }
  .language-select { max-width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-float, .window-live .live-dot, .polling-dot { animation: none; }
}
