:root {
  color: var(--page-fg);
  background: var(--page-bg);
  font-family: var(--font-body);
}

html {
  background: var(--page-bg);
}

body {
  position: relative;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: var(--font-body);
  font-weight: 300;
  isolation: isolate;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background: none;
}

@supports (mix-blend-mode: multiply) {
  body::before {
    opacity: 0.7;
    background-image: url('../assets/images/paper-texture.jpg');
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 100% auto;
    mix-blend-mode: multiply;
  }
}

body.is-mobile-runtime::before {
  opacity: 0;
  background: none;
}

body.is-intro-scroll-locked {
  height: 100vh;
  overflow: hidden;
}

a {
  font-family: var(--font-body);
  font-weight: 400;
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
[data-text-role='heading'] {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: var(--heading-letter-spacing);
  text-transform: none;
}

[data-text-role='heading-outlined'] {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: var(--heading-letter-spacing);
  color: transparent;
  -webkit-text-stroke: var(--heading-outline-width) var(--page-fg);
  paint-order: stroke fill;
}

[data-text-role='subheading'] {
  font-family: var(--font-subheading);
  font-weight: 400;
  letter-spacing: var(--subheading-letter-spacing);
}

[data-text-role='subheading-display'] {
  font-size: var(--subheading-display-size);
  line-height: var(--subheading-display-line-height);
}

p,
li,
[data-text-role='body'] {
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: var(--body-letter-spacing);
}

.mobile-flow-spacer {
  display: none;
}

@media (max-width: 1023px) {
  body.is-mobile-runtime .mobile-flow-spacer {
    display: block;
    width: 100%;
    height: 10rem;
    pointer-events: none;
  }
}
