html,
body {
  font-family: 'Inter', system-ui, sans-serif;
}

.font-display {
  font-family: 'Fraunces', Georgia, serif;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 100;
  background: #1d4ed8;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex='-1']):focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
  border-radius: 0.5rem;
}

.legal h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: #475569;
  line-height: 1.7;
}

.legal p,
.legal ul {
  margin-bottom: 1rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.legal a {
  color: #1d4ed8;
}

.legal a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.legal strong {
  color: #0f172a;
}

details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary svg.chev {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn .6s ease-out both;
}
