/* Plain CSS, no external files, no scripts. Follows the device's light or dark mode. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f3f3f6;
  --text: #111114;
  --muted: #55555f;
  --accent: #4338ca;
  --border: #d5d5de;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --surface: #18181f;
    --text: #f4f4f6;
    --muted: #a9a9b4;
    --accent: #a5b4fc;
    --border: #2e2e38;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

header.top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

header.top img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
}

header.top a {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

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

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
  color: var(--accent);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 1.5rem 0 0.35rem;
}

p,
ul {
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.updated,
.lead {
  color: var(--muted);
}

.contact {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.contact p {
  margin: 0;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.links a {
  display: block;
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.hero img {
  width: 6rem;
  height: 6rem;
  border-radius: 1.4rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
}

footer a {
  margin-right: 1rem;
}
