/* =============================================================
   MSIIA — Disclosures Page (v3, 2026-07-09)
   Compact 2-col hero · READ THIS FIRST panel · 6-card at-a-glance ·
   Evidence classification badges · Grouped sticky TOC ·
   Metrics glossary · Print · MSIIA black/gold identity
   Prefix: dc-  (disclosures)
   ============================================================= */

/* ── Motion reveal ─────────────────────────────────────────── */
.motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  650ms cubic-bezier(.16, 1, .3, 1),
    transform 650ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Layout ────────────────────────────────────────────────── */
.dc-main { color: var(--text); }
.dc-wrap {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}
.dc-h2 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1;
  color: var(--text);
}

/* ══ Compact Hero (2-col: left copy + right READ-THIS-FIRST) ══ */
.dc-hero {
  position: relative;
  min-height: clamp(600px, 66vh, 740px);
  padding: clamp(80px, 12vw, 128px) 0 clamp(52px, 8vw, 84px);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 90% 60% at 100% -5%,  rgba(200, 169, 110, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at -2% 105%,  rgba(200, 169, 110, 0.05) 0%, transparent 48%),
    var(--obsidian);
}
.dc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(200, 169, 110, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 169, 110, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 72% 80% at 92% 40%, rgba(0,0,0,.6), transparent 66%);
  pointer-events: none; z-index: 0;
}
.dc-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  width: 100%;
}
.dc-hero-copy { min-width: 0; display: flex; flex-direction: column; }
.dc-eyebrow-line {
  margin: 0 0 var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.dc-eyebrow-line::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.dc-hero-title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
}
.dc-title-accent { color: var(--gold); }
.dc-hero-lede {
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-subtle);
  font-style: italic;
  max-width: 62ch;
  line-height: 1.8;
}
.dc-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  max-width: 720px;
  margin-top: auto;
}
.dc-hero-meta-item {
  background: rgba(7, 7, 9, 0.92);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.dc-hero-meta-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.7);
}
.dc-hero-meta-value {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.35;
}

/* READ THIS FIRST panel */
.dc-hero-panel {
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 30px);
  border: 1px solid var(--gold-border);
  border-top: 2px solid rgba(200, 169, 110, 0.34);
  background: rgba(7, 7, 9, 0.90);
  backdrop-filter: blur(18px);
  position: relative;
  display: flex;
  flex-direction: column;
}
.dc-hero-panel::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.dc-hero-panel-eyebrow {
  margin: 0 0 var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.dc-hero-panel h2 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: var(--text);
}
.dc-hero-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dc-list;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dc-hero-panel-list li {
  counter-increment: dc-list;
  position: relative;
  padding-left: 34px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-subtle);
  line-height: 1.65;
}
.dc-hero-panel-list li::before {
  content: counter(dc-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  background: var(--gold-ghost);
  padding: 2px 6px;
  border-radius: 1px;
}

@media (max-width: 1024px) {
  .dc-hero-grid { grid-template-columns: 1fr; }
  .dc-hero-panel { margin-top: 12px; }
  .dc-hero-meta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .dc-hero-meta { grid-template-columns: 1fr; }
}

/* ══ At-a-glance six-card ═════════════════════════════════════ */
.dc-summary {
  padding: clamp(48px, 7vw, 80px) 0;
  background: rgba(9, 9, 12, 0.60);
  border-bottom: 1px solid var(--gold-border);
}
.dc-summary-head {
  margin-bottom: clamp(24px, 3.5vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.dc-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
.dc-summary-card {
  background: rgba(7, 7, 9, 0.92);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 2.5vw, 28px);
  backdrop-filter: blur(12px);
  position: relative;
  transition: background var(--transition);
}
.dc-summary-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.dc-summary-card:hover { background: rgba(12, 11, 14, 0.98); }
.dc-summary-card:hover::before { opacity: 1; }
.dc-summary-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 14px;
}
.dc-summary-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.dc-summary-heading {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.dc-summary-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-subtle);
  font-style: italic;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .dc-summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dc-summary-grid { grid-template-columns: 1fr; }
}

