/* The app's dark theme. Every color is a ThemeHex value of App/Sources/Theme/Theme.swift (scripts/check_site.py). */

:root {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #071311;
  color: #EAF4F0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

a {
  color: #52E584;
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 2px solid #52E584;
  outline-offset: 2px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.95rem;
}

h1 {
  margin: 2rem 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: #52E584;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.75rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  color: #8FA8A0;
  font-size: 1.05rem;
}

section {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #1F3530;
  border-radius: 14px;
  background: #0E1C1A;
}

.links {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: block;
  margin: 0.5rem 0;
  padding: 0.85rem 1.25rem;
  border: 1px solid #1F3530;
  border-radius: 14px;
  background: #0E1C1A;
  text-decoration: none;
}

footer {
  margin-top: 2rem;
  color: #8FA8A0;
  font-size: 0.95rem;
}
