:root {
  --bg: #0c0907;
  --surface: #15100d;
  --ink: #f3e9dc;
  --ink-mute: #b8a791;
  --ink-faint: #756656;
  --line: rgba(243, 233, 220, 0.12);
  --flame: #f3a560;
  --link: #f3c987;
  --link-hover: #ffd99a;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 22px 96px;
}

header.page-head {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Times New Roman", serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.meta {
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 0;
}

h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: 18px;
  margin: 44px 0 14px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

h3 {
  font-weight: 600;
  font-size: 15px;
  margin: 28px 0 10px;
  color: var(--ink);
}

p { margin: 0 0 16px; }

ul, ol { padding-left: 1.4em; margin: 0 0 18px; }
li { margin-bottom: 6px; }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover, a:active { color: var(--link-hover); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 14px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink-mute);
  font-weight: 500;
  width: 34%;
  white-space: nowrap;
}

.callout {
  border-left: 2px solid var(--flame);
  padding: 14px 16px;
  margin: 20px 0 24px;
  background: var(--surface);
  color: var(--ink-mute);
  font-size: 14px;
  border-radius: 0 4px 4px 0;
}

.callout strong { color: var(--ink); font-weight: 600; }

footer.page-foot {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 12px;
}

footer.page-foot nav a { margin-right: 18px; color: var(--ink-mute); }

.muted { color: var(--ink-mute); }
.small { font-size: 13px; }

@media (max-width: 480px) {
  main { padding: 40px 18px 80px; }
  h1 { font-size: 22px; }
  h2 { font-size: 16px; margin-top: 36px; }
  table { font-size: 13px; }
  th, td { padding: 10px 8px; }
  th { width: 38%; }
}