/* ══ Evidence badges ═════════════════════════════════════════ */
.dc-badges {
  padding: clamp(40px, 6vw, 72px) 0;
  background: rgba(7, 7, 9, 0.55);
  border-bottom: 1px solid var(--gold-border);
}
.dc-badges-head { margin-bottom: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.dc-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* 5 cards → 3+2 layout */
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
@media (max-width: 900px) {
  .dc-badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dc-badges-grid { grid-template-columns: 1fr; }
}
.dc-badge-card {
  background: rgba(9, 9, 12, 0.88);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  background: var(--gold-ghost);
  border-radius: 1px;
  align-self: flex-start;
  white-space: nowrap;
}
.dc-badge--modelled  { color: #ded1b1; border-color: rgba(222, 209, 177, 0.35); background: rgba(222, 209, 177, 0.06); }
.dc-badge--demo      { color: #a8c5e6; border-color: rgba(168, 197, 230, 0.35); background: rgba(168, 197, 230, 0.06); }
.dc-badge--live      { color: #7cd992; border-color: rgba(124, 217, 146, 0.40); background: rgba(124, 217, 146, 0.08); }
.dc-badge--illust    { color: #eab4a8; border-color: rgba(234, 180, 168, 0.35); background: rgba(234, 180, 168, 0.06); }
.dc-badge--benchmark { color: #c9a84c; border-color: rgba(201, 168, 76, 0.40);  background: rgba(201, 168, 76, 0.08); }

.dc-badge-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.dc-badge-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-subtle);
  line-height: 1.55;
}

/* ══ Product-specific evidence card (?system=...) ════════════ */
.dc-system-card {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--gold-border);
  border-top: 2px solid rgba(200, 169, 110, 0.34);
  background: rgba(7, 7, 9, 0.90);
  backdrop-filter: blur(18px);
  position: relative;
}
.dc-system-card::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.dc-system-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.dc-system-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}
.dc-system-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  margin-top: 6px;
}
.dc-system-fact {
  background: rgba(9, 9, 12, 0.90);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.dc-system-fact-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.dc-system-fact-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}
[hidden] { display: none !important; }

/* ══ Document body ═══════════════════════════════════════════ */
.dc-document {
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 104px);
}
.dc-document-wrap {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}
.dc-mobile-nav { display: none; }
.dc-mobile-nav-label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.65);
}
.dc-mobile-nav-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--gold-border);
  background: rgba(9, 9, 12, 0.82);
}
.dc-mobile-nav-progress {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  white-space: nowrap;
}
.dc-mobile-nav-progress [data-dc-nav-num] { color: var(--text); }
.dc-mobile-nav-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  appearance: none;
  background: transparent;
  text-overflow: ellipsis;
  color: var(--text);
  border: 1px solid var(--gold-border);
  border-radius: 1px;
  padding: 8px 34px 8px 12px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(200,169,110,.75) 50%),
    linear-gradient(-45deg, transparent 50%, rgba(200,169,110,.75) 50%);
  background-position:
    calc(100% - 16px) 55%,
    calc(100% - 10px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.dc-mobile-nav-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.dc-mobile-nav-select option { background: #0b0b0e; color: var(--text); }

.dc-sidebar {
  position: sticky;
  top: calc(var(--header-h, 96px) + 20px);
  max-height: calc(100vh - var(--header-h, 96px) - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 169, 110, 0.2) transparent;
}
.dc-sidebar::-webkit-scrollbar { width: 3px; }
.dc-sidebar::-webkit-scrollbar-track { background: transparent; }
.dc-sidebar::-webkit-scrollbar-thumb { background: rgba(200, 169, 110, 0.2); }
.dc-nav {
  padding: clamp(16px, 1.6vw, 22px);
  background: rgba(7, 7, 9, 0.82);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(16px);
}
.dc-nav-title {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gold-border);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.5);
}
.dc-nav-group + .dc-nav-group { margin-top: 16px; }
.dc-nav-group-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.55);
  padding-left: 10px;
}
.dc-nav-list { margin: 0; padding: 0; list-style: none; }
.dc-nav-list li { margin: 0; }
.dc-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 6px 10px;
  margin-left: -1px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
  line-height: 1.45;
}
.dc-nav-link:hover {
  color: var(--text-subtle);
  border-left-color: rgba(200, 169, 110, 0.4);
  background: rgba(200, 169, 110, 0.04);
}
.dc-nav-link.is-active,
.dc-nav-link[aria-current="location"] {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-ghost);
}
.dc-nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.dc-nav-num {
  flex-shrink: 0; width: 20px; text-align: right;
  opacity: 0.45; font-size: 0.55rem;
}
.dc-nav-link.is-active .dc-nav-num,
.dc-nav-link[aria-current="location"] .dc-nav-num {
  opacity: 0.85; color: var(--gold);
}

