:root,
[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-raised: #111827;
  --fg: #e5e7eb;
  --fg-bright: #f9fafb;
  --muted: #6b7280;
  --border: #1e293b;
  --border-light: #334155;
  --surface: #151c2c;
  --surface-hover: #1a2332;
  --accent: #06b6d4;
  --accent-dim: rgba(6, 182, 212, 0.12);
  --pass: #34d399;
  --pass-bg: rgba(52, 211, 153, 0.1);
  --fail: #f87171;
  --fail-bg: rgba(248, 113, 113, 0.1);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.1);
  --critical: #f87171;
  --high: #fb923c;
  --medium: #fbbf24;
  --low: #6b7280;
  --hero-glow: rgba(6, 182, 212, 0.06);
  --grade-a: #34d399;
  --grade-a-bg: rgba(52, 211, 153, 0.12);
  --grade-b: #60a5fa;
  --grade-b-bg: rgba(96, 165, 250, 0.12);
  --grade-c: #fbbf24;
  --grade-c-bg: rgba(251, 191, 36, 0.12);
  --grade-d: #fb923c;
  --grade-d-bg: rgba(251, 146, 60, 0.12);
  --grade-f: #f87171;
  --grade-f-bg: rgba(248, 113, 113, 0.12);
  --select-arrow: %236b7280;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-raised: #ffffff;
  --fg: #1e293b;
  --fg-bright: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --accent: #0891b2;
  --accent-dim: rgba(8, 145, 178, 0.1);
  --pass: #16a34a;
  --pass-bg: rgba(22, 163, 74, 0.08);
  --fail: #dc2626;
  --fail-bg: rgba(220, 38, 38, 0.06);
  --warning: #d97706;
  --warning-bg: rgba(217, 119, 6, 0.08);
  --info: #2563eb;
  --info-bg: rgba(37, 99, 235, 0.06);
  --critical: #dc2626;
  --high: #ea580c;
  --medium: #d97706;
  --low: #64748b;
  --hero-glow: rgba(8, 145, 178, 0.04);
  --grade-a: #15803d;
  --grade-a-bg: #f0fdf4;
  --grade-b: #1d4ed8;
  --grade-b-bg: #eff6ff;
  --grade-c: #a16207;
  --grade-c-bg: #fefce8;
  --grade-d: #c2410c;
  --grade-d-bg: #fff7ed;
  --grade-f: #b91c1c;
  --grade-f-bg: #fef2f2;
  --select-arrow: %2364748b;
}

:root {
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─── */
.header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--fg-bright);
  text-decoration: none;
}

.wordmark-accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--muted);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-wordmark {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg-bright);
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 38ch;
  margin: 0;
}

.footer-heading {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-bright);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease-out;
}

.footer-links a:hover { color: var(--fg-bright); }

.footer-links .footer-link-active {
  color: var(--fg-bright);
  cursor: default;
  pointer-events: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 32px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--muted);
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--muted);
}

/* ─── Hero ─── */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg-bright);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.7;
}

/* ─── Scan Form ─── */
.scan-form { max-width: 640px; }

.scan-input-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.scan-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.scan-input {
  flex: 1;
  font-family: var(--mono);
  font-size: 15px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: var(--fg-bright);
  outline: none;
}

.scan-input::placeholder { color: var(--muted); }

.scan-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 8px 0;
}

.scan-industry {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  outline: none;
  min-width: 140px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.scan-industry option,
.scan-lang option {
  background: var(--surface);
  color: var(--fg);
}

.scan-lang {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover { background: #08c8e0; }

.scan-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.scan-btn:hover { background: #08c8e0; }

.form-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.consent-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg);
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.consent-text a {
  color: var(--accent);
  text-decoration: none;
}

.consent-text a:hover {
  text-decoration: underline;
}

.form-error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fail);
}

/* ─── Features strip ─── */
.features {
  padding: 0 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-bright);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Tool cards (platform landing) ─── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.tool-card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

.tool-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-bright);
  margin-bottom: 8px;
}

.tool-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.tool-card-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

[data-theme="light"] .tool-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ─── Recent scans ─── */
.recent { padding: 60px 0; }

.section-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--fg-bright);
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.scan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.scan-table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.scan-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.scan-table a {
  color: var(--fg);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
}

.scan-table a:hover { color: var(--accent); }

/* ─── Grade badges ─── */
.grade {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
}

.grade-a { color: var(--grade-a); background: var(--grade-a-bg); }
.grade-b { color: var(--grade-b); background: var(--grade-b-bg); }
.grade-c { color: var(--grade-c); background: var(--grade-c-bg); }
.grade-d { color: var(--grade-d); background: var(--grade-d-bg); }
.grade-f { color: var(--grade-f); background: var(--grade-f-bg); }
.grade-\? { color: var(--muted); background: var(--surface); }

/* ─── Report header ─── */
.report-header {
  padding: 48px 0 0;
}

.report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.back-link:hover { color: var(--accent); }

.report-date { color: var(--muted); }

.report-hostname {
  font-family: var(--mono);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--fg-bright);
}

.report-url {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  word-break: break-all;
}

/* ─── Grade card ─── */
.grade-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
}

.grade-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.grade-letter {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--radius);
}

.grade-detail { display: flex; flex-direction: column; gap: 2px; }

.grade-score {
  font-size: 18px;
  font-weight: 600;
}

