/*
 * Temperfield Group foundation styles.
 * Design tokens are defined in tokens.css, font faces in fonts.css, reusable
 * layout rules in layout.css, and components in components.css.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-family-body);
  font-synthesis-style: none;
  line-height: var(--line-height-body);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--color-text-primary);
  background: var(--color-background-page);
  font-size: var(--font-size-body);
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--color-text-accent);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-eyebrow);
  line-height: var(--line-height-interface);
  text-transform: uppercase;
}

h1 {
  margin: 0 0 var(--space-3);
  color: var(--color-text-brand);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-display);
  line-height: var(--line-height-display);
}

p {
  max-width: var(--measure-reading);
  margin: 0;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus-ring);
  outline-offset: var(--focus-ring-offset);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
