/*
 * Guide Hatch: design tokens
 * A drafting-table dark style. Near-black navy, every block of text sits between full-bleed
 * hairline guide rules, the content column is framed by diagonally hatched gutters, and tiny
 * mono annotations label each block like dimensions on a drawing. Huge, tightly tracked sans
 * headlines, chalk-blue for the one action, sawdust amber only for measurements.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: one deep navy-black, a slightly lifted panel, and the hairlines */
  --gh-night: #050a14;       /* page and frame background */
  --gh-panel: #0b1322;       /* windows, cards, inputs */
  --gh-panel-2: #121c2f;     /* hover, raised chips, the secondary button */
  --gh-line: #18233a;        /* every guide rule and border */
  --gh-line-strong: #26344f; /* frame edges, focused inputs */
  --gh-hatch: #111b2d;       /* the diagonal strokes in the gutters */

  /* Text */
  --gh-paper: #f3f5f9;       /* headlines and strong text */
  --gh-text: #bcc5d4;        /* body copy */
  --gh-soft: #7d889c;        /* leads, secondary text */
  --gh-faint: #4b566b;       /* annotations, placeholders */

  /* Accents: chalk blue is the action color, sawdust amber is only for measurements */
  --gh-chalk: #6fc4ee;
  --gh-chalk-dark: #4aa9d9;
  --gh-chalk-soft: rgba(111, 196, 238, .12);
  --gh-sawdust: #f0b35c;
  --gh-sawdust-soft: rgba(240, 179, 92, .12);
  --gh-green: #59c99a;       /* status inside product UI only */

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

  --gh-text-hero: clamp(46px, 8.2vw, 112px);
  --gh-text-h2: clamp(32px, 4.4vw, 56px);
  --gh-text-h3: 22px;
  --gh-text-lead: 18px;
  --gh-text-body: 16px;
  --gh-text-small: 14px;
  --gh-text-note: 11px;      /* the mono annotations */

  --gh-tracking-hero: -.055em;
  --gh-tracking-h2: -.04em;

  /* Shape: square frame and panels, pills only for buttons and chips */
  --gh-radius-sm: 6px;
  --gh-radius: 12px;
  --gh-radius-lg: 18px;
  --gh-radius-pill: 999px;
  --gh-border: 1px solid var(--gh-line);
  --gh-shadow: 0 0 0 1px var(--gh-line), 0 20px 50px rgba(0, 0, 0, .45);

  /* The hatch pattern used in the gutters and on waste areas */
  --gh-hatch-bg: repeating-linear-gradient(135deg, var(--gh-hatch) 0 1px, transparent 1px 9px);

  /* Space */
  --gh-frame: 1320px;        /* width of the framed column */
  --gh-narrow: 720px;
  --gh-gutter: clamp(12px, 3vw, 40px);  /* hatched gutter width */
  --gh-pad: clamp(16px, 2.4vw, 32px);   /* inner padding of the frame */
  --gh-section: clamp(64px, 9vw, 128px);
  --gh-ease: cubic-bezier(.2, .7, .2, 1);
}
