/* Danish Foundation Academy — token contract. Single source of truth for the look. */
:root {
  /* ---- Ground: deep green-black, not pure black ---- */
  --bg:            #050d09;
  --bg-raised:     #0a160f;
  --bg-card:       #0d1b13;
  --bg-card-hover: #112219;

  /* ---- Accent: one neon green, used sparingly ---- */
  --accent:        #3ddc84;
  --accent-bright: #5bff9e;
  --accent-dim:    #1f8f52;
  --accent-glow:   rgba(61, 220, 132, .28);
  --accent-wash:   rgba(61, 220, 132, .07);

  /* ---- Text: AA+ on --bg ---- */
  --fg:            #eaf5ee;   /* 16.1:1 on --bg */
  --fg-muted:      #9db3a6;   /* 7.2:1  */
  --fg-dim:        #6c8277;   /* 4.6:1  — never below 16px */

  /* ---- Lines ---- */
  --line:          rgba(234, 245, 238, .09);
  --line-strong:   rgba(61, 220, 132, .32);

  /* ---- Type ---- */
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

  --step--1: clamp(.82rem, .79rem + .12vw, .88rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + .76vw, 2rem);
  --step-3:  clamp(1.9rem, 1.58rem + 1.55vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.78rem + 3vw, 4.2rem);
  --step-5:  clamp(3rem, 1.9rem + 5.2vw, 6rem);

  --tracking-eyebrow: .18em;
  --leading-tight: 1.04;
  --leading-body:  1.65;

  /* ---- Space: 4px base ---- */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 3rem;   --s-8: 4rem;
  --s-9: 6rem;   --s-10: 8rem;
  --section-y: clamp(4rem, 9vw, 8rem);
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --measure:   66ch;
  --max-w:     1180px;

  /* ---- Radius / depth ---- */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -24px rgba(0,0,0,.9);
  --shadow-glow: 0 0 0 1px var(--line-strong), 0 0 48px -8px var(--accent-glow);

  /* ---- Motion: calm, per brief ---- */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur-fast: 140ms; --dur: 260ms; --dur-slow: 560ms;
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}
