/* Design tokens, reset and typography. Everything else builds on these. */

@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/red-hat-display-latin-4b4ae3d5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/red-hat-display-latin-ext-2af8e6a6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/red-hat-text-latin-6c2542ab.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/red-hat-text-latin-ext-b40cff55.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --display: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  --text: "Red Hat Text", "Helvetica Neue", system-ui, sans-serif;

  --ground: #F3F2EC;
  --paper: #FFFFFF;
  --ink: #1E2A24;
  --ink2: #5A665F;
  --line: #E1E3DA;
  --field: #CDD2C6;
  --track: #E8EAE2;
  --forest: #1F4D3A;
  --forest-deep: #163A2B;
  --forest-soft: #DDE8E0;
  --sage: #9DBBA6;
  --fern: #B8D98A;
  --fern-soft: #EAF2DC;
  --sand: #DCD3C0;
  --bark: #8A6A4E;
  --cream: #F4EFDF;
  --gain: #25804F;
  --gain-soft: #DDEFE2;
  --loss: #B5452F;
  --loss-soft: #F6E1DA;
  --sun: #FC8B12;

  --muted-mark: #B7BDB4;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--ground);
  font-variant-numeric: tabular-nums;
  padding-top: env(safe-area-inset-top, 0px);
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.4px;
  margin: 0;
}

h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.6px; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }

p { margin: 0; }

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-deep); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

img, svg { max-width: 100%; }
[hidden] { display: none !important; }

ul, ol { margin: 0; padding: 0; list-style: none; }

fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; }

.numeric { font-family: var(--display); font-weight: 700; }
.muted { color: var(--ink2); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important } }
