/* ============================================
   TEAPEAK — Base Styles
   ============================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--neutral-900);
  background-color: var(--neutral-100);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--wood-900);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  color: var(--neutral-500);
  max-width: 65ch;
}

a:hover {
  color: var(--forest-500);
}

::selection {
  background: var(--forest-100);
  color: var(--forest-900);
}

/* Section titles */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-500);
  margin-bottom: var(--space-3);
}

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

.section-subtitle {
  font-size: var(--text-md);
  color: var(--neutral-500);
  max-width: 55ch;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* Visually hidden (accessible) */
.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;
}
