:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --background: #ffffff;
  --rule: #d2d2d7;
  --accent: #2f49d1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --background: #1c1c1e;
    --rule: #424245;
    --accent: #93a5ff;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--accent);
}

header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

h1 {
  margin: 40px 0 8px;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 4px;
  font-size: 1rem;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 1.2em;
}

.date {
  color: var(--secondary);
}

.summary {
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero {
  padding-top: 56px;
  text-align: center;
}

.hero h1 {
  margin-top: 16px;
}

.hero .tagline {
  color: var(--secondary);
  font-size: 1.2rem;
}

.hero .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 28px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 0.875rem;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 12px;
}

.languages a {
  color: inherit;
  text-decoration: none;
}

.languages a:hover {
  text-decoration: underline;
}

.languages a[aria-current] {
  color: var(--text);
  font-weight: 600;
}