.grade-letter.grade-a { color: var(--grade-a); background: var(--grade-a-bg); }
.grade-letter.grade-b { color: var(--grade-b); background: var(--grade-b-bg); }
.grade-letter.grade-c { color: var(--grade-c); background: var(--grade-c-bg); }
.grade-letter.grade-d { color: var(--grade-d); background: var(--grade-d-bg); }
.grade-letter.grade-f { color: var(--grade-f); background: var(--grade-f-bg); }
.grade-letter.grade-\? { color: var(--muted); background: var(--surface); }

.grade-score-a { color: var(--grade-a); }
.grade-score-b { color: var(--grade-b); }
.grade-score-c { color: var(--grade-c); }
.grade-score-d { color: var(--grade-d); }
.grade-score-f { color: var(--grade-f); }

.grade-source {
  font-size: 13px;
  color: var(--muted);
}

.grade-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-bright);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Caveat ─── */
.caveat {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ─── Findings ─── */
.section {
  padding: 32px 0;
}

.finding {
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}

.finding-pass { border-left: 3px solid var(--pass); }
.finding-fail { border-left: 3px solid var(--fail); }
.finding-warning { border-left: 3px solid var(--warning); }
.finding-info { border-left: 3px solid var(--info); }

.finding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.finding-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-bright);
}

/* "Checked, nothing found" — prose, not a header name, so not monospaced. */
.section-empty .finding-name {
  font-family: inherit;
  color: var(--muted);
}

.finding-badges {
  display: flex;
  gap: 6px;
}

.status-badge, .severity-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-pass { color: var(--pass); background: var(--pass-bg); }
.status-fail { color: var(--fail); background: var(--fail-bg); }
.status-warning { color: var(--warning); background: var(--warning-bg); }
.status-info { color: var(--info); background: var(--info-bg); }

.severity-critical { color: var(--critical); }
.severity-high { color: var(--high); }
.severity-medium { color: var(--warning); }
.severity-low { color: var(--low); }

.ref-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--muted);
  border: 1px solid var(--border);
  text-decoration: none;
}
a.ref-badge:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.finding-body {
  padding: 0 16px 16px;
}

.finding-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg-bright);
}

.finding-value {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--accent);
}

.finding-desc {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 12px;
}

.finding-fix {
  font-size: 13px;
  padding: 10px 12px;
  background: var(--fail-bg);
  border-left: 2px solid var(--fail);
  border-radius: 0 4px 4px 0;
}

.finding-fix strong {
  font-weight: 600;
  color: var(--fail);
}

/* ─── Cookies ─── */
.cookie-flags {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-family: var(--mono);
}

.flag-pass { color: var(--pass); }
.flag-fail { color: var(--fail); }
.flag-unknown { color: var(--warning); }

.san-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  font-family: var(--mono);
}
.san-label {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}
.san-item {
  color: var(--fg);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.san-more { color: var(--muted); }

/* ─── Theme toggle ─── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  transition: color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
}

.theme-toggle:hover {
  color: var(--fg-bright);
  border-color: var(--border-light);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

/* Light mode form adjustments */
[data-theme="light"] .scan-input-row {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .btn {
  background: var(--fg-bright);
  color: #ffffff;
}

[data-theme="light"] .btn:hover {
  background: #1e293b;
}

[data-theme="light"] .scan-btn {
  background: var(--fg-bright);
  color: #ffffff;
}

[data-theme="light"] .scan-btn:hover {
  background: #1e293b;
}

[data-theme="light"] .finding-value {
  color: var(--fg-bright);
}

[data-theme="light"] .grade-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .feature-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .finding {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* ─── Terms page ─── */
.terms {
  padding: 80px 0 60px;
}

.terms-heading {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-bright);
  margin-bottom: 8px;
}

.terms-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.terms-intro {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 40px;
  line-height: 1.6;
}

.terms-section {
  margin-bottom: 32px;
}

.terms-section h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-bright);
  margin-bottom: 8px;
}

.terms-section p {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
}

/* ─── Methodology page ─── */
.methodology {
  padding: 80px 0 60px;
}

.methodology-heading {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-bright);
  margin-bottom: 8px;
}

.methodology-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
}

.methodology-intro {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 40px;
  line-height: 1.6;
}

.methodology-section {
  margin-bottom: 40px;
}

.methodology-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-bright);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.methodology-section > p {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 16px;
}

.methodology-subsection {
  margin: 20px 0 20px 0;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.methodology-subsection h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-bright);
  margin-bottom: 6px;
}

.methodology-subsection p {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
}

.methodology-header-list {
  margin: 10px 0 16px;
}

.methodology-header-list code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.8;
  word-break: break-word;
}

.methodology-changelog-entry {
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.methodology-changelog-entry p {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
  margin: 0;
}

.methodology-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.methodology-disclaimer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .nav-tagline { display: none; }
  .scan-input-row { flex-direction: column; border-radius: var(--radius); }
  .scan-input, .scan-industry, .scan-lang, .scan-btn { width: 100%; }
  .scan-industry, .scan-lang { padding: 12px 14px; }
  .scan-btn { border-radius: 0 0 var(--radius) var(--radius); }
  .scan-divider { width: auto; height: 1px; margin: 0 8px; }
  .grade-stats { grid-template-columns: repeat(2, 1fr); }
  .finding-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tool-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cookie-flags { flex-direction: column; gap: 4px; }
}
