@layer base {
  html { font-size: 100%; }
  @media (min-width: 100ch) {
    html { font-size: 112.5%; }
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: color 100ms ease-out, text-decoration-color 100ms ease-out;
  }
  a:hover { color: var(--blip); }

  a:not([class]) {
    text-decoration: underline;
    text-decoration-color: var(--quiet);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
  }
  a:not([class]):hover { text-decoration-color: var(--blip); }

  :is(a, button):focus-visible {
    border-radius: 0.25ch;
    outline: 2px solid var(--signal);
    outline-offset: 2px;
  }

  ::selection { background: var(--blip); color: var(--paper); }

  h3 {
    font-size: 1.375rem;
    letter-spacing: -0.015em;
    margin-block: 0 0.625rem;
  }

  .note { font-size: 0.875rem; color: var(--ink-muted); }
}
