:root {
  --bg: #13130F;
  --text: #EDE7D9;
  --text-muted: #A8A095;
  --text-dim: #6E6859;
  --accent: #D89A3F;
  --border: #2A2820;
  --max-w: 800px;
  --pad-x: 20px;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 15, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--pad-x);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #C67D1B);
  display: grid; place-items: center;
  font-family: "Newsreader", serif;
  font-style: italic;
  color: #13130F;
  font-weight: 600;
}
.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.back-link:hover { color: var(--text); }

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--pad-x) 80px;
}
h1 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.meta {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}
h2 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text);
}
h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--text);
}
p, li { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
table th, table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table th { color: var(--text); font-weight: 600; width: 40%; }
table td { color: var(--text-muted); }

.callout {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(216, 154, 63, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.callout p { margin: 0; }

footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--pad-x) 60px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
footer a { color: var(--text-muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }
