/* =========================
   BASE
   De Bruijn Performance
   ========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;

  color: var(--color-text);
  background: var(--color-background);

  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}


/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 20px;

  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: clamp(46px, 6vw, 72px);
}

h2 {
  font-size: clamp(36px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

p {
  margin-top: 0;
  margin-bottom: 20px;
}


/* =========================
   GENERAL
   ========================= */

.container {
  width: min(1180px, calc(100% - 60px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin-bottom: 14px;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--color-primary);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 60px;
}


/* =========================
   ACCESSIBILITY
   ========================= */

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

  .container {
    width: min(100% - 36px, 1180px);
  }

  .section {
    padding: 75px 0;
  }

}