@font-face {
  font-family: "Coase Inter";
  src: url("/media/fonts/inter-300.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Coase Inter";
  src: url("/media/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Coase Inter";
  src: url("/media/fonts/inter-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
/* Variable Inter (300-500, Latin). Declared last so it serves intermediate weights; the static files above cover other glyphs. */
@font-face {
  font-family: "Coase Inter";
  src: url("/media/fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
  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: "Coase Plex";
  src: url("/media/fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --stone: #f2f2f2;
  --concrete: #e2e2e2;
  --grid: #eee;
  --rule: #e3e3e3;
  --ash: #bdbdbd;
  --ink: #111;
  --text-2: #3d3d3d;
  --text-3: #5c5c5c;
  --graphite: #3a3a3a;
  --accent: #b54c15;
  --c0: #16171a;
  --c1: #1e2023;
  --c2: #47484c;
  --sans: "Coase Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Coase Plex", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --lift: 0 1px 2px rgb(17 17 17 / 5%), 0 28px 56px -28px rgb(17 17 17 / 24%);
  --gut: max(16px,env(safe-area-inset-left,0px));
  --gut-r: max(16px,env(safe-area-inset-right,0px));
  --coase-sticky-height: var(--coase-header-height, 64px);
}

/* Aliases used by the editorial and tool layouts. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/media/fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --coase-paper: #fff;
  --coase-white: #fff;
  --coase-panel: var(--stone);
  --coase-ink: #111;
  --coase-copy: var(--text-2);
  --coase-muted: var(--text-3);
  --coase-line: var(--rule);
  --coase-control: #919191;
  --coase-signal: #b54c15;
  --coase-graphite: var(--ink);
  --coase-radius: 0;
  --coase-sans: var(--sans);
  --coase-grid: repeating-linear-gradient(90deg, transparent 0 calc(25vw - 1px), #2626260d 25vw);
}
