/*
 * Line Gutter: tokens
 *
 * The whole page is an open file in a text editor. Pure black, one
 * monospace family for everything, numbered lines down a narrow gutter on
 * the left, grey "# comments" as labels, file tabs as the nav and a single
 * safety-orange accent for the active line, the block cursor and the main
 * button. No radius, no shadows, no gradients. Retro, minimal and a bit cheeky.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:ital,wght@0,300..700;1,400&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --lg-black: #050505;        /* the page, everywhere */
  --lg-bar: #121214;          /* tab bar, status line */
  --lg-tab-on: #1C1C1F;       /* the open tab */
  --lg-hl: #1F1F23;           /* the active line band, inputs */
  --lg-rule: #2A2A2F;         /* every hairline */

  /* Text */
  --lg-ink: #F3F1EA;          /* headings, code you "run", values */
  --lg-text: #B9B7B0;         /* body copy */
  --lg-comment: #7C7A75;      /* "# comments", meta, help */
  --lg-dim: #4C4B50;          /* gutter numbers, tildes */

  /* Accent and syntax */
  --lg-orange: #FF6B1A;       /* the one accent */
  --lg-orange-ink: #0B0703;   /* text on orange */
  --lg-string: #C8E38A;       /* strings and "ok" inside code only */
  --lg-key: #8EC5F2;          /* keys and flags inside code only */
  --lg-red: #FF5468;          /* form errors only */

  /* Type */
  --lg-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --lg-text-hero: clamp(30px, 5.2vw, 60px);
  --lg-text-h2: clamp(24px, 3.2vw, 36px);
  --lg-text-h3: 18px;
  --lg-text-lead: 17px;
  --lg-text-body: 15px;
  --lg-text-small: 13px;
  --lg-text-micro: 12px;
  --lg-weight-light: 300;
  --lg-weight-regular: 400;
  --lg-weight-medium: 500;
  --lg-weight-bold: 700;
  --lg-tracking-hero: -0.045em;
  --lg-tracking-h2: -0.03em;
  --lg-leading: 1.75;
  --lg-leading-tight: 1.08;

  /* Shape and space */
  --lg-radius: 0;
  --lg-border: 1px solid var(--lg-rule);
  --lg-bar-edge: 3px;           /* the orange edge on the active line */
  --lg-gutter: 80px;            /* width of the line-number column */
  --lg-gutter-sm: 44px;           /* the gutter below 640px */
  --lg-buffer: 760px;           /* max width of the text column */
  --lg-wide: 1120px;
  --lg-pad: 24px;               /* side padding of the page */
  --lg-row: 8px;                /* vertical padding of one line */
  --lg-section: 72px;
  --lg-tabs-h: 40px;

  /* Motion */
  --lg-blink: 1.05s;
  --lg-fast: 120ms;
}
