/* ==========================================================================
   Reset + base typography
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* Container + section utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.6;
}
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.85rem; }
}
