*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body-m-size);
  line-height: var(--body-m-line);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-gold);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

a {
  color: inherit;
}

h1, .h1 {
  margin: 0;
  font-size: var(--h1-size);
  line-height: var(--h1-line);
  font-weight: 700;
}

h2, .h2 {
  margin: 0;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  font-weight: 700;
}

h3, .h3 {
  margin: 0;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  font-weight: 600;
}

.body-xl {
  font-size: var(--body-xl-size);
  line-height: var(--body-xl-line);
  font-weight: 400;
}

.body-m {
  font-size: var(--body-m-size);
  line-height: var(--body-m-line);
  font-weight: 400;
}

.caption {
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  font-weight: 500;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--grid-gap);
}
