:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --border: rgba(15, 23, 42, 0.09);
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0f172a;
  --accent-fg: #ffffff;
  --risk-high: #dc2626;
  --risk-high-bg: rgba(220, 38, 38, 0.09);
  --risk-med: #d97706;
  --risk-med-bg: rgba(217, 119, 6, 0.11);
  --risk-low: #16a34a;
  --risk-low-bg: rgba(22, 163, 74, 0.11);
  --radius-card: 16px;
  --radius-pill: 999px;
  --max-w: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: #131822;
    --surface-subtle: #1a2130;
    --border: rgba(255, 255, 255, 0.09);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f8fafc;
    --accent-fg: #0f172a;
    --risk-high: #f87171;
    --risk-high-bg: rgba(248, 113, 113, 0.14);
    --risk-med: #fbbf24;
    --risk-med-bg: rgba(251, 191, 36, 0.14);
    --risk-low: #4ade80;
    --risk-low-bg: rgba(74, 222, 128, 0.14);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.btn:hover { opacity: 0.92; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--risk-high);
}

.hero h1 {
  margin: 0 auto 16px;
  max-width: 820px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.09;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 auto 28px;
  max-width: 660px;
  font-size: 17px;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-disclosure {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.section {
  padding: 46px 0;
}

.section-head {
  margin-bottom: 26px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  max-width: 680px;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

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

.stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-high { background: var(--risk-high-bg); color: var(--risk-high); }
.pill-med { background: var(--risk-med-bg); color: var(--risk-med); }
.pill-low { background: var(--risk-low-bg); color: var(--risk-low); }

.case-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case-asin {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.case-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.quote-box {
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.quote-fail {
  background: var(--risk-high-bg);
  border-left: 3px solid var(--risk-high);
}

.quote-fix {
  background: var(--risk-low-bg);
  border-left: 3px solid var(--risk-low);
}

.quote-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.price-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}

.price-num span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  color: var(--risk-low);
  font-weight: 800;
  margin-right: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}

details.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px 64px;
}

.prose h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.prose .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.prose h2 {
  font-size: 19px;
  margin: 28px 0 10px;
  letter-spacing: -0.015em;
}

.prose p, .prose li {
  color: var(--text-muted);
  font-size: 14.5px;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 34px 0 46px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.legal-disclaimer {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .bar-row { grid-template-columns: 118px 1fr 42px; }
}
