/* ================================================================
   AIVZ — Shared Design System Stylesheet
   Source of truth for all marketing pages (extracted from
   homepage-v1-command-center.html). Inherits AIVS tokens from
   ../colors_and_type.css.

   Includes:
     - Base reset + typography
     - Top nav (sticky, backdrop-blurred, dark + light)
     - Theme toggle button
     - Buttons (primary / outline / ghost)
     - Section primitives (.block, .container, eyebrow, displays)
     - Common cards (default card, stat-band, persona, beat-card)
     - Footer
     - Variant pill
     - Light-mode overrides for all of the above
   Page-specific layouts live inline per page.
   ================================================================ */

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

/* Theme-aware text aliases. Use these in inline styles INSTEAD of hardcoded
   hex values so contrast flips correctly between dark and light modes. */
:root {
  --text-strong: #F8FAFC;       /* headings, emphasis (white in dark / slate-900 in light) */
  --text-body:   #E2E8F0;       /* primary body copy */
  --text-muted:  var(--slate-400);
  --text-faint:  var(--slate-500);
}
[data-theme="light"] {
  --text-strong: var(--slate-900);
  --text-body:   var(--slate-700);
  --text-muted:  var(--slate-600);
  --text-faint:  var(--slate-500);
}

body {
  background: var(--dark-base);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-feature-settings: 'cv11','ss01','ss03';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-tight { max-width: 920px; margin: 0 auto; padding: 0 32px; }
.container-prose { max-width: 760px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) {
  .container, .container-tight, .container-prose { padding: 0 20px; }
}

/* ========== TYPE ========== */
.eyebrow {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-300);
}
.eyebrow-muted { color: var(--slate-500); }

.display-h1 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02; letter-spacing: -0.01em;
  text-transform: uppercase; color: #F8FAFC; margin: 0;
}
.display-h2 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.08; letter-spacing: 0.005em;
  text-transform: uppercase; color: #F8FAFC; margin: 0;
}
.display-h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.12; letter-spacing: 0.02em;
  text-transform: uppercase; color: #F8FAFC; margin: 0;
}
.lede {
  font-size: 18px; line-height: 1.55; color: var(--slate-400); max-width: 680px;
}
.body-md { font-size: 15px; line-height: 1.6; color: var(--slate-400); }
.body-lg { font-size: 17px; line-height: 1.6; color: var(--slate-300); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

p.body-md, p.body-lg { margin: 0 0 16px; }

ul.bullets, ol.bullets {
  margin: 0 0 16px; padding-left: 22px;
  font-size: 15px; line-height: 1.65; color: var(--slate-400);
}
ul.bullets li, ol.bullets li { margin-bottom: 8px; }

/* ========== TOP NAV ========== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--dark-border);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 7px;
  display: block; flex: 0 0 auto;
}
/* Official logo lockup — wifi mark + AiVZ wordmark in one image.
   White-on-transparent PNG for dark, dark-indigo PNG for light. */
.brand-logo { height: 28px; width: auto; display: block; flex: 0 0 auto; }
.brand-logo-light { display: none; }
[data-theme="light"] .brand-logo-dark { display: none; }
[data-theme="light"] .brand-logo-light { display: block; }
.brand-word {
  font-family: var(--font-heading); font-weight: 700;
  color: #F8FAFC; letter-spacing: 0.14em; font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--slate-300); font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: #F8FAFC; }
.nav-links a.active { color: #F8FAFC; }

@media (max-width: 1024px) { .nav-links { display: none; } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  font-weight: 600; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; font-family: var(--font-sans);
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  text-decoration: none;
}
.btn-primary { background: var(--brand-500); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline-dark {
  background: transparent; border-color: var(--dark-border); color: #E2E8F0;
}
.btn-outline-dark:hover { border-color: var(--slate-500); background: rgba(255,255,255,0.02); }
.btn-ghost-dark {
  background: transparent; color: var(--slate-300); padding: 0 10px; height: 32px;
}
.btn-ghost-dark:hover { color: #F8FAFC; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; border-radius: 10px; }

/* ========== THEME TOGGLE ========== */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--dark-border);
  color: var(--slate-300);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.theme-toggle:hover { color: #F8FAFC; border-color: var(--slate-500); background: rgba(255,255,255,0.02); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }

/* ========== SECTIONS ========== */
section.block { padding: 96px 0; border-bottom: 1px solid var(--dark-border); }
section.block.tight { padding: 72px 0; }
section.block.tighter { padding: 56px 0; }
.section-head {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 820px;
}
.section-head .ml { color: var(--slate-400); font-size: 17px; line-height: 1.55; max-width: 680px; }

/* Page hero (smaller variant of homepage hero) */
.page-hero {
  position: relative;
  background: var(--dark-base);
  padding: 96px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.7;
}
.page-hero .container { position: relative; }
.breadcrumbs {
  font-family: var(--font-mono); font-size: 12px; color: var(--slate-500);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--slate-400); }
.breadcrumbs a:hover { color: #F8FAFC; }
.breadcrumbs .sep { margin: 0 8px; color: var(--slate-700); }

/* ========== CARDS ========== */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--brand-700); }
.card-lg { padding: 40px; border-radius: 20px; }
.card-sm { padding: 20px; border-radius: 12px; }
.card .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(99,102,241,0.12); color: var(--brand-300);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-heading); font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: 0.05em; color: #F8FAFC;
  margin: 0 0 10px;
}
.card p { font-size: 15px; color: var(--slate-400); margin: 0; line-height: 1.55; }
.card .lk {
  color: var(--brand-300); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
}
.card .lk:hover { color: var(--brand-200); }

/* Stat band (5-up + responsive variants) */
.stat-band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--dark-border); border-radius: 16px;
  background: linear-gradient(180deg, rgba(99,102,241,0.06), rgba(2,6,23,0.0));
  overflow: hidden;
}
.stat-band.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-band.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .stat-band, .stat-band.cols-4, .stat-band.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
.stat-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--dark-border);
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 768px) { .stat-cell { border-right: none; border-bottom: 1px solid var(--dark-border); } }
.stat-cell .num {
  font-family: var(--font-heading); font-weight: 700; font-size: 56px;
  line-height: 1; letter-spacing: -0.01em;
  color: var(--brand-400);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(129, 140, 248, 0.35);
}
.stat-cell .lab {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--slate-400);
}

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-heading); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.badge.live { background: rgba(16,185,129,0.12); color: var(--signal-green); }
.badge.beta { background: rgba(245,158,11,0.12); color: var(--signal-yellow); }
.badge.road { background: rgba(148,163,184,0.10); color: var(--slate-400); }
.badge.brand { background: rgba(99,102,241,0.12); color: var(--brand-300); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  background: rgba(99,102,241,0.12); color: var(--brand-300);
}

