body {
  font-family: var(--font-stack);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  cursor: pointer;
  color: inherit;
}

main {
  min-height: 100vh;
}

body .site-main {
  padding-bottom: var(--layout-main-padding);
}

body.has-header-offset .site-main {
  padding-top: var(--layout-header-height);
}

section {
  padding-inline: var(--layout-inline-padding);

  &.fullscreen {
    height: 100vh;
  }

  &.has-background-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  &.bottom-margin-s {
    margin-bottom: 16px;
  }

  &.bottom-margin-m {
    margin-bottom: 48px;
  }

  &.bottom-margin-l {
    margin-bottom: 98px;
  }

  &.top-offset {
    margin-top: 72px;
  }

  &.top-offset-l {
    margin-top: 168px;
  }

  .section-inner {
    width: 100%;
    max-width: var(--layout-max-width);
    padding-inline: var(--layout-inline-padding);
    margin: 0 auto;
  }

  .section-block {
    width: 100%;
    padding: 48px;
    background-color: var(--color-white);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.03),
    0 0 40px rgba(0, 0, 0, 0.06);
  }

}

#scrim {
  position: fixed;
  visibility: hidden;
  z-index: var(--z-overlay);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity var(--motion-duration-slow) var(--motion-ease-standard);
  &.active {
    visibility: visible;
    opacity: 1;
  }
}
