@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 650 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --x65-font: Inter, system-ui, sans-serif;
  --x65-heading-font: "Inter Tight", Inter, system-ui, sans-serif;
  --x65-mono: "JetBrains Mono", ui-monospace, monospace;
  --x65-body-size: clamp(1.0625rem, 1.01rem + .19vw, 1.125rem);
  --x65-title-size: clamp(2.5rem, 2rem + 1.25vw, 3rem);
  --x65-reading-width: 74ch;

  /* Brand colors from x65.zone/assets/style.css. */
  --x65-deep-blue: #0e536f;
  --x65-navy: #052544;
  --x65-sky: #90d5f1;
  --x65-ice: #bbf4fa;
  --x65-steel: #4586a0;
  --x65-header: var(--x65-deep-blue);
  --x65-header-text: var(--x65-ice);
  --x65-accent: var(--x65-steel);
  --x65-paper: #f6f9fa;
  --x65-ink: #162733;
  --x65-rule: #cedce3;
  --x65-muted: #4a606d;
  --x65-link: var(--x65-deep-blue);
  --x65-surface: #e9f1f5;
  --x65-panel: #fcfdfe;
  --x65-current: #dcedf5;
  --x65-warning: #855011;
  --x65-warning-bg: #f6ecd9;
}

html.dark {
  color-scheme: dark;
  --x65-header: var(--x65-navy);
  --x65-accent: var(--x65-sky);
  --x65-paper: #0c202f;
  --x65-ink: #e1edf4;
  --x65-rule: #345367;
  --x65-muted: #adc5d3;
  --x65-link: var(--x65-sky);
  --x65-surface: #153247;
  --x65-panel: #112839;
  --x65-current: #1b4258;
  --x65-warning: #efc475;
  --x65-warning-bg: #332919;
}
