/* ─── The All Source Forge — Light Theme Design System ─── */
/* Pillar-anchored color system: Amber (P1), Blue (P2), Green (P3), Purple (P4) */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700;800&display=swap');

:root {
  /* ── Pillar Colors ── */
  --amber:         #D97706;
  --amber-dim:     rgba(217, 119, 6, 0.08);
  --blue:          #2563EB;
  --blue-dim:      rgba(37, 99, 235, 0.08);
  --green:         #059669;
  --green-dim:     rgba(5, 150, 105, 0.08);
  --purple:        #7C3AED;
  --purple-dim:    rgba(124, 58, 237, 0.08);
  --red:           #DC2626;
  --red-dim:       rgba(220, 38, 38, 0.08);
  --brand:         #1e293b;

  /* ── Light Theme Palette ── */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-tertiary:   #f1f5f9;
  --bg-card:       #ffffff;
  --bg-card-hover: #f8fafc;

  --text-primary:  #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;

  --border:        #e2e8f0;
  --border-subtle: #cbd5e1;

  /* ── Radii ── */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-pill:   999px;

  /* ── Shadows ── */
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:     0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 8px 24px rgba(0, 0, 0, 0.10);

  /* ── Layout ── */
  --container:        1200px;
  --container-narrow: 900px;
}


/* ─── Reset & Base ─── */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }


/* ─── Typography ─── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
h2 { font-size: 1.8rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 0.75rem;
  line-height: 1.7;
}


/* ─── Layout ─── */

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }


/* ─── Navigation ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
nav .nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}


/* ─── Hero ─── */

.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}
.hero h1 {
  font-size: 3rem;
  max-width: 800px;
  color: var(--text-primary);
}
.hero .subtitle {
  font-size: 1.2rem;
  max-width: 680px;
  margin-top: 1rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.hero-stat .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}


/* ─── Cards ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-secondary); }

.card-accent-left {
  border-left: 3px solid var(--brand);
}
.card-accent-blue   { border-left-color: var(--blue); }
.card-accent-green  { border-left-color: var(--green); }
.card-accent-amber  { border-left-color: var(--amber); }
.card-accent-purple { border-left-color: var(--purple); }
.card-accent-red    { border-left-color: var(--red); }


/* ─── Tags ─── */

.tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-cyan    { background: rgba(30, 41, 59, 0.08); color: var(--brand); }
.tag-blue    { background: var(--blue-dim);   color: var(--blue); }
.tag-green   { background: var(--green-dim);  color: var(--green); }
.tag-amber   { background: var(--amber-dim);  color: var(--amber); }
.tag-red     { background: var(--red-dim);    color: var(--red); }
.tag-purple  { background: var(--purple-dim); color: var(--purple); }


/* ─── Section Headers ─── */

.section-header {
  margin-bottom: 2.5rem;
}
.section-header .overline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}


/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
}
.btn-primary:hover {
  background: #0f172a;
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}


/* ─── Data Table ─── */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border-bottom: 2px solid var(--brand);
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.data-table tr:hover { background: var(--bg-secondary); }


/* ─── Metrics Bar ─── */

.metrics-bar {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.metric {
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.metric .value {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
}
.metric .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}


/* ─── Signal Cards ─── */

.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signal-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.signal-card .signal-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.signal-card .signal-headline {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0.5rem 0;
}
.signal-card .signal-snippet {
  font-size: 0.9rem;
  color: var(--text-secondary);
}


/* ─── Expandable Layers ─── */

.layer {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: -1px;
  overflow: hidden;
  transition: border-color 0.3s;
  background: var(--bg-card);
}
.layer:hover { border-color: var(--border-subtle); }
.layer.expanded { border-color: var(--blue); }
.layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
}
.layer-header .layer-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.layer-header .layer-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 600;
}
.layer-header .layer-sub {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.15rem;
}
.layer-arrow {
  color: var(--blue);
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.layer.expanded .layer-arrow { transform: rotate(90deg); }
.layer-body {
  display: none;
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border);
}
.layer.expanded .layer-body { display: block; padding-top: 1.5rem; }
.layer-body p { margin-bottom: 0.75rem; font-size: 0.95rem; }


/* ─── Callout Boxes ─── */

.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 3px solid;
}
.callout-accent { background: rgba(30, 41, 59, 0.04); border-color: var(--brand); color: var(--text-secondary); }
.callout-blue   { background: var(--blue-dim);   border-color: var(--blue); }
.callout-green  { background: var(--green-dim);  border-color: var(--green); }
.callout-amber  { background: var(--amber-dim);  border-color: var(--amber); }
.callout-purple { background: var(--purple-dim); border-color: var(--purple); }

.callout strong { color: var(--text-primary); }


/* ─── Footer ─── */

footer {
  padding: 3rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-about {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
footer p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--blue); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}


