/*
  Cell Gutter: design tokens

  The feel: a working notebook. A deep navy band at the top of the page,
  then plain white paper full of cells. Grotesk headlines, a bookish serif
  for reading, mono for code. One ink-blue accent marks the active cell,
  links and outlined buttons. Charts carry a small set of soft categorical
  colors, and axes keep their tick dashes ("40 -").

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --cg-paper: #FFFFFF;
  --cg-mist: #F4F5F8;
  --cg-mist-2: #EAECF1;
  --cg-line: #DFE2E8;
  --cg-line-strong: #C6CAD3;
  --cg-navy: #121929;
  --cg-navy-2: #1C2438;
  --cg-navy-line: #2C3550;

  /* Text */
  --cg-ink: #1A1D25;
  --cg-soft: #5B6170;
  --cg-faint: #8D93A1;
  --cg-on-navy: #F3F5FA;
  --cg-on-navy-soft: #A3ABBF;

  /* Accent */
  --cg-blue: #2D52D2;
  --cg-blue-deep: #2140AA;
  --cg-blue-soft: #E7ECFC;

  /* Chart colors: only inside charts, swatches and code */
  --cg-plum: #A48AD8;
  --cg-rose: #EE8DB1;
  --cg-mint: #73D3AA;
  --cg-ochre: #E0AE37;
  --cg-brick: #B03A2C;
  --cg-sky: #7DBCE8;

  /* Status */
  --cg-ok: #2E9E6A;
  --cg-error: #C23A3A;

  /* Fonts */
  --cg-font-head: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --cg-font-body: "Literata", Georgia, serif;
  --cg-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --cg-text-hero: clamp(40px, 6.4vw, 80px);
  --cg-text-kicker: clamp(22px, 2.6vw, 32px);
  --cg-text-h2: clamp(32px, 4vw, 48px);
  --cg-text-h3: 22px;
  --cg-text-lead: 19px;
  --cg-text-body: 17px;
  --cg-text-ui: 15px;
  --cg-text-small: 13px;
  --cg-text-micro: 11px;

  /* Shape */
  --cg-radius-sm: 4px;
  --cg-radius: 6px;
  --cg-radius-lg: 10px;
  --cg-radius-pill: 999px;
  --cg-gutter: 3px;

  /* Shadows: quiet, never offset */
  --cg-shadow: 0 1px 2px rgba(18, 25, 41, 0.06), 0 4px 14px rgba(18, 25, 41, 0.06);
  --cg-shadow-lg: 0 2px 4px rgba(18, 25, 41, 0.08), 0 18px 48px rgba(18, 25, 41, 0.16);
  --cg-focus: 0 0 0 3px rgba(45, 82, 210, 0.22);

  /* Space */
  --cg-space-1: 4px;
  --cg-space-2: 8px;
  --cg-space-3: 12px;
  --cg-space-4: 16px;
  --cg-space-5: 24px;
  --cg-space-6: 32px;
  --cg-space-7: 48px;
  --cg-space-8: 72px;
  --cg-space-9: 112px;
  --cg-container: 1160px;
  --cg-narrow: 700px;
}
