@layer document-foundation {
  @font-face {
    font-family: "Non Natural Grotesk Plain";
    src: url("../fonts/non-natural-grotesk-plain.woff2") format("woff2");
    font-weight: 300 800;
    font-display: swap;
    font-style: normal;
  }

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

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-block-start: 6rem;
    color-scheme: light;
  }

  body {
    margin: 0;
    min-block-size: 100dvh;
    font-family: var(--gfhv-font-body);
    font-size: var(--gfhv-step-0);
    line-height: 1.6;
    color: var(--gfhv-ink);
    background-color: var(--gfhv-paper);
    background-image:
      linear-gradient(180deg, var(--gfhv-paper-raised), var(--gfhv-paper));
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--gfhv-font-display);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
    font-weight: 700;
  }

  p {
    margin: 0;
    text-wrap: pretty;
  }

  a {
    color: inherit;
    text-underline-offset: 0.18em;
    text-decoration-thickness: from-font;
  }

  img {
    max-inline-size: 100%;
    block-size: auto;
    display: block;
  }

  ul,
  ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  button {
    font: inherit;
    cursor: pointer;
    color: inherit;
  }

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

  :focus-visible {
    outline: 3px solid var(--gfhv-focus);
    outline-offset: 2px;
    border-radius: 2px;
  }

  ::selection {
    background: var(--gfhv-chartreuse);
    color: var(--gfhv-ink);
  }

  .gfhv-skip-link {
    position: absolute;
    inset-block-start: var(--gfhv-space-2xs);
    inset-inline-start: var(--gfhv-space-2xs);
    z-index: 1200;
    padding: var(--gfhv-space-2xs) var(--gfhv-space-s);
    background: var(--gfhv-ink);
    color: var(--gfhv-paper-raised);
    border-radius: var(--gfhv-radius-tight);
    transform: translateY(-160%);
    transition: transform var(--gfhv-motion-fast) var(--gfhv-ease);
  }

  .gfhv-skip-link:focus-visible {
    transform: translateY(0);
  }

  .gfhv-visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .gfhv-shell {
    inline-size: var(--gfhv-shell);
    margin-inline: auto;
  }
}
