/* Shared styles for legal/static pages */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1F1F1F; -webkit-font-smoothing: antialiased; background: #fff; }
.font-display { font-family: 'Playfair Display', serif; letter-spacing: -0.015em; }

.gold-rule { background: linear-gradient(90deg, transparent, #BA974A, transparent); }

.hero-grain {
  background-image:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(186,151,74,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(186,151,74,0.10), transparent 60%);
}
.hero-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.btn-gold {
  background: #BA974A; color: #fff;
  transition: all .25s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 12px 30px -12px rgba(186,151,74,0.6);
}
.btn-gold:hover { background: #9C7E3C; transform: translateY(-1px); }
a.link-gold:hover { color: #BA974A; }
.nav-scrolled { background: rgba(56,28,71,0.96); backdrop-filter: saturate(140%) blur(8px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: #BA974A;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: #BA974A; }

/* Legal prose */
.prose-legal { color: #2F2A2E; }
.prose-legal h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #381C47;
  font-size: 32px;
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.prose-legal h2:first-of-type { margin-top: 0; }
.prose-legal h2 .num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #BA974A;
  font-weight: 400;
  font-size: 22px;
  margin-right: 14px;
  letter-spacing: 0;
  vertical-align: 3px;
}
.prose-legal h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #381C47;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-top: 28px;
  margin-bottom: 10px;
}
.prose-legal p, .prose-legal li {
  font-size: 15.5px;
  line-height: 1.75;
  color: #1F1F1F;
  opacity: 0.78;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.prose-legal p { margin-bottom: 14px; }
@media (max-width: 640px) {
  .prose-legal p, .prose-legal li { text-align: left; hyphens: none; }
}
.prose-legal ul { margin: 10px 0 18px; padding-left: 0; list-style: none; }
.prose-legal ul li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
}
.prose-legal ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 1px; background: #BA974A;
}
.prose-legal a { color: #BA974A; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose-legal a:hover { color: #9C7E3C; }
.prose-legal strong { color: #381C47; font-weight: 600; }

.callout {
  border-left: 2px solid #BA974A;
  background: #FBF9F4;
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 2px;
}
.callout p { margin: 0; font-size: 14.5px; }

.legal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid #E9E5DD; border-radius: 4px; overflow: hidden;
  background: #fff;
}
.legal-grid > div {
  padding: 16px 20px;
  border-bottom: 1px solid #E9E5DD;
}
.legal-grid > div:nth-child(odd) {
  background: #FBF9F4;
  border-right: 1px solid #E9E5DD;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: #381C47;
}
.legal-grid > div:nth-last-child(-n+2) { border-bottom: none; }
.legal-grid > div:nth-child(even) { font-size: 14.5px; color: #1F1F1F; opacity: 0.85; }
@media (max-width: 640px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-grid > div:nth-child(odd) { border-right: none; }
}

/* TOC */
.toc {
  position: sticky; top: 96px;
  border-left: 1px solid #E9E5DD;
  padding-left: 24px;
}
.toc-title {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: #BA974A; margin-bottom: 18px;
}
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.toc ol li { counter-increment: toc; margin-bottom: 12px; font-size: 14px; }
.toc ol li a {
  color: #1F1F1F; opacity: 0.65; text-decoration: none;
  display: flex; gap: 12px; line-height: 1.4;
  transition: opacity .2s ease, color .2s ease;
}
.toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Playfair Display', serif; font-style: italic;
  color: #BA974A; font-size: 13px; flex: none;
}
.toc ol li a:hover { opacity: 1; color: #381C47; }
