/* Credits page */
.credits {
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
}

.credits__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-weight: 600;
}

.credits h1 {
  font-size: var(--display-2);
}

.credits h2 {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: var(--display-3);
}

.credits .lede {
  max-width: 44em;
  margin-top: 18px;
}

.credits p a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credits__table {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.credits table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.credits th,
.credits td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.credits thead th {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credits tbody th {
  font-weight: 600;
}

.credits tbody tr:last-child th,
.credits tbody tr:last-child td {
  border-bottom: 0;
}

.credits td a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
  word-break: break-word;
}

.credits td a:hover {
  text-decoration: underline;
}

.credits__license {
  margin-top: 18px;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