/* ─── Flow Diagram ─── */

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.flow-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 130px;
}
.flow-node .flow-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow-node .flow-name {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0.2rem;
}
.flow-node .flow-desc {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.2rem;
}
.flow-arrow {
  color: var(--border-subtle);
  font-size: 1.3rem;
  padding: 0 0.6rem;
}


/* ─── Two Column ─── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}


/* ─── Details/Summary ─── */

details summary {
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details[open] summary .expand-hint {
  display: none;
}


/* ─── Overline (Hero variant) ─── */

.overline-hero {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 1rem;
}


/* ─── Utility: Spacing ─── */

.mb-half { margin-bottom: 0.5rem; }
.mb-1    { margin-bottom: 1rem; }
.mb-1-5  { margin-bottom: 1.5rem; }
.mb-2    { margin-bottom: 2rem; }
.mt-half { margin-top: 0.5rem; }
.mt-1    { margin-top: 1rem; }
.mt-1-5  { margin-top: 1.5rem; }
.mt-2    { margin-top: 2rem; }


/* ─── Utility: Text ─── */

.text-base { font-size: 0.9rem; }
.text-sm   { font-size: 0.85rem; }
.text-xs   { font-size: 0.8rem; }


/* ─── Hero Compact ─── */

.hero-compact { padding-bottom: 3rem; }


/* ─── Pillar List & Subtitle ─── */

.pillar-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pillar-subtitle {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}


/* ─── Progress Bars ─── */

.progress-bar {
  background: var(--bg-tertiary);
  border-radius: 4px;
  height: 8px;
  margin-bottom: 1rem;
}
.progress-fill { height: 100%; border-radius: 4px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.progress-label-name { font-size: 0.9rem; color: var(--text-secondary); }
.progress-label-value { font-weight: 600; color: var(--text-primary); }


/* ─── Metric List ─── */

.metric-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.metric-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.metric-list-item:last-child { border-bottom: none; }
.tag-inline { margin: 0; min-width: 60px; text-align: center; }
.metric-list-desc { font-size: 0.9rem; color: var(--text-secondary); }


/* ─── Comparison Stack ─── */

.comparison-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-compact { padding: 1.25rem; }


/* ─── Section CTA ─── */

.section-cta { border-bottom: none; }
.section-cta .container { text-align: center; }
.section-cta .subtitle { margin: 0.75rem auto 0; }
.section-cta .btn-group { justify-content: center; }


/* ─── Footer Components ─── */

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.footer-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}
.footer-bio strong { color: var(--text-primary); }
.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-social a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-social a:hover { color: var(--blue); }


/* ─── Brief Components ─── */

.brief-section-label {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--blue);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.brief-signal-item {
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}
.brief-signal-item + .brief-signal-item { margin-top: 0.75rem; }


/* ─── Signal Source ─── */

.signal-source {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.signal-source a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}
.signal-source a:hover { color: var(--blue); }


/* ─── Metrics Definitions ─── */

.metrics-definitions {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
  line-height: 1.6;
}
.metrics-definitions em {
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 600;
}


/* ─── Sample Brief ─── */

.brief-card { padding: 2.5rem; }
.brief-opportunity {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.brief-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.brief-footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}


/* ─── Accessibility ─── */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 1000;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}


/* ═══════════════════════════════════════════════════════
   SUB-PAGE COMPONENTS
   ═══════════════════════════════════════════════════════ */


/* ─── Pillar Tags (Research Sub-pages) ─── */

.pillar-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.pillar-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  border: 1px solid;
}
.pillar-tag.inactive {
  background: transparent;
  border-color: var(--border);
  color: var(--text-tertiary);
  opacity: 0.5;
}
.pillar-tag.p1 {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.3);
  color: #D97706;
}
.pillar-tag.p2 {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563EB;
}
.pillar-tag.p3 {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.3);
  color: #059669;
}
.pillar-tag.p4 {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
  color: #7C3AED;
}


/* ─── Stat Strip ─── */

.stat-strip {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-top: 0.35rem;
}


/* ─── Eyebrow Label ─── */

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}


/* ─── Research Card (Hub Doorways) ─── */

.research-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.research-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.research-card h3 {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.research-card .subtitle,
.research-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}
.research-card .meta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ─── Finding Cards (SENTINEL Sub-page) ─── */

.finding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.finding-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.finding-card:hover {
  box-shadow: var(--shadow-md);
}
.finding-card h4 {
  margin-bottom: 0.5rem;
}
.finding-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ─── Responsive ─── */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .number { font-size: 1.6rem; }

  .card-grid, .two-col {
    grid-template-columns: 1fr;
  }
  .metrics-bar { flex-direction: column; gap: 1rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 0.75rem;
  }
  .nav-toggle { display: block; }

  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 0.3rem 0; }
  .brief-two-col { grid-template-columns: 1fr; }
  .finding-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 1.5rem; }
}
