/* Algebra Masterclass theme "Completing the Square" (design option 6): design tokens and web fonts (assets/theme/tokens.css).
   Loaded after the engine stylesheet; these values replace the engine defaults.
   White paper everywhere: the engine's dark ground and its "paper" sections are both the white page, so every inner
   page reads as one design. Ink #1B2230 for text and rules, Equals Turquoise #17736F as the one accent (buttons, links,
   relation signs, the bars of every equals sign), Pale Turquoise #E1EFED as the only tinted ground (the Tuition Fee
   section, the hero's alignment column, hover states), Grid Grey #DADDE2 for every hairline, Caption Grey #5B6270 for
   secondary text. No radius, no shadows: the only boxes are 1 px or 2 px ink frames.
   Type: Libre Franklin (variable, words and headings, weights 300 to 800), Old Standard TT with the Libertinus Math
   symbol subset for the margin glyphs and small inline maths; every formula is TeX (Latin Modern) as inline SVG.
   The engine's --serif and --mono slots carry Libre Franklin as well: the design has one typeface for words. */

@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/libre-franklin-var.woff2") format("woff2"); 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: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/old-standard-400.woff2") format("woff2"); }
@font-face { font-family: "Old Standard TT"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/old-standard-400i.woff2") format("woff2"); }
/* Glyphs Old Standard TT lacks (∈ ∘ ⊂ ≅ ↦ ∃ ∪ ∀ ∴): Libertinus Math, upright in both styles. */
@font-face { font-family: "Math Symbols"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/libertinus-math-sym.woff2") format("woff2"); }
@font-face { font-family: "Math Symbols"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/libertinus-math-sym.woff2") format("woff2"); }

:root {
  /* engine tokens */
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f3f5f6;
  --ink: #1b2230;
  --muted: #5b6270;
  --dim: #7b8290;
  --line: #dadde2;
  --line-strong: #1b2230;
  --paper: #ffffff;
  --paper-2: #f3f5f6;
  --paper-ink: #1b2230;
  --paper-muted: #5b6270;
  --paper-line: #dadde2;
  --accent: #17736f;
  --accent-ink: #17736f;
  --ok: #2a7d46;
  --bad: #a1281c;
  --serif: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1440px;
  --header-h: 72px;
  /* the design's own names */
  --tq: #17736f;
  --tq-deep: #0f5552;
  --tq-pale: #e1efed;
  --tq-line: #c5d9d6;
  --grid: #dadde2;
  --cap: #5b6270;
  --ink-2: #3a4354;
  --math: "Old Standard TT", "Math Symbols", "Times New Roman", serif;
  --mono-real: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --gut: 24px;
  --edge: 24px;
}
@media (min-width: 1500px) {
  :root { --edge: 48px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; --gut: 16px; --edge: 16px; }
}
