.viz-root {
  color-scheme: light;
  --bg:             #faf6ee;
  --surface:        #ffffff;
  --surface-2:      #f3ecdd;
  --text-primary:   #201a10;
  --text-secondary: #6b6151;
  --text-muted:     #948a78;
  --border:         rgba(32,26,16,0.12);
  --accent:         #a8701e;
  --accent-strong:  #7c5316;
  --good:           #3f6b3f;
  --caution:        #a3491e;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  padding: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) .viz-root {
    color-scheme: dark;
    --bg:             #16130d;
    --surface:        #211b12;
    --surface-2:      #2a2216;
    --text-primary:   #f5efe1;
    --text-secondary: #c4b8a2;
    --text-muted:     #8f8471;
    --border:         rgba(245,239,225,0.12);
    --accent:         #d9a441;
    --accent-strong:  #f0bd63;
    --good:           #7fb27f;
    --caution:        #e08a54;
  }
}
:root[data-theme="dark"] .viz-root {
  color-scheme: dark;
  --bg:             #16130d;
  --surface:        #211b12;
  --surface-2:      #2a2216;
  --text-primary:   #f5efe1;
  --text-secondary: #c4b8a2;
  --text-muted:     #8f8471;
  --border:         rgba(245,239,225,0.12);
  --accent:         #d9a441;
  --accent-strong:  #f0bd63;
  --good:           #7fb27f;
  --caution:        #e08a54;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }

.site-nav {
  display: flex; align-items: center; gap: 20px; margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.site-nav a { color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }
.site-nav a.site-nav-brand { color: var(--text-primary); font-size: 15px; margin-right: auto; letter-spacing: -0.01em; }
.site-nav a[aria-current="page"] { color: var(--accent-strong); }
.site-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hero { margin-bottom: 36px; }
.hero .eyebrow { font-size: 12px; color: var(--accent-strong); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin: 0 0 10px; }
.hero h1 { font-size: 34px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero .lede { font-size: 17px; font-weight: 600; color: var(--text-primary); margin: 0 0 14px; max-width: 62ch; line-height: 1.5; }
.hero p.sub { font-size: 14.5px; color: var(--text-secondary); margin: 0 0 14px; max-width: 66ch; line-height: 1.6; }

h2.section-title { font-size: 20px; margin: 40px 0 6px; letter-spacing: -0.01em; }
p.section-sub { font-size: 13.5px; color: var(--text-secondary); margin: 0 0 18px; max-width: 66ch; line-height: 1.6; }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 40px; }
.hub-card {
  display: block; padding: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; text-decoration: none; color: inherit; transition: border-color 0.15s ease;
}
.hub-card:hover { border-color: var(--accent); }
.hub-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hub-card .hub-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.hub-card h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--text-primary); }
.hub-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
.hub-card .hub-cta { font-size: 12.5px; font-weight: 700; color: var(--accent-strong); margin-top: 12px; display: block; }

.newsletter-box {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 28px; margin: 40px 0; text-align: left;
}
.newsletter-box h3 { font-size: 18px; margin: 0 0 8px; }
.newsletter-box p { font-size: 13.5px; color: var(--text-secondary); margin: 0 0 16px; max-width: 60ch; line-height: 1.6; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 440px; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-primary); font: inherit; font-size: 13.5px;
}
.newsletter-form button {
  padding: 11px 18px; border-radius: 8px; border: none; background: var(--accent); color: #1b1200;
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.newsletter-form button:hover { background: var(--accent-strong); }
.newsletter-note { font-size: 11.5px; color: var(--text-muted); margin-top: 10px; }

.disclosure-banner {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 8px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.55;
}
.disclosure-banner strong { color: var(--text-primary); }

.compare-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
table.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
table.compare-table th, table.compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare-table thead th { color: var(--text-secondary); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; background: var(--surface-2); }
table.compare-table tbody tr:last-child td { border-bottom: none; }
table.compare-table td.co-name { font-weight: 700; color: var(--text-primary); white-space: nowrap; }
table.compare-table a.out-link { color: var(--accent-strong); font-weight: 600; text-decoration: none; white-space: nowrap; }
table.compare-table a.out-link:hover { text-decoration: underline; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-pick { background: var(--good); color: #fff; }
.badge-caution { background: transparent; border: 1.5px solid var(--caution); color: var(--caution); }
.badge-pending { background: transparent; border: 1px dashed var(--text-muted); color: var(--text-muted); }

.pick-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; }
.pick-card h4 { font-size: 16px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.pick-card .pick-meta { font-size: 12px; color: var(--text-muted); margin: 0 0 10px; }
.pick-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 10px; }
.pick-card .watch-out { font-size: 12.5px; color: var(--caution); background: color-mix(in srgb, var(--caution) 10%, transparent); border-radius: 6px; padding: 8px 10px; margin: 0 0 10px; }
.pick-card a.out-link { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-strong); text-decoration: none; }
.pick-card a.out-link:hover { text-decoration: underline; }

.caveats-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 22px; margin: 30px 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.65;
}
.caveats-box h4 { font-size: 14.5px; color: var(--text-primary); margin: 0 0 10px; }
.caveats-box ul { margin: 0; padding-left: 20px; }
.caveats-box li { margin-bottom: 8px; }

.legal-footer {
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-muted); line-height: 1.6;
}
.legal-footer a { color: var(--text-muted); }

footer.links { margin-top: 18px; font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
footer.links a { color: var(--accent-strong); text-decoration: none; }
footer.links a:hover { text-decoration: underline; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .hero h1 { font-size: 27px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: 0; }
}
