:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #191f28;
  --muted: #6b7684;
  --line: #e5e8eb;
  --soft: #f2f4f6;
  --accent: #3182f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.3;
}

h2 {
  margin: 40px 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

p,
li {
  font-size: 16px;
}

.meta {
  margin: 0 0 28px;
  color: var(--muted);
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #bcd7ff;
  border-radius: 8px;
  background: #f3f8ff;
}

.list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .page {
    padding: 20px 12px 40px;
  }

  .document {
    padding: 24px 18px;
  }

  h1 {
    font-size: 25px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

