:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #5c6370;
  --accent: #4f46e5;
  --border: #e4e7ef;
  --max-width: 42rem;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

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

header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

header.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

nav a {
  font-size: 0.9rem;
  text-decoration: none;
  margin-left: 1rem;
  color: var(--muted);
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(26, 29, 38, 0.04);
}

h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

.updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

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

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.contact-card {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site-footer a {
  margin-right: 1rem;
}

@media (max-width: 520px) {
  nav a {
    margin-left: 0.65rem;
    font-size: 0.82rem;
  }

  article {
    padding: 1.25rem 1rem;
  }
}
