:root {
  --bg: #ffffff;
  --surface: #f5f7f6;
  --text: #17201c;
  --muted: #55615b;
  --line: #dde3e0;
  --brand: #11734b;
  --brand-ink: #ffffff;
  --max: 68rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412;
    --surface: #171e1b;
    --text: #e7ece9;
    --muted: #a3b0aa;
    --line: #2a3430;
    --brand: #4cc28c;
    --brand-ink: #08130e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 14px; }
a { text-underline-offset: 2px; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-weight: 700; font-size: 1.125rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 0.875rem; font-weight: 500; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.hero { padding: 56px 0 36px; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.0625rem; color: var(--muted); max-width: 40rem; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 11px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; min-height: 44px; }
.note { color: var(--muted); font-size: 0.875rem; margin-top: 12px; }

section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.375rem; margin: 0 0 18px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); }
.promise { background: var(--surface); border-left: 4px solid var(--brand); padding: 20px; border-radius: 6px; }
.promise ul { margin: 8px 0 0; padding-left: 20px; }

.doc { padding: 40px 0 56px; max-width: 44rem; }
.doc h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 1.0625rem; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--muted); }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 0.9375rem; }
dl.details dt, dl.details dd { padding: 10px 16px; border-top: 1px solid var(--line); margin: 0; overflow-wrap: anywhere; }
dl.details dt:first-of-type, dl.details dt:first-of-type + dd { border-top: 0; }
dl.details dt { color: var(--muted); background: var(--surface); font-weight: 500; }
@media (max-width: 480px) {
  dl.details { grid-template-columns: 1fr; }
  dl.details dd { border-top: 0; padding-top: 2px; }
  dl.details dt { background: none; padding-bottom: 0; }
  .doc h1 { font-size: 1.5rem; }
}

footer.site { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
footer.site .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
footer.site strong { color: var(--text); }
footer.site p { margin: 0 0 4px; }
footer.site a { color: var(--muted); }
.logo img { display: block; height: 32px; width: auto; }
footer.site .pledge { color: var(--muted); font-size: 0.8125rem; }
