/*
 * Guide Rail: design tokens
 * A charcoal page drawn on a visible layout grid. Two thin vertical rails frame the content
 * column, section rules cross them with tiny plus marks, and panels sit inside like cells on a
 * blueprint. Heavy, tight sans headlines in white with the last line in mint. Mint pill buttons,
 * mono labels and code-style cards with soft syntax colors.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: charcoal, one step up for panels, one more for inputs */
  --gr-night: #101214;
  --gr-panel: #16191c;
  --gr-panel-2: #1d2124;
  --gr-line: #25292d;
  --gr-line-2: #33383d;

  /* Text */
  --gr-text: #f3f5f4;
  --gr-dim: #969da3;
  --gr-faint: #5f666c;

  /* Mint: the one accent. Buttons, the last headline line, active tabs, focus */
  --gr-mint: #55e6c1;
  --gr-mint-ink: #0b1f1a;
  --gr-mint-soft: rgba(85, 230, 193, .12);

  /* Syntax colors: only inside code cards, charts and product UI */
  --gr-plum: #c7a2ff;
  --gr-sand: #f0c879;
  --gr-coral: #ff8a7a;

  /* Type */
  --gr-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gr-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gr-text-hero: clamp(42px, 5.4vw, 68px);
  --gr-text-h2: clamp(30px, 3.6vw, 46px);
  --gr-text-h3: 19px;
  --gr-text-lead: 18px;
  --gr-text-body: 16px;
  --gr-text-small: 14px;
  --gr-text-micro: 12px;

  --gr-tracking-hero: -.035em;
  --gr-tracking-h2: -.03em;

  /* Shape: soft cells, pill buttons, hairline borders everywhere */
  --gr-radius-sm: 8px;
  --gr-radius: 12px;
  --gr-radius-lg: 16px;
  --gr-radius-pill: 999px;
  --gr-border: 1px solid var(--gr-line);
  --gr-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --gr-ring: 0 0 0 3px var(--gr-mint-soft);

  /* The rails: the width of the framed column and the plus mark size */
  --gr-container: 1180px;
  --gr-gutter: 48px;
  --gr-narrow: 700px;
  --gr-cross: 9px;

  /* Space */
  --gr-section: clamp(72px, 9vw, 120px);

  /* Motion */
  --gr-ease: cubic-bezier(.2, .8, .2, 1);
}
