
:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --surface: #ffffff;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #09090b;
  --text-2: #52525b;
  --text-3: #71717a;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #eff6ff;
  --focus: rgba(37, 99, 235, 0.35);

  --ok: #15803d;      --ok-bg: #f0fdf4;      --ok-border: #bbf7d0;
  --warn: #b45309;    --warn-bg: #fffbeb;    --warn-border: #fde68a;
  --bad: #b91c1c;     --bad-bg: #fef2f2;     --bad-border: #fecaca;
  --contra: #a21caf;  --contra-bg: #fdf4ff;  --contra-border: #f5d0fe;
  --unk: #475569;     --unk-bg: #f8fafc;     --unk-border: #e2e8f0;

  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  --shadow-pop: 0 4px 16px rgba(9, 9, 11, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --bg-subtle: #101012;
    --surface: #121214;
    --border: #232329;
    --border-strong: #35353d;
    --text: #f4f4f5;
    --text-2: #a1a1aa;
    --text-3: #8b8b95;
    --accent: #3b82f6;
    --accent-strong: #60a5fa;
    --accent-soft: #16233f;
    --focus: rgba(59, 130, 246, 0.4);

    --ok: #4ade80;      --ok-bg: #0d2416;      --ok-border: #1d4a2c;
    --warn: #fbbf24;    --warn-bg: #271d05;    --warn-border: #4d3a0d;
    --bad: #f87171;     --bad-bg: #2b1112;     --bad-border: #542024;
    --contra: #e879f9;  --contra-bg: #260b29;  --contra-border: #4d1a52;
    --unk: #94a3b8;     --unk-bg: #14181e;     --unk-border: #2a3140;
    --shadow-pop: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
code, .mono { font-family: var(--mono); font-size: 0.8125rem; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); border-radius: var(--radius); }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- header / footer ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.wordmark {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark svg { display: block; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.head-nav a {
  text-decoration: none; color: var(--text-2); font-size: 0.875rem;
  padding: 6px 10px; border-radius: var(--radius);
}
.head-nav a:hover { color: var(--text); background: var(--bg-subtle); }

.site-foot { border-top: 1px solid var(--border); margin-top: 96px; }
.site-foot .wrap {
  padding-top: 32px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline;
  color: var(--text-3); font-size: 0.8125rem;
}
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.foot-spacer { flex: 1; }

/* ---------- landing hero ---------- */
.hero { padding: 88px 0 56px; position: relative; }
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  line-height: 1.08; font-weight: 650; letter-spacing: -0.025em;
  text-wrap: balance; max-width: 17ch;
}
.hero .sub {
  margin-top: 20px; max-width: 58ch;
  font-size: 1.0625rem; color: var(--text-2);
}
.hero .sub strong { color: var(--text); font-weight: 550; }

.scan-bar { margin-top: 36px; max-width: 640px; }
.scan-row { display: flex; gap: 10px; }
.scan-input {
  flex: 1; min-width: 0;
  height: 52px; padding: 0 18px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface);
  font-size: 1rem; font-family: var(--mono);
}
.scan-input::placeholder { color: var(--text-3); font-family: var(--font); }
.scan-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); outline: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
  background: var(--text); color: var(--bg);
  font-weight: 550; font-size: 0.9375rem; white-space: nowrap;
  transition: opacity 120ms ease-out, transform 120ms ease-out, box-shadow 120ms ease-out;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn { max-width: 100%; }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { opacity: 1; background: var(--bg-subtle); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.8125rem; border-radius: var(--radius); }
