:root {
  --bg: #0a0a0b;
  --fg: #e8e8f0;
  --fg-dim: rgba(232, 232, 240, 0.72);
  --fg-mid: rgba(232, 232, 240, 0.55);
  --fg-faint: rgba(232, 232, 240, 0.38);
  --fg-ghost: rgba(232, 232, 240, 0.22);
  --gold: #c8a96e;
  --gold-dim: rgba(200, 169, 110, 0.55);
  --rule: rgba(232, 232, 240, 0.08);
  --rule-soft: rgba(232, 232, 240, 0.05);
}

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

html, body {
  background: radial-gradient(ellipse at 18% 0%, rgba(200, 169, 110, 0.07) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 100%, rgba(200, 169, 110, 0.04) 0%, transparent 50%),
              var(--bg);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }

.top-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  z-index: 101;
}

nav.site {
  position: fixed; top: 2px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
}

.logo-wrap { display: flex; align-items: center; gap: 0.6rem; }
.wordmark {
  font-family: 'Cormorant', serif; font-size: 1.35rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--fg);
}
.nav-link {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint); transition: color 0.3s;
}
.nav-link:hover { color: var(--gold); }

main.article {
  padding: 10rem 4rem 6rem;
  max-width: 44rem;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--fg-faint); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 0.6rem; color: rgba(232,232,240,0.18); }
.breadcrumbs .current { color: var(--gold); }

h1.article-title {
  font-family: 'Cormorant', serif; font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: 1.02; letter-spacing: -0.02em;
  color: var(--fg); margin-bottom: 1.75rem;
}
h1.article-title em { font-style: italic; color: rgba(232,232,240,0.9); }

.meta {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--fg-ghost); margin-bottom: 3rem;
}
.meta .dot { margin: 0 0.6rem; opacity: 0.4; }

.quick-answer {
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2.5rem 0 3.5rem;
  font-family: 'Cormorant', serif;
  font-size: 1.25rem; font-weight: 300; font-style: italic;
  line-height: 1.6; color: rgba(232,232,240,0.9);
}
.quick-answer .label {
  display: block; font-family: 'Syne', sans-serif; font-style: normal;
  font-size: 0.58rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.85rem; font-weight: 500;
}

h2 {
  font-family: 'Cormorant', serif; font-weight: 400;
  font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 3.5rem 0 1.5rem;
}

h3 {
  font-family: 'Syne', sans-serif; font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 2rem 0 1rem;
}

.article p, .article li {
  font-size: 0.95rem; line-height: 1.85; color: var(--fg-dim);
  font-weight: 400;
}
.article p + p { margin-top: 1.1rem; }

.article ul, .article ol {
  margin: 1.25rem 0; padding-left: 0; list-style: none;
}
.article ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem;
}
.article ul li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--gold); opacity: 0.7;
}
.article ol {
  counter-reset: step;
}
.article ol li {
  counter-increment: step;
  position: relative; padding-left: 2.5rem; margin-bottom: 0.9rem;
}
.article ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0.3rem;
  font-family: 'Syne', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--gold); opacity: 0.75;
}

.article a.inline {
  color: var(--fg); border-bottom: 1px solid rgba(200,169,110,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.article a.inline:hover { color: var(--gold); border-color: var(--gold); }

blockquote {
  border-left: 1px solid var(--gold-dim);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant', serif; font-size: 1.15rem;
  font-style: italic; line-height: 1.6;
  color: rgba(232,232,240,0.78);
}

table {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  font-size: 0.85rem;
}
th, td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  color: var(--fg-dim);
}
th {
  font-family: 'Syne', sans-serif; font-weight: 500;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint);
  border-bottom: 1px solid var(--gold-dim);
}

.faq {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.faq h2 { margin-top: 0; }
.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Cormorant', serif; font-weight: 400;
  font-size: 1.35rem; line-height: 1.35;
  color: var(--fg); margin-bottom: 0.85rem;
}
.faq-a { font-size: 0.9rem; line-height: 1.8; color: var(--fg-mid); }

.related {
  margin-top: 5rem; padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.related-label {
  font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 1.75rem;
}
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--rule-soft);
  transition: color 0.2s;
}
.related-list a:hover { color: var(--gold); }
.related-list a:hover .rel-arrow { color: var(--gold); transform: translateX(4px); }
.rel-title {
  font-family: 'Cormorant', serif; font-size: 1.1rem; font-weight: 400;
  line-height: 1.3; flex: 1;
}
.rel-arrow {
  color: rgba(200,169,110,0.5); font-size: 1rem;
  transition: transform 0.2s, color 0.2s; margin-left: 1.5rem;
}

.cta-block {
  margin-top: 5rem; padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-kicker {
  font-size: 0.58rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.cta-head {
  font-family: 'Cormorant', serif; font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15;
  color: var(--fg); margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.cta-head em { font-style: italic; }
.cta-sub {
  font-size: 0.88rem; line-height: 1.8; color: var(--fg-mid);
  max-width: 32rem; margin-bottom: 1.5rem;
}
.cta-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.35rem; transition: color 0.2s, border-color 0.2s;
}
.cta-link:hover { border-color: var(--gold); }
.cta-link .arrow { font-size: 0.9rem; }

footer.site {
  padding: 2rem 4rem;
  border-top: 1px solid rgba(232,232,240,0.05);
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 5rem;
}
footer.site span {
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: rgba(232,232,240,0.13);
}
footer.site .right { text-transform: uppercase; color: rgba(232,232,240,0.1); }

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

@media (max-width: 720px) {
  nav.site, main.article, footer.site { padding-left: 1.5rem; padding-right: 1.5rem; }
  main.article { padding-top: 7rem; }
  table { font-size: 0.8rem; }
  th, td { padding: 0.65rem 0.5rem; }
}
