/* ============================================
   Report Page — Editorial Long-Form
   ============================================ */

:root {
  --rp-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rp-serif: 'IBM Plex Serif', Georgia, serif;
  --rp-bg: #ffffff;
  --rp-bg-alt: #f7f7f5;
  --rp-text: #111111;
  --rp-text-mid: #444444;
  --rp-text-dim: #888888;
  --rp-accent: #1a3e6f;
  --rp-border: #e5e5e0;
  --rp-max: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--rp-sans);
  background: var(--rp-bg);
  color: var(--rp-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ============================================
   Nav
   ============================================ */
.rp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rp-border);
}

.rp-nav-logo {
  font-family: 'Cormorant Garamond', var(--rp-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--rp-text);
}

.rp-nav-links { display: flex; gap: 28px; }
.rp-nav-links a {
  font-size: 13px;
  color: var(--rp-text-dim);
  transition: color 0.2s;
}
.rp-nav-links a:hover,
.rp-nav-links a.active { color: var(--rp-text); }

/* ============================================
   Hero
   ============================================ */
.rp-hero {
  background: var(--rp-bg-alt);
  border-bottom: 1px solid var(--rp-border);
  padding: 80px 32px 60px;
}

.rp-hero-inner {
  max-width: var(--rp-max);
  margin: 0 auto;
}

.rp-back {
  display: inline-block;
  font-size: 13px;
  color: var(--rp-text-dim);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.rp-back:hover { color: var(--rp-text); }

.rp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rp-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rp-accent);
  background: rgba(26,62,111,0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.rp-date {
  font-size: 13px;
  color: var(--rp-text-dim);
}

.rp-hero h1 {
  font-family: var(--rp-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  max-width: 820px;
}

.rp-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--rp-text-mid);
  max-width: 780px;
}

/* ============================================
   Body layout
   ============================================ */
.rp-body {
  padding: 48px 32px 80px;
}

.rp-container {
  max-width: var(--rp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

/* ============================================
   TOC
   ============================================ */
.rp-toc {
  position: sticky;
  top: 80px;
  align-self: start;
  font-size: 13px;
  line-height: 1.5;
}

.rp-toc strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rp-text-dim);
  margin-bottom: 12px;
}

.rp-toc ol { list-style: none; counter-reset: toc; }
.rp-toc li { counter-increment: toc; margin-bottom: 8px; }
.rp-toc li a { color: var(--rp-text-mid); transition: color 0.2s; }
.rp-toc li a:hover { color: var(--rp-accent); }

/* ============================================
   Article base typography
   ============================================ */
.rp-article { min-width: 0; }

.rp-article section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rp-border);
}

.rp-article section:last-of-type { border-bottom: none; }

.rp-article h2 {
  font-family: var(--rp-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}

.sn {
  display: inline-block;
  font-family: var(--rp-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--rp-accent);
  margin-right: 8px;
  vertical-align: baseline;
}

.rp-article h3 {
  font-family: var(--rp-sans);
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--rp-text);
}

.rp-article p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--rp-text-mid);
  margin-bottom: 14px;
  max-width: 720px;
}

.rp-article strong { color: var(--rp-text); font-weight: 600; }

.rp-article ul,
.rp-article ol {
  margin: 12px 0 18px 20px;
  max-width: 700px;
}

.rp-article li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rp-text-mid);
  margin-bottom: 8px;
}

/* ============================================
   Showcase — Hamilton Lane open big-number grid
   No borders, no cards. Pure typography on white.
   ============================================ */
.rp-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 40px 0 44px;
}

.rp-showcase-item {
  padding: 0 32px 0 0;
}

.rp-showcase-item + .rp-showcase-item {
  padding-left: 32px;
  border-left: 1px solid var(--rp-border);
}

.rp-showcase-num {
  font-family: var(--rp-sans);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--rp-text);
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-showcase-num.sm {
  font-size: 36px;
  letter-spacing: -1px;
}

.rp-showcase-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--rp-text);
  margin-bottom: 10px;
}

.rp-showcase-ctx {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rp-text-dim);
}

/* ============================================
   Chart blocks — open style, no box
   ============================================ */
