/* ==========================================================================
   RESET.CSS — normalize, box-sizing, global design tokens
   ========================================================================== */

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  overflow-wrap: break-word;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--color-gold-light);
  color: var(--color-navy-deep);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --color-navy: #0B2545;
  --color-navy-deep: #071A33;
  --color-steel: #1B4965;
  --color-steel-light: #5B8AA6;
  --color-gold: #C89B3C;
  --color-gold-light: #E7C878;
  --color-green: #2D8659;
  --color-green-light: #4FAE7F;
  --color-bg: #F7F4EC;
  --color-paper: #FFFFFF;
  --color-ink: #151A21;
  --color-ink-soft: #5B6472;
  --color-line: rgba(11, 37, 69, 0.12);
  --color-line-strong: rgba(11, 37, 69, 0.22);
  --color-danger: #B23B3B;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-w: 1180px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 0.8, 0.24, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.35s;
  --dur-slow: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}
