/* ==========================================================================
   Base – reset, accessibility helpers, typography, shared keyframes
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 500;
  font-stretch: 100%;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, summary, [role="switch"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: var(--radius-btn);
  background: var(--lime); color: var(--neutral-950);
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
/* Display face: condensed uppercase headlines and big numbers */
.hero__title, .section__title, .cta__title, .stat span, .system-card span,
.campaign__stats dd, .site-footer__tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0;
}
.section__title {
  color: var(--heading);
  font-size: var(--fs-lg);
  text-align: center;
  max-width: 1100px;
  margin-inline: auto;
}
.section__title--xl { font-size: var(--fs-xl); max-width: none; }
.section__title, .cta__title { line-height: 1.04; text-wrap: balance; }
.section__title--md { font-size: var(--fs-md); max-width: 900px; }
.section__lead {
  margin: 16px auto 0;
  max-width: 470px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
}
.view--creators .section__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }

.text-gradient {
  background: linear-gradient(90deg, var(--neutral-100), var(--lime));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Keyframes shared by several components ---------- */
@keyframes spin { to { rotate: 1turn; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes breathe { from { scale: .9; opacity: .28; } to { scale: 1.08; } }

/* ---------- Responsive & preferences ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  .section__title, .cta__title, .section__lead, .cta__text { text-wrap: balance; }
}

/* Reduced motion: every animation and transition jumps to its end state */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
}
