:root {
  --brand: #ffd46b;
  --brand-dark: #8a5d11;
  --ink: #ffffff;
  --muted: #a7a7a7;
  --panel: rgba(20, 20, 24, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --page: #030303;
  --max: 900px;
}
* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 212, 107, 0.14), transparent 30rem),
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.06), transparent 26rem),
    #030303;
  line-height: 1.7;
}
a { color: var(--brand); }
a:hover { color: #fff; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font-weight: 900; font-style: italic; text-transform: uppercase; color: #fff; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.nav-links a { color: #fff; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 56px 0 80px; }
h1, h2, h3 { margin: 0; text-transform: uppercase; font-style: italic; line-height: 1.05; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h1 .gold, .gold { color: var(--brand); }
h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 900; margin-top: 44px; margin-bottom: 12px; }
h3 { font-size: 1.05rem; font-weight: 800; margin-top: 26px; margin-bottom: 8px; font-style: normal; text-transform: none; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 10px 0 0; text-transform: uppercase; letter-spacing: 0.12em; }
.slash { width: 80px; height: 5px; background: var(--brand); transform: skewX(-20deg); margin: 22px 0 30px; box-shadow: 0 0 16px rgba(255, 212, 107, 0.6); }
p, li { color: #dcdcdc; }
ul, ol { padding-left: 1.3em; }
li { margin: 6px 0; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 26px; margin: 22px 0;
}
.panel.gold-edge { border-left: 5px solid var(--brand); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px; border: 2px solid var(--brand);
  background: var(--brand); color: #050505; font-weight: 900; text-transform: uppercase;
  font-style: italic; text-decoration: none; border-radius: 6px; transition: 160ms ease;
}
.btn:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: #050505; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--brand); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }
.toc { columns: 2; column-gap: 30px; font-size: 0.95rem; }
.toc a { text-decoration: none; }
.footer { border-top: 1px solid var(--line); background: #050505; padding: 36px 0; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #999; font-size: 0.85rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #bdbdbd; text-decoration: none; }
.footer-links a:hover { color: var(--brand); }
.note { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .toc { columns: 1; } }