/* ══ Sections ════════════════════════════════════════════════ */
.dc-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
}
.dc-section {
  position: relative;
  padding: clamp(28px, 3.5vw, 46px) clamp(24px, 3.5vw, 44px);
  background: rgba(9, 9, 12, 0.72);
  border: 1px solid var(--gold-border);
  border-top: 2px solid rgba(200, 169, 110, 0.24);
  backdrop-filter: blur(18px);
  scroll-margin-top: calc(var(--header-h, 96px) + 24px);
}
.dc-section::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.dc-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 clamp(14px, 2vw, 22px);
  flex-wrap: wrap;
}
.dc-section-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--gold-border);
  background: var(--gold-ghost);
  white-space: nowrap;
}
.dc-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.02;
  color: var(--text);
}

/* Body typography — readable-first */
.dc-section p,
.dc-section li {
  font-family: var(--font-body);
  color: var(--text-subtle);
  line-height: 1.75;
}
.dc-section p {
  margin: 0 0 0.9em;
  font-size: 1.05rem;
  max-width: 72ch;
}
.dc-section p:last-child { margin-bottom: 0; }
.dc-section p strong { color: var(--text); font-weight: 600; }
.dc-section em, .dc-section i { color: var(--text); font-style: italic; }
.dc-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 169, 110, 0.55);
  transition: color var(--transition), border-color var(--transition);
}
.dc-section a:hover { color: var(--text); border-bottom-color: var(--gold); }
.dc-section a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.dc-section code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  padding: 1px 6px;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.18);
  border-radius: 1px;
  color: var(--gold);
  white-space: nowrap;
}
.dc-list { margin: 0.4rem 0 1rem; padding: 0; list-style: none; }
.dc-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 1.02rem;
}
.dc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.8em;
  width: 10px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.dc-notice {
  margin: 1.3rem 0 0.4rem;
  padding: 18px 22px;
  border: 1px solid rgba(200, 169, 110, 0.35);
  border-left: 3px solid var(--gold);
  background: rgba(200, 169, 110, 0.06);
}
.dc-notice p { margin: 0 0 0.6em; font-size: 1rem; color: var(--text-subtle); }
.dc-notice p:last-child { margin: 0; }
.dc-related {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}
.dc-related-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.6);
  margin-right: 4px;
}

/* Facts table */
.dc-facts-table-wrap {
  margin: 1rem 0 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--gold-border);
  background: rgba(7, 7, 9, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 169, 110, 0.28) transparent;
}
.dc-facts-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-subtle);
  line-height: 1.55;
}
.dc-facts-table thead th {
  background: rgba(200, 169, 110, 0.08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gold-border);
  font-weight: 500;
  white-space: nowrap;
}
.dc-facts-table tbody td {
  padding: 12px 14px;
  border-top: 1px solid rgba(200, 169, 110, 0.10);
  vertical-align: top;
}
.dc-facts-table tbody tr:hover td { background: rgba(200, 169, 110, 0.03); }

