/* vibeAudit — Forensic palette + typography
   Extracted from the new Claude Design home (vibeAudit/vibeAudit.html).
   Used site-wide via base.html. Kept verbatim (apart from minor comment/whitespace
   touches) so future design iterations can diff cleanly.
*/

:root {
  /* Forensic palette — default */
  --bg:         #0c0d0e;
  --bg-elev:    #141516;
  --bg-panel:   #181a1b;
  --bg-inset:   #0a0b0c;
  --line:       #24272a;
  --line-soft:  #1b1e20;
  --ink:        #ecece8;
  --ink-dim:    #9a9b96;
  --ink-mute:   #5d5f5a;
  --accent:     #e8593a; /* surgical red-orange */
  --accent-ink: #ffffff;
  --ok:         #b4c96b; /* muted lime */
  --warn:       #e0b84a;
  --crit:       #e8593a;
  --info:       #6b9ac4;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 6px;
  --r-lg: 10px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Subtle forensic grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

body.no-noise::before { display: none; }

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

.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.serif { font-family: var(--serif); }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ————— NAV ————— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(12,13,14,0.82);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg), 0 0 12px var(--accent);
  animation: pulse-mark 2.2s ease-in-out infinite;
}
@keyframes pulse-mark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
.brand-name b { font-weight: 700; }
.brand-name span { color: var(--ink-dim); }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--ink-dim); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elev);
  transition: 0.15s;
}
.nav-cta:hover { border-color: var(--ink-dim); background: var(--bg-panel); }
.nav-cta .arrow { color: var(--ink-mute); }

/* ————— HERO ————— */
.hero {
  padding: 80px 0 40px;
  position: relative;
}

.hero-marquee {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-marquee .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-mark 1.6s infinite;
}
.hero-marquee .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-dim);
}
.hero h1 .accent-word {
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent-word::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 6px;
  height: 14px;
  background: var(--accent);
  z-index: -1;
  opacity: 0.18;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.hero-left .lede {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 44ch;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-left .lede strong {
  color: var(--ink);
  font-weight: 500;
}

/* Scan console */
.scan-console {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}
.console-bar-left {
  display: flex; gap: 8px; align-items: center;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.console-bar-left .lights {
  display: flex; gap: 5px;
  margin-right: 6px;
}
.console-bar-left .lights span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.console-bar-right {
  color: var(--ink-mute);
  display: flex; gap: 14px;
}
.console-bar-right .status-live {
  color: var(--ok);
  display: inline-flex; gap: 6px; align-items: center;
}
.console-bar-right .status-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-mark 1.2s infinite;
}

.console-input-row {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-inset);
}
.console-input-row .prompt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.console-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  padding: 4px 0;
}
.console-input::placeholder { color: var(--ink-mute); }
.console-run {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: 0.15s;
  white-space: nowrap;
}
.console-run:hover { filter: brightness(1.12); }
.console-run:disabled { opacity: 0.6; cursor: wait; }
.console-run.is-reset { background: transparent; color: var(--ink); border-color: var(--line); }

