:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #14202c;
  --muted: #5b6b7b;
  --line: #d9e0e8;
  --accent: #0e7c9f;
  --note-bg: #fff4e5;
  --note-line: #f0c27a;
  --note-text: #5b1a00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151c;
    --surface: #161e27;
    --text: #e8eef4;
    --muted: #97a6b5;
    --line: #26313d;
    --accent: #5cc5e6;
    --note-bg: #3a1e0a;
    --note-line: #8a5a1f;
    --note-text: #ffe1bf;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.brand-logo { display: block; width: auto; height: 22px; flex: none; }
.top nav a { margin-left: 18px; color: var(--muted); font-weight: 500; }
.top nav a.current { color: var(--text); }
.doc { padding: 40px 20px 64px; }
.kicker { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin: 4px 0; }
.note {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  color: var(--note-text);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 26px;
}
table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
td:first-child { font-weight: 600; white-space: nowrap; }
.faq dt { font-weight: 600; margin-top: 16px; }
.faq dd { margin: 4px 0 0; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  td:first-child { white-space: normal; }
  .top nav a { margin-left: 12px; }
}
