*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #05070a;
  --panel: rgba(240, 235, 227, 0.035);
  --text: #f0ebe3;
  --text-muted: #a89d92;
  --text-dim: #7a7066;
  --accent: #d4a853;
  --accent-dim: rgba(212, 168, 83, 0.13);
  --border: rgba(240, 235, 227, 0.12);
  --border-strong: rgba(212, 168, 83, 0.24);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Syne', Arial, sans-serif;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(212, 168, 83, 0.08), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(212, 168, 83, 0.035), transparent 68%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 40px 28px 64px;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text);
}

.brand-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle,
.meta-label,
.footer-label {
  color: var(--text-dim);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-links,
.doc-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.top-links a,
.footer-links a {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 48px;
  margin: 92px 0 56px;
  align-items: end;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--accent);
}

h1 {
  max-width: 820px;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 680px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.status-card {
  border: 1px solid var(--border-strong);
  background: var(--panel);
  padding: 24px;
}

.status-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.3rem;
}

.status-card p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.draft-notice {
  border: 1px solid var(--border-strong);
  background: var(--accent-dim);
  color: var(--text);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.draft-notice strong {
  color: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 28px;
  border-left: 1px solid var(--border-strong);
  padding-left: 18px;
}

.side-nav h2 {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.side-nav ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.side-nav a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.side-nav a:hover {
  color: var(--accent);
}

.document {
  display: grid;
  gap: 22px;
}

.section {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 30px;
}

.section h2 {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section p,
.section li {
  color: var(--text-muted);
}

.section p + p,
.section ul + p,
.section p + ul {
  margin-top: 12px;
}

.section ul {
  margin-left: 20px;
}

.section li + li {
  margin-top: 8px;
}

.doc-links {
  margin-top: 14px;
}

.doc-links a {
  display: inline-flex;
  border: 1px solid var(--border);
  padding: 9px 12px;
  color: var(--text-muted);
}

.doc-links a:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 28px;
  color: var(--text-dim);
  font-size: 0.76rem;
}

.footer-stack {
  display: grid;
  gap: 10px;
}

@media (max-width: 820px) {
  .page {
    padding: 28px 20px 48px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 64px 0 36px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .side-nav {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--border-strong);
    padding: 18px 0 0;
  }

  .section {
    padding: 24px 20px;
  }
}
