/* 94Gen design tokens — Golden Ratio Design System
   φ = 1.618 | Spacing, type sizes and layout proportions derived from the golden ratio.
   Palette: magenta = human · blue = machine · violet = fusion · orange = execution · mint = outcome */
:root {
  /* ── core ink ── */
  --ink:    #171721;
  --ink-2:  #1D1D2B;
  --white:  #FFFFFF;

  /* ── surfaces ── */
  --bg:   #FFFFFF;
  --bg-2: #F6F5FB;

  /* ── text ── */
  --text:   #171721;
  --text-2: #4B4A63;
  --text-3: #6E6D86;

  /* ── brand colours (fills, glows, graphics) ── */
  --magenta: #E949DB;
  --blue:    #63BFF4;
  --violet:  #A78BFA;
  --orange:  #FF7130;
  --mint:    #ADEDC2;

  /* ── text-safe deep variants (≥4.5:1 on white) ── */
  --magenta-d: #C21FB4;
  --blue-d:    #1478B8;
  --violet-d:  #6A4BE0;
  --orange-d:  #C2410C;
  --mint-d:    #0E7F56;

  /* ── dividers ── */
  --line:   rgba(23,23,33,.09);
  --line-2: rgba(23,23,33,.16);

  /* ── gradients ── */
  --iri:  linear-gradient(110deg, var(--magenta), var(--violet) 35%, var(--blue) 65%, var(--mint));
  --deep: linear-gradient(100deg, var(--magenta-d), var(--violet-d) 35%, var(--blue-d) 65%, var(--mint-d));

  /* ── typography ── */
  --f-display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* ── Golden Ratio layout constants (φ = 1.618034) ── */
  --phi:        1.618034;
  --phi-inv:    0.618034;   /* 1 / φ */
  --phi-inv-2:  0.381966;   /* 1 / φ² */

  /* ── Containers & gutters ── */
  --wrap:    1240px;
  --wrap-sm: 840px;
  --gut:     clamp(16px, 3.5vw, 36px);

  /* ── Golden Ratio harmonic spacing scale (responsive & balanced) ── */
  --sp-1: clamp(6px,  0.7vw, 8px);     /* micro gaps, tags */
  --sp-2: clamp(10px, 1.2vw, 14px);    /* inline elements, small gaps */
  --sp-3: clamp(16px, 1.8vw, 22px);    /* buttons, card inner spacing */
  --sp-4: clamp(22px, 2.6vw, 32px);    /* card padding, medium gap */
  --sp-5: clamp(34px, 4.0vw, 50px);    /* head-to-content, module gaps */
  --sp-6: clamp(56px, 6.8vw, 88px);    /* standard section vertical rhythm */
  --sp-7: clamp(84px, 10.0vw, 132px);  /* hero & major landmark breathing room */

  /* Section spacing aliases */
  --space:       var(--sp-6);
  --space-tight: calc(var(--sp-6) * var(--phi-inv));
  --space-hero:  var(--sp-7);

  /* ── Golden Ratio fluid typography scale ── */
  --font-hero: clamp(2.2rem, 5vw,   4.4rem);
  --font-h1:   clamp(2rem,   4.2vw, 3.6rem);
  --font-h2:   clamp(1.7rem, 3.2vw, 2.6rem);
  --font-h3:   clamp(1.18rem,1.8vw, 1.5rem);
  --font-h4:   1.08rem;
  --font-lede:  clamp(1.08rem,1.4vw, 1.26rem);
  --font-body:  1.0625rem;
  --font-sm:    0.92rem;
  --font-xs:    0.82rem;
  --font-giant: clamp(3.2rem, 8.2vw, 7.2rem);

  /* ── Border radii (golden ratio derived) ── */
  --r-xs:   6px;
  --r-sm:   14px;
  --r:      22px;
  --r-lg:   32px;
  --r-full: 999px;

  /* ── motion ── */
  --ease: cubic-bezier(.2, .75, .2, 1);

  color-scheme: light;
}
