/* ============================================================
   Base Styles — Typography & Global Elements
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-body);
  background-color: var(--color-white);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Allow selection inside form fields */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* ── Headings ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  color: var(--slate-900);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); font-weight: var(--weight-semibold); }

/* ── Body Text ────────────────────────────────────────────── */
p { line-height: var(--leading-relaxed); }

.text-muted { color: var(--color-muted); }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }

/* ── Section Eyebrow Label ────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.eyebrow--white {
  color: var(--sky-400);
}

/* ── Section Heading Group ────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-md);
  color: var(--slate-500);
  line-height: var(--leading-relaxed);
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}

/* ── Links ────────────────────────────────────────────────── */
.link {
  color: var(--color-primary);
  font-weight: var(--weight-medium);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--t-base);
}
.link:hover { gap: var(--space-2); }

/* ── Horizontal Rule ──────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background-color: var(--navy-100);
  color: var(--navy-800);
}
