/* Site-wide theme — Extractives Packs palette (Spectral + Karla).
   Load this before product CSS. Product sheets should not redefine these colors. */

:root {
  --ink: #132033;
  --ink-soft: #3d4f66;
  --muted: #6b7c90;
  --line: #d5dde8;
  --paper: #f3f6fa;
  --surface: #ffffff;
  --navy: #12324d;
  --navy-deep: #0b2133;
  --accent: #8a4b1f;
  --accent-soft: #f3e6d8;
  --amber: #c9851a;
  --amber-soft: #fff1d6;
  --rose: #9b3d4a;
  --ok: #2f6b4f;
  --shadow: 0 18px 40px rgba(11, 33, 51, 0.08);
  --radius: 14px;
  --max: 1080px;
  --font-display: "Spectral", "Palatino Linotype", Palatino, serif;
  --font-body: "Karla", "Gill Sans", "Trebuchet MS", sans-serif;

  /* Compatibility aliases used by older product CSS */
  --bg: var(--paper);
  --bg0: #eaf0f6;
  --bg1: var(--paper);
  --panel: var(--surface);
  --card: var(--surface);
  --soft: var(--accent-soft);
  --serif: var(--font-display);
  --sans: var(--font-body);
  --font: var(--font-body);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --bad: var(--rose);
  --good: var(--ok);
  --warn: var(--amber);
  --accent-hot: var(--amber);
  --teal: var(--accent);
  --teal-soft: var(--accent-soft);
  --highlight: #ffe08a;
  --hl: #ffe08a;
  --hl-soft: rgba(201, 133, 26, 0.28);
  --hl-strong: #ffc94a;
  --tour-ring: var(--accent);
  --good-bg: #ecfdf5;
  --warn-bg: #fffbeb;
  --hi: var(--accent);
  --hi-bg: var(--accent-soft);
  --hit: var(--ok);
  --null: var(--muted);
  --paid: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(138, 75, 31, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 133, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #eaf0f6 0%, var(--paper) 38%, #eef2f7 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.2;
}

code,
pre,
.mono {
  font-family: var(--mono);
}
