/* ============================================================
   DFRNT Thread — design tokens
   Palette pulled directly from the brand logo: a rainbow of
   violet → blue → lime → gold → magenta on white.
   ============================================================ */

:root {
  /* Brand spectrum (sampled from the DFRNT logo) */
  --c-violet: #8a2be2;
  --c-purple: #a020f0;
  --c-blue: #1ca9e0;
  --c-cyan: #29c7e8;
  --c-lime: #8dc63f;
  --c-green: #57b947;
  --c-gold: #f7a823;
  --c-orange: #f7791d;
  --c-pink: #ec1e79;
  --c-magenta: #d6219b;

  /* Signature gradient — used for headlines, bars, accents */
  --gradient-rainbow: linear-gradient(
    100deg,
    var(--c-purple) 0%,
    var(--c-blue) 28%,
    var(--c-lime) 50%,
    var(--c-gold) 72%,
    var(--c-pink) 100%
  );
  --gradient-rainbow-soft: linear-gradient(
    100deg,
    rgba(160, 32, 240, 0.14),
    rgba(28, 169, 224, 0.14),
    rgba(141, 198, 63, 0.14),
    rgba(247, 168, 35, 0.14),
    rgba(236, 30, 121, 0.14)
  );

  /* Neutrals */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f7f6fb;
  --color-ink: #16121f; /* near-black with a violet cast */
  --color-ink-soft: #4a4458;
  --color-line: #e8e4f0;
  --color-on-accent: #ffffff;

  /* Typography */
  --font-display: 'Anton', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  --text-2xl: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  --text-hero: clamp(3rem, 1.2rem + 8vw, 7.5rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);

  /* Form / shape */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-sm: 0 2px 8px rgba(22, 18, 31, 0.06);
  --shadow-md: 0 14px 34px rgba(22, 18, 31, 0.1);
  --shadow-lg: 0 30px 70px rgba(22, 18, 31, 0.16);
  --shadow-glow: 0 18px 50px rgba(160, 32, 240, 0.28);

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 320ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1140px;
}
