:root {
  color-scheme: light dark;
  --brand: #006a4e;
  --brand-hover: #00533d;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-muted: #eef3f1;
  --text: #14201b;
  --text-muted: #4b5d56;
  --border: #d5e0db;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #25a17d;
    --brand-hover: #35b992;
    --bg: #0e1512;
    --surface: #16201c;
    --surface-muted: #1e2c26;
    --text: #edf4f0;
    --text-muted: #a6b8b0;
    --border: #2a3c35;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
}

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

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

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

a:hover,
a:focus-visible {
  color: var(--brand-hover);
  text-decoration: underline;
}

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

.header-inner,
.main-content,
.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.main-content {
  padding-top: 32px;
  padding-bottom: 48px;
}

.hero {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--surface-muted);
  color: var(--brand);
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: 1.85rem;
  line-height: 1.25;
}

h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
  color: var(--text);
}

.muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

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

.doc-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.doc-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.doc-card li {
  margin-bottom: 6px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding: 20px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 600px) {
  .hero,
  .doc-card {
    padding: 22px 18px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