.scan-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-3); }
.scan-error {
  margin-top: 14px; padding: 12px 16px;
  border: 1px solid var(--bad-border); background: var(--bad-bg);
  border-radius: var(--radius); color: var(--bad); font-size: 0.875rem;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.spec-strip {
  margin-top: 26px; font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.spec-strip span { opacity: 0.4; padding: 0 2px; }
/* The product rail: find out / prove it / keep it, one hairline band. */
.rail {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.rail-step {
  display: block; padding: 18px 22px; text-decoration: none; color: inherit;
  border-left: 1px solid var(--border); transition: background 120ms ease-out;
}
.rail-step:first-child { border-left: 0; }
.rail-step:hover { background: var(--bg-subtle); }
.rail-verb { display: block; font-size: 0.9375rem; font-weight: 620; letter-spacing: -0.01em; color: var(--text); }
.rail-what { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--text-2); }
.rail-line { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--text-3); line-height: 1.5; }
@media (max-width: 700px) {
  .rail { grid-template-columns: 1fr; }
  .rail-step { border-left: 0; border-top: 1px solid var(--border); }
  .rail-step:first-child { border-top: 0; }
}
.evd {
  margin-top: 10px; font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 6px; padding: 5px 9px;
  background: var(--bg-subtle); display: inline-block; letter-spacing: 0.01em;
}
.method-dl { margin-top: 36px; border-top: 1px solid var(--border); }
.method-dl > div {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.method-dl dt {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--text-3); padding-top: 3px;
}
.method-dl dd { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; max-width: 68ch; }
.method-dl dd strong { color: var(--text); }
.method-dl dd a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .method-dl > div { grid-template-columns: 1fr; gap: 8px; } }
.product-links { margin-top: 12px; font-size: 0.8125rem; }
.product-links a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.product-links a:hover { color: var(--text); }
.scan-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- progress ---------- */
.progress-card {
  margin-top: 36px; max-width: 640px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.progress-head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.progress-head .t { font-weight: 550; }
.progress-head .domain { font-family: var(--mono); font-size: 0.875rem; color: var(--text-2); }
.progress-head .elapsed { margin-left: auto; font-family: var(--mono); font-size: 0.8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.progress-steps { padding: 10px 20px 14px; list-style: none; }
.progress-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 0; font-size: 0.875rem; color: var(--text-3);
}
.progress-steps li .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--border-strong); position: relative;
}
.progress-steps li.active { color: var(--text); }
.progress-steps li.active .dot { border-color: var(--accent); }
.progress-steps li.active .dot::after {
  content: ''; position: absolute; inset: 2.5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.1s ease-out infinite;
}
.progress-steps li.done { color: var(--text-2); }
.progress-steps li.done .dot { border-color: var(--ok); background: var(--ok); }
.progress-steps li.done .dot svg { position: absolute; inset: 0; margin: auto; color: #fff; }
@keyframes pulse { 0% { opacity: 1; transform: scale(0.7); } 70% { opacity: 0.2; transform: scale(1.05); } 100% { opacity: 0.2; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .progress-steps li.active .dot::after { animation: none; opacity: 0.9; }
}
.progress-foot { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-3); }

/* ---------- landing sections ---------- */
.section { padding: 56px 0 0; }
.section h2 { font-size: 1.375rem; font-weight: 620; letter-spacing: -0.015em; }
.section .section-sub { margin-top: 8px; color: var(--text-2); max-width: 62ch; }

.examples { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.example {
  display: block; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 18px 20px;
  transition: border-color 120ms ease-out, transform 120ms ease-out, box-shadow 120ms ease-out;
}
.example:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.example .ex-domain { font-family: var(--mono); font-size: 0.875rem; }
.example .ex-verdict { margin-top: 10px; }
.example .ex-line { margin-top: 10px; font-size: 0.8125rem; color: var(--text-2); }

.method-cols { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.method-cols h3 { font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.method-cols h3 svg { color: var(--text-3); flex: none; }
.method-cols p { margin-top: 8px; font-size: 0.875rem; color: var(--text-2); }

.honesty {
  margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-subtle); padding: 26px 28px;
}
.honesty p { max-width: 70ch; color: var(--text-2); font-size: 0.9375rem; }
.honesty p + p { margin-top: 12px; }
.honesty strong { color: var(--text); font-weight: 570; }

/* ---------- report ---------- */
/* While a report is on screen the hero collapses to a slim re-scan bar. */
body.has-report .hero { padding: 28px 0 0; }
body.has-report .hero h1, body.has-report .hero .sub,
body.has-report .hero .spec-strip, body.has-report .hero .scan-note { display: none; }
body.has-report .scan-bar { margin-top: 0; }
body.has-report .scan-input, body.has-report .scan-row .btn { height: 44px; }

.report-head { padding: 40px 0 0; }
#view-report { scroll-margin-top: 64px; }
.report-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: 0.8125rem; color: var(--text-3);
}
.report-meta .domain { font-family: var(--mono); font-size: 1rem; color: var(--text); font-weight: 550; }
.report-actions { margin-left: auto; display: flex; gap: 8px; }

.verdict-banner {
  margin-top: 18px; border-radius: var(--radius-lg);
  border: 1px solid; padding: 26px 28px;
  position: relative; overflow: hidden;
}
/* a soft light from the top-left, tinted by the verdict's own hue */
.verdict-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.5), transparent 55%);
  opacity: 0.6;
}
@media (prefers-color-scheme: dark) {
  .verdict-banner::before { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 55%); }
}
.verdict-banner > * { position: relative; }
.verdict-banner .v-name-sub {
  font-size: 0.9375rem; font-weight: 450; letter-spacing: 0;
  color: var(--text-2); align-self: center; max-width: 40ch;
}
.ladder-why {
  margin-top: 12px; font-size: 0.8125rem; color: var(--text-2);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.verdict-banner .v-conf {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor;
  opacity: 0.75; margin-left: 6px; align-self: center; white-space: nowrap;
}
.verdict-banner .v-name {
  font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 650; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.verdict-banner .v-reason { margin-top: 10px; font-size: 0.9375rem; max-width: 78ch; }
.verdict-banner.v-open { background: var(--ok-bg); border-color: var(--ok-border); }
.verdict-banner.v-open .v-name { color: var(--ok); }
.verdict-banner.v-partially-blocked { background: var(--warn-bg); border-color: var(--warn-border); }
.verdict-banner.v-partially-blocked .v-name { color: var(--warn); }
.verdict-banner.v-agent-hostile { background: var(--bad-bg); border-color: var(--bad-border); }
.verdict-banner.v-agent-hostile .v-name { color: var(--bad); }
.verdict-banner.v-contradictory { background: var(--contra-bg); border-color: var(--contra-border); }
.verdict-banner.v-contradictory .v-name { color: var(--contra); }
.verdict-banner.v-unknown { background: var(--unk-bg); border-color: var(--unk-border); }
.verdict-banner.v-unknown .v-name { color: var(--unk); }
.verdict-banner .v-reason { color: var(--text-2); }

.tldr {
  margin-top: 14px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.tldr > div { padding: 14px 18px; border-left: 1px solid var(--border); }
.tldr > div:first-child { border-left: none; }
.tldr .k { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 550; }
.tldr .v { margin-top: 4px; font-size: 0.9375rem; font-weight: 570; display: flex; align-items: center; gap: 7px; }
.tldr .v.mono { font-family: var(--mono); }

.coalesce-note {
  margin-top: 12px; font-size: 0.8125rem; color: var(--text-2);
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-subtle);
}

/* method mini-note + fix-first strip */
.method-mini { margin-top: 10px; font-size: 0.75rem; color: var(--text-3); max-width: 90ch; }
.fix-first {
  margin-top: 14px; border: 1px solid var(--warn-border); background: var(--warn-bg);
  border-radius: var(--radius-lg); padding: 16px 20px;
}
.fix-first .ff-head { font-size: 0.875rem; color: var(--text-2); }
.fix-first .ff-head strong { color: var(--text); font-weight: 620; margin-right: 6px; }
.fix-first .ff-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Fix with AI: the one-prompt builder inside the fix-first strip. */
.fwai { margin-top: 14px; }
.fwai-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fwai-hint { font-size: 0.8125rem; color: var(--text-3); }
.fwai-panel {
  margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 14px 16px;
}
.fwai-list { display: grid; gap: 2px; }
.fwai-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px;
  border-radius: var(--radius); cursor: pointer; font-size: 0.8438rem;
}
.fwai-item:hover { background: var(--bg-subtle); }
.fwai-item input { accent-color: var(--accent); flex: none; }
.fwai-item .fwai-name { color: var(--text); flex: 1; min-width: 0; }
.fwai-item .fwai-gain { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; }
.fwai-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.fwai-foot .mono { font-size: 0.75rem; color: var(--text-3); }
.fwai-preview { margin-top: 10px; }
.fwai-preview summary { font-size: 0.8125rem; color: var(--text-2); cursor: pointer; }
.fwai-preview pre {
  margin-top: 8px; font-family: var(--mono); font-size: 0.75rem; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word; color: var(--text-2);
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; max-height: 320px; overflow: auto;
}
.ladder-step .l-desc { color: var(--text-3); font-weight: 400; font-size: 0.8125rem; }
.ladder-step.current .l-desc { color: var(--text-2); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: 999px; border: 1px solid;
  font-size: 0.75rem; font-weight: 570; white-space: nowrap;
}
.chip svg { flex: none; }
.chip-ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-border); }
.chip-warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-border); }
.chip-bad { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-border); }
.chip-contra { color: var(--contra); background: var(--contra-bg); border-color: var(--contra-border); }
.chip-unk { color: var(--unk); background: var(--unk-bg); border-color: var(--unk-border); }
.chip-plain { color: var(--text-2); background: var(--bg-subtle); border-color: var(--border); }

