:root {
  --ink: #171717;
  --ink-72: rgb(23 23 23 / 0.72);
  --ink-45: rgb(23 23 23 / 0.45);
  --line: #e9e9e9;
  --body: #fafafa;
  --surface: #ffffff;
  --amber-bg: #fbf8f1;
  --amber-line: #ded3b6;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f2;
    --ink-72: rgb(242 242 242 / 0.72);
    --ink-45: rgb(242 242 242 / 0.5);
    --line: #2a2a2a;
    --body: #111111;
    --surface: #171717;
    --amber-bg: #221e14;
    --amber-line: #4a4130;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--body);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.lang { font-size: 14px; color: var(--ink-72); }

main { padding: 48px 0 72px; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 19px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, li { color: var(--ink-72); }
ul { padding-left: 20px; }
li { margin: 4px 0; }
.meta { color: var(--ink-45); font-size: 14px; margin-bottom: 32px; }
strong { color: var(--ink); }

.note {
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
}
.note p { margin: 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
td { color: var(--ink-72); }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 600; color: var(--ink); padding-top: 12px; }
  tr { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}

.hero { padding: 40px 0 8px; }
.hero h1 { font-size: 40px; }
.hero p { font-size: 18px; max-width: 34em; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--ink-45); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; }
