:root {
  --ink: #1c1c1e;
  --gold: #9c7a3a;
  --gold-deep: #8a6a2f;
  --bg: #f2f2f7;
  --card-bg: #ffffff;
  --text-secondary: #6b6b70;
  --border: rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(156, 122, 58, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.lead {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 0 32px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 20px;
  color: var(--gold);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.link-text strong {
  font-size: 15px;
  font-weight: 600;
}

.link-text span {
  font-size: 13px;
  color: var(--text-secondary);
}

.chevron {
  color: #b0b0b5;
  font-size: 18px;
}

.footer {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

.tg {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}

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

/* Document pages */
.doc {
  max-width: 720px;
}

.doc h1 {
  margin-bottom: 4px;
}

.doc .updated {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 28px;
}

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

.doc section h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--gold-deep);
}

.doc section p {
  margin: 0;
  font-size: 15px;
  color: #333336;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
}

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