/* ------------------------------------------------------------------
   Open End — shared design tokens
   Loaded before each page's own stylesheet. Fluid sizes are clamped
   between two token steps, never invented in between.
   ------------------------------------------------------------------ */

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

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

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

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

:root {
  color-scheme: light;

  /* type */
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo,
    Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --fs-xs: 11px;
  --fs-s: 13px;
  --fs-m: 16px;
  --fs-l: 24px;
  --fs-xl: 40px;

  /* ink and paper */
  --ink: #111;
  --ink-2: #555;
  --ink-3: #767676;
  --line: #e6e6e3;
  --paper: #fff;
  --bg: #f7f7f5;

  /* one accent */
  --accent: #f0441e;
  --accent-soft: rgba(240, 68, 30, 0.12);

  /* elevation */
  --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 6px 16px rgba(0, 0, 0, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.14);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 240ms;
}
