/* ==========================================================================
   AgentProof.cloud — commercial site styles
   Self-contained: no external fonts, images, scripts or network requests.
   ========================================================================== */

:root {
  --bg: #060911;
  --bg-2: #0a101d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --panel-3: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #e9edf7;
  --muted: #9aa6bf;
  --muted-2: #74809a;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-grad: linear-gradient(135deg, #8b7cff 0%, #22d3ee 100%);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.12);
  --violet-soft: rgba(124, 92, 255, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Cascadia Mono", "Noto Sans Mono", monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(124, 92, 255, 0.20), transparent 60%),
    radial-gradient(780px 460px at 92% 2%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(1000px 620px at 50% 110%, rgba(124, 92, 255, 0.10), transparent 65%),
    var(--bg);
}
.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
}

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

/* ---------------------------------------------------------------- topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6, 9, 17, 0.72);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark { width: 28px; height: 28px; }
.brand-dot {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.18s, background 0.18s;
}
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.is-active { color: var(--text); background: var(--panel-3); }

.top-actions { display: flex; align-items: center; gap: 12px; }
.arr-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.arr-pill b { color: var(--text); font-variant-numeric: tabular-nums; }
.arr-label { color: var(--muted-2); letter-spacing: 0.08em; font-size: 11px; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
  display: inline-block;
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.04); }
}
.nav-toggle {
  display: none;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 11px;
  cursor: pointer;
}
.offline-banner {
  background: rgba(251, 191, 36, 0.12);
  border-top: 1px solid rgba(251, 191, 36, 0.3);
  color: #fcd987;
  font-size: 13.5px;
  padding: 8px 24px;
  text-align: center;
}
.offline-banner code { color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-grad);
  color: #080b14;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(124, 92, 255, 0.4); transform: translateY(-1px); }
.btn-ghost {
  background: var(--panel);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.28); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.arrow { opacity: 0.7; }

/* ---------------------------------------------------------------- layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px; }
.view { padding-top: 30px; animation: viewIn 0.35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}
h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.18; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 760; }
h3 { font-size: 17px; margin: 0 0 8px; font-weight: 680; }
h4 { font-size: 14px; margin: 0 0 10px; letter-spacing: 0.02em; }
p { margin: 0 0 14px; }
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub { color: var(--muted); max-width: 660px; font-size: 16.5px; }
.section { margin-top: 78px; }
.section-head { margin-bottom: 26px; }
.section-head .sub { margin-bottom: 0; }
.page-head { text-align: center; max-width: 760px; margin: 26px auto 38px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-head .sub { margin: 0 auto; }

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding: 58px 0 30px;
}
.hero h1 { margin-top: 4px; }
.lede { font-size: 17.5px; color: #c3cbe0; max-width: 560px; }
.lede strong { color: #fff; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 13.5px; }
.trust-row li { position: relative; padding-left: 16px; }
.trust-row li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: var(--green); font-weight: 700;
}

.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.orbit {
  position: absolute; inset: 50% auto auto 50%;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  transform: translate(-50%, -50%);
}
.orbit-a { width: 360px; height: 360px; border-color: rgba(124, 92, 255, 0.22); }
.orbit-b { width: 250px; height: 250px; border-color: rgba(34, 211, 238, 0.18); }
.seal-card {
  position: relative;
  width: min(330px, 90%);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(28, 33, 52, 0.9), rgba(12, 16, 28, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.seal-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 21px; z-index: -1;
  background: var(--accent-grad); opacity: 0.22; filter: blur(18px);
}
.seal-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.seal-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.seal-row span { color: var(--muted); }
.seal-row b { font-weight: 600; font-family: var(--mono); font-size: 13px; }
.seal-row b.ok { color: var(--green); }
.seal-hash { margin-top: 14px; padding: 9px 11px; border-radius: 9px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: #8ea0c4; overflow: hidden; text-overflow: ellipsis; }
.seal-sigs { display: flex; gap: 8px; margin-top: 12px; }
.sig { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.25); }

/* ---------------------------------------------------------------- stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.stat { background: rgba(10, 15, 26, 0.86); padding: 16px 18px; }
.stat b { display: block; font-size: 23px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------- scanner */
.scan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 23, 38, 0.75), rgba(10, 14, 24, 0.85));
  padding: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
