:root {
  color-scheme: light dark;
  --ink: #14181f;
  --muted: #5b6472;
  --line: #e3e6eb;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --accent: #0b6e4f;
  --accent-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f3;
    --muted: #a0a8b4;
    --line: #2a303a;
    --bg: #12151a;
    --soft: #1a1e25;
    --accent: #3fbf8f;
    --accent-ink: #0c1a14;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { padding: 72px 0 40px; }
.hero h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 18ch; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  padding: 12px 20px; border-radius: 8px; font-weight: 600;
}
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }

.sheet { margin: 40px 0 8px; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; background: var(--soft); }
.sheet table { border-collapse: collapse; width: 100%; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.sheet th, .sheet td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.sheet th { color: var(--muted); font-weight: 600; }
.sheet tr:last-child td { border-bottom: 0; }
.caption { color: var(--muted); font-size: 14px; }

section { padding: 44px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 20px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; padding-left: 44px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 600;
}
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 12px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.plan li { margin: 4px 0; }
dl.faq dt { font-weight: 600; margin-top: 18px; }
dl.faq dd { margin: 6px 0 0; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 16px; }

article.doc { padding: 48px 0 64px; max-width: 720px; }
article.doc h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 6px; }
article.doc h2 { font-size: 20px; margin: 32px 0 8px; }
article.doc p, article.doc li { color: var(--ink); }
article.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
