/*
  Night Bloom: design tokens
  A deep indigo night with a violet and orchid glow blooming behind the content.
  Chunky rounded geometric headlines, white pill buttons with violet text,
  split pill badges and mono command chips you can copy.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Figtree:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --nb-night: #0C0A22;        /* the page */
  --nb-deep: #130F33;         /* cards, panels, inputs */
  --nb-raise: #1C1748;        /* raised tiles, chips, hover */
  --nb-line: #2C2563;         /* hairlines and card borders */
  --nb-line-bright: #463C8E;  /* input borders, outline buttons */

  /* Text */
  --nb-text: #F5F2FF;         /* headlines and main text */
  --nb-haze: #B8B0E0;         /* leads and body copy */
  --nb-dim: #7D74AE;          /* meta, captions, placeholders */

  /* Glow and accents */
  --nb-indigo: #3B2FC2;       /* the cool side of the bloom */
  --nb-violet: #7F3FE8;       /* the main accent, button text, links */
  --nb-orchid: #D04FC0;       /* the warm side of the bloom, used sparingly */
  --nb-lilac: #B9A2FF;        /* links and icons on dark */
  --nb-mint: #5EE0B0;         /* success and "available" states only */
  --nb-coral: #FF7A8A;        /* errors only */

  /* Gradients */
  --nb-bloom:
    radial-gradient(60% 70% at 78% 40%, rgba(127, 63, 232, 0.55), transparent 70%),
    radial-gradient(55% 65% at 18% 20%, rgba(59, 47, 194, 0.6), transparent 70%),
    radial-gradient(40% 50% at 60% 95%, rgba(208, 79, 192, 0.28), transparent 70%);
  --nb-bloom-soft:
    radial-gradient(50% 60% at 50% 0%, rgba(127, 63, 232, 0.35), transparent 70%),
    radial-gradient(40% 50% at 10% 30%, rgba(59, 47, 194, 0.3), transparent 70%);
  --nb-chip-grad: linear-gradient(100deg, var(--nb-indigo), var(--nb-violet) 55%, var(--nb-orchid));
  --nb-text-grad: linear-gradient(100deg, var(--nb-lilac), var(--nb-orchid));
  --nb-edge-grad: linear-gradient(90deg, transparent, rgba(185, 162, 255, 0.7), transparent);

  /* Fonts */
  --nb-font-display: Outfit, "Avenir Next", Arial, sans-serif;
  --nb-font-body: Figtree, "Helvetica Neue", Arial, sans-serif;
  --nb-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --nb-text-display: clamp(40px, 6.2vw, 80px);
  --nb-text-h1: clamp(36px, 5vw, 60px);
  --nb-text-h2: clamp(28px, 3.4vw, 42px);
  --nb-text-h3: 20px;
  --nb-text-lead: 19px;
  --nb-text-body: 16px;
  --nb-text-small: 14px;
  --nb-text-micro: 12px;

  /* Shape */
  --nb-radius-pill: 999px;
  --nb-radius-lg: 22px;
  --nb-radius-md: 14px;
  --nb-radius-sm: 10px;

  /* Shadows */
  --nb-shadow: 0 24px 60px -20px rgba(4, 2, 20, 0.8);
  --nb-shadow-glow: 0 0 0 1px rgba(185, 162, 255, 0.25), 0 20px 60px -10px rgba(127, 63, 232, 0.55);
  --nb-shadow-btn: 0 8px 30px -8px rgba(185, 162, 255, 0.55);

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

  /* Layout */
  --nb-container: 1200px;
  --nb-narrow: 720px;
  --nb-gutter: 32px;
}

@media (max-width: 640px) {
  :root { --nb-gutter: 20px; }
}
