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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-dark);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: var(--fs-lg); }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.section {
  padding: var(--section-pad) 0;
}

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

.section--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--primary h2,
.section--primary h3,
.section--primary p {
  color: var(--color-white);
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

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