/* ==========================================================================
   Base Typography & Body — CSI Dry Eye
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* ---- Headings ---- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  font-weight: var(--fw-extrabold);
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
}

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

h4 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}

/* Gold gradient emphasis text inside headings */
h1 em,
h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent), #FFD54F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Body copy ---- */

p {
  line-height: var(--lh-relaxed);
}

p + p {
  margin-top: var(--space-md);
}

/* ---- Links ---- */

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

/* ---- Skip link ---- */

.skip-link {
  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:focus {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: var(--z-skip);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-lg);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ---- Section labels & titles ---- */

.section__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

/* ---- Misc ---- */

strong,
b {
  font-weight: var(--fw-semibold);
}

small {
  font-size: var(--fs-sm);
}