.tag {
  display: inline-flex; align-items: center;
  padding: 1px 7px; border-radius: 5px;
  font-size: 0.6875rem; font-weight: 550; letter-spacing: 0.01em;
  color: var(--text-2); background: var(--bg-subtle); border: 1px solid var(--border);
  white-space: nowrap;
}

/* report sections */
.rsec { margin-top: 44px; }
.rsec-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rsec-head h2 { font-size: 1.1875rem; font-weight: 620; letter-spacing: -0.01em; }
.rsec-head .hint { font-size: 0.8125rem; color: var(--text-3); }
.rsec-head .right { margin-left: auto; }

/* ---------- score ---------- */
.score-grid { margin-top: 16px; display: grid; grid-template-columns: 300px 1fr; gap: 14px; }
.score-card, .ladder-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 22px 24px;
}
.score-value { font-size: 3.25rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-value .of { font-size: 1rem; color: var(--text-3); font-weight: 450; letter-spacing: 0; margin-left: 6px; }
.score-nosignal { font-size: 1.5rem; font-weight: 620; color: var(--unk); }
.score-caption { margin-top: 10px; font-size: 0.8125rem; color: var(--text-2); }
.score-cats { margin-top: 18px; display: grid; gap: 9px; }
.score-cat { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 12px; font-size: 0.8125rem; }
.score-cat .c-name { color: var(--text-2); }
.score-cat .c-bar { height: 5px; border-radius: 3px; background: var(--bg-subtle); border: 1px solid var(--border); overflow: hidden; }
.score-cat .c-bar i { display: block; height: 100%; background: var(--text-2); border-radius: 3px; }
.score-cat .c-val { text-align: right; font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.score-cat.c-null .c-val { color: var(--text-3); }

.ladder { margin-top: 16px; display: grid; gap: 0; position: relative; }
.ladder-step { display: flex; align-items: center; gap: 14px; padding: 9px 0; position: relative; }
.ladder-step .rail {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--surface); z-index: 1;
}
.ladder-step::before {
  content: ''; position: absolute; left: 7.5px; top: -12px; bottom: 22px; width: 1.5px;
  background: var(--border);
}
.ladder-step:first-child::before { display: none; }
.ladder-step.reached .rail { border-color: var(--text-2); background: var(--text-2); }
.ladder-step.current .rail { border-color: var(--text); background: var(--text); box-shadow: 0 0 0 4px var(--border); }
.ladder-step .l-name { font-size: 0.875rem; color: var(--text-3); }
.ladder-step.reached .l-name { color: var(--text-2); }
.ladder-step.current .l-name { color: var(--text); font-weight: 600; }
.ladder-step .l-range { margin-left: auto; font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ladder-next { margin-top: 14px; font-size: 0.8125rem; color: var(--text-2); border-top: 1px solid var(--border); padding-top: 14px; }
.ladder-next strong { color: var(--text); font-weight: 600; }

/* ---------- findings ---------- */
.findings { margin-top: 16px; display: grid; gap: 10px; }
.finding {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.finding summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px;
}
.finding summary::-webkit-details-marker { display: none; }
.finding summary:hover { background: var(--bg-subtle); }
.finding .f-icon { flex: none; margin-top: 2px; }
.finding .f-body { min-width: 0; flex: 1; }
.finding .f-title { font-weight: 570; font-size: 0.9375rem; }
.finding .f-text { margin-top: 4px; font-size: 0.875rem; color: var(--text-2); max-width: 85ch; }
.finding .f-tags { display: flex; gap: 6px; align-items: center; flex: none; margin-top: 2px; }
.finding .f-caret { flex: none; margin-top: 5px; color: var(--text-3); transition: transform 140ms ease-out; }
.finding[open] .f-caret { transform: rotate(90deg); }
.finding .f-detail { border-top: 1px solid var(--border); padding: 18px 20px 20px; background: var(--bg-subtle); }
.f-evidence { display: grid; gap: 8px; }
.f-evidence-row {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-family: var(--mono); font-size: 0.75rem; color: var(--text-2);
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.f-detail h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 600; margin-bottom: 10px; }
.f-detail .fix { margin-top: 18px; }
.fix-prompt {
  position: relative; margin-top: 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.fix-prompt pre {
  padding: 14px 16px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word; color: var(--text-2);
}
.copy-btn {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 0.6875rem; font-weight: 550; color: var(--text-2);
}
.copy-btn:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- matrix ---------- */
.matrix-card {
  margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.matrix-scroll { overflow-x: auto; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 720px; }
.matrix th {
  text-align: left; font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3);
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.matrix th .vantage-sub { display: block; white-space: nowrap; }
.matrix th.vantage-sub { font-size: 0.625rem; }
.matrix td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix tr.intent-row td {
  padding: 9px 16px; background: var(--bg-subtle);
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.matrix tr.intent-row .count { color: var(--text-3); font-weight: 450; margin-left: 8px; }
.matrix .ua-cell { font-family: var(--mono); font-size: 0.8125rem; white-space: nowrap; }
.matrix .ua-cell .vendors { display: block; font-family: var(--font); font-size: 0.6875rem; color: var(--text-3); margin-top: 2px; }
.matrix tr.row-expandable { cursor: pointer; }
.matrix tr.row-expandable:hover td { background: var(--bg-subtle); }
.matrix tr.row-flag td { background: color-mix(in srgb, var(--bad-bg) 45%, var(--surface)); }
.matrix tr.row-flag:hover td { background: var(--bad-bg); }
.matrix .cell-note { font-size: 0.8125rem; color: var(--text-2); }
.matrix tr.row-detail td {
  background: var(--bg-subtle); padding: 14px 16px 16px;
  font-size: 0.8125rem; color: var(--text-2);
}
.matrix tr.row-detail .note + .note { margin-top: 8px; }
.ua-verdict-sm { display: none; }
@media (max-width: 700px) {
  /* 3-column phone matrix: agent / (verdict chip) / caret; robots + both
     network columns collapse into the expandable row detail. */
  .matrix th:nth-child(2), .matrix td:nth-child(2),
  .matrix th:nth-child(3), .matrix td:nth-child(3),
  .matrix th:nth-child(4), .matrix td:nth-child(4) { display: none; }
}
@media (max-width: 860px) {
  .matrix-card { position: relative; }
  .matrix-card::before {
    content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 26px;
    background: linear-gradient(to left, var(--surface), transparent);
    pointer-events: none; z-index: 2;
  }
  .ua-verdict-sm { display: inline-flex; margin-top: 5px; }
}
/* fix 5: expandable rows are buttons */
.matrix tr.row-expandable:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.row-caret { display: inline-flex; margin-left: 8px; color: var(--text-3); transition: transform 140ms ease-out; vertical-align: -1px; }
.row-open .row-caret { transform: rotate(90deg); }

.matrix-foot {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--border);
  font-size: 0.75rem; color: var(--text-3); background: var(--bg-subtle);
}
.matrix-foot .legend { display: inline-flex; align-items: center; gap: 6px; }

.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--text-2); cursor: pointer; user-select: none;
}
.toggle input { accent-color: var(--accent); width: 14px; height: 14px; cursor: pointer; }

/* ---------- verdict measurement note ---------- */
.verdict-banner .v-note {
  margin-top: 12px; font-size: 0.8125rem; color: var(--text-3);
  font-family: var(--mono); max-width: 90ch;
}

/* ---------- site checks ---------- */
.checks { margin-top: 16px; display: grid; gap: 12px; }
.checks-group {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.cg-head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 18px; background: var(--bg-subtle); border-bottom: 1px solid var(--border);
}
.cg-name { font-size: 0.875rem; font-weight: 620; }
.cg-count { margin-left: auto; font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.check-row summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
}
.check-row:last-child summary { border-bottom: none; }
.check-row summary::-webkit-details-marker { display: none; }
.check-row summary:hover { background: var(--bg-subtle); }
.check-row .chip { flex: none; min-width: 118px; justify-content: center; }
.ck-name { font-size: 0.875rem; font-weight: 550; flex: none; }
.ck-detail {
  font-size: 0.8125rem; color: var(--text-3); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
}
.check-row .f-caret { flex: none; color: var(--text-3); transition: transform 140ms ease-out; }
.check-row[open] .f-caret { transform: rotate(90deg); }
.check-row[open] summary { border-bottom: 1px solid var(--border); }
.ck-expand {
  padding: 14px 18px 16px; background: var(--bg-subtle);
  border-bottom: 1px solid var(--border); font-size: 0.875rem; color: var(--text-2);
}
.check-row:last-child .ck-expand { border-bottom: none; }
.ck-expand strong { color: var(--text); font-weight: 570; }
@media (max-width: 700px) {
  .check-row summary { flex-wrap: wrap; }
  .ck-detail { flex-basis: 100%; white-space: normal; }
}

/* ---------- method / disclosure ---------- */
.method-panel {
  margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-subtle); padding: 22px 24px;
}
.method-panel p { font-size: 0.875rem; color: var(--text-2); max-width: 82ch; }
.method-versions {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px;
}

/* ---------- gate ---------- */
.gate {
  margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 26px 28px;
}
.gate h3 { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.01em; }
.gate p { margin-top: 8px; font-size: 0.875rem; color: var(--text-2); max-width: 62ch; }
.gate-form { margin-top: 16px; display: flex; gap: 10px; max-width: 480px; }
.gate-input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--surface); font-size: 0.875rem;
}
.gate-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); outline: none; }
.gate .btn { height: 44px; padding: 0 20px; font-size: 0.875rem; }
.gate-note { margin-top: 10px; font-size: 0.75rem; color: var(--text-3); }
.gate-ok { margin-top: 14px; font-size: 0.875rem; color: var(--ok); display: flex; align-items: center; gap: 8px; }
.gate-err { margin-top: 14px; font-size: 0.875rem; color: var(--bad); }
.gate-list { margin-top: 12px; display: grid; gap: 7px; font-size: 0.875rem; color: var(--text-2); }
.gate-list li { display: flex; gap: 10px; align-items: baseline; list-style: none; }
.gate-list svg { flex: none; color: var(--text-3); transform: translateY(2px); }

