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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--soft-black);
  background: var(--grey-blue);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--lime);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Typography */
.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 600;
  letter-spacing: -1.5px;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}
.h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: 600;
}
.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}
.caption {
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--soft-black-70);
}
.caption--light { color: var(--white-70); }
.caption--dark { color: var(--soft-black); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn--lime { background: var(--lime); color: var(--soft-black); }
.btn--lime:hover { background: #d2f03c; }
.btn--lime:active { transform: translateY(1px); }
.btn--outline {
  padding: 9px 17px;
  border: 1px solid var(--soft-black);
  color: var(--soft-black);
}
.btn--outline:hover { background: var(--soft-black); color: var(--white); }
.btn--block { width: 100%; }

.text-link {
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

/* Logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 95px;
  color: var(--soft-black);
}
.logo__text {
  font-size: 6.46px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 1.62px; /* fits the caption to the 95px mark, as in the design */
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__text b { font-weight: 800; }
.logo--light { color: var(--white); }

/* Lists with an icon bullet */
.icon-list { display: flex; flex-direction: column; gap: 11px; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; }
.icon-list img { flex: none; margin-top: 3px; }
.icon-list--tight { gap: 14px; }
.icon-list--tight li { gap: 8px; }

/* Lists with a lime dot */
.dot-list { display: flex; flex-direction: column; gap: 8px; }
.dot-list li { position: relative; padding-left: 13px; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
