/* =========================================================
   Rec Yourself, design tokens
   Every brand decision lives here. To apply a brand guide,
   edit only this file: colors, fonts, spacing, radius, motion.
   ========================================================= */

:root {
  /* ---- Color: surfaces ---- */
  --color-bg: #050505;
  --color-surface: #0d0d0d;
  --color-surface-2: #151515;
  --color-surface-3: #1e1e1e;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  /* ---- Color: text ---- */
  --color-text: #f3f0eb;
  --color-text-muted: #a8a49d;
  --color-text-dim: #6f6b65;

  /* ---- Color: brand accent ---- */
  --color-accent: #f7440b;
  --color-accent-hover: #ff5f2b;
  --color-accent-soft: rgba(247, 68, 11, 0.12);
  --color-accent-glow: rgba(247, 68, 11, 0.35);
  --color-on-accent: #0a0a0a; /* black on orange = 5.5:1 contrast */

  /* ---- Color: feedback ---- */
  --color-success: #3ddc84;
  --color-error: #ff6b6b;

  /* ---- Typography ---- */
  --font-display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --text-hero: clamp(2.6rem, 1rem + 7vw, 7rem);

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --leading-tight: 1.02;
  --leading-snug: 1.2;
  --leading-body: 1.6;
  --tracking-display: -0.03em;
  --tracking-label: 0.14em;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;  /* 4  */
  --space-2: 0.5rem;   /* 8  */
  --space-3: 1rem;     /* 16 */
  --space-4: 1.5rem;   /* 24 */
  --space-5: 2rem;     /* 32 */
  --space-6: 3rem;     /* 48 */
  --space-7: 4rem;     /* 64 */
  --space-8: 6rem;     /* 96 */
  --space-9: 9rem;     /* 144 */

  --section-gap: clamp(var(--space-7), 10vw, var(--space-9));
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* ---- Shape ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Elevation ---- */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 60px -30px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px var(--color-accent), 0 10px 40px -10px var(--color-accent-glow);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 800ms;
}
