:root {
  color-scheme: light;
  line-height: 1.6;
  font-weight: 400;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-black);
  overflow-x: hidden;
}

/* Form controls do not inherit the document font by default. */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ MAIN CONTENT ============ */
main {
  flex: 1;
}

/* scroll-margin keeps an anchored section clear of the sticky header. */
section {
  scroll-margin-top: 5.5rem;
}

.section__title {
  font-size: var(--font-size-h2);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 2rem;
  line-height: var(--line-height-normal);
}
