/* Typefaces are self-hosted so the till looks the same with the network off. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette, from the brief. Nothing outside this block chooses a hue. */
  --gold: #ffc107;
  --gold-soft: #ffe3a3;
  --gold-bar: #fff1c9;
  --gold-head: #ffd97a;
  --gold-line: #ffc93c;
  --field-line: #8a6500;
  --ink: #111111;
  --selected: #4a6785;
  --ok: #14692f;
  --warn: #9a4a00;
  --danger: #a82118;
  --info: #1d5fa8;

  /* Warm neutrals for page ground, hairlines and quiet text, all in the
     gold/ink families. Documented in ASSUMPTIONS.md. */
  --paper: #ffffff;
  --shell: #fdf8ec;
  --hairline: #eee2c6;
  --hairline-soft: #f4eddc;
  --ink-2: #3f3f3f;
  --ink-3: #5c5c5c;

  /* Status surfaces: the status colours on their own tinted ground. */
  --ok-surface: #e8f2ea;
  --warn-surface: #fbefe2;
  --danger-surface: #fbe9e7;
  --info-surface: #e9f1fa;

  --radius-control: 8px;
  --radius-card: 12px;
  --radius-modal: 16px;

  --text-title: 30px;
  --text-body: 15px;
  --text-note: 13px;

  --shadow-modal: 0 24px 56px rgba(17, 17, 17, 0.22);
  --footer-size: 58px;

  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
