:root {
  color-scheme: dark;
  --ink: #f7f0ec;
  --muted: #b9aaa5;
  --faint: #8e7d79;
  --surface: #161112;
  --surface-2: #1d1517;
  --line: #3a2a2e;
  --blush: #f3b7ad;
  --gold: #d7b35b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 6%, rgba(130, 62, 72, .16), transparent 32rem),
    #0d0a0b;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--blush); text-underline-offset: .2em; }
a:hover { color: #ffd2ca; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(13, 10, 11, .88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid #68484f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2a1c1f, #171113);
  font: 700 13px Georgia, serif;
}

.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 600 20px Georgia, "Times New Roman", serif; }
.brand-copy small { color: var(--faint); letter-spacing: .22em; font-size: 9px; margin-top: 5px; }

.nav-links { display: flex; gap: 10px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.nav-links a[aria-current="page"], .nav-links a:hover {
  background: #261b1d;
  color: var(--ink);
}

.hero {
  padding: 92px 0 56px;
  max-width: 820px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 18px;
  font: 500 clamp(52px, 8vw, 88px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.intro {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.effective {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--faint);
  font-size: 13px;
}

.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding-bottom: 100px;
}

.toc {
  position: sticky;
  top: 104px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.toc span { color: var(--faint); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.toc a { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--ink); }

.document {
  background: linear-gradient(160deg, rgba(255,255,255,.026), transparent 26rem), var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}

.document section + section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.08);
}

h2 {
  margin: 0 0 14px;
  font: 500 28px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}

p { margin: 0 0 16px; color: var(--muted); }
ul { margin: 14px 0 0; padding-left: 22px; color: var(--muted); }
li + li { margin-top: 9px; }
strong { color: var(--ink); }

.notice {
  border: 1px solid #543b40;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 30px 0 42px;
  color: var(--faint);
  font-size: 13px;
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 800px) {
  .shell { width: min(100% - 28px, 720px); }
  .nav { min-height: 66px; }
  .brand-copy small { display: none; }
  .nav-links a { padding: 7px 8px; font-size: 12px; }
  .hero { padding-top: 64px; }
  .layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  .document { border-radius: 18px; }
}
