body {
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  line-height: var(--line-height-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

p {
  color: var(--color-text-secondary);
}

small {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

a {
  color: var(--theme-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  border-radius: var(--radius-sm);
  outline: 3px solid color-mix(in srgb, var(--theme-focus-ring) 62%, white);
  outline-offset: 3px;
}

::selection {
  background: var(--theme-action-background);
  color: var(--theme-action-text);
}

.skip-link {
  position: fixed;
  z-index: var(--z-navigation);
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  transform: translateY(-160%);
  border-radius: var(--radius-md);
  background: var(--color-text-primary);
  color: white;
  font-weight: var(--font-weight-semibold);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.eyebrow {
  color: var(--theme-selected-text);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.display-text {
  display: block;
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
}

.content-container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 3vw, var(--space-8));
}
