/*
  Live Figure: design tokens
  The explorable explainer. A pale paper page with one calm reading column, a solid
  cobalt masthead band, and full-bleed near-black "figure stages" that hold hand-drawn
  SVG diagrams you can drag and slide. Amber marks the thing that moves, mono readouts
  show the numbers changing live. Patient, curious and precise: it teaches by letting
  you touch the idea.

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

:root {
  /* Surfaces */
  --lf-paper: #F7F7F4;
  --lf-card: #FFFFFF;
  --lf-mist: #ECEDE8;
  --lf-line: #D9DBD3;
  --lf-cobalt: #2A4FBF;
  --lf-cobalt-deep: #1D3A94;
  --lf-stage: #0E0F12;
  --lf-stage-2: #1A1C21;
  --lf-stage-line: #30333B;

  /* Text */
  --lf-ink: #24262B;
  --lf-head: #4A4C52;
  --lf-soft: #62656D;
  --lf-faint: #9A9CA3;
  --lf-on-cobalt: #FFFFFF;
  --lf-on-cobalt-soft: #C9D4F5;
  --lf-on-stage: #EDEDEA;
  --lf-on-stage-soft: #8F939C;

  /* Accents */
  --lf-amber: #F0A23A;
  --lf-amber-soft: #FCEBD2;
  --lf-sky: #7FA6FF;
  --lf-rose: #E5626B;
  --lf-leaf: #4FB07A;

  /* Fonts */
  --lf-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --lf-font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --lf-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --lf-text-mark: clamp(30px, 4.4vw, 46px);
  --lf-text-hero: clamp(38px, 5.6vw, 60px);
  --lf-text-h2: clamp(26px, 3.2vw, 34px);
  --lf-text-h3: 20px;
  --lf-text-lead: 20px;
  --lf-text-body: 18px;
  --lf-text-small: 15px;
  --lf-text-micro: 12px;
  --lf-leading: 1.7;

  /* Shape */
  --lf-radius-sm: 4px;
  --lf-radius: 8px;
  --lf-radius-lg: 14px;
  --lf-pill: 999px;
  --lf-border: 1px solid var(--lf-line);
  --lf-shadow-knob: 0 1px 3px rgba(14, 15, 18, 0.35);
  --lf-shadow-card: 0 1px 0 var(--lf-line);
  --lf-ring: 0 0 0 3px rgba(240, 162, 58, 0.45);

  /* Space */
  --lf-space-1: 4px;
  --lf-space-2: 8px;
  --lf-space-3: 12px;
  --lf-space-4: 16px;
  --lf-space-5: 24px;
  --lf-space-6: 36px;
  --lf-space-7: 56px;
  --lf-space-8: 88px;
  --lf-column: 700px;
  --lf-wide: 1040px;
}