/* ---------- lead form ---------- */
.lead-grid {
  margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  max-width: 560px;
}
.lead-grid .btn { grid-column: 1 / -1; height: 46px; font-size: 0.9rem; }
@media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; } }

/* ---------- agent view ---------- */
.agent-view {
  margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); position: relative;
}
.agent-view pre {
  padding: 20px 22px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word; color: var(--text-2);
}

/* ---------- error card ---------- */
.error-card {
  margin-top: 36px; max-width: 640px;
  border: 1px solid var(--bad-border); border-radius: var(--radius-lg);
  background: var(--bad-bg); padding: 22px 24px;
}
.error-card h3 { color: var(--bad); font-size: 1rem; font-weight: 620; }
.error-card p { margin-top: 6px; font-size: 0.875rem; color: var(--text-2); }
.error-card .btn { margin-top: 16px; }
.error-card.is-unreachable { border-color: var(--unk-border); background: var(--unk-bg); }
.error-card.is-unreachable h3 { color: var(--unk); }

/* ---------- policy / plain pages ---------- */
.policy { padding: 72px 0 40px; }
.policy h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 650; letter-spacing: -0.02em; }
.policy-sub { margin-top: 10px; color: var(--text-3); font-size: 0.875rem; }
.policy section { margin-top: 36px; }
.policy h2 { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.01em; }
.policy p, .policy li { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; max-width: 70ch; }
.policy ul { list-style: none; }
.policy li { padding-left: 18px; position: relative; }
.policy li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.policy a { color: var(--text); }

