:root {
  --bg: #0b0b12;
  --bg-soft: #14141f;
  --card: #1a1a28;
  --line: #2a2a3c;
  --ink: #f2f2f7;
  --muted: #a0a0b8;
  --accent: #7c5cff;
  --accent-2: #00d6a4;
  --good: #25c685;
  --warn: #f2b134;
  --bad: #ff5d6c;
  --radius: 16px;
  --maxw: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #1d1640 0%, var(--bg) 55%) fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- header / footer ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 20px;
}
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-footer {
  max-width: var(--maxw); margin: 80px auto 40px; padding: 24px 20px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
  display: grid; gap: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  /* Explicit bg + color: <button> does NOT inherit color, and the UA defaults
     (black text / grey bg) are unreadable on our dark panels. */
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: transform .05s ease, filter .15s ease;
}
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #a07cff); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink) !important; padding: 9px 16px; }
.btn-ghost:hover { border-color: var(--accent); background: var(--card); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 30px auto 0; padding: 30px 20px 10px; text-align: center;
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }

/* ---------- scan form ---------- */
.scan-card {
  max-width: 640px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 30px 80px -40px rgba(124,92,255,.5);
}
.scan-row { display: flex; gap: 10px; }
/* dark-theme form controls inside console rows (a bare <select> renders as a
   white UA control — the same clash we fixed on the newsletter input).
   color-scheme:dark makes the native option popup render dark too, so there's
   never light-on-light in the dropdown itself. */
.scan-row select {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  color-scheme: dark; border-radius: 12px; padding: 12px; font-size: .95rem; outline: none;
}
.scan-row select:focus { border-color: var(--accent); }
.scan-row input[type=text],
.scan-row input[type=email] {
  flex: 1; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 12px; padding: 14px 16px; font-size: 1.05rem; outline: none;
}
.scan-row input[type=text]:focus,
.scan-row input[type=email]:focus { border-color: var(--accent); }
.scan-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; }
.scan-meta select {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  color-scheme: dark; border-radius: 10px; padding: 8px 12px; font-size: .85rem;
}
/* Placeholders: the browser default (~translucent) is too dim to read on our
   dark inputs. Pin a legible-but-clearly-secondary tone (≈4:1 on --bg-soft). */
