/* Reset */
*, *::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: 16px;
  line-height: 1.7;
  color: var(--g800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color var(--motion-duration) var(--motion-easing); }
a:hover { color: var(--blue-dk); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--g900);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}
.section--gray { background: var(--g50); }
.section--dark { background: var(--g900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  color: var(--white);
}
.section--red h2, .section--red h3 { color: var(--white); }
.section--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  color: var(--white);
}
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue-lt {
  background: var(--blue-lt);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section__header p {
  color: var(--g500);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}
.section--dark .section__header p,
.section--red .section__header p,
.section--blue .section__header p {
  color: rgba(255,255,255,0.8);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

/* Visually hidden */
.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;
}
