/* ==========================================================================
   X牛马检测助手 · Design system + all pages
   Dark, signal-green, radar motif. No external fonts or images.
   ========================================================================== */

/* 1. Tokens ----------------------------------------------------------------- */
:root {
  --bg: #07090D;
  --bg-soft: #0B0F15;
  --panel: #0E131B;
  --panel-2: #121924;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #EDF1F6;
  --muted: #97A3B6;
  --faint: #5E6B7E;
  --accent: #B8FF3C;
  --accent-ink: #0A1200;
  --cyan: #55D6F5;
  --danger: #FF5C7A;
  --warn: #FFB020;
  --ok: #38D996;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, "SF Pro Text", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --max: 1120px;
  --nav-h: 66px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

/* 2. Reset / base ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 460px at 82% -10%, rgba(184, 255, 60, .075), transparent 64%),
    radial-gradient(620px 400px at 4% 2%, rgba(85, 214, 245, .055), transparent 62%),
    radial-gradient(900px 620px at 50% 108%, rgba(184, 255, 60, .028), transparent 70%);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.022em;
  text-wrap: balance;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

::selection {
  background: rgba(184, 255, 60, .3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

/* 3. Utilities -------------------------------------------------------------- */
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section { padding: 88px 0; }

.section-head { max-width: 680px; margin-bottom: 40px; }

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: .75;
}

.section-title {
  font-size: clamp(27px, 3.5vw, 40px);
  letter-spacing: -.03em;
}

.section-lead {
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

.center .section-lead { margin-inline: auto; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 650;
  transition: top .15s var(--ease);
}

.skip-link:focus { top: 12px; }

/* 4. Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease), opacity .2s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 26px rgba(184, 255, 60, .16);
}

.btn-primary:hover { background: #C8FF68; box-shadow: 0 10px 30px rgba(184, 255, 60, .24); }

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .065); border-color: rgba(255, 255, 255, .24); }

.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-inline: 12px;
}

.btn-quiet:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.btn-sm { padding: 10px 15px; font-size: 13.5px; border-radius: 10px; }

.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }

.btn-block { width: 100%; }

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 18, 0, .22);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* 5. Navigation ------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 9, 13, .76);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 700;
  letter-spacing: -.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(184, 255, 60, .22));
}

.brand-name { font-size: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: color .18s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
}

.lang-switch button {
  min-width: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  transition: background .18s, color .18s;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 20, .98);
  padding: 10px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: 0; }

/* 6. Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 34px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 34px rgba(184, 255, 60, .28);
}

.hero-sub {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.72;
}

.hero-form { margin-top: 30px; max-width: 580px; }

.check-form {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 25, 36, .92), rgba(12, 17, 24, .92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transition: border-color .2s, box-shadow .2s;
}

.check-form:focus-within {
  border-color: rgba(184, 255, 60, .48);
  box-shadow: 0 0 0 4px rgba(184, 255, 60, .075), 0 24px 60px rgba(0, 0, 0, .35);
}

.input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding-left: 10px;
}

.input-prefix {
  color: var(--faint);
  font-size: 18px;
  font-weight: 500;
  transform: translateY(-1px);
}

.check-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 6px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 16px;
  outline: 0;
}

.check-input::placeholder { color: var(--faint); }

.check-form .btn { flex: none; min-width: 116px; }

.form-error {
  min-height: 21px;
  margin-top: 9px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.55;
}

.form-error:empty { min-height: 0; margin-top: 0; }

.form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--faint);
  font-size: 12.5px;
}

.form-note svg { width: 13px; height: 13px; flex: none; }

/* 7. Radar art -------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.radar-wrap {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
}

.radar {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 255, 60, .07), transparent 62%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 24.6%, rgba(255, 255, 255, .065) 24.6% 25%);
  box-shadow: inset 0 0 90px rgba(184, 255, 60, .045), 0 0 90px rgba(184, 255, 60, .05);
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.radar::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .11), transparent);
}

.radar::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .11), transparent);
}

.radar-sweep {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(184, 255, 60, 0) 0deg,
    rgba(184, 255, 60, .015) 205deg,
    rgba(184, 255, 60, .11) 322deg,
    rgba(184, 255, 60, .42) 357deg,
    rgba(184, 255, 60, 0) 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 7%, #000 17% 97%, transparent 100%);
  mask: radial-gradient(circle, transparent 0 7%, #000 17% 97%, transparent 100%);
  animation: radar-sweep 7s linear infinite;
  pointer-events: none;
}

.radar-sweep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 42%;
  background: linear-gradient(180deg, rgba(184, 255, 60, .75), transparent);
  transform-origin: top;
  transform: rotate(0deg);
  opacity: .55;
}

.radar-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(184, 255, 60, .25);
  border-radius: 50%;
  background: rgba(9, 14, 8, .75);
  box-shadow: 0 0 30px rgba(184, 255, 60, .14);
}

.radar-hub svg { width: 30px; height: 30px; color: var(--accent); }

.radar-dot {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(184, 255, 60, .45);
  animation: dot-ping 2.8s ease-out infinite;
}

.radar-dot.d1 { left: 68%; top: 26%; animation-delay: 0s; }
.radar-dot.d2 { left: 32%; top: 63%; animation-delay: .7s; }
.radar-dot.d3 { left: 61%; top: 75%; animation-delay: 1.4s; }
.radar-dot.d4 { left: 24%; top: 38%; animation-delay: 2.1s; }

.radar-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 14, 20, .84);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.radar-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(184, 255, 60, .7);
}

.radar-tag.t1 { left: 0; top: 8%; }
.radar-tag.t2 { right: 0; top: 21%; }
.radar-tag.t3 { left: 3%; bottom: 17%; }
.radar-tag.t4 { right: 2%; bottom: 6%; }

/* 8. Stats bar -------------------------------------------------------------- */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-top: clamp(38px, 6vw, 60px);
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.stats-bar strong { color: var(--text); font-weight: 650; }

.live-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(56, 217, 150, .5);
  animation: dot-ping 2.4s ease-out infinite;
}