::placeholder { color: #8b8ba6; opacity: 1; }
.errorlist { list-style: none; padding: 0; margin: 10px 0 0; color: var(--bad); font-size: .9rem; }

/* ---------- generic sections ---------- */
.block { max-width: var(--maxw); margin: 70px auto; padding: 0 20px; }
section.block h2,
section.block > h1 { font-size: 1.8rem; letter-spacing: -.02em; margin: 0 0 8px; }
section.block .lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pillar-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.pillar-card .ico { font-size: 1.6rem; }
.pillar-card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.pillar-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.pillar-card .soon { font-size: .72rem; color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step .n { color: var(--accent); font-weight: 800; font-size: 1.4rem; }
.step h3 { margin: 6px 0; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- results ---------- */
.result-wrap { max-width: var(--maxw); margin: 30px auto; padding: 0 20px; }
.score-hero { display: flex; gap: 30px; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ring {
  --val: 0; --col: var(--good);
  width: 150px; height: 150px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--col) calc(var(--val) * 1%), var(--line) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--card); }
.ring .num { position: relative; text-align: center; }
.ring .num b { font-size: 2.6rem; line-height: 1; }
.ring .num span { color: var(--muted); font-size: .8rem; }
.score-meta { flex: 1; min-width: 260px; }
.score-meta .grade-pill {
  display: inline-block; font-weight: 800; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--line); margin-bottom: 10px;
}
.score-meta h1 { font-size: 1.45rem; margin: 0 0 8px; letter-spacing: -.02em; }
.score-meta .target { color: var(--muted); font-size: .92rem; word-break: break-all; }
.bench { margin-top: 14px; font-size: .95rem; }
.cap-warning { margin-top: 14px; background: rgba(255,93,108,.12); border: 1px solid var(--bad);
  color: #ffd0d5; border-radius: 12px; padding: 12px 14px; font-size: .92rem; }

.cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 24px; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 1.15rem; margin: 0 0 16px; }

.pillar-score { margin-bottom: 18px; }
.pillar-score .head { display: flex; justify-content: space-between; align-items: baseline; }
.pillar-score .head .name { font-weight: 700; }
.pillar-score .head .pts { color: var(--muted); font-size: .9rem; }
.bar { height: 8px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; margin: 8px 0 10px; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.checks li:first-child { border-top: 0; }
.mark { flex: 0 0 auto; width: 18px; text-align: center; font-weight: 800; }
.mark.pass { color: var(--good); }
.mark.partial { color: var(--warn); }
.mark.fail { color: var(--bad); }
.mark.na { color: var(--muted); }
.check-body .lbl { font-weight: 600; }
.check-body .dtl { color: var(--muted); font-size: .85rem; }

.fix { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--bg-soft); }
.fix .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fix .ttl { font-weight: 700; }
.fix .imp { color: var(--accent-2); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.fix .how { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.fix .tags { margin-top: 8px; display: flex; gap: 8px; }
.tag { font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.tag.easy { color: var(--good); }
.tag.medium { color: var(--warn); }
.tag.hard { color: var(--bad); }

/* level-up roadmap */
.roadmap-proj { background: linear-gradient(135deg, rgba(124,92,255,.16), rgba(0,214,164,.10));
  border: 1px solid var(--accent); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.proj-scores { display: flex; align-items: baseline; gap: 12px; font-weight: 800; }
.proj-scores .from { font-size: 1.6rem; color: var(--muted); }
.proj-scores .arrow { font-size: 1.2rem; color: var(--accent); }
.proj-scores .to { font-size: 2.2rem; color: var(--good); }
.proj-scores .to small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.proj-meta { margin-top: 6px; font-size: .92rem; color: var(--muted); }
.proj-meta strong { color: var(--accent-2); }
.grade-pill.sm { display: inline-block; font-weight: 800; padding: 1px 9px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .8rem; }
.grade-pill.sm.good { color: var(--good); border-color: var(--good); }
.roadmap-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.rstep { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 44px;
  margin-bottom: 12px; background: var(--bg-soft); }
.rstep::before { counter-increment: step; content: counter(step); position: absolute; left: 12px; top: 14px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.rstep-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rstep .ttl { font-weight: 700; }
.rstep .imp { color: var(--accent-2); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.rstep .how { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.rstep .tags { margin-top: 8px; display: flex; gap: 8px; }

/* lead capture */
.cta-card { background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(0,214,164,.12));
  border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; margin-top: 26px; }
.cta-card h2 { margin: 0 0 6px; }
.cta-card p { color: var(--muted); margin: 0 0 16px; }
.lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-row input[type=email] { flex: 1; min-width: 220px; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); border-radius: 12px; padding: 13px 16px; font-size: 1rem; }
.lead-ok { background: rgba(37,198,133,.14); border: 1px solid var(--good); color: #b9f4d8;
  border-radius: 12px; padding: 16px; font-weight: 600; }

.share { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.share code { background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 8px; border-radius: 8px; color: var(--ink); }

/* flash */
.messages { max-width: var(--maxw); margin: 10px auto 0; padding: 0 20px; }
.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; font-size: .92rem; }
.flash-error { background: rgba(255,93,108,.12); border: 1px solid var(--bad); }
.flash-success { background: rgba(37,198,133,.12); border: 1px solid var(--good); }

/* generated fix pack */
.artifact { margin-top: 18px; }
.artifact-head { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.copy-btn { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; padding: 5px 12px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); }
/* ---------- console (GSC-shape: side nav + one module center) ---------- */
.console { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; }
@media (max-width: 720px) { .console { grid-template-columns: 1fr; } }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.side-head { margin-bottom: 14px; display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 10px; color: var(--muted); font-size: .95rem; }
.side-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.side-nav a.active { background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.side-nav a.active .ico { color: var(--accent-2); }
/* consistent line-icon set (Lucide-style) — the SaaS-grade visual language */
.ico { width: 18px; height: 18px; flex: 0 0 auto; }
.stat-label .ico { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; color: var(--accent-2); }
.head-ico { display: inline-flex; vertical-align: -4px; margin-right: 6px; color: var(--accent-2); }
.head-ico .ico { width: 22px; height: 22px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat-card { display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s ease; }
.stat-card:hover { border-color: var(--accent); }
.stat-label { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; }
.stat-num { font-size: 1.7rem; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; }
.stat-sub { color: var(--muted); font-size: .85rem; }
.stat-link { color: var(--accent-2); font-size: .82rem; font-weight: 700; margin-top: 10px; }

/* Roadmap as a project plan: progress bar + vertical milestone timeline */
.rm-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rm-head strong { font-size: 1.05rem; }
.rm-head-goal { font-size: 1rem; font-variant-numeric: tabular-nums; }
.rm-gain { color: var(--good); font-weight: 700; font-size: .85rem; margin-left: 6px; }
.climb { position: relative; height: 10px; border-radius: 6px; background: var(--bg-soft);
  border: 1px solid var(--line); overflow: hidden; display: flex; }
.climb-fill { background: var(--accent-2); height: 100%; }
.climb-plan { background: repeating-linear-gradient(45deg, var(--accent), var(--accent) 4px,
  transparent 4px, transparent 8px); height: 100%; opacity: .85; }
.climb-legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0 2px; font-size: .78rem; }
.climb-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px;
  margin-right: 5px; vertical-align: -1px; }
.climb-legend .dot-now { background: var(--accent-2); }
.climb-legend .dot-plan { background: var(--accent); }
.rm-done { font-size: .85rem; margin: 10px 0 0; color: var(--good); }

.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.tl-item { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
/* the connecting line runs through the node column, behind the nodes */
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 6px;
  bottom: -6px; width: 2px; background: var(--line); }
.tl-node { position: relative; z-index: 1; flex: 0 0 auto; width: 28px; height: 28px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  background: var(--card); border: 2px solid var(--line); color: var(--ink); }
.tl-node.effort-easy { border-color: var(--good); }
.tl-node.effort-medium { border-color: var(--warn); }
.tl-node.effort-hard { border-color: var(--bad); }
.tl-node-goal { border-color: var(--accent-2); background: var(--bg-soft); }
.tl-body { padding-top: 2px; }
.tl-title { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-meta { font-size: .85rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tl-impact { color: var(--good); font-weight: 700; }
.tl-how { margin-top: 8px; font-size: .88rem; line-height: 1.5; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.tl-goal .tl-title { color: var(--accent-2); }
.rm-frontier { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Overview priority banner: interpret (verdict) + recommend (next action) */
.priority { border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--radius);
  background: var(--card); padding: 16px 18px; margin-bottom: 18px; }
.priority-critical { border-left-color: var(--bad); }
.priority-warn { border-left-color: var(--warn); }
.priority-ok { border-left-color: var(--accent); }
.priority-good { border-left-color: var(--good); }
.priority-verdict { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.priority-badge { font-weight: 800; font-size: .8rem; letter-spacing: .02em; white-space: nowrap; }
.priority-critical .priority-badge { color: var(--bad); }
.priority-warn .priority-badge { color: var(--warn); }
.priority-ok .priority-badge { color: var(--accent); }
.priority-good .priority-badge { color: var(--good); }
.priority-line { color: var(--ink); font-size: .95rem; }
.priority-action { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.priority-do { font-weight: 700; }
.priority-impact { color: var(--good); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.priority-how { flex-basis: 100%; margin-top: 8px; font-size: .9rem; line-height: 1.5;
  color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; }
.priority-how .muted { font-weight: 700; }

/* horse-race chart: score-over-time, my store vs rivals */
.race-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.race-svg { width: 100%; height: auto; display: block; }
.race-grid-lbl { fill: var(--muted); font-size: 9px; }
.race-crown { font-size: 13px; }
.race-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .85rem; }
.race-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.race-item .muted { font-variant-numeric: tabular-nums; }
.race-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }

/* pedagogy tooltip: the ⓘ next to every check — what/why/risk in merchant-speak */
.info-tip { position: relative; display: inline-block; cursor: help; color: var(--muted);
  font-size: .85rem; margin-left: 5px; }
.info-tip:hover, .info-tip:focus { color: var(--accent-2); outline: none; }
.info-tip .tip-body { visibility: hidden; opacity: 0; transition: opacity .12s ease;
  position: absolute; z-index: 30; left: -12px; top: calc(100% + 8px);
  width: min(300px, 78vw); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font-size: .78rem; line-height: 1.5;
  color: var(--ink); font-weight: 400; box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
.info-tip .tip-body strong { color: var(--accent-2); font-weight: 700; }
.info-tip:hover .tip-body, .info-tip:focus .tip-body,
.info-tip:focus-within .tip-body { visibility: visible; opacity: 1; }

/* validate-fix loop: discreet per-check action under a failing check's detail */
.validate-form { display: inline; margin: 0; }
.validate-btn { background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 600;
  cursor: pointer; margin-top: 4px; }
.validate-btn:hover { border-color: var(--accent-2); color: var(--accent-2); }
.artifact pre { margin: 0; background: #0d0d16; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; overflow-x: auto; font-size: .82rem; line-height: 1.5; color: #d6d6ea; }
.artifact pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.attr-map { width: 100%; border-collapse: collapse; font-size: .88rem; }
.attr-map th, .attr-map td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.attr-map th { color: var(--muted); font-weight: 600; }
.attr-map code { background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }

/* freemium gating */
.locked-blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
.gated { position: relative; }
.gated.locked > .artifact { filter: blur(6px); user-select: none; pointer-events: none; }
.gate-overlay { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.gate-box { text-align: center; background: var(--card); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 24px 26px; max-width: 380px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.gate-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.gate-box .btn { margin-top: 12px; }
.unlock-cta { display: block; text-align: center; margin-top: 14px; padding: 12px;
  border: 1px dashed var(--accent); border-radius: 12px; color: var(--ink); font-size: .92rem; }
.unlock-cta:hover { background: rgba(124,92,255,.1); }

/* pricing */
.billing-toggle { display: inline-flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin: 8px 0 30px; }
.billing-toggle button { background: transparent; border: 0; color: var(--muted); font-weight: 700;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.billing-toggle button.active { background: var(--accent); color: #fff; }
.billing-toggle .save { color: var(--accent-2); font-weight: 700; }
.billing-toggle button.active .save { color: #d8fff4; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px;
  max-width: 900px; margin: 0 auto; text-align: left; }
.plan-card { position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 30px 80px -45px rgba(124,92,255,.6); }
.plan-card .badge { position: absolute; top: -11px; left: 26px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.plan-card .price { font-size: 1rem; color: var(--muted); margin-bottom: 16px; }
.plan-card .price b { font-size: 2.2rem; color: var(--ink); letter-spacing: -.02em; }
.plan-card .price .per { font-size: .85rem; margin-left: 4px; }
.plan-card .yearly-note { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.plan-card .yearly-note s { opacity: .7; }
.plan-card .yearly-note strong { color: var(--ink); }
.save-pill { display: inline-block; margin-left: 6px; background: rgba(0,214,164,.14);
  color: var(--accent-2); border: 1px solid var(--accent-2); border-radius: 999px;
  padding: 1px 9px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; font-size: .92rem; }
.plan-feats li.muted { color: var(--muted); }
.plan-form { display: grid; gap: 8px; }
.plan-form input[type=email] { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 11px 14px; font-size: .95rem; }
.unlock-box { margin: 34px auto 0; max-width: 520px; }
.unlock-box input[type=email] { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 11px 14px; min-width: 220px; }

/* competitor comparison */
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td.row-label { text-align: left; color: var(--muted); font-weight: 600; }
.compare-table thead th { font-size: .85rem; color: var(--ink); word-break: break-all; }
.compare-table .overall-row td { font-weight: 800; font-size: 1.1rem; }
.compare-table td.winner { color: var(--good); font-weight: 800; }

/* coverage status matrix — pages × fields, binary ✓/✗ (icon + color, never color alone) */
.matrix { width: 100%; border-collapse: collapse; font-size: .88rem; }
.matrix th, .matrix td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.matrix th:first-child, .matrix td.mx-page { text-align: left; }
.matrix td.mx-page a { color: var(--ink); font-weight: 600; word-break: break-all; }
.matrix td.mx-page a.muted { color: var(--muted); font-weight: 400; }
.mx-ok { color: var(--good); font-weight: 700; }
a.mx-bad { color: var(--bad); font-weight: 700; display: inline-block; padding: 1px 9px;
  border-radius: 6px; border: 1px solid transparent; text-decoration: none; }
a.mx-bad:hover, a.mx-bad:focus-visible { border-color: var(--bad); background: rgba(255,93,108,.12); }
.matrix td.mx-dead { color: var(--muted); font-size: .8rem; font-style: italic; text-align: left; }

/* account value recap — outcomes, shown at the renewal decision point */
.outcomes { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 10px 0 12px; }

/* "show the product" — real console screenshots on landing + pricing */
.shots { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 22px 0 6px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line);
  border-radius: 12px; }
.shot a:hover img, .shot a:focus-visible img { border-color: var(--accent-2); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px;
  line-height: 1.55; text-align: left; }
.dogfood { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px;
  margin: 14px auto 0; max-width: 640px; font-size: .95rem; }

/* scan-in-progress feedback (long waits need visible, narrated progress) */
.scan-progress { max-width: 560px; margin: 14px auto 0; text-align: left; }
.sp-bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.sp-fill { height: 100%; width: 2%; border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s linear; }

/* article share row — first-party links only, no tracking widgets */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 22px 0 4px; }
.share-row .btn { font-size: .82em; padding: 7px 12px; }

/* legal pages + footer */
.legal h3 { margin: 26px 0 6px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal a { color: var(--accent-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.center { text-align: center; }
.mt { margin-top: 22px; }
.notes { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* research / articles */
.research-list { display: grid; gap: 14px; margin-top: 26px; }
.research-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .15s; }
.research-item:hover { border-color: var(--accent); }
.research-item-link { display: block; padding: 18px 20px; color: inherit; }
.research-item h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: -.01em; }
.research-item p { margin: 0 0 8px; font-size: .95rem; }
.research-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag { display: inline-block; font-size: .72rem; color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.draft-badge { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; color: #fff; background: var(--accent-2); border-radius: 4px; padding: 2px 6px; margin-left: 8px; }

.article-title { font-size: 1.9rem; letter-spacing: -.02em; margin: 10px 0 8px; line-height: 1.15; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.article-body { color: var(--ink); line-height: 1.72; font-size: 1.02rem; }
.article-body h2 { font-size: 1.3rem; margin: 30px 0 10px; letter-spacing: -.01em; }
.article-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.article-body p, .article-body li { color: var(--muted); }
.article-body a { color: var(--accent-2); }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 4px 0; }
.article-body blockquote { border-left: 3px solid var(--accent); margin: 18px 0; padding: 2px 0 2px 16px; color: var(--muted); }
.article-body code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: .9em; }
.article-body strong { color: var(--ink); }
.rule { border: none; border-top: 1px solid var(--line); margin: 30px 0 16px; }

.related { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 18px; }
.related h2 { font-size: 1.05rem; margin: 0 0 12px; letter-spacing: -.01em; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { color: var(--ink); font-weight: 600; }
.related a:hover { color: var(--accent-2); }
