/* tokens.css
   The design tokens for asknimbus.io, copied from DESIGN.md section 9.
   Every page shares this file. Change a value here and it changes everywhere. */

/* Fonts are stored in this folder. Nothing is fetched from another company. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Brand colours */
  --ink: #02070A;
  --white: #FFFFFF;
  --main: #0297DE;
  --orange: #FC734D;
  --cream: #FFF4EC;
  --mint: #5EEAD4;
  --gold: #FFC23D;

  /* Tints: brand colours at lower opacity. No new colours. */
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.56);
  --glass: rgba(2, 7, 10, 0.62);
  --glass-strong: rgba(2, 7, 10, 0.80);
  --glass-clear: rgba(2, 7, 10, 0.40);
  --glass-over-glow: rgba(2, 7, 10, 0.50);
  --glass-head: rgba(2, 7, 10, 0.66);
  --edge: rgba(255, 255, 255, 0.14);
  --edge-strong: rgba(255, 255, 255, 0.28);
  --edge-field: rgba(255, 255, 255, 0.45);
  --flute: rgba(255, 255, 255, 0.03);

  /* Glow. Change this one line to change the glow colour. */
  --glow: var(--main);

  /* Fonts */
  --font-text: 'Space Grotesk', system-ui, sans-serif;
  --font-label: 'IBM Plex Mono', ui-monospace, monospace;
  --font-note: 'Caveat', cursive;

  /* Spacing */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-9: 96px;  --space-10: 128px;

  /* Shape */
  --radius-pill: 999px;
  --radius-frame: 28px;
  --radius-panel: 24px;
  --radius-card: 18px;
  --radius-field: 12px;
  --blur-glass: 18px;
  --blur-glow: 60px;

  /* Clear glass with lit edges (DESIGN.md 6.4). White and Midnight Black at low opacity only. */
  --glass-rich: saturate(170%);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0.05));
  --rim: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.14) 28%, rgba(255, 255, 255, 0.05) 62%, rgba(255, 255, 255, 0.34) 100%);
  --lit: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 16px 24px -18px rgba(255, 255, 255, 0.20), inset 0 -18px 24px -18px rgba(2, 7, 10, 0.75);
  --lift: 0 22px 44px -24px rgba(2, 7, 10, 0.90);
  --glow-main: 0 0 48px rgba(2, 151, 222, 0.45);
  --glow-action: 0 8px 32px rgba(252, 115, 77, 0.35);

  /* Layout */
  --content-width: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}
