/* ==========================================================================
   EQUITY.SU — Design System Entry Point
   Version: 1.0

   Import order matters:
   1. Tokens (variables) — must load first
   2. Components — depend on tokens
   3. Sections — depend on tokens + components
   4. Animations — depend on tokens
   5. Utilities — override everything, load last
   ========================================================================== */

@import url('./design-tokens.css?v=2.12.2');
@import url('./components.css?v=2.12.2');
@import url('./sections.css?v=2.12.2');
@import url('./animations.css?v=2.12.2');
@import url('./utilities.css?v=2.12.2');

/* -------------------------------------------------------------------
   BASE RESET & GLOBAL STYLES
   ------------------------------------------------------------------- */

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

html {
  font-size: clamp(14px, 1vw + 0.5rem, 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* -------------------------------------------------------------------
   RESPONSIVE TYPOGRAPHY
   ------------------------------------------------------------------- */

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

h1, h2, h3, h4 {
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}
