/*
 * Cobalt Floor: design tokens
 * A saturated cobalt stage over plain white paper. The hero is a full-bleed field of electric
 * blue with a faint perspective grid floor receding to the horizon, a single hairline spine down
 * the middle and small paper sheets drifting across the floor. Headlines are a calm book serif,
 * labels are mono capitals, and every corner is square. White paper panels sit on the blue like
 * index cards on a desk. It feels exact, quiet and a little bit from the future.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* The stage */
  --cf-cobalt: #1d21e6;        /* hero and CTA stages, primary buttons on paper, links */
  --cf-cobalt-deep: #1417b4;   /* stage bottom fade, hover on cobalt buttons */
  --cf-cobalt-soft: #3a3ef0;   /* ghost buttons and chips sitting on the stage */
  --cf-night: #0a0c66;         /* the announcement strip, code blocks */
  --cf-ice: #c3c6ff;           /* secondary text on the stage */
  --cf-floor-line: rgba(255, 255, 255, .13); /* grid floor and spine on the stage */
  --cf-sheet-line: rgba(255, 255, 255, .55); /* outlines of drifting sheets */

  /* Paper */
  --cf-paper: #ffffff;         /* main background below the stage, panels on the stage */
  --cf-fog: #f3f4fa;           /* quiet sections, table heads, tool chips */
  --cf-rule: #dcdeea;          /* every hairline on paper */
  --cf-tint: #e8e9fd;          /* selected rows, highlight marks, icon tiles */

  /* Text on paper */
  --cf-ink: #10123a;
  --cf-soft: #575a7c;
  --cf-faint: #8d90ab;

  /* Status, product UI only */
  --cf-ok: #138a5b;
  --cf-warn: #b7791f;
  --cf-error: #c8302f;

  /* Type */
  --cf-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --cf-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cf-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --cf-text-hero: clamp(40px, 5.4vw, 72px);
  --cf-text-h2: clamp(30px, 3.6vw, 46px);
  --cf-text-h3: 22px;
  --cf-text-lead: 18px;
  --cf-text-body: 16px;
  --cf-text-small: 14px;
  --cf-text-label: 12px;
  --cf-tracking-serif: -.022em;
  --cf-tracking-label: .08em;

  /* Shape: square everywhere */
  --cf-radius: 0;
  --cf-border: 1px solid var(--cf-rule);
  --cf-border-stage: 1px solid var(--cf-floor-line);
  --cf-shadow-panel: 0 40px 80px -40px rgba(6, 8, 80, .55);  /* only on paper panels sitting on the stage */
  --cf-focus: 0 0 0 3px rgba(29, 33, 230, .25);

  /* Space */
  --cf-container: 1180px;
  --cf-narrow: 720px;
  --cf-gutter: 28px;
  --cf-section: 120px;
  --cf-section-sm: 72px;
  --cf-nav-h: 64px;
}

@media (max-width: 720px) {
  :root {
    --cf-gutter: 18px;
    --cf-section: 76px;
    --cf-section-sm: 52px;
  }
}