/* Tier-color pill (AI Visibility Score tiers) */
.pill-tier { padding: 6px 14px; border-radius: 999px; font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pill-tier.authority { background: rgba(16,185,129,0.14); color: var(--signal-green); }
.pill-tier.extractable { background: rgba(59,130,246,0.14); color: var(--accent-blue); }
.pill-tier.readable { background: rgba(245,158,11,0.14); color: var(--signal-yellow); }
.pill-tier.invisible { background: rgba(239,68,68,0.14); color: var(--signal-red); }

/* Layer-color marker (Access / Understanding / Extractability) */
.layer-mark { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.layer-mark.access { background: var(--layer-access); }
.layer-mark.und { background: var(--layer-understanding); }
.layer-mark.ext { background: var(--layer-extractability); }

/* Two-column generic */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.two-col.center { align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Three-up grid */
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .three-up { grid-template-columns: 1fr; } }

/* Two-up grid */
.two-up { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 768px) { .two-up { grid-template-columns: 1fr; } }

/* Four-up grid */
.four-up { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .four-up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .four-up { grid-template-columns: 1fr; } }

/* Section CTA strip */
.cta-strip {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Final CTA section */
.final-cta {
  text-align: center;
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(99,102,241,0.18), transparent 70%),
    var(--dark-base);
  padding: 120px 0;
  border-bottom: 1px solid var(--dark-border);
}
.final-cta .display-h2 { max-width: 760px; margin: 0 auto 16px; }
.final-cta .lede { margin: 0 auto 36px; }

/* Inline scan widget (for pages with mid-page conversion) */
.scan-widget {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  max-width: 640px; margin: 0 auto; text-align: left;
}
.scan-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-500);
  margin-bottom: 12px;
}
.scan-label .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.0); }
}
@media (prefers-reduced-motion: reduce) { .scan-label .live-dot { animation: none; } }
.scan-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
@media (max-width: 560px) { .scan-row { grid-template-columns: 1fr; } }
.scan-input {
  height: 56px;
  background: var(--dark-base-deep);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  color: #F8FAFC;
  padding: 0 18px;
  font-family: var(--font-mono); font-size: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.scan-input::placeholder { color: var(--slate-500); }
.scan-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.18);
}
.scan-submit {
  height: 56px; padding: 0 26px;
  background: var(--brand-500); color: white;
  border: none; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .15s;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
}
.scan-submit:hover { background: var(--brand-600); }
.scan-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; font-size: 12px; color: var(--slate-500);
}
.scan-meta .pip { display: inline-flex; align-items: center; gap: 6px; }
.scan-meta .pip + .pip::before { content: "·"; margin-right: 6px; color: var(--slate-700); }

