/* =============================================================
   MSIIA — Risk Notice Page (v3, 2026-07-09)
   Compact 2-col hero · READ THIS FIRST panel · 6-card at-a-glance ·
   Risk matrix · Edition-aware controls · MT5 env module ·
   Grouped sticky TOC · Print · MSIIA black/gold identity
   Prefix: rn-  (risk-notice)
   ============================================================= */

/* ── Motion reveal ─────────────────────────────────────────── */
.motion-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity  260ms cubic-bezier(.16, 1, .3, 1),
    transform 260ms 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 ────────────────────────────────────────────────── */
.rn-main { color: var(--text); }
.rn-wrap {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}
.rn-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 ══════════════════════════════════════════════ */
.rn-hero {
  position: relative;
  min-height: clamp(620px, 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);
}
.rn-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;
}
.rn-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%;
}
.rn-hero-copy { min-width: 0; display: flex; flex-direction: column; }
.rn-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;
}
.rn-eyebrow-line::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.rn-hero-title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text);
}
.rn-title-accent { color: var(--gold); }
.rn-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;
}
.rn-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  max-width: 780px;
  margin-top: auto;
}
.rn-hero-meta-item {
  background: rgba(7, 7, 9, 0.92);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.rn-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);
}
.rn-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 */
.rn-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;
}
.rn-hero-panel::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.rn-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);
}
.rn-hero-panel h2 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: var(--text);
}
.rn-hero-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rn-list;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rn-hero-panel-list li {
  counter-increment: rn-list;
  position: relative;
  padding-left: 34px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-subtle);
  line-height: 1.6;
}
.rn-hero-panel-list li::before {
  content: counter(rn-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) {
  .rn-hero-grid { grid-template-columns: 1fr; }
  .rn-hero-panel { margin-top: 12px; }
}
@media (max-width: 640px) {
  .rn-hero-meta { grid-template-columns: 1fr; }
}

/* ══ At-a-glance six-card ═════════════════════════════════════ */
.rn-summary {
  padding: clamp(48px, 7vw, 80px) 0;
  background: rgba(9, 9, 12, 0.60);
  border-bottom: 1px solid var(--gold-border);
}
.rn-summary-head {
  margin-bottom: clamp(24px, 3.5vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.rn-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
.rn-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 220ms ease, transform 220ms ease;
}
.rn-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 220ms ease;
}
.rn-summary-card:hover { background: rgba(12, 11, 14, 0.98); transform: translateY(-2px); }
.rn-summary-card:hover::before { opacity: 1; }
.rn-summary-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 14px;
}
.rn-summary-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.rn-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);
}
.rn-summary-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
}
.rn-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) {
  .rn-summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .rn-summary-grid { grid-template-columns: 1fr; }
}

/* ══ Document body ═══════════════════════════════════════════ */
.rn-document {
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 104px);
}
.rn-document-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}
.rn-mobile-nav { display: none; }
.rn-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);
}
.rn-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);
}
.rn-mobile-nav-progress {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  white-space: nowrap;
}
.rn-mobile-nav-progress [data-rn-nav-num] { color: var(--text); }
.rn-mobile-nav-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  appearance: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold-border);
  text-overflow: ellipsis;
  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;
}
.rn-mobile-nav-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.rn-mobile-nav-select option { background: #0b0b0e; color: var(--text); }

.rn-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;
}
.rn-sidebar::-webkit-scrollbar { width: 3px; }
.rn-sidebar::-webkit-scrollbar-track { background: transparent; }
.rn-sidebar::-webkit-scrollbar-thumb { background: rgba(200, 169, 110, 0.2); }
.rn-nav {
  padding: clamp(16px, 1.6vw, 22px);
  background: rgba(7, 7, 9, 0.82);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(16px);
}
.rn-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);
}
.rn-nav-group + .rn-nav-group { margin-top: 16px; }
.rn-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;
}
.rn-nav-list { margin: 0; padding: 0; list-style: none; }
.rn-nav-list li { margin: 0; }
.rn-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;
}
.rn-nav-link:hover {
  color: var(--text-subtle);
  border-left-color: rgba(200, 169, 110, 0.4);
  background: rgba(200, 169, 110, 0.04);
}
.rn-nav-link.is-active,
.rn-nav-link[aria-current="location"] {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-ghost);
}
.rn-nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.rn-nav-num {
  flex-shrink: 0; width: 20px; text-align: right;
  opacity: 0.45; font-size: 0.55rem;
}
.rn-nav-link.is-active .rn-nav-num,
.rn-nav-link[aria-current="location"] .rn-nav-num {
  opacity: 0.85; color: var(--gold);
}

