:root,
[data-theme="light"] {
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.18vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.24vw, 1rem);
  --text-base: clamp(1rem, 0.97rem + 0.22vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.22rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --text-3xl: clamp(2.75rem, 1.9rem + 3.6vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 999px;

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Forge Studio brand colors */
  --color-primary: #5B21B6;
  --color-primary-hover: #4C1D95;
  --color-accent: #06B6D4;
  --color-accent-hover: #0891B2;

  --color-bg: #F9FAFB;
  --color-surface: #FFFFFF;
  --color-surface-2: #F3F4F6;
  --color-border: #E5E7EB;

  --color-text: #111827;
  --color-text-muted: #4B5563;
  --color-text-faint: #9CA3AF;
  --color-text-inverse: #F9FAFB;

  --color-dark: #0D0D14;
  --color-dark-2: #1A1A2E;

  --color-success: #166534;
  --color-warning: #B45309;
  --color-error: #B91C1C;

  --shadow-sm: 0 8px 24px rgba(91, 33, 182, 0.08);
  --shadow-md: 0 18px 48px rgba(91, 33, 182, 0.14);
  --shadow-lg: 0 28px 72px rgba(13, 13, 20, 0.22);

  --gradient-hero: linear-gradient(135deg, rgba(13, 13, 20, 0.92), rgba(91, 33, 182, 0.68));
  --gradient-cta: linear-gradient(135deg, #0D0D14 0%, #5B21B6 52%, #06B6D4 100%);

  --container: 1200px;
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;
  --header-height: 88px;
}

[data-theme="dark"] {
  --color-bg: #0D0D14;
  --color-surface: #13131F;
  --color-surface-2: #1A1A2E;
  --color-border: #2D2D44;

  --color-text: #F9FAFB;
  --color-text-muted: #9CA3AF;
  --color-text-faint: #6B7280;
  --color-text-inverse: #F9FAFB;

  --color-dark: #0D0D14;
  --color-dark-2: #1A1A2E;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.52);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
