:root {
  color-scheme: light;
  --fg: #1a1a1a;
  --muted: #666;
  --line: #e5e5e5;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color: var(--fg);
  line-height: 1.6;
  padding: 0 16px;
}
header.top, footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
footer { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 48px; }
.en { color: var(--muted); font-weight: 400; }
nav.policy { display: flex; gap: 16px; flex-wrap: wrap; }
nav.policy a { color: var(--accent); text-decoration: none; }
nav.policy a:hover { text-decoration: underline; }
main { max-width: 720px; margin: 48px auto; }
h1 { font-size: 1.8rem; line-height: 1.3; }
.note { color: var(--muted); font-size: 0.9rem; }
article h2, main h2 { margin-top: 32px; font-size: 1.25rem; }
main ul { padding-left: 20px; line-height: 1.6; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
th { background: #f7f7f7; }
code { font-size: 0.9em; word-break: break-all; }
nav.lang { font-size: 0.9rem; color: var(--muted); }
nav.lang a { color: var(--muted); text-decoration: none; padding: 0 4px; }
nav.lang a:hover { text-decoration: underline; }
nav.lang a[aria-current="page"] { color: var(--fg); font-weight: 600; }