/* Tables (long-form) */
table.aivz {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--dark-border);
  border-radius: 12px; overflow: hidden;
  background: var(--dark-card);
}
table.aivz th, table.aivz td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--dark-border);
  font-size: 14px; color: var(--slate-300);
}
table.aivz th {
  background: var(--dark-base-deep);
  font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  color: var(--slate-400);
}
table.aivz tr:last-child td { border-bottom: none; }

/* Long-form prose container (for legal etc.) */
.prose { color: var(--slate-300); font-size: 16px; line-height: 1.7; }
.prose h2 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #F8FAFC; font-size: 24px; margin: 56px 0 16px; line-height: 1.15; }
.prose h3 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #F8FAFC; font-size: 18px; margin: 36px 0 12px; line-height: 1.2; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand-300); border-bottom: 1px solid rgba(165,180,252,0.30); }
.prose a:hover { color: var(--brand-200); border-bottom-color: var(--brand-200); }
.prose strong { color: #F8FAFC; }
.prose hr { border: none; border-top: 1px solid var(--dark-border); margin: 40px 0; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--dark-base-deep); padding: 2px 8px; border-radius: 6px; color: var(--brand-200); }

/* ========== FOOTER ========== */
footer.aivz-foot {
  padding: 56px 0 40px;
  background: var(--dark-base);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
.foot-grid h5 {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--slate-400);
  margin: 0 0 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 14px; color: var(--slate-300); }
.foot-grid a:hover { color: #F8FAFC; }
.foot-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 12px; color: var(--slate-500);
  flex-wrap: wrap;
}

/* ========== VARIANT PILL (page id) ========== */
.variant-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  color: var(--slate-300); font-size: 11px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.variant-pill .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); margin-right: 8px; }

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] body { background: var(--background); color: var(--slate-700); }

/* TOPNAV */
[data-theme="light"] .topnav { background: rgba(248,250,252,0.85); border-bottom-color: var(--slate-200); }
[data-theme="light"] .brand-word { color: var(--slate-900); }
[data-theme="light"] .nav-links a { color: var(--slate-700); }
[data-theme="light"] .nav-links a:hover { color: var(--slate-900); }
[data-theme="light"] .nav-links a.active { color: var(--slate-900); }

[data-theme="light"] .btn-outline-dark { color: var(--slate-900); border-color: var(--slate-300); background: white; }
[data-theme="light"] .btn-outline-dark:hover { border-color: var(--slate-900); background: var(--slate-50); }
[data-theme="light"] .btn-ghost-dark { color: var(--slate-700); }
[data-theme="light"] .btn-ghost-dark:hover { color: var(--slate-900); }

[data-theme="light"] .theme-toggle { color: var(--slate-700); border-color: var(--slate-300); background: white; }
[data-theme="light"] .theme-toggle:hover { color: var(--slate-900); border-color: var(--slate-500); background: var(--slate-50); }
[data-theme="light"] .theme-toggle .ic-sun { display: block; }
[data-theme="light"] .theme-toggle .ic-moon { display: none; }

/* TYPE */
[data-theme="light"] .display-h1 { color: var(--slate-900); }
[data-theme="light"] .display-h2 { color: var(--slate-900); }
[data-theme="light"] .display-h3 { color: var(--slate-900); }
[data-theme="light"] .lede { color: var(--slate-600); }
[data-theme="light"] .body-md { color: var(--slate-700); }
[data-theme="light"] .body-lg { color: var(--slate-700); }
[data-theme="light"] .eyebrow { color: var(--brand-700); }
[data-theme="light"] .eyebrow-muted { color: var(--slate-500); }
[data-theme="light"] ul.bullets, [data-theme="light"] ol.bullets { color: var(--slate-700); }

/* SECTIONS */
[data-theme="light"] section.block { border-bottom-color: var(--slate-200); }
[data-theme="light"] .section-head .ml { color: var(--slate-700); }

[data-theme="light"] .page-hero { background: var(--background); border-bottom-color: var(--slate-200); }
[data-theme="light"] .page-hero::before {
  background-image:
    linear-gradient(rgba(99,102,241,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.10) 1px, transparent 1px);
}
[data-theme="light"] .breadcrumbs { color: var(--slate-500); }
[data-theme="light"] .breadcrumbs a { color: var(--slate-600); }
[data-theme="light"] .breadcrumbs a:hover { color: var(--slate-900); }
[data-theme="light"] .breadcrumbs .sep { color: var(--slate-300); }

