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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sm-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--sm-grey-900);
  background: var(--sm-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--sm-font-display);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.4em;
  color: var(--sm-grey-900);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.sm-container {
  width: min(100% - (var(--sm-pad) * 2), var(--sm-container));
  margin-inline: auto;
}

.sm-section {
  padding: 64px 0;
  position: relative;
}

@media (max-width: 900px) {
  .sm-section { padding: 48px 0; }
}

.sm-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sm-eyebrow--left {
  justify-content: flex-start;
}

.sm-eyebrow__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--sm-grey-600);
}

.sm-eyebrow__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sm-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.sm-main {
  flex: 1;
}
