/* Priors — shared brand tokens and fonts. Single source of truth for palette + type.
   Linked by every page in site/. Page-specific component styles stay inline in each page.
   Palette/type reference: ../brand/priors-brand.md */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600&display=swap');

:root{
  /* surfaces + ink */
  --paper:#F9F8F4; --card:#FFFFFF; --foot:#FCFBF8;
  --ink:#1E1E1C; --ink-2:#3C3C38; --muted:#7C7C76;
  --line:#E2DFD7; --line-2:#ECEAE3;
  /* brand accent (teal) — used sparingly. Chosen to sit OUTSIDE the data palette (green=supporting, amber=uncertain, red=challenging) so brand chrome never reads as a signal. */
  --accent:#0F544D; --accent-2:#0A3E38; --accent-bg:#E6F1EE; --accent-line:#C2DAD5;
  --frontier-soft:#EEF4FB;
  /* standing tiers (data colour, not chrome) */
  --est:#27500A; --est-bg:#EAF3DE; --strong:#0F6E56; --strong-bg:#E1F5EE;
  --mod:#633806; --mod-bg:#FAEEDA; --emerg:#7A1B0E; --emerg-bg:#FDECEB;
  /* movement signals */
  --up:#1D9E75; --up-bg:#E1F5EE; --down:#C75050; --down-bg:#FDEAEA;
  --flat:#7C7C76; --flat-bg:#F0EFEA; --new:#185FA5; --new-bg:#EEF4FB;
  /* type */
  --sans:'DM Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif:'Crimson Pro',Georgia,"Times New Roman",serif;
  --mono:'DM Mono',ui-monospace,Menlo,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
a{color:inherit}

/* Nav CTA buttons keep white text on the solid accent — must out-specify `.navlinks a`
   (normal + hover), which otherwise tints the button dark / invisible-on-hover. */
.navlinks a.btn{color:#fff}
.navlinks a.btn:hover{color:#fff}
