/* Design tokens. Source of truth: DESIGN.md. */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #fbfaf6;
  --ink: #1b1b1f;
  --muted: #5d5b56;
  --rule: rgba(27, 27, 31, 0.16);
  --rule-strong: rgba(27, 27, 31, 0.32);
  --accent: #2b40b0;
  --accent-tint: #e5e8f6;
  --error: #a3301f;

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;

  --t12: 12px;
  --t14: 14px;
  --t16: 16px;
  --t20: 20px;
  --t28: 28px;
  --t40: 40px;
  --t64: 64px;

  --s4: 4px;
  --s8: 8px;
  --s12: 12px;
  --s16: 16px;
  --s24: 24px;
  --s32: 32px;
  --s48: 48px;
  --s64: 64px;
  --s96: 96px;
  --s128: 128px;

  --radius: 2px;
  --measure: 1120px;
}

@media (max-width: 719px) {
  :root {
    --t64: 40px;
    --t40: 28px;
  }
}
