/* ============================================================
   BASE — reset, typography, layout primitives, section utilities.
   Component styles live in css/components/*.css
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-canvas);
}
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 var(--space-3); color: var(--color-ink); }
h1 { font-size: var(--text-4xl); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-2xl); font-weight: 700; }
h3 { font-size: var(--text-lg); font-weight: 600; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-primary-ink); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout primitives ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); }
.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-5) 0; }

/* ── Section header pattern (eyebrow + title + optional action) ── */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.eyebrow-red    { color: var(--color-secondary); }
.eyebrow-purple { color: var(--color-accent); }
.eyebrow-green  { color: var(--color-success-deep); }
.eyebrow-blue   { color: var(--color-info-deep); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-sub { color: var(--color-ink-subtle); font-size: var(--text-sm); margin-top: var(--space-2); }
.section-link {
  color: var(--color-primary); font-weight: 600; font-size: var(--text-sm);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.section-link:hover { color: var(--color-primary-dark); gap: var(--space-3); }

/* ── Dark panel (hero banners, live-demand cards) ── */
.panel-dark {
  background: var(--color-navy); color: #fff;
  border-radius: var(--radius-xl); padding: var(--space-6);
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: rgba(255, 255, 255, 0.75); }

/* ── Utilities ── */
.text-muted { color: var(--color-ink-subtle); }
.text-sm { font-size: var(--text-sm); }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  .section { padding: var(--space-6) 0; }
}