/* Contract-fact modules */
.dc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 1rem 0 1.4rem;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
.dc-fact {
  background: rgba(7, 7, 9, 0.86);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dc-fact-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.dc-fact-value {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.5;
}

/* Buttons */
.dc-btn {
  --dc-btn-bg:    transparent;
  --dc-btn-fg:    var(--gold);
  --dc-btn-brd:   var(--gold-border);
  --dc-btn-bg-h:  rgba(200, 169, 110, 0.10);
  --dc-btn-brd-h: rgba(200, 169, 110, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dc-btn-fg);
  background: var(--dc-btn-bg);
  border: 1px solid var(--dc-btn-brd);
  border-radius: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.dc-btn:hover {
  background: var(--dc-btn-bg-h);
  border-color: var(--dc-btn-brd-h);
  color: var(--text);
}
.dc-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.dc-btn--primary {
  --dc-btn-bg:    var(--gold);
  --dc-btn-fg:    var(--obsidian, #0a0a0d);
  --dc-btn-brd:   var(--gold);
  --dc-btn-bg-h:  #d9bd82;
  --dc-btn-brd-h: #d9bd82;
}
.dc-btn--primary:hover { color: var(--obsidian, #0a0a0d); }
.dc-btn--ghost { --dc-btn-fg: var(--text-subtle); }

/* CTA */
.dc-cta-section {
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--gold-border);
  background: rgba(7, 7, 9, 0.62);
}
.dc-cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 5vw, 52px) clamp(28px, 5vw, 52px);
  border: 1px solid var(--gold-border);
  border-top: 2px solid rgba(200, 169, 110, 0.30);
  background: rgba(9, 9, 12, 0.82);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}
.dc-cta-panel::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 56px; height: 2px;
  background: var(--gold);
}
.dc-cta-eyebrow {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.dc-cta-heading {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: var(--text);
}
.dc-cta-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-subtle);
  line-height: 1.75;
  max-width: 60ch;
}
.dc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .dc-cta-panel { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .dc-document-wrap { grid-template-columns: minmax(0, 1fr); }
  .dc-document { min-width: 0; }
  .dc-sidebar { display: none; }
  .dc-mobile-nav {
    display: block;
    position: sticky;
    top: calc(var(--header-h, 96px) + 8px);
    z-index: 5;
    padding-bottom: 8px;
    background: linear-gradient(to bottom, var(--obsidian) 80%, transparent);
  }
  /* Tables must scroll inside their wrapper, not push the layout wider. */
  .dc-facts-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dc-facts-table { min-width: 560px; }
  /* Facts (dl-style) collapse to single column so long values wrap. */
  .dc-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dc-hero { padding-top: clamp(56px, 14vw, 84px); min-height: 480px; }
  .dc-section { padding: 24px 20px; }
  .dc-section p, .dc-section li { font-size: 1rem; }
  .dc-facts, .dc-system-facts { grid-template-columns: 1fr; }
  .dc-facts-table thead th,
  .dc-facts-table tbody td { font-size: 0.86rem; padding: 10px 12px; }
}

