/* ============================================================
   tokens.css — RTG public website design tokens
   ------------------------------------------------------------
   Shared :root custom properties (palette, neutrals, type stacks).
   Identical across every page; loaded first so everything that
   follows can reference --slate-blue, --red, --ink, --line, etc.

   Master-page note: link this BEFORE any other RTG marketing CSS.
   ============================================================ */

:root {
  /* Brand */
  --slate-blue:      #3d5a7a;
  --slate-blue-deep: #2c4361;
  --slate-blue-mid:  #4a6fa5;
  --slate-blue-soft: #eef2f7;
  --slate-blue-wash: #f8fafc;

  --red:             #dc2626;
  --red-deep:        #b91c1c;
  --red-soft:        #fee2e2;
  --red-wash:        #fef2f2;

  /* Neutrals & text */
  --ink:             #0f172a;
  --ink-mid:         #1e293b;
  --body:            #475569;
  --muted:           #64748b;
  --faint:           #94a3b8;

  /* Lines & surfaces */
  --line:            #e2e8f0;
  --line-soft:       #f1f5f9;
  --bg:              #ffffff;
  --bg-soft:         #f8fafc;

  /* Type stacks */
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------------------------------------
   Accent-font tweaks (used by homepage Tweaks panel).
   Default is Fraunces italic 600; data-type swaps the family.
   ------------------------------------------------------------ */
:root {
  --accent-font:   'Fraunces', Georgia, serif;
  --accent-style:  italic;
  --accent-weight: 600;
}

body[data-type="publication"] {
  --accent-font:   'Newsreader', Georgia, serif;
  --accent-style:  italic;
  --accent-weight: 500;
}

body[data-type="modern"] {
  --accent-font:   'Inter', sans-serif;
  --accent-style:  normal;
  --accent-weight: 900;
}
