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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--secondary);
  padding-top: var(--navbar-height);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

section {
  scroll-margin-top: calc(var(--navbar-height) + var(--space-md));
}

.section {
  padding-block: var(--section-padding);
}

.section-title {
  font-size: var(--section-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: var(--lead);
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: var(--space-xl);
}

ul {
  list-style: none;
}
