:root {
  --gold: #c9a227;
  --gold-light: #f0c040;
  --gold-faint: rgba(201, 162, 39, 0.1);
  --black: #070707;
  --dark: #0e0e0e;
  --card: #131313;
  --border: rgba(201, 162, 39, 0.22);
  --text: #e6ddca;
  --muted: #857a67;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--black);
  color: var(--text);
  font-family: Inter, Segoe UI, system-ui, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  color: var(--gold-light);
}
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(7, 7, 7, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.brand {
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  font-size: 1.15rem;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.hero-legal {
  padding: 3.5rem 6vw 2rem;
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 39, 0.12), transparent 55%),
    var(--dark);
  border-bottom: 1px solid var(--border);
}
.hero-legal .tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.hero-legal h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0.6rem 0 0.75rem;
  line-height: 1.2;
}
.hero-legal p {
  color: var(--muted);
  max-width: 720px;
  font-size: 15px;
}
.wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 6vw 5rem;
}
.toc {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.25rem;
}
.toc h2 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.toc ol {
  list-style: none;
}
.toc a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}
article h2 {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 5.5rem;
}
article h2:first-child {
  margin-top: 0;
}
article p,
article li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 0.85rem;
}
article ul,
article ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
article li {
  margin-bottom: 0.4rem;
}
.note {
  background: var(--gold-faint);
  border: 1px solid var(--border);
  padding: 1rem 1.15rem;
  font-size: 13px;
  color: var(--muted);
  margin: 1.25rem 0;
}
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 6vw 2.25rem;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
footer .links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
@media (max-width: 860px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
