:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #0d1b2a;
  --text-muted: #5c6b7a;
  --accent: #016fd0;
  --accent-light: #e8f2fc;
  --border: #e2e8f0;
  --max-width: 720px;
}

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

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

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

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

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

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

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

.hero .tagline {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

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

.prose h1 {
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
}

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

.prose h2 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
}

.prose h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.35rem;
}

.prose p,
.prose li {
  font-size: 0.9375rem;
  color: var(--text);
}

.prose ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.contact-box {
  background: var(--accent-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

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

.site-footer a {
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  main {
    padding-top: 2.5rem;
  }
}
