@font-face {
  font-family: "Roboto Guide";
  src: local("Roboto Flex"), local("Roboto Variable"), local("Roboto");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Readout";
  src: local("JetBrains Mono Variable"), local("JetBrains Mono");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #24333b;
  --charcoal: #36454f;
  --blue: #003366;
  --electric: #00a8e0;
  --silver: #66747c;
  --line: #d5dadd;
  --soft-line: #e0e0e0;
  --paper: #ffffff;
  --wash: #f4f7f8;
  --green: #067a36;
  --orange: #b96200;
  --shadow: 0 2px 12px rgb(36 51 59 / 8%);
  --radius: 8px;
  --shell: 1280px;
  --measure: 72ch;
  --ease: 240ms ease-out;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto Guide", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #005da9;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

p,
li,
dd {
  font-size: 1rem;
}

button {
  font: inherit;
}

::selection {
  background: #b9ebff;
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

