:root {
  --bg: #0b0700;
  --bg-2: #130e03;
  --surface: #181107;
  --surface-2: #21170a;
  --text: #fff8f0;
  --muted: #c3ad93;
  --faint: #8d7a65;
  --amber: #f59e0b;
  --amber-bright: #fcd34d;
  --indigo: #818cf8;
  --green: #6ee7b7;
  --border: rgba(255,255,255,.11);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 70% -10%, rgba(245,158,11,.12), transparent 35rem), var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-bright); text-underline-offset: 3px; }
a:hover { color: #fff1b8; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,7,0,.9); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 18px "Space Grotesk", sans-serif; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { padding: 8px 14px; border-radius: 999px; color: #1a0e00 !important; background: var(--amber); }
.hero { padding: 80px 0 54px; border-bottom: 1px solid var(--border); }
.eyebrow { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.16; }
h1 { max-width: 850px; margin: 14px 0 18px; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.035em; }
.lede { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: var(--faint); font-size: 13px; }
.layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 72px; align-items: start; padding: 58px 0 90px; }
article h2 { margin: 54px 0 14px; font-size: 30px; letter-spacing: -.02em; }
article h2:first-child { margin-top: 0; }
article h3 { margin: 30px 0 9px; font-size: 20px; }
article p, article li { color: #e8ddd0; font-size: 16px; }
article ul, article ol { padding-left: 24px; }
article li { margin: 8px 0; }
.toc { position: sticky; top: 90px; border-left: 1px solid var(--border); padding-left: 22px; }
.toc strong { display: block; margin-bottom: 12px; font: 700 13px "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.toc a { display: block; margin: 9px 0; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--text); }
.callout { margin: 26px 0; padding: 20px 22px; border: 1px solid rgba(245,158,11,.28); border-radius: 14px; background: rgba(245,158,11,.075); }
.callout strong { display: block; margin-bottom: 4px; color: var(--amber-bright); }
.callout p { margin: 0; }
.warning { border-color: rgba(248,113,113,.34); background: rgba(248,113,113,.07); }
.warning strong { color: #fca5a5; }
.note { border-color: rgba(129,140,248,.34); background: rgba(129,140,248,.075); }
.note strong { color: #c7d2fe; }
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps > li { counter-increment: step; position: relative; margin: 22px 0; padding: 2px 0 2px 48px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: #1b0f00; font-weight: 800; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: rgba(255,255,255,.02); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 14px; }
th { color: var(--amber-bright); background: rgba(245,158,11,.07); font-weight: 700; }
td { color: #e8ddd0; }
tr:last-child td { border-bottom: 0; }
code { padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.08); color: #ffe6bd; font-size: .9em; }
.cite { color: var(--amber-bright); font-size: .82em; font-weight: 600; white-space: nowrap; }
.claim-note { color: var(--faint); font-size: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.guide-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); color: var(--text); text-decoration: none; }
.guide-card:hover { border-color: rgba(245,158,11,.38); transform: translateY(-1px); }
.guide-card span { color: var(--amber); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.guide-card h2, .guide-card h3 { margin: 9px 0; font-size: 22px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; }
.sources { margin-top: 62px; padding-top: 24px; border-top: 1px solid var(--border); }
.sources h2 { margin-top: 0; font-size: 22px; }
.sources li { font-size: 14px; color: var(--muted); }
.next { margin-top: 56px; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.next h2 { margin: 0 0 8px; font-size: 24px; }
.next p { margin: 0 0 18px; color: var(--muted); }
.button { display: inline-flex; padding: 11px 18px; border-radius: 999px; background: var(--amber); color: #1a0e00; text-decoration: none; font-weight: 800; }
.button.secondary { margin-left: 8px; background: transparent; color: var(--text); border: 1px solid var(--border); }
footer { padding: 34px 0; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
@media (max-width: 850px) {
  .layout { grid-template-columns: 1fr; gap: 35px; }
  .toc { position: static; order: -1; border-left: 0; border-bottom: 1px solid var(--border); padding: 0 0 24px; }
  .toc a { display: inline-block; margin: 6px 15px 6px 0; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding-top: 56px; }
  .layout { padding-top: 38px; }
  .button.secondary { margin: 10px 0 0; }
}