.console-body {
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.75;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  position: relative;
}
.console-body .line { display: flex; gap: 10px; animation: fadeInLine 0.25s ease; }
.console-body .t { color: var(--ink-mute); flex-shrink: 0; }
.console-body .tag {
  flex-shrink: 0;
  width: 62px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.console-body .tag.info { color: var(--info); }
.console-body .tag.ok { color: var(--ok); }
.console-body .tag.warn { color: var(--warn); }
.console-body .tag.crit { color: var(--crit); }
.console-body .tag.scan { color: var(--ink-dim); }
.console-body .msg { flex: 1; color: var(--ink); }
.console-body .msg .hl { color: var(--accent); font-weight: 600; }
.console-body .msg .dim { color: var(--ink-dim); }
.console-body .caret {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 4px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@keyframes fadeInLine { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.console-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
}
.console-footer .cell {
  padding: 10px 14px;
  border-right: 1px solid var(--line-soft);
  font-family: var(--mono);
}
.console-footer .cell:last-child { border-right: none; }
.console-footer .k { font-size: 9.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.console-footer .v { font-size: 15px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.console-footer .v.crit { color: var(--crit); }
.console-footer .v.ok { color: var(--ok); }

/* Hero right column - meta card */
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.meta-card .k {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-card .k::before {
  content: ''; width: 16px; height: 1px; background: var(--accent);
}
.meta-card h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.meta-card p {
  color: var(--ink-dim);
  font-size: 13.5px;
  line-height: 1.5;
}

.stack-detected {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.stack-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
}
.stack-cell:nth-child(2n) { border-right: none; }
.stack-cell:nth-last-child(-n+2) { border-bottom: none; }
.stack-cell .k { color: var(--ink-mute); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.stack-cell .v { color: var(--ink); font-size: 13px; }
.stack-cell .v.ok { color: var(--ok); }

.trust-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 30px;
  letter-spacing: 0.02em;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .check {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--ok); color: var(--ok);
  display: inline-grid; place-items: center;
  font-size: 8px; font-weight: 700;
}

/* ————— SECTION SCAFFOLDING ————— */
section.block {
  padding: 110px 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  gap: 24px;
}
.section-head .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head .eyebrow::before {
  content: '';
  width: 28px; height: 1px; background: var(--accent);
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 18ch;
}
.section-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-dim);
}
.section-head .side-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-align: right;
  max-width: 28ch;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ————— FINDINGS FEED ————— */
.feed-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  overflow: hidden;
}
.feed-header {
  display: grid;
  grid-template-columns: 90px 110px 1fr 180px 90px 90px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.feed-list {
  max-height: 440px;
  overflow: hidden;
  position: relative;
}
.feed-row {
  display: grid;
  grid-template-columns: 90px 110px 1fr 180px 90px 90px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  align-items: center;
  color: var(--ink-dim);
  transition: background 0.2s;
}
.feed-row:hover { background: var(--bg-panel); }
.feed-row:last-child { border-bottom: none; }
.feed-row.new { animation: rowIn 0.5s ease; }
@keyframes rowIn {
  0% { background: rgba(232, 89, 58, 0.1); transform: translateY(-8px); opacity: 0; }
  100% { background: transparent; transform: none; opacity: 1; }
}
.feed-row .ts { color: var(--ink-mute); }
.feed-row .sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feed-row .sev .dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.feed-row .sev.crit { color: var(--crit); }
.feed-row .sev.crit .dot { background: var(--crit); box-shadow: 0 0 8px var(--crit); }
.feed-row .sev.high { color: var(--warn); }
.feed-row .sev.high .dot { background: var(--warn); }
.feed-row .sev.med { color: var(--info); }
.feed-row .sev.med .dot { background: var(--info); }
.feed-row .title { color: var(--ink); font-family: var(--sans); font-size: 14px; }
.feed-row .target { color: var(--ink-dim); }
.feed-row .cvss {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  background: var(--bg-inset);
  color: var(--ink);
}
.feed-row .action {
  color: var(--ink-mute);
  font-size: 11px;
  text-align: right;
}

/* ————— PATIENT LOG / STATS ————— */
.stats-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.stat-main {
  padding: 48px;
  border-right: 1px solid var(--line-soft);
  position: relative;
}
.stat-main::after {
  content: '';
  position: absolute;
  right: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
}
.stat-mini {
  padding: 32px;
  border-right: 1px solid var(--line-soft);
}
.stat-mini:last-child { border-right: none; }

.stat-k {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stat-main .stat-v {
  font-family: var(--sans);
  font-size: 128px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
}
.stat-main .stat-v .frac { color: var(--ink-mute); font-size: 72px; }
.stat-mini .stat-v {
  font-family: var(--sans);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent);
}
.stat-mini.ok .stat-v { color: var(--ok); }
.stat-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 18px;
  max-width: 36ch;
  line-height: 1.5;
}
.stat-bars {
  display: flex;
  gap: 3px;
  margin-top: 24px;
  height: 48px;
  align-items: flex-end;
}
.stat-bars .bar {
  flex: 1;
  background: var(--line);
  border-radius: 1px 1px 0 0;
}
.stat-bars .bar.hit { background: var(--accent); }

/* ————— LOOP DIAGRAM ————— */
.loop-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.loop-left p {
  color: var(--ink-dim);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 44ch;
  line-height: 1.55;
}
.loop-left .principle {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
}
.loop-left .principle:last-child { border-bottom: 1px solid var(--line-soft); }
.loop-left .principle .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.loop-left .principle h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.loop-left .principle p {
  font-size: 13.5px;
  color: var(--ink-dim);
  margin: 0;
}

.loop-diagram {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-left: auto;
}

.loop-svg {
  width: 100%;
  height: 100%;
}

.loop-node {
  position: absolute;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11px;
  min-width: 130px;
  transition: 0.3s;
}
.loop-node .n {
  font-size: 9.5px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.loop-node .l {
  font-size: 13px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
}
.loop-node.active {
  border-color: var(--accent);
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(232,89,58,0.12);
}
.loop-node.active .n { color: var(--accent); }

/* Position nodes in a hexagonal flow */
.loop-node.n1 { top: 0; left: 50%; transform: translateX(-50%); }
.loop-node.n2 { top: 26%; right: 0; }
.loop-node.n3 { bottom: 26%; right: 0; }
.loop-node.n4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.loop-node.n5 { bottom: 26%; left: 0; }
.loop-node.n6 { top: 26%; left: 0; }

/* ————— STACK TABLE ————— */
.stack-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.stack-table table { width: 100%; border-collapse: collapse; }
.stack-table th {
  text-align: left;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
  font-weight: 500;
}
.stack-table th:last-child { text-align: center; width: 140px; }
.stack-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 14px;
}
.stack-table tr:last-child td { border-bottom: none; }
.stack-table tr:hover td { background: var(--bg-panel); }
.stack-table td:first-child {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  width: 170px;
}
.stack-table td:nth-child(2) {
  color: var(--ink-dim);
  font-size: 13.5px;
  line-height: 1.5;
}
.stack-table td:last-child {
  text-align: center;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
}
.stack-table .they-no {
  opacity: 0.5;
  letter-spacing: 0.4em;
}
.stack-table .we-yes {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--ok);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.stack-table .we-yes::before { content: '▲'; font-size: 8px; }

/* ————— SAMPLE FINDING ————— */
.finding-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.finding-card-lg {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  overflow: hidden;
}
.finding-card-lg .fc-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fc-head .sev-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--crit);
  font-weight: 700;
}
.fc-head .sev-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--crit); box-shadow: 0 0 6px var(--crit);
}
.finding-card-lg .fc-body { padding: 28px 24px; }
.finding-card-lg h4 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
  line-height: 1.25;
}
.finding-card-lg .desc {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.finding-card-lg .meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  margin-bottom: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
.finding-card-lg .meta-row > div {
  padding: 12px;
  background: var(--bg-inset);
  font-family: var(--mono);
}
.finding-card-lg .meta-row .k { font-size: 9.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.finding-card-lg .meta-row .v { font-size: 13px; color: var(--ink); font-weight: 500; margin-top: 2px; }

.code-block {
  background: var(--bg-inset);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  overflow: hidden;
}
.code-block .cb-head {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.code-block .cb-head.vuln { color: var(--crit); }
.code-block .cb-head.fix { color: var(--ok); }
.code-block pre {
  padding: 14px;
  overflow-x: auto;
  white-space: pre;
  color: var(--ink-dim);
  line-height: 1.6;
}
.code-block .tok-key { color: var(--accent); }
.code-block .tok-str { color: var(--ok); }
.code-block .tok-com { color: var(--ink-mute); font-style: italic; }
.code-block .tok-kw { color: var(--info); }
.code-block .tok-del { background: rgba(232,89,58,0.12); color: var(--crit); display: inline-block; padding: 0 2px; border-radius: 2px; }
.code-block .tok-add { background: rgba(180,201,107,0.12); color: var(--ok); display: inline-block; padding: 0 2px; border-radius: 2px; }

/* ————— PRICING ————— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.price-col {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line-soft);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-col:last-child { border-right: none; }
.price-col.featured {
  background: var(--bg-panel);
}
.price-col.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--accent);
}
.price-col .label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.price-col .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-col .price .amount {
  font-size: 58px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-col.featured .price .amount { color: var(--accent); }
.price-col .price .per {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.price-col .sub {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.price-col ul {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-col li {
  font-size: 13.5px;
  color: var(--ink-dim);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-col li:last-child { border-bottom: none; }
.price-col li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-mute);
  margin-top: 8px;
  flex-shrink: 0;
}
.price-col li.yes::before { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.price-btn {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-inset);
  transition: 0.15s;
  letter-spacing: 0.02em;
}
.price-btn:hover { border-color: var(--ink-dim); background: var(--bg-elev); }
.price-col.featured .price-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.price-col.featured .price-btn:hover { filter: brightness(1.12); }
.price-col .strike {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* ————— FAQ ————— */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}
.faq-q {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-q h4 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq-q .plus {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
  opacity: 0.6;
  transition: 0.2s;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: 0.2s;
}
.faq-q .plus::before { width: 100%; height: 1px; top: 50%; left: 0; }
.faq-q .plus::after { width: 1px; height: 100%; left: 50%; top: 0; }
.faq-item.open .faq-q .plus { opacity: 1; transform: rotate(45deg); }
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 64ch;
}
.faq-item.open .faq-a { max-height: 640px; }

/* ————— CTA + FOOTER ————— */
.cta-block {
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.cta-block h2 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
  max-width: 20ch;
  margin: 0 auto 36px;
}
.cta-block h2 em { font-family: var(--serif); font-style: italic; color: var(--ink-dim); font-weight: 400; }
.cta-block .row {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-lg {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  letter-spacing: 0.02em;
  transition: 0.15s;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.btn-lg:hover { filter: brightness(1.12); }
.btn-lg.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-lg.ghost:hover { border-color: var(--ink-dim); background: var(--bg-elev); }

footer.foot {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.foot ul { list-style: none; }
.foot li { font-size: 13.5px; color: var(--ink-dim); padding: 5px 0; }
.foot li a:hover { color: var(--ink); }
.foot-brand p {
  color: var(--ink-dim);
  font-size: 13.5px;
  max-width: 40ch;
  margin-top: 12px;
  line-height: 1.55;
}
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-main { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .stat-main::after { display: none; }
  .stat-mini { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .loop-wrap { grid-template-columns: 1fr; gap: 40px; }
  .finding-showcase { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-col:nth-child(2) { border-right: none; }
  .price-col:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .feed-header, .feed-row { grid-template-columns: 80px 90px 1fr 110px; }
  .feed-header .h-cvss, .feed-header .h-action,
  .feed-row .cvss, .feed-row .action { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero { padding: 50px 0 30px; }
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-col { border-right: none !important; border-bottom: 1px solid var(--line-soft); }
  .price-col:last-child { border-bottom: none; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .section-head { flex-direction: column; }
  .section-head .side-note { text-align: left; }
  .feed-header, .feed-row { grid-template-columns: 70px 1fr 80px; padding: 12px 14px; font-size: 11.5px; }
  .feed-header .h-sev, .feed-row .sev, .feed-header .h-target, .feed-row .target { display: none; }
  .stat-main .stat-v { font-size: 88px; }
  .stat-main .stat-v .frac { font-size: 52px; }
  .stat-main, .stat-mini { padding: 28px; }
  .finding-card-lg h4 { font-size: 18px; }
  .finding-card-lg .meta-row { grid-template-columns: 1fr; }
  .loop-diagram { max-width: 360px; margin: 0 auto; }
  .trust-strip { flex-wrap: wrap; gap: 10px; }
}