.rp-chart-block {
  margin: 40px 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.rp-chart-title {
  font-family: var(--rp-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--rp-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.rp-chart-subtitle {
  font-size: 14px;
  color: var(--rp-text-dim);
  margin-bottom: 28px;
}

.rp-chart-footnote {
  font-size: 12px;
  color: var(--rp-text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================
   Bar chart — clean, minimal
   ============================================ */
.rp-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rp-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rp-bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--rp-text-dim);
  min-width: 68px;
  text-align: right;
}

.rp-bar-track {
  flex: 1;
  height: 32px;
  background: var(--rp-bg-alt);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.rp-bar {
  height: 100%;
  width: var(--bar-w);
  background: var(--rp-text);
  border-radius: 4px;
  position: relative;
}

.rp-bar-accent { background: var(--rp-accent); }

.rp-bar::after {
  content: attr(data-val);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* ============================================
   EBITDA diverging bar (neg/pos)
   ============================================ */
.rp-ebitda-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.rp-ebitda-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rp-ebitda-track {
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
}

.rp-ebitda-bar {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: width .4s ease;
}

.rp-ebitda-bar.neg {
  width: var(--neg-w);
  background: #e74c3c;
  color: #fff;
  justify-content: flex-end;
}

.rp-ebitda-bar.pos {
  width: var(--pos-w);
  background: var(--rp-accent);
  color: #fff;
}

/* ============================================
   Market share stacked bar — open style
   ============================================ */
.rp-share-chart { margin-top: 8px; }

.rp-share-bar {
  display: flex;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  gap: 3px;
}

.rp-share-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.seg-usdt { background: var(--rp-text); }
.seg-usdc { background: #2563eb; }
.seg-other { background: #c4c4be; color: var(--rp-text); }

.rp-share-legend {
  display: flex;
  gap: 28px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.rp-share-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--rp-text-mid);
}

.rp-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dot-usdt { background: var(--rp-text); }
.dot-usdc { background: #2563eb; }
.dot-other { background: #c4c4be; }

/* ============================================
   Horizontal breakdown bars — open
   ============================================ */
.rp-h-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0;
}

.rp-h-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--rp-text-mid);
}

.rp-h-bar-head strong {
  font-size: 16px;
  color: var(--rp-text);
}

.rp-h-bar-track {
  height: 8px;
  background: var(--rp-bg-alt);
  border-radius: 4px;
  overflow: hidden;
}

.rp-h-bar-fill {
  height: 100%;
  width: var(--fill);
  background: var(--rp-text);
  border-radius: 4px;
}

.rp-h-bar-alt { background: #d97706; }
.rp-h-bar-dim { background: #b0b0a8; }

/* ============================================
   Compare grid — borderless open cards
   ============================================ */
.rp-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  margin-top: 8px;
}

.rp-compare-card {
  background: none;
  padding: 0;
}

.rp-compare-icon { display: none; }

.rp-compare-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--rp-text-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rp-compare-val {
  font-family: var(--rp-sans);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1.5px;
  color: var(--rp-text);
  line-height: 1;
}

.rp-compare-sub {
  font-size: 14px;
  color: var(--rp-text-mid);
  margin-bottom: 10px;
}

.rp-compare-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rp-text-dim);
}

/* ============================================
   Versus comparison — clean open two-column
   ============================================ */
.rp-versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 8px;
}

.rp-versus-col {
  padding: 4px 0;
}

.rp-versus-col:last-child {
  padding-left: 32px;
}

.rp-versus-col:first-child {
  padding-right: 32px;
}

.rp-versus-header {
  font-size: 16px;
  font-weight: 600;
  color: var(--rp-text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--rp-text);
}

.rp-versus-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--rp-bg-alt);
}

.rp-versus-row:last-child { border-bottom: none; }

.rp-versus-label { color: var(--rp-text-mid); }

.rp-versus-val {
  font-weight: 600;
  font-size: 14px;
  padding: 0;
  border-radius: 0;
  background: none;
}

.rp-versus-val.bad { color: var(--rp-text-dim); background: none; }
.rp-versus-val.good { color: var(--rp-text); background: none; }

.rp-versus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-left: 1px solid var(--rp-border);
  border-right: none;
}

.rp-versus-divider span {
  font-size: 11px;
  font-weight: 700;
  color: var(--rp-text-dim);
  letter-spacing: 1px;
}

/* ============================================
   Timeline — clean vertical
   ============================================ */
.rp-timeline {
  position: relative;
  margin: 28px 0 32px;
  padding-left: 140px;
}

.rp-timeline::before {
  content: '';
  position: absolute;
  left: 126px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--rp-border);
}

.rp-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.rp-timeline-item:last-child { margin-bottom: 0; }

.rp-timeline-date {
  position: absolute;
  left: -140px;
  width: 116px;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--rp-text-dim);
  padding-top: 1px;
}

.rp-timeline-dot {
  position: absolute;
  left: -18px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rp-text);
}

.rp-timeline-content { padding-left: 8px; }

.rp-timeline-content strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rp-text);
  line-height: 1.35;
}

.rp-timeline-content span {
  display: block;
  font-size: 14px;
  color: var(--rp-text-dim);
  margin-top: 2px;
}

/* ============================================
   Scenario outlook — open, no card borders
   ============================================ */
.rp-scenario-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0;
}

.rp-scenario-card {
  border: none;
  border-radius: 0;
  padding: 0 28px 0 0;
  background: none;
}

.rp-scenario-card + .rp-scenario-card {
  padding-left: 28px;
  border-left: 1px solid var(--rp-border);
}

.rp-scenario-card.featured {}

.rp-scenario-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0;
  border-radius: 0;
  margin-bottom: 10px;
  background: none;
}

.rp-scenario-tag.bear { color: #b91c1c; }
.rp-scenario-tag.base { color: var(--rp-accent); }
.rp-scenario-tag.bull { color: #15803d; }

.rp-scenario-figure {
  font-family: var(--rp-sans);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1.5px;
  color: var(--rp-text);
  margin-bottom: 10px;
  line-height: 1;
}

.rp-scenario-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rp-text-dim);
  margin-bottom: 0;
}

