:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #5c6370;
  --accent: #087e8b;
  --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 {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

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

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

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 {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  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,
ol {
  margin: 0.5rem 0 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

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

.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) {
  header.site-header .inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  nav a {
    margin-left: 0;
    font-size: 0.82rem;
  }

  article {
    padding: 1.25rem 1rem;
  }
}