/* CARDS */
[data-theme="light"] .card { background: white; border-color: var(--slate-200); }
[data-theme="light"] .card:hover { border-color: var(--brand-500); }
[data-theme="light"] .card .ic { background: var(--brand-50); color: var(--brand-700); }
[data-theme="light"] .card h3 { color: var(--slate-900); }
[data-theme="light"] .card p { color: var(--slate-700); }
[data-theme="light"] .card .lk { color: var(--brand-700); }
[data-theme="light"] .card .lk:hover { color: var(--brand-600); }

[data-theme="light"] .stat-band {
  background: linear-gradient(180deg, rgba(99,102,241,0.05), rgba(255,255,255,0));
  border-color: var(--slate-200);
}
[data-theme="light"] .stat-cell { border-right-color: var(--slate-200); }
@media (max-width: 768px) {
  [data-theme="light"] .stat-cell { border-bottom-color: var(--slate-200); }
}
[data-theme="light"] .stat-cell .num {
  color: var(--brand-600);
  text-shadow: 0 0 24px rgba(99,102,241,0.18);
}
[data-theme="light"] .stat-cell .lab { color: var(--slate-500); }

[data-theme="light"] .badge.live { background: rgba(16,185,129,0.10); color: #047857; }
[data-theme="light"] .badge.beta { background: rgba(245,158,11,0.10); color: #B45309; }
[data-theme="light"] .badge.road { background: var(--slate-100); color: var(--slate-600); }
[data-theme="light"] .badge.brand { background: var(--brand-50); color: var(--brand-700); }

[data-theme="light"] .pill { background: var(--brand-50); color: var(--brand-700); }
[data-theme="light"] .pill-tier.authority { background: rgba(16,185,129,0.10); color: #047857; }
[data-theme="light"] .pill-tier.extractable { background: rgba(59,130,246,0.10); color: #1D4ED8; }
[data-theme="light"] .pill-tier.readable { background: rgba(245,158,11,0.10); color: #B45309; }
[data-theme="light"] .pill-tier.invisible { background: rgba(239,68,68,0.10); color: #B91C1C; }

/* SCAN WIDGET */
[data-theme="light"] .scan-widget {
  background: white; border-color: var(--slate-200);
  box-shadow: 0 24px 60px -20px rgba(15,23,42,0.12);
}
[data-theme="light"] .scan-label { color: var(--slate-500); }
[data-theme="light"] .scan-input { background: var(--slate-50); border-color: var(--slate-200); color: var(--slate-900); }
[data-theme="light"] .scan-input::placeholder { color: var(--slate-400); }
[data-theme="light"] .scan-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(99,102,241,0.18); }
[data-theme="light"] .scan-meta { color: var(--slate-500); }
[data-theme="light"] .scan-meta .pip + .pip::before { color: var(--slate-300); }

/* FINAL CTA */
[data-theme="light"] .final-cta {
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(99,102,241,0.14), transparent 70%),
    var(--background);
  border-bottom-color: var(--slate-200);
}

/* TABLES */
[data-theme="light"] table.aivz { background: white; border-color: var(--slate-200); }
[data-theme="light"] table.aivz th { background: var(--slate-50); color: var(--slate-500); }
[data-theme="light"] table.aivz th, [data-theme="light"] table.aivz td { border-bottom-color: var(--slate-200); color: var(--slate-700); }

/* PROSE */
[data-theme="light"] .prose { color: var(--slate-700); }
[data-theme="light"] .prose h2, [data-theme="light"] .prose h3 { color: var(--slate-900); }
[data-theme="light"] .prose strong { color: var(--slate-900); }
[data-theme="light"] .prose hr { border-top-color: var(--slate-200); }
[data-theme="light"] .prose a { color: var(--brand-700); border-bottom-color: rgba(67,56,202,0.30); }
[data-theme="light"] .prose a:hover { color: var(--brand-600); border-bottom-color: var(--brand-600); }
[data-theme="light"] .prose code { background: var(--slate-100); color: var(--brand-700); }

/* FOOTER */
[data-theme="light"] footer.aivz-foot { background: var(--background); border-top: 1px solid var(--slate-200); }
[data-theme="light"] .foot-grid h5 { color: var(--slate-500); }
[data-theme="light"] .foot-grid a { color: var(--slate-700); }
[data-theme="light"] .foot-grid a:hover { color: var(--slate-900); }
[data-theme="light"] .foot-bottom { border-top-color: var(--slate-200); color: var(--slate-500); }

/* VARIANT PILL */
[data-theme="light"] .variant-pill {
  background: white; border-color: var(--slate-300); color: var(--slate-700);
  box-shadow: 0 4px 12px -4px rgba(15,23,42,0.12);
}
