:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1c2024;
  --text-muted: #565d66;
  --border: #e2e5e9;
  --accent: #2f5d62;
  --accent-hover: #234548;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101214;
    --surface: #17191c;
    --text: #eceef0;
    --text-muted: #a4abb3;
    --border: #2a2d31;
    --accent: #7fb8bd;
    --accent-hover: #9dcbcf;
  }
}

* {
  box-sizing: border-box;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

nav.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
  color: var(--accent);
}

main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem;
  }
  .wrap {
    padding: 2rem 1rem 3rem;
  }
}

h1 {
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.4rem;
}

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

a:hover,
a:focus-visible {
  color: var(--accent-hover);
}

.meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.notice {
  background: rgba(127, 184, 189, 0.12);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.links-list a {
  display: inline-block;
  font-weight: 500;
}

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

.tagline {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
