/* ── BRSA REGISTRY — SHARED STYLESHEET ──────────────────────── */
:root {
  --navy:   #08111F;
  --navy2:  #0D1B2E;
  --navy3:  #142338;
  --line:   rgba(255,255,255,.09);
  --text:   #F0EDE8;
  --dim:    rgba(240,237,232,.62);
  --faint:  rgba(240,237,232,.38);
  --gold:   #C9A84C;
  --green:  #2D7D52;
  --yellow: #9B7A1A;
  --red:    #8B2535;

  --serif: "DM Serif Display", Georgia, serif;
  --sans:  "DM Sans", system-ui, -apple-system, sans-serif;
  --mono:  "DM Mono", ui-monospace, monospace;

  --max: 1080px;
  --pad: clamp(18px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8,17,31,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px;
  color: var(--navy); flex-shrink: 0;
}
.nav-wordmark { font-family: var(--serif); font-size: 17px; color: var(--text); }
.nav-wordmark span { color: var(--dim); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--dim);
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--text); }
.nav-cta {
  padding: 8px 16px; border-radius: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 600;
  transition: opacity .15s; white-space: nowrap;
}
.nav-cta:hover { opacity: .88; }
.nav-mobile-btn {
  display: none; background: none; border: none;
  padding: 8px; color: var(--text);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  padding-top: 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy2) 0%, var(--navy) 100%);
}
.page-hero-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px,8vh,96px) var(--pad) 48px;
}
.page-eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 14px;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(32px,5vw,60px);
  line-height: 1.08; margin-bottom: 14px;
}
.page-sub {
  color: var(--dim); font-size: 17px;
  max-width: 600px; line-height: 1.7; font-weight: 300;
}

/* ── PROSE LAYOUT ────────────────────────────────────────────── */
.prose-wrap { max-width: var(--max); margin: 0 auto; padding: 60px var(--pad) 80px; }
.prose-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 840px) { .prose-grid { grid-template-columns: 1fr; } }

/* TOC */
.prose-toc { position: sticky; top: 80px; }
.toc-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px;
}
.toc-link {
  display: block; font-size: 13px; color: var(--dim);
  padding: 5px 0; border-left: 2px solid var(--line);
  padding-left: 12px; transition: color .15s, border-color .15s;
  margin-bottom: 2px;
}
.toc-link:hover { color: var(--text); border-color: var(--gold); }
@media (max-width: 840px) { .prose-toc { display: none; } }

/* Prose */
.prose { max-width: 680px; }
.prose-section { }
.prose-section-num {
  font-family: var(--serif); font-size: 13px;
  color: var(--gold); margin-bottom: 10px; letter-spacing: .08em;
}
.prose-h2 {
  font-family: var(--serif);
  font-size: clamp(22px,3vw,32px);
  line-height: 1.15; margin-bottom: 18px;
}
.prose p { color: var(--dim); line-height: 1.8; margin-bottom: 16px; font-weight: 300; font-size: 15px; }
.prose p:last-child { margin-bottom: 0; }
.prose-divider { height: 1px; background: var(--line); margin: 48px 0; }
.prose-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 24px 0;
  font-family: var(--serif); font-size: 18px;
  color: var(--text); line-height: 1.55; font-style: italic;
  background: rgba(201,168,76,.06); border-radius: 0 10px 10px 0;
}
.prose-list {
  list-style: none; margin: 16px 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.prose-list li {
  padding-left: 20px; position: relative;
  color: var(--dim); font-size: 15px; line-height: 1.7; font-weight: 300;
}
.prose-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: .6;
}
.prose-list li strong { color: var(--text); font-weight: 600; }

/* Prose cards */
.prose-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin: 24px 0; }
.prose-card {
  background: var(--navy2); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
}
.prose-card-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.prose-card-body { font-size: 13px; color: var(--dim); line-height: 1.7; }

/* Score table */
.score-table {
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; margin: 24px 0;
}
.score-table-head {
  display: grid; grid-template-columns: 1.5fr .7fr 1.8fr;
  padding: 10px 16px;
  background: var(--navy3);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); gap: 12px;
}
.score-row {
  display: grid; grid-template-columns: 1.5fr .7fr 1.8fr;
  padding: 12px 16px; gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--dim); align-items: center;
}
.score-row:hover { background: rgba(255,255,255,.02); }
.score-pos { color: #2D9B63; font-family: var(--mono); font-weight: 600; }
.score-neg { color: #C0303F; font-family: var(--mono); font-weight: 600; }
@media (max-width: 560px) {
  .score-table-head { grid-template-columns: 1fr 1fr; }
  .score-table-head > *:last-child { display: none; }
  .score-row { grid-template-columns: 1fr 1fr; }
  .score-row > *:last-child { display: none; }
}

/* Lifecycle steps */
.lifecycle-steps { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.lifecycle-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.lifecycle-step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 15px; color: var(--gold);
  flex-shrink: 0;
}
.step-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.step-body { font-size: 13px; color: var(--dim); line-height: 1.65; }

/* Mono inline */
.mono-inline { font-family: var(--mono); font-size: .9em; color: var(--text); }

/* ── CTA BAND ─────────────────────────────────────────────────── */
.cta-band { background: var(--navy2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 72px var(--pad);
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band-title { font-family: var(--serif); font-size: clamp(22px,3vw,34px); margin-bottom: 8px; line-height: 1.15; }
.cta-band-sub { color: var(--dim); font-size: 15px; max-width: 480px; line-height: 1.65; font-weight: 300; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.btn-gold {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 10px;
  background: var(--gold); color: var(--navy);
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  transition: opacity .15s; white-space: nowrap;
}
.btn-gold:hover { opacity: .88; }
.btn-outline {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18); color: var(--text);
  font-size: 14px; font-weight: 500;
  transition: background .15s, border-color .15s; white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }

/* ── CONTACT FORM ─────────────────────────────────────────────── */
.contact-form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; color: var(--dim); letter-spacing: .04em; }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; color: var(--text);
  font-family: var(--sans); font-size: 14px;
  padding: 12px 14px; outline: none;
  transition: border-color .2s; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(201,168,76,.5); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--faint); }
.form-field select option { background: #0a1022; }
.form-error {
  margin: 14px 0; padding: 12px 16px;
  border-radius: 10px; border: 1px solid rgba(192,48,63,.4);
  background: rgba(192,48,63,.08); color: #E88A93; font-size: 13px;
}
.form-success {
  margin: 14px 0; padding: 16px;
  border-radius: 10px; border: 1px solid rgba(45,155,99,.4);
  background: rgba(45,155,99,.08); color: #7DDCAA; font-size: 14px; line-height: 1.6;
}
.btn-submit {
  margin-top: 20px;
  width: 100%; padding: 15px 20px; border: none; border-radius: 10px;
  background: var(--gold); color: var(--navy);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: opacity .15s, transform .08s;
}
.btn-submit:hover { opacity: .88; }
.btn-submit:active { transform: scale(.99); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }
.submit-note { margin-top: 10px; font-size: 12px; color: var(--faint); line-height: 1.55; }
.submit-note a { color: var(--gold); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 36px var(--pad);
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-brand { font-family: var(--serif); font-size: 15px; color: var(--dim); }
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 12px; color: var(--faint); transition: color .15s; }
.footer-link:hover { color: var(--dim); }
.footer-legal { font-size: 12px; color: var(--faint); font-family: var(--mono); letter-spacing: .04em; }
  