/* ---------- persona-round additions (2026-08-19) ---------- */
/* one-line copyable summary */
.summary-line {
  margin-top: 14px; display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg); background: var(--surface); padding: 14px 18px;
}
.summary-line p { flex: 1; font-size: 0.9375rem; color: var(--text); }
.summary-line .btn { flex: none; }

/* matrix filter chips */
.filter-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fchip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  border-radius: 999px; padding: 4px 13px; font-size: 0.78125rem; font-weight: 550;
  transition: all 120ms ease-out;
}
.fchip:hover { border-color: var(--border-strong); color: var(--text); }
.fchip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* policy honesty strip (two-part score story) */
.honesty-strip {
  margin-top: 16px; display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 16px 20px; font-size: 0.875rem; color: var(--text-2);
}
.honesty-strip .chip { flex: none; margin-top: 1px; }
.honesty-strip strong { color: var(--text); font-weight: 600; }
.honesty-strip.hs-ok { border-color: var(--ok-border); background: color-mix(in srgb, var(--ok-bg) 55%, var(--surface)); }
.honesty-strip.hs-bad { border-color: var(--bad-border); background: color-mix(in srgb, var(--bad-bg) 55%, var(--surface)); }

/* profile line under the checks header */
.profile-line { margin-top: 10px; font-size: 0.8125rem; color: var(--text-3); }
.profile-line a { color: var(--accent); text-decoration: none; }
.profile-line a:hover { text-decoration: underline; }
.cg-allpass { padding: 12px 18px; font-size: 0.8125rem; color: var(--text-3); }