.scan-input-card { display: flex; flex-direction: column; }
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.seg-btn {
  border: 0; background: transparent; color: var(--muted);
  padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13.5px;
}
.seg-btn.is-active { background: var(--panel-3); color: var(--text); }
.sample-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.chip:hover { background: var(--panel-3); border-color: rgba(255, 255, 255, 0.3); }
.chip-danger { color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); background: var(--red-soft); }
.chip-ghost { background: transparent; color: var(--muted); }
#scanInput {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(3, 6, 12, 0.72);
  color: #dbe3f6;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.6;
  outline: none;
}
#scanInput:focus { border-color: rgba(124, 92, 255, 0.65); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14); }
.scan-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.hint { color: var(--muted-2); font-size: 12.5px; }
.alert { border-radius: 10px; padding: 10px 13px; font-size: 13.5px; margin-top: 12px; }
.alert-error { background: var(--red-soft); border: 1px solid rgba(248, 113, 113, 0.3); color: #fecaca; }

.scan-placeholder { text-align: center; padding: 30px 26px; }
.placeholder-art { font-size: 40px; margin-bottom: 10px; }
.scan-placeholder h3 { font-size: 19px; }
.scan-placeholder p { color: var(--muted); font-size: 14px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 22px; color: var(--muted); font-size: 13.5px; }
.checklist li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700;
}

