/* Layout and the blocks of marketing/BLOCKS.md.
   Every color, font, radius, duration and curve is a token from tokens.css. */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-height, 4.5rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  line-height: var(--lh-display);
}

h1 {
  font-size: var(--fs-display);
}

h2 {
  font-size: var(--fs-heading);
}

h3 {
  font-size: var(--fs-title);
  font-weight: 400;
}

h1 em,
h2 em {
  color: var(--brand-deep);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
}

.section {
  padding: var(--space-section) var(--gutter);
  scroll-margin-top: var(--bar-height, 4.5rem);
}

.section--alt {
  background: var(--bg-2);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