/* 9. Result section --------------------------------------------------------- */
.result-section {
  padding: 10px 0 24px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.result-frame { position: relative; }

.verdict-card {
  --v: var(--ok);
  --vsoft: rgba(56, 217, 150, .1);
  --vborder: rgba(56, 217, 150, .3);
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--vborder);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 25, 36, .94), rgba(9, 13, 19, .97));
  box-shadow: var(--shadow);
  animation: rise .45s var(--ease) both;
}

.verdict-card.v-clean { --v: var(--ok); --vsoft: rgba(56, 217, 150, .1); --vborder: rgba(56, 217, 150, .32); }
.verdict-card.v-restricted { --v: var(--danger); --vsoft: rgba(255, 92, 122, .1); --vborder: rgba(255, 92, 122, .34); }
.verdict-card.v-unmeasurable { --v: var(--warn); --vsoft: rgba(255, 176, 32, .1); --vborder: rgba(255, 176, 32, .32); }

.verdict-card::before {
  content: "";
  position: absolute;
  left: -18%;
  top: -65%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--vsoft), transparent 66%);
  pointer-events: none;
}

.verdict-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.verdict-id {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.verdict-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--vborder);
  border-radius: 14px;
  background: var(--vsoft);
  color: var(--v);
}

.verdict-icon svg { width: 24px; height: 24px; }

.verdict-copy { min-width: 0; }

.verdict-title {
  font-size: clamp(22px, 2.7vw, 30px);
  letter-spacing: -.03em;
}

.verdict-sub {
  max-width: 560px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.verdict-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.account-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 12.5px;
}

.account-name { color: var(--text); font-weight: 650; }
.account-handle { color: var(--muted); font-family: var(--mono); font-size: 12px; }

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.mini-chip svg { width: 11px; height: 11px; }
.mini-chip.warn { color: var(--warn); border-color: rgba(255, 176, 32, .3); }
.mini-chip.cyan { color: var(--cyan); border-color: rgba(85, 214, 245, .3); }

/* score ring */
.score-box {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.score-ring {
  --pct: 0;
  --ring-c: var(--v);
  position: relative;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-c) calc(var(--pct) * 1%), rgba(255, 255, 255, .07) 0);
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #0B1017;
  box-shadow: inset 0 0 0 1px var(--border);
}

.score-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1;
}