/* result card */
.scan-result-card { grid-column: 1 / -1; }
.result-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.grade-badge {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 12, 22, 0.92) 54%, transparent 56%),
    conic-gradient(var(--grade-color, var(--green)) 0turn 0.78turn, rgba(255, 255, 255, 0.08) 0.78turn 1turn);
}
.grade-badge span { font-size: 34px; font-weight: 800; line-height: 1; color: var(--grade-color, var(--green)); }
.grade-badge small { position: absolute; bottom: 12px; font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.grade-badge[data-grade="A"] { --grade-color: #34d399; }
.grade-badge[data-grade="B"] { --grade-color: #22d3ee; }
.grade-badge[data-grade="C"] { --grade-color: #fbbf24; }
.grade-badge[data-grade="D"] { --grade-color: #fb923c; }
.grade-badge[data-grade="F"] { --grade-color: #f87171; }
.result-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.result-meta b { font-size: 15px; }
.result-meta span { color: var(--muted); font-size: 13.5px; }
.result-digest { font-family: var(--mono); font-size: 11px !important; color: var(--muted-2) !important; word-break: break-all; }
.icon-btn {
  margin-left: auto; background: transparent; border: 1px solid var(--line);
  width: 32px; height: 32px; border-radius: 9px; cursor: pointer; color: var(--muted);
}
.icon-btn:hover { color: var(--text); background: var(--panel-2); }

.finding-counts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.count-pill {
  font-size: 12px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
}
.count-pill b { font-variant-numeric: tabular-nums; }
.count-pill.sev-critical { color: #fecaca; border-color: rgba(248, 113, 113, 0.35); background: var(--red-soft); }
.count-pill.sev-high { color: #fed7aa; border-color: rgba(251, 146, 60, 0.35); background: rgba(251, 146, 60, 0.12); }
.count-pill.sev-medium { color: #fde68a; border-color: rgba(251, 191, 36, 0.32); background: var(--amber-soft); }
.count-pill.sev-low { color: #bfdbfe; border-color: rgba(96, 165, 250, 0.3); background: rgba(96, 165, 250, 0.1); }

.findings { display: grid; gap: 9px; margin-bottom: 18px; }
.finding {
  border: 1px solid var(--line);
  border-left: 3px solid var(--sev-color, var(--muted));
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
  padding: 11px 14px;
}
.finding[data-sev="critical"] { --sev-color: #f87171; }
.finding[data-sev="high"] { --sev-color: #fb923c; }
.finding[data-sev="medium"] { --sev-color: #fbbf24; }
.finding[data-sev="low"] { --sev-color: #60a5fa; }
.finding summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.finding summary::-webkit-details-marker { display: none; }
.sev-tag {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 5px; font-weight: 700;
  background: color-mix(in srgb, var(--sev-color, #999) 18%, transparent);
  color: var(--sev-color, #ccc);
  flex: 0 0 auto;
}
.finding-title { font-size: 14px; font-weight: 620; }
.finding-body { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.finding-body p { margin: 0 0 8px; }
.finding-body .fix { color: #c9d6ef; }
.evidence {
  display: block; margin: 8px 0 0; padding: 8px 10px; border-radius: 7px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: #93a4c6;
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}

.policy-block { border-top: 1px solid var(--line); padding-top: 16px; }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.policy-head span { font-size: 13.5px; color: var(--muted); }
.policy-actions { display: flex; gap: 8px; }
.code {
  margin: 0;
  padding: 14px;
  border-radius: 11px;
  background: rgba(2, 5, 11, 0.8);
  border: 1px solid var(--line);
  font-size: 12.2px;
  line-height: 1.62;
  color: #b9c7e6;
  overflow: auto;
  max-height: 340px;
  white-space: pre;
}
.code-tall { max-height: 480px; }
.funnel-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding: 16px 18px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.07));
  flex-wrap: wrap;
}
.funnel-cta b { display: block; font-size: 14.5px; }
.funnel-cta span { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.steps li::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); font-size: 16px;
}
.steps li:last-child::after { content: ""; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.1em; }
.steps h3 { margin-top: 8px; }
.steps p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------------------------------------------------------------- features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: rgba(124, 92, 255, 0.4); transform: translateY(-2px); }
.feature h3 { font-size: 16.5px; }
.feature p { color: var(--muted); font-size: 13.8px; margin: 0; }

/* ---------------------------------------------------------------- honesty */
.honesty { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--panel); }
.honesty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.honesty-col { padding: 18px; border-radius: 14px; border: 1px solid var(--line); }
.honesty-col ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.8px; }
.honesty-col li { margin-bottom: 6px; }
.ok-col { background: var(--green-soft); border-color: rgba(52, 211, 153, 0.24); }
.ok-col h4 { color: var(--green); }
.no-col { background: var(--red-soft); border-color: rgba(248, 113, 113, 0.22); }
.no-col h4 { color: #fca5a5; }

.final-cta { text-align: center; border: 1px solid var(--line); border-radius: 24px; padding: 48px 28px; background: radial-gradient(600px 240px at 50% 0%, rgba(124, 92, 255, 0.16), transparent 70%), var(--panel); }
.final-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 8px; }
.final-cta .hero-cta { justify-content: center; }

/* ---------------------------------------------------------------- pricing */
.billing-toggle { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); margin-top: 8px; }
.toggle-btn { border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.toggle-btn.is-active { background: var(--panel-3); color: var(--text); }
.save-tag { font-size: 11px; color: var(--green); background: var(--green-soft); padding: 1px 6px; border-radius: 5px; margin-left: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(20, 26, 42, 0.8), rgba(10, 14, 24, 0.9));
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.price-card.is-featured { border-color: rgba(124, 92, 255, 0.55); box-shadow: 0 20px 60px rgba(124, 92, 255, 0.15); }
.price-badge {
  position: absolute; top: -12px; left: 26px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--accent-grad); color: #080b14; font-weight: 700;
}
.price-name { font-size: 19px; font-weight: 720; margin-bottom: 4px; }
.price-tagline { color: var(--muted); font-size: 13px; min-height: 38px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 2px; }
.price-amount b { font-size: 40px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-amount span { color: var(--muted); font-size: 13.5px; }
.price-save { color: var(--green); font-size: 12.5px; min-height: 19px; }
.price-features { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; }
.price-features li { position: relative; padding-left: 22px; font-size: 13.8px; color: #c6d0e4; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-cta { width: 100%; }

.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; margin-top: 34px; }
.checkout-copy h2 { font-size: 26px; }
.checkout-copy p { color: var(--muted); font-size: 14px; }
.checkout-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select, .login-row input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(3, 6, 12, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.field input:focus, .field select:focus, .login-row input:focus { border-color: rgba(124, 92, 255, 0.65); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.13); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { color: var(--muted-2); font-size: 12px; margin: 2px 0 0; }

.signup-success { display: flex; gap: 24px; margin-top: 34px; border-color: rgba(52, 211, 153, 0.4); }
.success-icon {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #08120d;
  background: var(--green);
}
.success-body { flex: 1; min-width: 0; }
.success-body h2 { font-size: 24px; margin-bottom: 2px; }
.success-sub { color: var(--muted); font-size: 14px; }
.key-box { margin: 16px 0; padding: 14px; border-radius: 12px; border: 1px dashed rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.06); }
.key-box label { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.key-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.key-row code { flex: 1; font-size: 14px; color: #bbf7d0; word-break: break-all; }
.success-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 12px 0; }
.success-meta b { color: var(--text); }

.faq { margin-top: 34px; }
.faq h2 { font-size: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

/* ---------------------------------------------------------------- console */
.login-card { max-width: 620px; margin: 0 auto; text-align: center; }
.login-card h2 { font-size: 24px; }
.login-card p { color: var(--muted); font-size: 14px; }
.login-row { display: flex; gap: 10px; margin-top: 16px; }
.login-row input { flex: 1; }

.console-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.console-tenant { display: flex; align-items: center; gap: 12px; }
.tenant-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; background: var(--accent-grad); color: #080b14;
}
.console-tenant b { display: block; font-size: 16px; }
.console-tenant span { color: var(--muted); font-size: 12.5px; }
.console-actions { display: flex; align-items: center; gap: 8px; }
.mode-tag { font-size: 11px; letter-spacing: 0.1em; padding: 4px 9px; border-radius: 6px; background: var(--green-soft); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.3); }
.mode-tag.is-demo { background: var(--amber-soft); color: var(--amber); border-color: rgba(251, 191, 36, 0.3); }

.console-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.metric { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 16px 18px; }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.metric b { font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric small { display: block; color: var(--muted-2); font-size: 11.5px; margin-top: 2px; }
.quota-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-top: 9px; overflow: hidden; }
.quota-bar i { display: block; height: 100%; width: 0%; background: var(--accent-grad); border-radius: 999px; transition: width 0.5s ease; }

.console-grid { display: grid; grid-template-columns: 1.65fr 0.9fr; gap: 16px; align-items: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel-head h3 { margin: 0; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; margin: 0 -6px; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger-table th {
  text-align: left; font-weight: 600; color: var(--muted-2); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ledger-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
.ledger-table tr:last-child td { border-bottom: 0; }
.ledger-table td:nth-child(2) { color: var(--muted); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.ledger-table code { font-size: 12px; color: #d5def3; }
.decision-pill { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 6px; }
.decision-pill.ALLOW { color: var(--green); background: var(--green-soft); }
.decision-pill.DENY { color: #fca5a5; background: var(--red-soft); }
.decision-pill.HALT { color: var(--amber); background: var(--amber-soft); }
.reason-cell { color: var(--muted); max-width: 240px; }
.source-cell { color: var(--muted-2); font-size: 11px; }
.empty-row td { text-align: center; color: var(--muted-2); padding: 26px 10px; }

.console-side { display: grid; gap: 14px; }
.console-side .panel h3 { font-size: 15.5px; }
.console-side .mini { color: var(--muted-2); font-size: 12px; margin: 0 0 12px; }
.console-side .field { margin-bottom: 10px; }
.verify-verdict { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.verify-verdict.pass { background: var(--green-soft); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--green); }
.verify-verdict.fail { background: var(--red-soft); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; }
.verify-checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.verify-checks li { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.verify-checks .ok { color: var(--green); }
.verify-checks .bad { color: var(--red); }
.fingerprint { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.fingerprint span { color: var(--muted); min-width: 58px; }
.fingerprint code { font-size: 10.8px; color: #9fb2d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.copy-mini { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 6px; padding: 2px 7px; font-size: 10.5px; cursor: pointer; }
.copy-mini:hover { color: var(--text); background: var(--panel-2); }

/* ---------------------------------------------------------------- integrations */
.vendor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.vendor-card {
  text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 20px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.vendor-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--panel-2); }
.vendor-card.is-active { border-color: var(--vendor-accent, var(--accent)); box-shadow: 0 0 0 1px var(--vendor-accent, var(--accent)); }
.vendor-logo {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #080b14; margin-bottom: 12px;
  background: var(--vendor-accent, var(--accent));
}
.vendor-card h3 { font-size: 15.5px; }
.vendor-card p { color: var(--muted); font-size: 12.5px; margin: 0 0 10px; min-height: 54px; }
.vendor-framework { font-size: 11px; color: var(--muted-2); letter-spacing: 0.04em; }
.export-panel { margin-bottom: 18px; }
.export-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin-bottom: 12px; }
.export-meta b { color: var(--text); }
.badge-ok { color: var(--green); }
.badge-bad { color: var(--red); }
.disclaimer h3 { font-size: 17px; }
.disclaimer p, .disclaimer li { color: var(--muted); font-size: 13.8px; }
.disclaimer ul { padding-left: 20px; margin: 10px 0 0; }

/* ---------------------------------------------------------------- audit service */
.audit-service { border-color: rgba(124, 92, 255, 0.28); background: linear-gradient(180deg, rgba(24, 20, 48, 0.55), rgba(10, 14, 24, 0.9)); }
.audit-head { max-width: 720px; margin-bottom: 22px; }
.audit-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.audit-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  background: rgba(255, 255, 255, 0.025);
}
.audit-card.is-featured { border-color: rgba(124, 92, 255, 0.55); box-shadow: 0 16px 44px rgba(124, 92, 255, 0.14); }
.audit-card h3 { font-size: 16px; margin-bottom: 2px; }
.audit-price { font-size: 30px; font-weight: 760; letter-spacing: -0.03em; margin: 4px 0 6px; }
.audit-price span { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.audit-desc { color: var(--muted); font-size: 12.5px; min-height: 34px; }
.audit-card ul { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 7px; flex: 1; }
.audit-card li { position: relative; padding-left: 18px; font-size: 13px; color: #c6d0e4; }
.audit-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.audit-note { color: var(--muted-2); font-size: 12px; margin: 16px 0 0; }
.audit-note a { color: var(--accent-2); }
.audit-secondary { display: block; text-align: center; margin-top: 8px; font-size: 11.5px; color: var(--muted-2); }
.audit-secondary:hover { color: var(--text); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); margin-top: 80px; background: rgba(4, 7, 13, 0.85); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 20px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand b { font-size: 17px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.footer-cols { display: flex; gap: 56px; }
.footer-cols h4 { color: var(--muted-2); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-cols a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 7px; }
.footer-cols a:hover { color: var(--text); }
.footer-note { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 34px; color: var(--muted-2); font-size: 11.8px; }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: rgba(16, 22, 36, 0.96); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 11px 18px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 100;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); max-width: 88vw;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 34px; }
  .hero-art { min-height: 300px; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 10px 16px 16px;
    background: rgba(6, 9, 17, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .arr-pill { display: none; }
  .scan-grid, .checkout, .honesty-cols { grid-template-columns: 1fr; }
  .console-metrics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { content: "↓"; right: 50%; top: auto; bottom: -16px; transform: translateX(50%); }
  .steps li:last-child::after { content: ""; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  main { padding: 0 16px 30px; }
  .topbar-inner { padding: 12px 16px; gap: 10px; }
  .feature-grid, .pricing-grid, .vendor-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .console-metrics { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .result-head { flex-wrap: wrap; }
  .funnel-cta { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
