/* ===== DESIGN TOKENS ===== */
:root, [data-theme="light"] {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm clinical palette */
  --color-bg:             #f5f6f8;
  --color-surface:        #ffffff;
  --color-surface-2:      #f9fafb;
  --color-surface-offset: #eef0f4;
  --color-divider:        #dce0e8;
  --color-border:         #cdd2db;

  /* Text */
  --color-text:           #1a1e2c;
  --color-text-muted:     #5e6478;
  --color-text-faint:     #9ba1b2;

  /* Primary — clinical teal-blue */
  --color-primary:        #0c7a8a;
  --color-primary-hover:  #095e6b;
  --color-primary-light:  #e6f4f6;

  /* Accents */
  --color-success:        #1a8a4a;
  --color-success-light:  #e8f5ef;
  --color-warning:        #c27014;
  --color-warning-light:  #fdf3e6;
  --color-error:          #b92d4a;
  --color-error-light:    #fce8ec;

  /* Misc */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --shadow-sm: 0 1px 3px rgba(26, 30, 44, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 30, 44, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 30, 44, 0.1);

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg:             #111318;
  --color-surface:        #1a1d24;
  --color-surface-2:      #1e2129;
  --color-surface-offset: #161921;
  --color-divider:        #2a2e38;
  --color-border:         #353a47;

  --color-text:           #d4d7e0;
  --color-text-muted:     #8b90a0;
  --color-text-faint:     #5a5f6e;

  --color-primary:        #3fb8c8;
  --color-primary-hover:  #2da0b0;
  --color-primary-light:  #1a2e33;

  --color-success:        #4eba78;
  --color-success-light:  #1a2c22;
  --color-warning:        #e09438;
  --color-warning-light:  #2c2318;
  --color-error:          #e05574;
  --color-error-light:    #2c1a20;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #111318;
    --color-surface:        #1a1d24;
    --color-surface-2:      #1e2129;
    --color-surface-offset: #161921;
    --color-divider:        #2a2e38;
    --color-border:         #353a47;
    --color-text:           #d4d7e0;
    --color-text-muted:     #8b90a0;
    --color-text-faint:     #5a5f6e;
    --color-primary:        #3fb8c8;
    --color-primary-hover:  #2da0b0;
    --color-primary-light:  #1a2e33;
    --color-success:        #4eba78;
    --color-success-light:  #1a2c22;
    --color-warning:        #e09438;
    --color-warning-light:  #2c2318;
    --color-error:          #e05574;
    --color-error-light:    #2c1a20;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
  }
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(12, 122, 138, 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-interactive); }
a:hover { color: var(--color-primary-hover); }

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.section-alt {
  background-color: var(--color-surface-2);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 70ch;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s;
}

[data-theme="dark"] .site-header {
  background: rgba(17, 19, 24, 0.92);
}

.header--scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  gap: var(--space-5);
  margin-left: auto;
}

.header-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--transition-interactive);
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.back-link:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.header-nav a.current-parent,
.header-nav a.section-link[aria-current="page"] {
  color: var(--color-text);
}

.header-nav a.section-link[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

[data-theme-toggle] {
  color: var(--color-text-muted);
  padding: var(--space-1);
  transition: color var(--transition-interactive);
}

[data-theme-toggle]:hover {
  color: var(--color-text);
}

/* ===== HERO ===== */
.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6) clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
}

.hero-inner {
  max-width: var(--content-default);
  margin: 0 auto;
}

.hero-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 52ch;
  margin-inline: auto;
}