.score-val {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.score-label {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .06em;
}

.score-side {
  color: var(--faint);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.score-side b { color: var(--text); font-weight: 650; }

/* status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.chip-pass { color: var(--ok); background: rgba(56, 217, 150, .1); border-color: rgba(56, 217, 150, .28); }
.chip-fail { color: var(--danger); background: rgba(255, 92, 122, .1); border-color: rgba(255, 92, 122, .3); }
.chip-untestable { color: var(--warn); background: rgba(255, 176, 32, .08); border-color: rgba(255, 176, 32, .28); }
.chip-skipped { color: var(--muted); background: rgba(255, 255, 255, .05); border-color: var(--border-strong); }
.chip-unknown { color: var(--faint); background: rgba(255, 255, 255, .03); border-color: var(--border); }

/* checks */
.checks-list {
  position: relative;
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.check-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.check-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .028);
  color: var(--muted);
}

.check-ico svg { width: 19px; height: 19px; }

.check-row.s-pass .check-ico { color: var(--ok); border-color: rgba(56, 217, 150, .25); background: rgba(56, 217, 150, .06); }
.check-row.s-fail .check-ico { color: var(--danger); border-color: rgba(255, 92, 122, .26); background: rgba(255, 92, 122, .06); }
.check-row.s-untestable .check-ico { color: var(--warn); border-color: rgba(255, 176, 32, .25); background: rgba(255, 176, 32, .05); }

.check-main { min-width: 0; }

.check-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.check-name { font-size: 15px; font-weight: 650; }
.check-top .chip { margin-left: auto; }

.check-summary {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.check-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 9px;
}

.conf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 11.5px;
}

.conf::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.conf-high { color: var(--ok); }
.conf-medium { color: var(--cyan); }
.conf-low { color: var(--warn); }

.check-time {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.check-more { color: var(--faint); font-size: 11.5px; }

.check-more summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
  transition: color .15s;
}

.check-more summary::-webkit-details-marker { display: none; }
.check-more summary::before { content: "+"; font-family: var(--mono); color: var(--faint); }
.check-more[open] summary::before { content: "−"; }
.check-more summary:hover { color: var(--accent); }

.check-more-body {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.check-more-body span { color: var(--muted); }

/* result footer */
.result-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.result-meta {
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.7;
  font-family: var(--mono);
}

.result-meta b { color: var(--muted); font-weight: 500; }

.notes-box {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.notes-box ul {
  margin-top: 5px;
  padding-left: 18px;
}

.notes-box li { margin-bottom: 3px; }

/* loading skeleton */
.skeleton-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 25, 36, .9), rgba(9, 13, 19, .95));
  min-height: 430px;
}

.sk-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.sk-title { width: 42%; height: 30px; }
.sk-sub { width: 64%; height: 14px; margin-top: 12px; }
.sk-ring {
  flex: none;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .06);
  border-top-color: rgba(184, 255, 60, .55);
  animation: spin 1.1s linear infinite;
}

.sk-ring::after {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.sk-rows { margin-top: 28px; border-top: 1px solid var(--border); }

.sk-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.sk-dot { flex: none; width: 38px; height: 38px; border-radius: 11px; }

.sk-lines { flex: 1; }
.sk-l1 { width: 26%; height: 13px; }
.sk-l2 { width: 62%; height: 11px; margin-top: 9px; }

.sk-line {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .095), rgba(255, 255, 255, .045));
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

.loading-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.loading-note .spinner {
  border-color: rgba(184, 255, 60, .2);
  border-top-color: var(--accent);
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* state / error cards */
.state-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 25, 36, .9), rgba(9, 13, 19, .95));
  animation: rise .35s var(--ease) both;
}

.state-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
}

.state-ico svg { width: 24px; height: 24px; }
.state-ico.danger { color: var(--danger); background: rgba(255, 92, 122, .08); border-color: rgba(255, 92, 122, .3); }
.state-ico.warn { color: var(--warn); background: rgba(255, 176, 32, .07); border-color: rgba(255, 176, 32, .3); }
.state-ico.empty { color: var(--faint); }

.state-body { min-width: 0; }
.state-title { font-size: 18px; letter-spacing: -.01em; }
.state-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.state-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

/* need-extension card */
.need-ext {
  margin-top: 18px;
  border-color: rgba(255, 176, 32, .3);
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(255, 176, 32, .08), transparent 65%),
    linear-gradient(160deg, rgba(24, 22, 15, .9), rgba(11, 13, 17, .96));
}

