@layer base {
  body {
    background:
      linear-gradient(180deg, var(--fp-color-bg-page-accent), var(--fp-color-bg-page) 18rem),
      var(--fp-color-bg-page);
    color: var(--fp-color-text-primary);
    font-family: var(--fp-font-body);
    line-height: var(--fp-leading-body);
  }

  a {
    color: var(--fp-color-brand-primary-strong);
    text-underline-offset: .18em;
  }

  a:hover {
    color: var(--fp-color-brand-accent);
  }

  :focus-visible {
    outline: 2px solid var(--fp-color-brand-primary);
    outline-offset: 2px;
    box-shadow: var(--fp-shadow-focus);
  }

  ::selection {
    background: var(--fp-color-brand-primary);
    color: var(--fp-color-text-inverse);
  }

  th {
    color: var(--fp-color-brand-accent);
    font-size: var(--fp-text-xs);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  td,
  th {
    border-bottom: 1px solid var(--fp-color-border-subtle);
    padding: var(--fp-space-3);
    vertical-align: top;
  }

  input,
  select,
  textarea {
    min-height: 2.75rem;
    border: 1px solid var(--fp-color-border-subtle);
    border-radius: var(--fp-radius-md);
    background: color-mix(in srgb, var(--fp-color-bg-surface-raised) 82%, #000);
    color: var(--fp-color-text-primary);
    padding: .6rem .7rem;
  }

  textarea {
    min-height: 7rem;
  }

  button,
  .button {
    min-height: 2.75rem;
  }
}
