/* === Base: Typography & HTML Elements === */

html {
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
}

/* === HEADINGS === */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-primary);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-primary);
}

/* === BODY TEXT === */
.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.body-text:last-child {
  margin-bottom: 0;
}

/* === LINKS === */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

/* === SECTION LABELS === */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-1);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.section-description {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 56ch;
}

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

.section-header .section-description {
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-6);
}

/* === SECTION SPACING === */
.section {
  padding: var(--space-12) 0;
}

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

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  font-family: var(--font-ui);
  font-weight: 500;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  text-decoration: none;
  z-index: var(--z-top);
  border-radius: 0 0 var(--radius-sm) 0;
}

/* === MISC === */
strong { font-weight: 700; }
em { font-style: italic; }

::selection {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
}