.need-ext .state-title { color: var(--warn); }

.partial-holder { margin-top: 20px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.partial-holder:focus-visible { outline-offset: 6px; }

.partial-note {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
}

.download-hint.is-flash {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  background: rgba(184, 255, 60, .09);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  padding: 11px 19px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(18, 25, 36, .97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  color: var(--text);
  font-size: 13.5px;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 10. Check cards ----------------------------------------------------------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.check-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(280px 160px at 100% 0%, rgba(255, 255, 255, .035), transparent 70%),
    linear-gradient(170deg, rgba(18, 25, 36, .75), rgba(10, 14, 20, .62));
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}

.check-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.card-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(184, 255, 60, .055);
  color: var(--accent);
}

.card-ico.cyan { background: rgba(85, 214, 245, .06); color: var(--cyan); }
.card-ico.ok { background: rgba(56, 217, 150, .06); color: var(--ok); }
.card-ico.warn { background: rgba(255, 176, 32, .06); color: var(--warn); }
.card-ico svg { width: 20px; height: 20px; }

.check-card h3 { font-size: 16px; letter-spacing: -.01em; }

.check-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 650;
}

.card-link::after {
  content: "→";
  transition: transform .2s var(--ease);
}

.card-link:hover::after { transform: translateX(3px); }

/* 11. How it works ---------------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.how-step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 25, 36, .66), rgba(10, 14, 20, .5));
}

.how-step::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

.step-no {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
}

.how-step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.how-step p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.68;
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(184, 255, 60, .18);
  border-radius: 12px;
  background: rgba(184, 255, 60, .035);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.how-note svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }

/* 12. Plans ----------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 8px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 25, 36, .76), rgba(10, 14, 20, .68));
}

.plan.featured {
  border-color: rgba(184, 255, 60, .42);
  background:
    radial-gradient(340px 180px at 50% 0%, rgba(184, 255, 60, .1), transparent 70%),
    linear-gradient(180deg, rgba(20, 27, 33, .9), rgba(10, 14, 20, .85));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

.plan-badge {
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: .06em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 4px;
}

.plan-price strong {
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.plan-price span { color: var(--faint); font-size: 12.5px; }

.plan-desc {
  min-height: 42px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
}

.tick {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(184, 255, 60, .13);
}

.tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3.5px;
  width: 4px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.plan .btn { margin-top: auto; width: 100%; }

.plan-note {
  margin-top: 22px;
  color: var(--faint);
  font-size: 12.5px;
  text-align: center;
}

.plan-more {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
}

.plan-more a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.plan-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 13. FAQ ------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-h { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: 0; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  line-height: 1.5;
  transition: color .18s;
}

.faq-q:hover { color: var(--accent); }

.plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: border-color .2s, background .2s;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity .2s, transform .25s var(--ease);
}

.plus::after {
  width: 1.5px;
  height: 9px;
}

.faq-item.open .plus { background: rgba(184, 255, 60, .1); border-color: rgba(184, 255, 60, .4); color: var(--accent); }
.faq-item.open .plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a p {
  max-width: 730px;
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-a p + p { padding-top: 0; margin-top: -10px; }

.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* 14. CTA band -------------------------------------------------------------- */
.cta-wrap { padding: 20px 0 0; }

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(184, 255, 60, .2);
  border-radius: 24px;
  background:
    radial-gradient(620px 320px at 86% 12%, rgba(184, 255, 60, .13), transparent 62%),
    linear-gradient(150deg, #0E1520, #090D13);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(184, 255, 60, .1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before { right: -90px; top: -110px; width: 330px; height: 330px; }
.cta-band::after { right: -20px; top: -40px; width: 190px; height: 190px; }

.cta-band h2 { max-width: 560px; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { max-width: 520px; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 15. Footer ---------------------------------------------------------------- */
.site-footer {
  margin-top: 88px;
  padding: 56px 0 26px;
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 11, .6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h3 {
  margin-bottom: 13px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13.5px;
  transition: color .15s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.7;
}

/* 16. Sub-page hero --------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px) 0 42px;
  border-bottom: 1px solid var(--border);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 60, .07), transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  font-size: clamp(30px, 4.6vw, 50px);
  letter-spacing: -.04em;
}

.page-hero .lead {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

.page-meta {
  margin-top: 18px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11.5px;
}

/* 17. Prose / documentation ------------------------------------------------- */
.doc-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 52px 0 32px;
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(14, 19, 27, .6);
}

.doc-toc h2 {
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.doc-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  transition: color .15s;
}

.doc-toc a:hover { color: var(--accent); }

.prose {
  max-width: 800px;
  min-width: 0;
}

.prose > h2 {
  margin: 50px 0 16px;
  padding-top: 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.03em;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.prose > h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 26px 0 9px;
  font-size: 17px;
  letter-spacing: -.01em;
}

.prose p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14.8px;
  line-height: 1.85;
}

.prose p strong, .prose li strong { color: var(--text); font-weight: 650; }

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 21px;
  color: var(--muted);
  font-size: 14.8px;
  line-height: 1.8;
}

.prose li { margin-bottom: 6px; }

.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.prose .callout {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(184, 255, 60, .18);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(184, 255, 60, .035);
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
}

.prose .callout.warn {
  border-color: rgba(255, 176, 32, .22);
  border-left-color: var(--warn);
  background: rgba(255, 176, 32, .04);
}

.prose .callout p:last-child { margin-bottom: 0; }

.prose .formula {
  margin: 20px 0;
  padding: 20px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.prose .formula b { color: var(--accent); font-weight: 600; }

.check-doc {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(18, 25, 36, .6), rgba(10, 14, 20, .5));
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.check-doc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.check-doc-head .card-ico { margin: 0; }

.check-doc-head h2 {
  margin: 0;
  padding: 0;
  font-size: 21px;
}

.check-doc-head .chip { margin-left: auto; }

.check-doc h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .05em;
}

.check-doc h3::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.check-doc p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.check-doc p:last-child { margin-bottom: 0; }

.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

/* 18. Tables ---------------------------------------------------------------- */
.table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 13.5px;
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, .03);
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

