@font-face {
  font-family: "Latin Modern Sans";
  src: url("../fonts/latin-modern/lmsans10-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/**
 * Document foundation and deterministic typography.
 * Component and feature selectors do not belong in this file.
 */

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

* {
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: var(--background);
  scrollbar-color: color-mix(in srgb, var(--muted-foreground) 48%, transparent) transparent;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums tabular-nums;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-page-title);
}
h2 {
  font-size: var(--font-size-section-title);
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--brand);
}

[hidden] {
  display: none !important;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Accessible names for controls whose visible face is an icon. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
