/*
 * Blueprint Band: design tokens
 * Clear, welcoming and a little nerdy. White pages with navy text, broken by one
 * full-bleed ultramarine band drawn over a faint blueprint grid and a few pale
 * diagonal light shards. Square buttons in a monospace face cast a hard periwinkle
 * shadow down and to the left. Floating app windows hold the product, and a bright
 * spectrum of vertical stripes is the one loud thing on the page.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --bb-paper: #ffffff;
  --bb-mist: #eef1fb;          /* soft section fill, inputs, code wells */
  --bb-line: #d5dbf2;          /* hairlines between rows and around cards */

  /* Navy ink */
  --bb-ink: #141b4f;           /* headlines and body text */
  --bb-soft: #4a5285;          /* secondary text */
  --bb-faint: #8a90b8;         /* captions, placeholders */

  /* The band */
  --bb-band: #1f2a92;          /* full-bleed hero band, footer, primary fill */
  --bb-band-deep: #161f75;     /* pressed and hover fill on the band */
  --bb-band-grid: rgba(255, 255, 255, 0.12); /* blueprint grid lines on the band */
  --bb-shard: rgba(120, 150, 255, 0.22);     /* pale diagonal light shards */
  --bb-on-band: #ffffff;
  --bb-on-band-soft: #c7cdf5;

  /* Accents */
  --bb-cobalt: #2f55e4;        /* links, focus rings, the logo's front plate */
  --bb-peri: #8d9cf0;          /* the hard offset shadow under buttons and windows */
  --bb-peri-soft: #dde3ff;     /* tags, selected choices */

  /* Spectrum: only inside drawn stripe canvases */
  --bb-s1: #ff2d6f;
  --bb-s2: #ff9a1f;
  --bb-s3: #ffe032;
  --bb-s4: #3fe07a;
  --bb-s5: #19c8f0;
  --bb-s6: #6a4bff;
  --bb-s7: #e636e0;

  /* Window chrome */
  --bb-chrome: #c9d4ee;        /* window title bars */
  --bb-dot-red: #f0625b;
  --bb-dot-amber: #f5bd3f;
  --bb-dot-green: #5ccb5f;

  /* Fonts */
  --bb-font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --bb-font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Type scale */
  --bb-text-display: clamp(40px, 5.6vw, 72px);
  --bb-text-h1: clamp(34px, 4.4vw, 56px);
  --bb-text-h2: clamp(26px, 2.8vw, 36px);
  --bb-text-h3: 20px;
  --bb-text-lead: clamp(18px, 1.6vw, 22px);
  --bb-text-body: 17px;
  --bb-text-small: 14px;
  --bb-text-mono: 13px;
  --bb-text-micro: 11px;

  /* Shape */
  --bb-radius-0: 0;            /* buttons, cards, inputs: always square */
  --bb-radius-window: 6px;     /* app windows only */
  --bb-radius-pill: 999px;     /* search field and tiny tags only */
  --bb-border: 1px solid var(--bb-line);
  --bb-border-strong: 2px solid var(--bb-ink);
  --bb-border-band: 2px solid var(--bb-on-band);

  /* Shadows: hard, offset down and to the left, never blurred */
  --bb-shadow-btn: -6px 6px 0 var(--bb-peri);
  --bb-shadow-btn-press: -2px 2px 0 var(--bb-peri);
  --bb-shadow-card: -8px 8px 0 var(--bb-peri-soft);
  --bb-shadow-window: 0 24px 48px rgba(10, 16, 70, 0.35);

  /* Space */
  --bb-space-1: 4px;
  --bb-space-2: 8px;
  --bb-space-3: 12px;
  --bb-space-4: 16px;
  --bb-space-5: 24px;
  --bb-space-6: 32px;
  --bb-space-7: 48px;
  --bb-space-8: 64px;
  --bb-space-9: 96px;
  --bb-grid-cell: 96px;        /* size of the blueprint grid squares */
  --bb-max: 1200px;
  --bb-gutter: clamp(20px, 4.5vw, 64px);
}
