/* Number Theory Masterclass theme "White Gallery, LaTeX Type": design tokens and web fonts (assets/theme/tokens.css).
   Loaded after the engine stylesheet; these values replace the engine defaults.
   White walls everywhere: the engine's dark ground and its "paper" sections are both the white wall, so every inner
   page reads as one gallery. Ink #1A1D24 for text and frame lines, Deep Teal #0D5C63 as the one accent (links, buttons,
   unit lines), Teal Wash for the recommended masterclass and the newsletter band, Label Grey for wall labels, Hairline
   and Frame Echo for the rules. No radius beyond 2 px, no shadows: the only boxes are frames.
   Type: LM Roman 17 (display), LM Roman 10 regular, italic, bold (theorem environments, h3, labels), LM Roman Caps 10
   (two small tags), Source Sans 3 variable, roman and italic (body and interface). The engine's --mono slot carries
   Source Sans as well: the design has no monospace and no tracked capitals. */

@font-face { font-family: "LM Roman 17"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lmroman17-regular.woff2") format("woff2"); }
@font-face { font-family: "LM Roman 10"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lmroman10-regular.woff2") format("woff2"); }
@font-face { font-family: "LM Roman 10"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lmroman10-italic.woff2") format("woff2"); }
@font-face { font-family: "LM Roman 10"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lmroman10-bold.woff2") format("woff2"); }
@font-face { font-family: "LM Roman Caps 10"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lmromancaps10-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("fonts/source-sans-3-400i.woff2") format("woff2"); }

:root {
  /* engine tokens */
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f5f7f8;
  --ink: #1a1d24;
  --muted: #596070;
  --dim: #7a818d;
  --line: #dadee4;
  --line-strong: #1a1d24;
  --paper: #ffffff;
  --paper-2: #f5f7f8;
  --paper-ink: #1a1d24;
  --paper-muted: #596070;
  --paper-line: #dadee4;
  --accent: #0d5c63;
  --accent-ink: #0d5c63;
  --ok: #2a7d46;
  --bad: #a1281c;
  --serif: "LM Roman 10", "Latin Modern Roman", "Computer Modern", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Source Sans 3", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --header-h: 72px;
  /* the design's own names */
  --wall: #ffffff;
  --ink-2: #3a3f4a;
  --teal: #0d5c63;
  --teal-deep: #08454b;
  --wash: #eef5f5;
  --grey: #596070;
  --rule: #dadee4;
  --echo: #e6e9ed;
  --foot: #f5f7f8;
  --field: #8a919c;
  --display: "LM Roman 17", "LM Roman 10", "Latin Modern Roman", Georgia, serif;
  --caps: "LM Roman Caps 10", "LM Roman 10", Georgia, serif;
  --gut: clamp(16px, 4vw, 48px);
  --mono-real: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
}
