/* Document reset and base styles */

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 88px; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { 
  font-size: clamp(2rem, 3.6vw, 2.5rem); 
  line-height: 1.02;
  margin-bottom: 0.25em;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; margin-bottom: 44px; }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }

.text-accent {
  color: var(--accent-bright);
  font-weight: inherit;
  position: relative;
  -webkit-text-stroke: 0.15px currentColor;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.section { padding: var(--section-padding) 0; position: relative; scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 1px solid var(--accent-bright); outline-offset: 3px; }
