html {
  font-size: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 1rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  color: #05201e;
  background: #9ef0d1;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 800;
  transform: translateY(-120%);
  transition: transform 120ms ease-out;
}

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

:focus-visible {
  outline: 3px solid #f7d774;
  outline-offset: 3px;
}

button,
[role='button'],
nav a {
  min-height: 44px;
}

nav a {
  display: inline-flex;
  align-items: center;
}

body > header,
body > footer {
  width: 100%;
}

body > footer {
  margin-top: 4rem;
}

body > footer nav {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
  }

  a,
  button {
    text-decoration-thickness: 0.15em;
  }
}

@media (forced-colors: active) {
  * {
    forced-color-adjust: auto;
  }

  .inbox-card,
  .notice,
  .partner {
    border: 1px solid CanvasText;
  }
}
