/* =========================
   RESET
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================
   CONTAINER
========================== */

.container {
  width: min(calc(100% - 48px), var(--container-width));

  margin-inline: auto;
}

/* =========================
   TYPOGRAPHY
========================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

p {
  color: var(--color-text-light);
}

/* =========================
   SECTION LABEL
========================== */

.section-label {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--color-blue);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================
   FOCUS STATES
========================== */

:focus-visible {
  outline: 3px solid rgba(23, 105, 255, 0.3);
  outline-offset: 3px;
}

/* =========================
   BUTTON RESET
========================== */

button {
  border: 0;
  background: none;
}

/* =========================
   RESPONSIVE CONTAINER
========================== */

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }
}
