:root {
  --gold: #FFBE00;
  --gold-dark: #B8850D;
  --ink: #1C1C22;
  --sub: #55565f;
  --line: #e7e5df;
  --bg: #fffdf8;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

header.site {
  background: linear-gradient(135deg, #FFE57A 0%, var(--gold) 55%, var(--gold-dark) 100%);
  padding: 28px 20px 22px;
  text-align: center;
  color: #3a2900;
}

header.site .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

header.site .brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #1F52FF;
  box-shadow: 6px 0 0 #00E28F, 12px 0 0 #FF1F33;
}

header.site nav {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

header.site nav a {
  color: #3a2900;
  text-decoration: none;
  opacity: 0.8;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

header.site nav a:hover,
header.site nav a.active {
  opacity: 1;
  border-bottom-color: #3a2900;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px clamp(20px, 5vw, 48px);
}

h1 {
  font-size: 28px;
  margin: 0 0 6px;
}

.meta {
  color: var(--sub);
  font-size: 13.5px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 18px;
  margin: 32px 0 10px;
  color: #171719;
}

h2 .num {
  color: var(--gold-dark);
  margin-right: 8px;
}

p, li { color: #34353c; font-size: 15px; }

ul, ol { padding-left: 22px; }

li { margin-bottom: 6px; }

a { color: #a5680a; }

strong { color: var(--ink); }

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

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

th { background: #fbf6e8; }

.callout {
  background: #fbf6e8;
  border: 1px solid #f1e2b2;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  margin: 18px 0;
}

.landing-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.doc-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}

.doc-link:hover {
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.doc-link .title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doc-link .desc {
  font-size: 14px;
  color: var(--sub);
}

footer.site {
  text-align: center;
  color: var(--sub);
  font-size: 13px;
  padding: 30px 20px 50px;
}

footer.site a { color: var(--sub); }
