:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background: #0A0A0F;
  color: #E5E7EB;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #F5A623; text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-header {
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 10;
}
.legal-header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.legal-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #1A1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.legal-back {
  font-size: 14px;
  color: #9CA3AF;
}
.legal-back:hover { color: #F5A623; }

main.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

main.legal h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
main.legal .meta {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 40px;
}
main.legal h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
main.legal h3 {
  font-size: 18px;
  font-weight: 600;
  color: #F3F4F6;
  margin: 28px 0 10px;
}
main.legal p, main.legal li {
  font-size: 16px;
  color: #D1D5DB;
}
main.legal ul, main.legal ol {
  padding-left: 22px;
}
main.legal li {
  margin-bottom: 8px;
}
main.legal strong { color: #fff; }
main.legal hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 48px 0;
}

.legal-callout {
  border: 1px solid rgba(245,166,35,0.25);
  background: rgba(245,166,35,0.06);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: #FBBF3A;
  margin: 24px 0 8px;
}

/* FAQ accordion (used at the end of pillar insights posts) */
.faq-list {
  margin: 16px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 18px;
  flex-shrink: 0;
  color: #F5A623;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s;
}
.faq-item[open] summary::before { content: '−'; }
.faq-item p {
  margin: 12px 0 8px 30px !important;
  color: #D1D5DB;
  font-size: 15px;
  line-height: 1.6;
}

.legal-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 24px;
  text-align: center;
  color: #6B7280;
  font-size: 13px;
}
.legal-footer a { color: #9CA3AF; }
