:root {
  --bg: #F7F5F3;
  --surface: #FFFFFF;
  --surface-alt: #EFEFEF;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --border: #E8E4E0;
  --primary-700: #FF0000;
  --primary-500: #FF3333;
  --primary-800: #CC0000;
  --primary-100: #FFE0E0;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

header.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

header.site-header img.logo {
  height: 44px;
  width: auto;
}

.page-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 28px 0 4px;
  color: var(--text);
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

section.doc-section {
  margin-bottom: 24px;
}

section.doc-section:last-child {
  margin-bottom: 0;
}

section.doc-section h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

section.doc-section p {
  margin: 0;
  color: var(--text-muted);
  white-space: pre-line;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: var(--primary-800);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-700);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.button:hover {
  background: var(--primary-800);
}

.button.secondary {
  background: transparent;
  color: var(--primary-700) !important;
  border: 1px solid var(--primary-700);
}

.button.secondary:hover {
  background: var(--primary-100);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

.link-list a.nav-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--text) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.link-list a.nav-card:hover {
  border-color: var(--primary-700);
}

.link-list a.nav-card span.desc {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.option-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-700);
  background: var(--primary-100);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

table.data-table th {
  color: var(--text);
  font-weight: 700;
}

footer.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

footer.site-footer a {
  color: var(--text-muted);
  font-weight: 400;
}

footer.site-footer a:hover {
  color: var(--primary-700);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
}