td { color: var(--muted); line-height: 1.6; }
td strong { color: var(--text); font-weight: 600; }

tr:last-child td { border-bottom: 0; }

td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
td .tick { display: inline-block; margin: 0 2px 0 0; vertical-align: -2px; }
td .dash { color: var(--faint); }

.compare td:first-child,
.compare th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--panel);
  color: var(--text);
  font-weight: 550;
  white-space: nowrap;
}

.compare th:first-child { background: var(--panel-2); }

/* 19. Pricing page ---------------------------------------------------------- */
.pricing-page .plans { margin-top: 0; }

.activation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}

.activation-steps {
  display: grid;
  gap: 12px;
  counter-reset: act;
  list-style: none;
}

.activation-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.activation-steps li::before {
  counter-increment: act;
  content: counter(act);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(184, 255, 60, .12);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.code-sample {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 0, 0, .3);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.pricing-faq { margin-top: 8px; }

/* 20. Install page ---------------------------------------------------------- */
.install-steps {
  display: grid;
  gap: 16px;
  margin: 30px 0 12px;
  list-style: none;
}

.install-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(18, 25, 36, .68), rgba(10, 14, 20, .55));
}

.step-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
}

.install-step h3 { margin: 0 0 8px; font-size: 18px; }

.install-step p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.7;
}

.install-step p:last-child { margin-bottom: 0; }

.install-step code,
.inline-code {
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 0, 0, .3);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.note-panel {
  padding: 20px 22px;
  border: 1px solid rgba(255, 176, 32, .22);
  border-radius: 14px;
  background: rgba(255, 176, 32, .035);
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
}

.note-panel h3 {
  margin: 0 0 8px;
  color: var(--warn);
  font-size: 15px;
}

.note-panel p { margin: 0 0 8px; }
.note-panel p:last-child { margin-bottom: 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
  margin-top: 8px;
}

.why-panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
}

.why-panel h3 { margin: 0 0 10px; font-size: 17px; }

.why-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
}

.why-panel p:last-child { margin-bottom: 0; }

.download-panel {
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  background: rgba(14, 19, 27, .5);
}

.download-panel h3 { margin: 0 0 8px; font-size: 16px; }

.download-panel p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

.download-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(184, 255, 60, .05);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.download-hint svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--accent); }

