:root {
  --brand: #0a7a72;
  --brand-soft: #e7efed;
  --bg: #f5f8f7;
  --surface: #ffffff;
  --text: #0f1817;
  --muted: #6f7f7a;
  --border: #e7eceb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2fd3c4;
    --brand-soft: #14312e;
    --bg: #0f1817;
    --surface: #16211f;
    --text: #f5f8f7;
    --muted: #7c8d88;
    --border: #24312e;
  }
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

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

header.site .wrap {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  display: inline-block;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 18px;
}

nav a:hover { color: var(--brand); }

h1 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

h2 {
  font-size: 20px;
  margin: 36px 0 8px;
  letter-spacing: -0.01em;
}

h3 { font-size: 17px; margin: 24px 0 6px; }

p, li { font-size: 16px; }

.lead { color: var(--muted); font-size: 17px; }

.updated {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { color: var(--muted); font-weight: 600; white-space: nowrap; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.card.warn { border-left: 4px solid var(--brand); }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 20px 40px;
  text-align: center;
}

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

.cta {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  margin-top: 8px;
}

@media (prefers-color-scheme: dark) {
  .cta { color: #0f1817; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
