/*
 * Badge Wall: design tokens
 * Deep midnight navy, heavy rounded-grotesk headlines with a white-to-slate sheen,
 * tiny monospace meta, one sky-blue action color and a coral second line.
 * The signature move: columns of round stitched badges (dashed ring, glowing rim,
 * a small drawn glyph inside) that fade out toward the page edges, and cards that
 * wear a badge sitting half over their top edge.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;800;900&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: one midnight base, two raised steps */
  --bw-night: #070b18;      /* page background */
  --bw-deep: #0c1224;       /* alternate sections, footer */
  --bw-panel: #141b31;      /* cards, inputs, secondary buttons */
  --bw-panel-2: #1c2541;    /* hover on panels */
  --bw-line: #232c4a;       /* every border and divider */

  /* Text */
  --bw-text: #eef1f8;
  --bw-soft: #9aa3bf;
  --bw-faint: #5d6684;

  /* Action and accent */
  --bw-sky: #1fa6f0;        /* primary buttons, links, focus */
  --bw-sky-dark: #1388cc;
  --bw-coral: #f2835c;      /* the second line of a two-line heading, one per section */

  /* Badge rings: used only on badges and badge-colored chips */
  --bw-ruby: #e2445c;
  --bw-cobalt: #3d6ff2;
  --bw-gold: #f3c24d;
  --bw-moss: #55c38a;

  /* Headline sheen and spotlight */
  --bw-sheen: linear-gradient(180deg, #ffffff 30%, #a9b2cc 100%);
  --bw-spot: radial-gradient(60% 70% at 50% 0%, rgba(80, 110, 200, .16), transparent 70%);

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

  --bw-text-hero: clamp(44px, 6.6vw, 84px);
  --bw-text-h2: clamp(30px, 3.6vw, 44px);
  --bw-text-h3: 20px;
  --bw-text-lead: 19px;
  --bw-text-body: 16px;
  --bw-text-small: 14px;
  --bw-text-micro: 11px;

  --bw-tracking-hero: -.035em;
  --bw-tracking-h2: -.025em;
  --bw-tracking-logo: .22em;

  /* Shape: soft rectangles for UI, perfect circles for badges */
  --bw-radius-sm: 6px;
  --bw-radius: 10px;
  --bw-radius-lg: 16px;
  --bw-border: 1px solid var(--bw-line);
  --bw-ring: 4px;                          /* badge ring thickness */
  --bw-glow: 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 40px rgba(0, 0, 0, .45);
  --bw-badge-glow: 0 0 18px;               /* + a ring color, see .bw-badge */

  /* Space */
  --bw-section: clamp(72px, 9vw, 120px);
  --bw-container: 1180px;
  --bw-narrow: 720px;

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