/* ─────────────────────────────────────────────────────────────
   Letii — base typography + shared utilities
   Body, headings, links, eyebrow component, container,
   visually-hidden, skip link.
   ──────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-navy);
  background: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--color-navy);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-2xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--fs-xl);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--color-teal);
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

em {
  font-style: italic;
}

/* ─── Eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-navy);
  margin: 0;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-teal);
}

.eyebrow--on-dark {
  color: var(--color-light-teal);
}

/* ─── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── Visually hidden ──────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Skip link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--dur-fast) var(--ease-out);
  font-family: var(--font-body);
  font-weight: 500;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
  color: var(--color-white);
}