/* ══ Sections ════════════════════════════════════════════════ */
.rn-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
}
.rn-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);
}
.rn-section::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.rn-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 clamp(14px, 2vw, 22px);
  flex-wrap: wrap;
}
.rn-section-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid var(--gold-border);
  background: var(--gold-ghost);
}
.rn-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);
}
.rn-section p,
.rn-section li {
  font-family: var(--font-body);
  color: var(--text-subtle);
  line-height: 1.75;
}
.rn-section p {
  margin: 0 0 0.9em;
  font-size: 1.05rem;
  max-width: 72ch;
}
.rn-section p:last-child { margin-bottom: 0; }
.rn-section p strong { color: var(--text); font-weight: 600; }
.rn-section em, .rn-section i { color: var(--text); font-style: italic; }
.rn-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 169, 110, 0.55);
  transition: color 200ms ease, border-color 200ms ease;
}
.rn-section a:hover { color: var(--text); border-bottom-color: var(--gold); }
.rn-section a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.rn-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;
}
.rn-list { margin: 0.4rem 0 1rem; padding: 0; list-style: none; }
.rn-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 1.02rem;
}
.rn-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.8em;
  width: 10px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* Contract-fact modules */
.rn-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);
}
.rn-fact {
  background: rgba(7, 7, 9, 0.86);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rn-fact-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.rn-fact-value {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.5;
}

.rn-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);
}
.rn-notice p { margin: 0 0 0.6em; font-size: 1rem; color: var(--text-subtle); }
.rn-notice p:last-child { margin: 0; }

.rn-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;
}
.rn-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;
}

/* Risk matrix / facts table */
.rn-matrix-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;
}
.rn-matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-subtle);
  line-height: 1.55;
}
.rn-matrix thead th {
  background: rgba(200, 169, 110, 0.08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  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;
}
.rn-matrix tbody td {
  padding: 12px 14px;
  border-top: 1px solid rgba(200, 169, 110, 0.10);
  vertical-align: top;
}
.rn-matrix tbody tr:hover td { background: rgba(200, 169, 110, 0.03); }
.rn-matrix .rn-cell-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.rn-matrix .rn-elim {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--gold-border);
  background: var(--gold-ghost);
  color: var(--gold);
  border-radius: 1px;
  white-space: nowrap;
}
.rn-matrix .rn-elim--no {
  color: #eab4a8;
  border-color: rgba(234, 180, 168, 0.35);
  background: rgba(234, 180, 168, 0.06);
}

@media (max-width: 640px) {
  .rn-matrix thead { display: none; }
  .rn-matrix, .rn-matrix tbody, .rn-matrix tr, .rn-matrix td { display: block; width: 100%; }
  .rn-matrix tr {
    padding: 12px 12px;
    border-top: 1px solid rgba(200, 169, 110, 0.14);
  }
  .rn-matrix tbody td {
    border-top: none;
    padding: 4px 0;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 10px;
  }
  .rn-matrix tbody td::before {
    content: attr(data-th);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 169, 110, 0.65);
  }
}

/* Control cards */
.rn-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin: 1rem 0 1.4rem;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
.rn-control-card {
  background: rgba(7, 7, 9, 0.88);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rn-control-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.rn-control-purpose,
.rn-control-limitation {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-subtle);
  line-height: 1.55;
}
.rn-control-limitation {
  padding-top: 6px;
  border-top: 1px dashed rgba(200, 169, 110, 0.20);
  color: rgba(234, 180, 168, 0.90);
  font-style: italic;
}

/* Edition matrix */
.rn-editions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 1rem 0 1.4rem;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}
.rn-edition {
  background: rgba(7, 7, 9, 0.88);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rn-edition-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.rn-edition-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}
.rn-edition-price {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.rn-edition-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.rn-edition-list li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-subtle);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.rn-edition-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.rn-edition-list li.rn-locked { color: var(--text-muted); opacity: 0.7; }
.rn-edition-list li.rn-locked::before { background: rgba(234, 180, 168, 0.55); }
@media (max-width: 768px) {
  .rn-editions { grid-template-columns: 1fr; }
}