.hero-stat-row {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== CALLOUT ===== */
.callout-section {
  padding-block: var(--space-8);
}

.callout {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.callout-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.callout-content p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ===== DRUG CARDS ===== */
.drug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.drug-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.drug-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.drug-card-header {
  padding: var(--space-3) var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adalimumab-header { background: linear-gradient(135deg, #e8eff7, #d6e4f0); }
.secukinumab-header { background: linear-gradient(135deg, #e6f4f6, #cce9ed); }
.bimekizumab-header { background: linear-gradient(135deg, #eee8f8, #ddd0f0); }

[data-theme="dark"] .adalimumab-header { background: linear-gradient(135deg, #1a2230, #1e2838); }
[data-theme="dark"] .secukinumab-header { background: linear-gradient(135deg, #162830, #1a3038); }
[data-theme="dark"] .bimekizumab-header { background: linear-gradient(135deg, #221a30, #281e38); }

.drug-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.drug-year {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
}

.drug-card-body {
  padding: var(--space-5);
}

.drug-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.drug-brand {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.drug-card-body > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.drug-facts {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-4);
}

.drug-facts li {
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text);
  line-height: 1.5;
}

.drug-facts li:last-child {
  border-bottom: none;
}

.drug-facts strong {
  font-weight: 600;
}

.source-link {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  margin-top: var(--space-1);
  margin-right: var(--space-4);
}

.source-link:hover {
  text-decoration: underline;
}

/* ===== COMPARISON BOX ===== */
.comparison-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-8);
}

.comparison-box h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.comparison-box > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-3);
}

/* ===== TABLES ===== */
.data-table {
  font-size: var(--text-sm);
  width: 100%;
}

.data-table thead {
  border-bottom: 2px solid var(--color-primary);
}

.data-table th {
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
  line-height: 1.5;
}

.data-table td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--color-primary);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.table-source {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* ===== PIPELINE SECTION ===== */
.pipeline-category {
  margin-bottom: var(--space-10);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.category-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.category-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.oral-tag {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.biologic-tag {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.novel-tag {
  background: #f0e8f7;
  color: #7a39bb;
}

[data-theme="dark"] .novel-tag {
  background: #251a30;
  color: #a86fdf;
}

.category-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.pipeline-table-wrap {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
}

.pipeline-table td strong {
  display: block;
}

.company {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 400;
}

.phase-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.phase3 {
  background: var(--color-success-light);
  color: var(--color-success);
}

.phase2 {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.phase1 {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.pipeline-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-3);
}

.highlight-box {
  background: var(--color-warning-light);
  border: 1px solid rgba(194, 112, 20, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
}

.highlight-box p {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

/* ===== BREAKTHROUGHS ===== */
.breakthrough-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.breakthrough-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.breakthrough-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.breakthrough-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.phage-icon { background: #eee8f8; color: #7a39bb; }
.precision-icon { background: #e6f4f6; color: #0c7a8a; }
.glp1-icon { background: #fdf3e6; color: #c27014; }
.endotype-icon { background: #e8f5ef; color: #1a8a4a; }

[data-theme="dark"] .phage-icon { background: #251a30; color: #a86fdf; }
[data-theme="dark"] .precision-icon { background: #162830; color: #3fb8c8; }
[data-theme="dark"] .glp1-icon { background: #2c2318; color: #e09438; }
[data-theme="dark"] .endotype-icon { background: #1a2c22; color: #4eba78; }

.breakthrough-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.breakthrough-source {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.breakthrough-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.breakthrough-details {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-4);
}

.breakthrough-details li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-1) 0;
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}

.breakthrough-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ===== REMISSION ===== */
.remission-block {
  max-width: var(--content-default);
  margin: 0 auto;
  text-align: center;
}

.remission-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.remission-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.remission-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-success);
  font-variant-numeric: tabular-nums;
}

.remission-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
}

.remission-context {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-inline: auto;
  margin-bottom: var(--space-3);
  line-height: 1.65;
}

/* ===== LIFESTYLE ===== */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.lifestyle-card {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

.lifestyle-card.helpful {
  background: var(--color-success-light);
  border-color: rgba(26, 138, 74, 0.2);
}

.lifestyle-card.harmful {
  background: var(--color-error-light);
  border-color: rgba(185, 45, 74, 0.2);
}

.lifestyle-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lifestyle-card.helpful h3 { color: var(--color-success); }
.lifestyle-card.harmful h3 { color: var(--color-error); }

.lifestyle-card.helpful h3 svg { color: var(--color-success); }
.lifestyle-card.harmful h3 svg { color: var(--color-error); }

.lifestyle-card ul {
  list-style: none;
  padding: 0;
}

.lifestyle-card li {
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.4;
}

[data-theme="dark"] .lifestyle-card li {
  border-bottom-color: rgba(255,255,255,0.06);
}

.lifestyle-card li:last-child {
  border-bottom: none;
}

.lifestyle-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-2);
}

/* ===== RESOURCES ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.resource-link {
  display: block;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
}

.resource-link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.resource-name {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.resource-desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto var(--space-3);
  line-height: 1.6;
}

.footer-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.footer-attribution {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-attribution:hover {
  color: var(--color-primary);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 1rem + 3vw, 2.5rem);
  }

  .hero-stat-row {
    gap: var(--space-4);
  }

  .drug-grid {
    grid-template-columns: 1fr;
  }

  .breakthrough-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-table-wrap {
    font-size: var(--text-xs);
  }

  .data-table th,
  .data-table td {
    padding: var(--space-2);
  }

  .callout {
    flex-direction: column;
    gap: var(--space-2);
  }

  .remission-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);
  }

  .remission-stats {
    grid-template-columns: 1fr;
  }
}
