:root {
  --bg: #fafaf7;
  --surface: #fff;
  --text: #1a1a1a;
  --subtext: #6b6b6b;
  --accent: #b86a2c;
  --border: #ebe7df;
  --radius: 12px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 24px 16px 64px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
}

header {
  margin-bottom: 32px;
}

h1 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.meta {
  color: var(--subtext);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.back:hover {
  text-decoration: underline;
}

section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

p {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

p:last-child {
  margin-bottom: 0;
}

.row {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.row-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--subtext);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.row-value {
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.docs-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.docs-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.docs-list a {
  display: block;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.docs-list a:hover {
  color: var(--accent);
}

.docs-list .desc {
  display: block;
  font-size: 0.8rem;
  color: var(--subtext);
  font-weight: 400;
  margin-top: 4px;
}

footer {
  margin-top: 48px;
  text-align: center;
  color: var(--subtext);
  font-size: 0.8rem;
}
