/* ===================================================
   base.css — Reset, Root Elements & Layout Shell
   Depends on: variables.css
   =================================================== */

/* ── Box-model reset ──────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark mode body background */
body.dark-mode {
  background-color: var(--white); /* dark-mode token overrides this to near-black */
  color: var(--text);
}

/* ── Inline elements ──────────────────────────────── */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Layout container ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: var(--white);
}

.footer-container {
  background-color: var(--off-white);
  padding: 50px 15px;
  margin: 0;
}

/* ── Section typography ───────────────────────────── */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

.question {
  color: var(--text);
}