/* Print */
@media print {
  .site-header-shell,
  .site-footer,
  .commerce-bar,
  .ticker,
  #nav-dropdown-portal,
  .dc-mobile-nav,
  .dc-sidebar,
  .dc-cta-section {
    display: none !important;
  }
  body { background: white !important; color: black !important; }
  .dc-main, .dc-section, .dc-hero, .dc-summary, .dc-badges {
    background: white !important;
    color: black !important;
    border-color: #999 !important;
    backdrop-filter: none !important;
    padding: 16px 0 !important;
    page-break-inside: avoid;
  }
  .dc-hero-title { font-size: 28pt !important; color: black !important; }
  .dc-hero-lede, .dc-section p, .dc-section li { color: #222 !important; font-size: 11pt !important; }
  .dc-nav-num, .dc-section-num, .dc-eyebrow-line, .dc-mobile-nav-label { color: #666 !important; }
  .dc-section a { color: black !important; border-bottom: 1px solid #666 !important; }
  .dc-facts, .dc-fact, .dc-hero-panel { background: white !important; border-color: #999 !important; }
  .dc-facts-table th, .dc-facts-table td { color: #222 !important; }
  .dc-document-wrap { display: block !important; }
  h1, h2 { page-break-after: avoid; }
  .dc-slot-pending, .dc-draft-banner { display: none !important; }
}

/* =====================================================================
 * DRAFT BANNER + CONTENT-PENDING SLOTS  (2026-07-18)
 * ---------------------------------------------------------------------
 * Ship-with-placeholders mode: structural rebuild is live but 78 legal
 * copy slots are still awaiting text. These styles make the pending
 * state honestly visible to any visitor (compliance-safe: nothing is
 * fabricated, gaps are labeled).
 * ===================================================================== */

.dc-draft-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100% - 24px, 1200px);
  margin: 16px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(229, 182, 103, 0.10);
  border: 1px solid rgba(229, 182, 103, 0.38);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(229, 182, 103, 0.92);
  text-align: center;
}
.dc-draft-banner svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dc-slot-pending {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(229, 182, 103, 0.08);
  border: 1px dashed rgba(229, 182, 103, 0.40);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(229, 182, 103, 0.75);
  vertical-align: baseline;
  cursor: help;
  max-width: 100%;
  overflow-wrap: anywhere;
}
/* Inside table cells / tight containers — smaller */
td .dc-slot-pending,
.dc-fact-value .dc-slot-pending,
.dc-fact .dc-slot-pending {
  font-size: 0.50rem;
  padding: 2px 8px;
  letter-spacing: 0.10em;
}
/* Inside notice — full-width bleed */
.dc-notice .dc-slot-pending { display: block; margin: 4px 0; }
/* Inside list items */
.dc-list .dc-slot-pending { margin: 2px 0; }
/* Inside summary card body — softly */
.dc-summary-card p .dc-slot-pending,
.dc-badge-card p .dc-slot-pending { opacity: 0.85; }

@media (prefers-reduced-motion: no-preference) {
  .dc-draft-banner { transition: background 200ms ease, border-color 200ms ease; }
}


/* =====================================================================
 * v3 POLISH  (2026-07-18) — grid orphans + mobile tables + numbered
 * read-first markers + pill collision cleanup.
 * ===================================================================== */

/* ── Model-risk grid (4 cards) → 2×2 instead of 3-col orphan ── */
.dc-summary-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 620px) {
  .dc-summary-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: 1fr !important;
  }
}

/* ── Pill-collision cleanup: when the parent has a real fallback value
      (a `<time>` or non-empty text sibling), hide the pending pill. */
.dc-hero-meta-value:has(time) .dc-slot-pending,
.dc-hero-meta-value:has(> :not(.dc-slot-pending)) .dc-slot-pending {
  display: none !important;
}
/* Hero lede: push the pill onto its own line above the fallback text. */
.dc-hero-lede .dc-slot-pending {
  display: block !important;
  margin: 0 0 8px !important;
  max-width: max-content;
}

/* ── Read-this-first numbered markers (01/02/03/04 gold chips) ── */
#dc-read-first .dc-notice .dc-list {
  counter-reset: rf;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.4rem 0 0.6rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 700px) {
  #dc-read-first .dc-notice .dc-list { grid-template-columns: 1fr; }
}
#dc-read-first .dc-notice .dc-list li {
  counter-increment: rf;
  padding: 14px 16px 14px 62px;
  border: 1px solid var(--gold-border);
  background: rgba(9, 9, 12, 0.55);
  position: relative;
  min-height: 68px;
  border-radius: 4px;
}
/* Kill the default .dc-list dash marker for read-first only */
#dc-read-first .dc-notice .dc-list li::before {
  content: "0" counter(rf) !important;
  position: absolute !important;
  left: 12px !important; top: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px !important;
  height: 24px !important;
  padding: 0 10px !important;
  border: 1px solid var(--gold) !important;
  background: var(--gold-ghost) !important;
  color: var(--gold) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.14em !important;
  border-radius: 2px !important;
  width: auto !important;
  opacity: 1 !important;
}

/* ── Mobile-table → stacked cards (spec § 17)
      Applies at ≤ 700px to metrics glossary + evidence comparison. */
@media (max-width: 700px) {
  .dc-facts-table-wrap { border: 0 !important; background: transparent !important; overflow: visible !important; }
  .dc-facts-table { min-width: 0 !important; display: block; }
  .dc-facts-table thead { display: none; }
  .dc-facts-table tbody { display: grid; gap: 12px; }
  .dc-facts-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(9, 9, 12, 0.65);
    border: 1px solid var(--gold-border);
    border-radius: 4px;
  }
  .dc-facts-table tbody th {
    padding: 0 !important;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: left !important;
    border-top: 0 !important;
    background: transparent !important;
  }
  .dc-facts-table tbody td {
    padding: 0 !important;
    border-top: 0 !important;
    color: var(--text-subtle);
    font-size: 0.94rem;
    line-height: 1.55;
    display: block;
  }
  .dc-facts-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.54rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(200, 169, 110, 0.60);
    margin-bottom: 3px;
  }
}