.rp-scenario-bar-wrap { display: none; }

/* ============================================
   Data grid — kept for cross-border section
   ============================================ */
.rp-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0;
}

.rp-data-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.rp-datum {
  padding: 0 28px 0 0;
  background: none;
}

.rp-datum + .rp-datum {
  padding-left: 28px;
  border-left: 1px solid var(--rp-border);
}

.rp-datum-val {
  font-family: var(--rp-sans);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--rp-text);
  margin-bottom: 6px;
  line-height: 1;
}

.rp-datum-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--rp-text-dim);
}

/* ============================================
   Table — clean, lighter borders
   ============================================ */
.rp-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: none;
  border-radius: 0;
}

.rp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rp-table thead { background: none; }

.rp-table th {
  text-align: left;
  padding: 12px 16px 12px 0;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--rp-text-dim);
  border-bottom: 2px solid var(--rp-text);
}

.rp-table td {
  padding: 12px 16px 12px 0;
  color: var(--rp-text-mid);
  border-bottom: 1px solid var(--rp-bg-alt);
  line-height: 1.55;
  vertical-align: top;
}

.rp-table tr:last-child td { border-bottom: none; }
.rp-table td strong { color: var(--rp-text); }

/* ============================================
   Callout — subtle left accent
   ============================================ */
.rp-callout {
  background: none;
  border-left: 3px solid var(--rp-text);
  padding: 16px 0 16px 20px;
  margin: 28px 0;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rp-text-mid);
  max-width: 720px;
}

.rp-callout strong { color: var(--rp-text); }
.rp-callout em { font-style: italic; }

/* ============================================
   Source note (inline)
   ============================================ */
.rp-source {
  font-size: 12px;
  color: var(--rp-text-dim);
  font-style: italic;
  margin-top: -4px;
}

/* ============================================
   Sources section
   ============================================ */
.rp-sources { border-bottom: none !important; }

.rp-sources h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.rp-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rp-sources li {
  font-size: 13px;
  color: var(--rp-text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--rp-bg-alt);
}

.rp-sources li:last-child { border-bottom: none; }
.rp-sources a { color: var(--rp-accent); }
.rp-sources a:hover { text-decoration: underline; }

/* ============================================
   Disclaimer
   ============================================ */
.rp-disclaimer {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.rp-disclaimer p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--rp-text-dim);
  max-width: 100%;
}

/* ============================================
   Footer
   ============================================ */
.rp-footer {
  border-top: 1px solid var(--rp-border);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--rp-text-dim);
}

.rp-footer a {
  color: var(--rp-text-dim);
  margin-left: 20px;
  transition: color 0.2s;
}

.rp-footer a:hover { color: var(--rp-text); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .rp-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rp-toc {
    position: static;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rp-border);
  }
  .rp-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rp-showcase-item {
    padding: 0;
    border-left: none !important;
  }
  .rp-showcase-item + .rp-showcase-item {
    padding-left: 0;
    padding-top: 32px;
    border-left: none;
    border-top: 1px solid var(--rp-border);
  }
  .rp-data-grid,
  .rp-data-grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rp-datum + .rp-datum {
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--rp-border);
  }
  .rp-datum { padding-right: 0; }
  .rp-compare-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rp-versus {
    grid-template-columns: 1fr;
  }
  .rp-versus-col:first-child { padding-right: 0; }
  .rp-versus-col:last-child { padding-left: 0; }
  .rp-versus-divider {
    border-left: none;
    padding: 12px 0;
    justify-content: flex-start;
  }
  .rp-scenario-visual {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rp-scenario-card {
    padding-right: 0;
  }
  .rp-scenario-card + .rp-scenario-card {
    padding-left: 0;
    padding-top: 28px;
    border-left: none;
    border-top: 1px solid var(--rp-border);
  }
  .rp-timeline {
    padding-left: 28px;
  }
  .rp-timeline::before {
    left: 14px;
  }
  .rp-timeline-date {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 2px;
  }
  .rp-timeline-item {
    flex-direction: column;
    padding-left: 16px;
  }
  .rp-timeline-dot {
    left: -22px;
    top: 24px;
  }
}

@media (max-width: 600px) {
  .rp-hero { padding: 60px 20px 40px; }
  .rp-body { padding: 32px 20px 60px; }
  .rp-hero h1 { font-size: 32px; }
  .rp-showcase-num { font-size: 38px; }
  .rp-showcase-num.sm { font-size: 28px; }
  .rp-compare-val { font-size: 34px; }
  .rp-scenario-figure { font-size: 32px; }
  .rp-datum-val { font-size: 28px; }
  .rp-nav { padding: 0 16px; }
  .rp-nav-links { gap: 16px; }
  .rp-nav-links a { font-size: 12px; }
  .rp-footer { flex-direction: column; gap: 12px; text-align: center; }
  .rp-footer a { margin-left: 0; margin-right: 12px; }
  .rp-share-seg span { font-size: 10px; }
}