/* recipes pointer */
.recipes-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-3); }
.recipes-note a { color: var(--accent); text-decoration: none; font-weight: 550; }
.recipes-note a:hover { text-decoration: underline; }

/* intent color dots in the matrix group rows */
.matrix tr.intent-row td::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 9px; vertical-align: 1px; background: var(--text-3);
}
.matrix tr.intent-training td::before { background: #f59e0b; }
.matrix tr.intent-user-fetch td::before { background: #3b82f6; }
.matrix tr.intent-search td::before { background: #10b981; }
.matrix tr.intent-archive td::before { background: #8b5cf6; }

/* cards respond to hover with a quiet lift */
.finding, .checks-group, .matrix-card, .score-card, .ladder-card {
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.finding:hover, .checks-group:hover, .matrix-card:hover, .score-card:hover, .ladder-card:hover {
  border-color: var(--border-strong); box-shadow: 0 2px 12px rgba(9, 9, 11, 0.05);
}
@media (prefers-color-scheme: dark) {
  .finding:hover, .checks-group:hover, .matrix-card:hover, .score-card:hover, .ladder-card:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .example:hover { transform: none; }
}

/* ---------- print / save as PDF ---------- */
@media print {
  .site-head, .site-foot, .report-actions, .scan-bar, .filter-chips,
  .summary-line .btn, .copy-btn, .toggle, .gate, #view-landing-extra, .fwai,
  .recipes-note, .profile-line a, .hero::before { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body.has-report .hero { display: none; }
  .verdict-banner, .tldr, .matrix-card, .score-card, .ladder-card,
  .finding, .checks-group, .summary-line, .honesty-strip, .method-panel {
    break-inside: avoid; box-shadow: none;
  }
  .finding .f-detail, .ck-expand { display: block; }
  a { text-decoration: none; color: inherit; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .examples, .method-cols { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
@media (max-width: 600px) {
  .head-nav a.head-anchor { display: none; }
  .site-head .wrap { gap: 12px; }
  /* finding summary: tags drop below the title instead of squeezing it */
  .finding summary { flex-wrap: wrap; }
  .finding .f-body { flex: 1 1 calc(100% - 90px); }
  .finding .f-tags { order: 4; margin-left: 44px; margin-top: 0; }
}
@media (max-width: 560px) {
  .scan-row { flex-direction: column; }
  .scan-row .btn { width: 100%; }
  .report-actions { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .tldr { grid-template-columns: 1fr 1fr; }
  .tldr > div:nth-child(odd) { border-left: none; }
  .tldr > div { border-top: 1px solid var(--border); }
  .tldr > div:nth-child(-n+2) { border-top: none; }
  .gate-form { flex-direction: column; }
}

/* ---------- paid products (the upsell surfaces get the accent — the one
   deliberate splash of color outside verdict semantics) ---------- */
.products { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.product {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 24px;
}
.product-hot {
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%);
}
@media (prefers-color-scheme: dark) {
  .product-hot { background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), var(--surface) 55%); }
}
.product-flag {
  display: inline-block; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .product-flag { background: rgba(37, 99, 235, 0.15); } }
.product-flag.flag-plain { color: var(--text-3); background: var(--bg-subtle); border-color: var(--border-strong); }
.product p.product-scope { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); margin-top: 6px; letter-spacing: 0.01em; }
.products-hint { margin-top: 18px; font-size: 0.8438rem; color: var(--text-3); max-width: 78ch; }
.products-hint strong { color: var(--text-2); }
/* Journey-ordered product rows (2026-08-23 offerings redesign): one column,
 * same structure per row: stage / product + outcome / price. Hairlines and
 * tint only; the single accent lives on the primary CTA. */
.ladder-list { margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.lrow { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 22px 24px; border-top: 1px solid var(--border); align-items: start; }
.lrow:first-child { border-top: 0; }
.lrow-hot { background: var(--accent-soft); }
@media (prefers-color-scheme: dark) { .lrow-hot { background: rgba(37, 99, 235, 0.08); } }
.lrow-stage { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--text-3); padding-top: 4px; white-space: nowrap; }
.lrow-body h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.lrow-body p { margin-top: 8px; font-size: 0.875rem; color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.lrow-body p strong { color: var(--text); }
.lrow-body .buy-row { max-width: 480px; }
.lrow-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 110px; }
.lrow-price { font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.lrow-price strong { color: var(--text); font-size: 1.0625rem; font-weight: 650; }
.lrow-alt { display: block; font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }
/* /pricing decision page: button links inside .policy must keep button
   styling (the generic .policy a rules would paint them link-colored and
   underlined, black-on-black for the solid .btn) */
.policy a.btn { text-decoration: none; color: var(--bg); }
.policy a.btn-secondary { color: var(--text); }
.policy a.btn-upsell { color: #fff; }

/* /pricing comparison table */
.policy .ladder-list { margin-top: 28px; }
.compare-scroll { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow-x: auto; }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.8125rem; }
table.compare th { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
table.compare td { padding: 12px 14px; border-top: 1px solid var(--border); color: var(--text-2); vertical-align: top; line-height: 1.55; }
table.compare tbody tr:first-child td { border-top: 0; }
table.compare td:first-child { color: var(--text); font-weight: 620; white-space: nowrap; }
table.compare td.c-price { font-family: var(--mono); white-space: nowrap; color: var(--text); }

/* billing-period selector (Monitor): standard two-option radio pills */
.bill-choice { display: flex; gap: 10px; margin: 14px 0 2px; flex-wrap: wrap; }
.bill-opt { position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 0.875rem; line-height: 1.3; transition: border-color 120ms ease, box-shadow 120ms ease; }
.bill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bill-opt.on { border-color: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.bill-opt:hover { border-color: #16a34a; }
.bill-opt:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.bill-name { font-weight: 620; color: var(--text); }
.bill-price { font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2); }
.bill-price span:last-child { color: var(--text-3); font-size: 0.75rem; }
.bill-badge { align-self: center; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--ok); background: var(--ok-bg); border: 1px solid var(--ok-border); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
@media (max-width: 560px) { .bill-choice { flex-direction: column; } .bill-opt { justify-content: space-between; } }

/* Monitor product color: green (founder decision 2026-08-23; the $99 Live
   Agent Test keeps blue). Fixed greens, not var(--ok), so white text holds
   contrast in both light and dark schemes. */
.btn-monitor { background: #16a34a; border-color: #15803d; color: #fff; }
.btn-monitor:hover { background: #15803d; }
.policy a.btn-monitor { color: #fff; }

.lrow-terms { margin-top: 12px; }
.lrow-terms summary { font-size: 0.8125rem; color: var(--text-3); cursor: pointer; }
.lrow-terms summary:hover { color: var(--text-2); }
.lrow-terms p { margin-top: 8px; font-size: 0.8125rem; color: var(--text-3); max-width: 68ch; }
.wb-deliv { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--text-3); margin-top: 12px; }
.call-grid .wb-wide { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .lrow { grid-template-columns: 1fr; gap: 8px; padding: 18px 18px; }
  .lrow-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
  .lrow-stage { padding-top: 0; }
}
/* Full Workflow Test: a quiet full-width band under the two transactional cards. */
.workflow-band {
  margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-subtle); padding: 24px;
}
.workflow-band .wb-copy h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.workflow-band .wb-copy p { margin-top: 10px; font-size: 0.875rem; color: var(--text-2); line-height: 1.6; max-width: 58ch; }
.workflow-band .call-grid { margin-top: 0; }
.workflow-band .gate-input { background: var(--surface); }
@media (max-width: 860px) { .workflow-band { grid-template-columns: 1fr; } }
/* Monitor activation fallback: the email field revealed when checkout is not live. */
#monitor-email { margin-top: 10px; width: 100%; }
.btn-upsell { background: var(--accent); border-color: var(--accent-strong); color: #fff; }
.btn-upsell:hover { background: var(--accent-strong); }

/* In-report upsell card (client.ts renders it after the fix-first strip). */
.upsell-card {
  margin-top: 28px; border: 1.5px solid var(--accent); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%);
  padding: 22px 24px;
}
@media (prefers-color-scheme: dark) {
  .upsell-card { background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), var(--surface) 70%); }
}
.upsell-flag {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--accent);
}
.upsell-card h2 { margin-top: 8px; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.015em; }
.upsell-card p { margin-top: 10px; font-size: 0.875rem; color: var(--text-2); line-height: 1.6; max-width: 72ch; }
.upsell-row { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upsell-fine { font-size: 0.8125rem; color: var(--text-3); margin-top: 10px; }
.upsell-row .btn-secondary { text-decoration: none; }
.knock-ticker {
  padding: 0 16px 12px; font-family: var(--mono); font-size: 0.75rem;
  color: var(--text-2); font-variant-numeric: tabular-nums;
}
.upsell-links { font-size: 0.8125rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.upsell-card.upsell-quiet { border-color: var(--border-strong); background: var(--surface); }
.upsell-card.upsell-quiet .upsell-flag { color: var(--text-3); }
.closing-cta {
  margin-top: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-subtle); padding: 20px 24px;
}
.closing-cta > p { font-size: 0.9375rem; color: var(--text-2); max-width: 72ch; }
.archive-note {
  margin-top: 20px; padding: 10px 14px; font-size: 0.8125rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-subtle); color: var(--text-2);
}
.archive-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.copy-recipe {
  position: absolute; top: 8px; right: 8px;
  font: 500 0.6875rem var(--mono); letter-spacing: 0.04em;
  color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 6px; padding: 4px 10px;
}
.copy-recipe:hover { color: var(--text); background: var(--bg-subtle); }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-head h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.product-price { font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.product-price strong { color: var(--text); font-size: 0.9375rem; }
.product p { margin-top: 12px; font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
.product p strong { color: var(--text); }
.product-list { margin: 14px 0 0 0; padding-left: 18px; display: grid; gap: 7px; }
.product-list li { font-size: 0.8438rem; color: var(--text-2); line-height: 1.5; }
.product-list li strong { color: var(--text); }
.product-honesty { font-size: 0.8125rem; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 12px; }
.buy-row { margin-top: 16px; display: flex; gap: 10px; }
.buy-row .scan-input { flex: 1; min-width: 0; }
.call-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.call-grid .call-goal { grid-column: 1 / -1; resize: vertical; min-height: 68px; font-family: var(--font); padding-top: 10px; }
.call-grid .btn { grid-column: 1 / -1; height: 44px; font-size: 0.9rem; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .buy-row { flex-direction: column; }
  .call-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .btn, .btn-sm, .scan-input, .gate-input { min-height: 44px; }
  /* Domain-personalized CTAs must wrap, never overflow the card. */
  .upsell-card .btn, .closing-cta .btn {
    white-space: normal; height: auto; min-height: 44px;
    padding-top: 10px; padding-bottom: 10px; max-width: 100%;
    text-align: center; line-height: 1.35;
  }
  /* Narrow screens: the CTA row stacks, buttons go full-width. */
  .upsell-row { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .upsell-row .btn { width: 100%; }
  .upsell-row .upsell-links { text-align: center; }
  .matrix tr.row-expandable td { padding-top: 12px; padding-bottom: 12px; }
  .site-head .wrap { flex-wrap: wrap; row-gap: 4px; }
}
