* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 14px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: var(--color-white);
}

.section__head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead {
  color: var(--color-muted);
  font-size: 18px;
  max-width: 680px;
}

.muted {
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1279px) {
  .container {
    width: calc(100% - 32px);
    max-width: 940px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 24px);
    max-width: 560px;
  }

  .section {
    padding: 48px 0;
  }

  .grid,
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 16px;
  }
}