/* Buttons */
.rn-btn {
  --rn-btn-bg:    transparent;
  --rn-btn-fg:    var(--gold);
  --rn-btn-brd:   var(--gold-border);
  --rn-btn-bg-h:  rgba(200, 169, 110, 0.10);
  --rn-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(--rn-btn-fg);
  background: var(--rn-btn-bg);
  border: 1px solid var(--rn-btn-brd);
  border-radius: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.rn-btn:hover {
  background: var(--rn-btn-bg-h);
  border-color: var(--rn-btn-brd-h);
  color: var(--text);
}
.rn-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.rn-btn--primary {
  --rn-btn-bg:    var(--gold);
  --rn-btn-fg:    var(--obsidian, #0a0a0d);
  --rn-btn-brd:   var(--gold);
  --rn-btn-bg-h:  #d9bd82;
  --rn-btn-brd-h: #d9bd82;
}
.rn-btn--primary:hover { color: var(--obsidian, #0a0a0d); }
.rn-btn--ghost { --rn-btn-fg: var(--text-subtle); }

/* CTA */
.rn-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);
}
.rn-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;
}
.rn-cta-panel::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 56px; height: 2px;
  background: var(--gold);
}
.rn-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);
}
.rn-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);
}
.rn-cta-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-subtle);
  line-height: 1.75;
  max-width: 60ch;
}
.rn-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .rn-cta-panel { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .rn-document-wrap { grid-template-columns: minmax(0, 1fr); }
  .rn-document { min-width: 0; }
  .rn-sidebar { display: none; }
  .rn-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);
  }
  .rn-matrix-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rn-facts { grid-template-columns: 1fr; }
  .rn-controls { grid-template-columns: 1fr; }
  .rn-editions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rn-hero { padding-top: clamp(56px, 14vw, 84px); min-height: 480px; }
  .rn-section { padding: 24px 20px; }
  .rn-section p, .rn-section li { font-size: 1rem; }
  .rn-facts, .rn-controls { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .site-header-shell,
  .site-footer,
  .commerce-bar,
  .ticker,
  #nav-dropdown-portal,
  .rn-mobile-nav,
  .rn-sidebar,
  .rn-cta-section {
    display: none !important;
  }
  body { background: white !important; color: black !important; }
  .rn-main, .rn-section, .rn-hero, .rn-summary {
    background: white !important;
    color: black !important;
    border-color: #999 !important;
    backdrop-filter: none !important;
    padding: 16px 0 !important;
    page-break-inside: avoid;
  }
  .rn-hero-title { font-size: 28pt !important; color: black !important; }
  .rn-hero-lede, .rn-section p, .rn-section li { color: #222 !important; font-size: 11pt !important; }
  .rn-nav-num, .rn-section-num, .rn-eyebrow-line, .rn-mobile-nav-label { color: #666 !important; }
  .rn-section a { color: black !important; border-bottom: 1px solid #666 !important; }
  .rn-facts, .rn-fact, .rn-controls, .rn-control-card, .rn-editions, .rn-edition, .rn-hero-panel {
    background: white !important; border-color: #999 !important;
  }
  .rn-matrix th, .rn-matrix td { color: #222 !important; }
  .rn-document-wrap { display: block !important; }
  h1, h2 { page-break-after: avoid; }
  .rn-slot-pending, .rn-draft-banner { display: none !important; }
}

/* =====================================================================
 * DRAFT BANNER + CONTENT-PENDING SLOTS  (2026-07-18)
 * Ship-with-placeholders mode for /risk-notice.
 * ===================================================================== */
.rn-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;
}
.rn-draft-banner svg { width: 14px; height: 14px; flex-shrink: 0; }

.rn-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; word-break: break-word;
  min-width: 0;
}
@media (max-width: 600px) {
  .rn-slot-pending { font-size: 0.48rem; padding: 2px 7px; letter-spacing: 0.08em; }
}
td .rn-slot-pending,
.rn-fact-value .rn-slot-pending,
.rn-fact .rn-slot-pending,
.rn-edition-price .rn-slot-pending {
  font-size: 0.50rem; padding: 2px 8px; letter-spacing: 0.10em;
}
.rn-notice .rn-slot-pending { display: block; margin: 4px 0; }
.rn-list .rn-slot-pending { margin: 2px 0; }
.rn-control-card .rn-slot-pending,
.rn-summary-card p .rn-slot-pending { opacity: 0.85; }
