/* The privacy and 404 pages (the CSP doesn't allow inline styles). Colours follow src/index.css. */
:root {
  color: #172033;
  background: #f4f6fa;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  padding: 2rem 1rem 3rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  padding: 1.5rem 1.75rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 1.25rem 0 0.5rem;
}

h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.25rem;
}

a {
  color: #1d4ed8;
}

.muted {
  color: #5d6779;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #1e40af;
}

.credits li {
  margin-bottom: 0.75rem;
}

details {
  margin: 0.5rem 0;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5d6779;
}
