/*
 * Bright Words: design tokens
 * A warm, hopeful dark style. Flat charcoal surfaces, one rounded geometric sans for
 * everything, and big manifesto headlines where a few key words light up in glacier cyan.
 * Imagery is "dream panes": rounded tiles filled with soft, blurred light (cyan, apricot,
 * lilac) and a small line drawing on top. No starfields, no page gradients.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600&family=Figtree:wght@400;500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: flat charcoal, stepped lighter for cards and raised things */
  --bw-coal: #1e1f22;        /* the page */
  --bw-coal-2: #27292d;      /* cards, panes, inputs */
  --bw-coal-3: #313338;      /* hover, raised chips */
  --bw-line: #3a3d42;        /* every border and divider */

  /* Text */
  --bw-white: #f3f4f1;       /* headlines and body */
  --bw-mist: #a5a9ae;        /* leads, secondary text */
  --bw-faint: #70747a;       /* captions, placeholders */

  /* The one accent: lit words, primary buttons, links, focus rings */
  --bw-cyan: #4ccaea;
  --bw-cyan-deep: #22a5c8;
  --bw-cyan-ink: #0f2a33;    /* text on a cyan button */
  --bw-cyan-soft: rgba(76, 202, 234, .14);

  /* Dream light: only inside dream panes and illustrations, never on text or chrome */
  --bw-apricot: #f2b47e;
  --bw-lilac: #9d8df1;
  --bw-rose: #e98fa8;

  /* Status, only inside product UI */
  --bw-green: #5fd39a;
  --bw-amber: #f0c25c;

  /* Type: one rounded geometric family for display, one friendly sans for reading */
  --bw-display: "Lexend", "Avenir Next", system-ui, sans-serif;
  --bw-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bw-text-hero: clamp(36px, 5.4vw, 68px);
  --bw-text-h2: clamp(30px, 3.8vw, 48px);
  --bw-text-h3: 22px;
  --bw-text-lead: 19px;
  --bw-text-body: 16px;
  --bw-text-small: 14px;
  --bw-text-micro: 12px;

  --bw-tracking-hero: -.025em;
  --bw-tracking-h2: -.02em;
  --bw-leading-hero: 1.16;

  /* Shape: big soft radii, thin lines, glows instead of drop shadows */
  --bw-radius-sm: 10px;
  --bw-radius: 18px;
  --bw-radius-lg: 28px;
  --bw-radius-pill: 999px;
  --bw-border: 1px solid var(--bw-line);
  --bw-glow: 0 0 0 1px rgba(76, 202, 234, .35), 0 10px 40px rgba(76, 202, 234, .18);
  --bw-lift: 0 18px 50px rgba(0, 0, 0, .35);
  --bw-blur: 38px;           /* how soft the dream light is */

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

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