/* 21. 404 ------------------------------------------------------------------- */
.err-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.err-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 520px);
  aspect-ratio: 1;
  translate: -50% -54%;
  opacity: .4;
  pointer-events: none;
}

.err-radar .radar { inset: 10%; }
.err-radar .radar-sweep { inset: 10%; animation-duration: 9s; }

.err-inner { position: relative; z-index: 1; max-width: 620px; }

.err-code {
  font-size: clamp(76px, 16vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  background: linear-gradient(180deg, var(--text) 20%, rgba(151, 163, 182, .18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.err-inner h1 { margin: 14px 0 14px; font-size: clamp(24px, 3.4vw, 36px); }

.err-inner p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.err-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* 22. Animation keyframes --------------------------------------------------- */
@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

@keyframes dot-ping {
  0% { box-shadow: 0 0 0 0 rgba(184, 255, 60, .42); }
  70% { box-shadow: 0 0 0 11px rgba(184, 255, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 60, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 23. Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(38px, 6.4vw, 56px); }
  .radar-wrap { width: min(100%, 380px); }
  .radar-tag.t1 { left: -2%; }
  .radar-tag.t2 { right: -2%; }
  .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-card { min-height: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 22px; }
  .plan.featured { order: -1; }
  .plan-desc { min-height: 0; }
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .doc-toc h2 { grid-column: 1 / -1; }
  .activation { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { justify-content: space-between; }
  .nav-right { margin-left: auto; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 44px; }
  .hero-visual { order: 2; }
  .hero-copy { order: 1; }
  .hero h1 { max-width: 640px; }
  .hero-sub { max-width: 640px; }
  .radar-wrap { width: min(100%, 360px); margin-top: 4px; }
  .radar-tag.t1, .radar-tag.t2, .radar-tag.t3, .radar-tag.t4 { font-size: 11px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 420px; }
  .site-footer { margin-top: 72px; }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
  .hero-sub { font-size: 15.5px; }
  .check-form { flex-wrap: wrap; }
  .check-form .btn { width: 100%; }
  .input-wrap { flex-basis: 100%; }
  .how-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .check-card { padding: 20px; }
  .verdict-head { flex-direction: column; }
  .score-box {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .score-ring { width: 96px; height: 96px; }
  .score-val { font-size: 28px; }
  .score-ring::before { inset: 8px; }
  .sk-head { flex-direction: column; }
  .sk-ring { width: 84px; height: 84px; }
  .sk-sub { width: 82%; }
  .result-foot { flex-direction: column; align-items: stretch; }
  .result-actions .btn { flex: 1 1 auto; }
  .result-meta { order: 2; }
  .state-card { flex-direction: column; gap: 12px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .doc-toc { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .install-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .step-badge { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
  .prose > h2 { margin-top: 40px; }
  table { min-width: 520px; }
}

@media (max-width: 560px) {
  .radar-tag { display: none; }
  .radar-wrap { width: min(100%, 300px); }
  .radar-hub { width: 48px; height: 48px; }
  .radar-hub svg { width: 24px; height: 24px; }
  .stats-bar { font-size: 12px; line-height: 1.6; align-items: flex-start; }
  .live-dot { margin-top: 6px; }
  .hero-form { margin-top: 24px; }
  .plan { padding: 22px; }
  .plan-price strong { font-size: 34px; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
  .footer-grid { gap: 26px 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .page-hero { padding-top: 38px; }
  .doc-layout { padding-top: 36px; }
  .install-step { grid-template-columns: 1fr; }
  .step-badge { width: 40px; height: 40px; font-size: 14px; }
  .err-page { min-height: calc(100vh - var(--nav-h) - 40px); }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 28px); }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 27px; height: 27px; }
  .nav-inner { gap: 12px; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .check-top .chip { margin-left: 0; }
  .check-row { grid-template-columns: 34px minmax(0, 1fr); gap: 11px; }
  .check-ico { width: 32px; height: 32px; border-radius: 9px; }
  .check-ico svg { width: 16px; height: 16px; }
  .chip { font-size: 11px; padding: 3px 7px; }
  .toast { max-width: calc(100% - 32px); text-align: center; }
}

/* 24. Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .radar-sweep { animation: none; transform: rotate(38deg); }
  .sk-line { animation: none; }
  .sk-ring { animation: none; border-top-color: rgba(255, 255, 255, .12); }
}
