/* ==========================================================================
   VoiceReach AI — Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-charcoal);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
}

p {
  color: var(--color-charcoal);
  line-height: var(--leading-normal);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

section {
  padding: var(--section-padding);
  position: relative;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-navy {
  background: var(--bg-navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy p,
.section-navy span {
  color: var(--color-white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-gray-500); }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  section { padding: 4rem 0; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  section { padding: 3rem 0; }
  .container { padding: 0 var(--space-lg); }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
}
