/* State of Company Registers — report page. Press-ready, citable, calm. */
.rp-wrap { max-width: 1280px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 56px) 80px; }
.rp-home { display: inline-block; margin-bottom: 22px; color: var(--muted);
  text-decoration: none; font-weight: 600; font-size: 14px; }
.rp-home:hover { color: var(--brand); }

.rp-hero { padding: 8px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 34px; }
.rp-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px;
  font-weight: 800; color: var(--brand); margin-bottom: 12px; }
.rp-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 16px; }
.rp-lede { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: var(--text);
  max-width: 62em; margin: 0 0 14px; }
.rp-asof { font-size: 13px; color: var(--muted); margin: 0; }

.rp-section { margin: 0 0 44px; }
.rp-section h2 { font-size: clamp(20px, 3vw, 26px); letter-spacing: -.01em; margin: 0 0 14px; }
.rp-h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin: 26px 0 10px; }
.rp-p { font-size: 15.5px; line-height: 1.6; color: var(--text); max-width: 66em; margin: 0 0 14px; }
.rp-boiler { color: var(--muted); font-size: 14px; }

/* Key-findings stat cards */
.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rp-stat { border: 1px solid var(--border); border-radius: 16px; padding: 20px;
  background: color-mix(in srgb, var(--brand) 3%, var(--surface)); }
.rp-stat-n { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: var(--brand); margin-bottom: 10px; }
.rp-stat-h { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.rp-stat-s { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Access-barrier bar */
.rp-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); margin: 8px 0 14px; }
.rp-bar-seg { height: 100%; }
.rp-seg-captcha { background: #dc2626; }
.rp-seg-waf { background: #f59e0b; }
.rp-seg-open { background: #16a34a; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); }
.rp-leg { display: inline-flex; align-items: center; gap: 7px; }
.rp-leg b { color: var(--text); }
.rp-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* League table */
.rp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 8px; }
.rp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--border); }
.rp-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); }
.rp-td-reg { font-weight: 600; }
.rp-td-up { font-variant-numeric: tabular-nums; font-weight: 700; }
.rp-td-bar { color: var(--muted); font-size: 13.5px; }
.rp-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  font-weight: 700; }
.rp-ok { background: color-mix(in srgb, #16a34a 15%, transparent); color: #15803d; }
.rp-partial { background: color-mix(in srgb, #f59e0b 18%, transparent); color: #b45309; }
.rp-down { background: color-mix(in srgb, #dc2626 15%, transparent); color: #b91c1c; }

/* Download + cite */
.rp-download, .rp-press { border: 1px solid var(--border); border-radius: 18px; padding: 24px 26px;
  background: var(--surface); }
.rp-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 12px; text-decoration: none; margin: 6px 0 16px; }
.rp-btn:hover { background: var(--brand-dark, var(--brand)); }
.rp-cite { font-size: 13.5px; color: var(--muted); }
.rp-cite code { display: block; margin-top: 6px; padding: 10px 12px; background: var(--soft);
  border-radius: 8px; font-size: 12.5px; color: var(--text); word-break: break-all; }
.rp-press { margin-top: 20px; }
.rp-press a { color: var(--brand); }

@media (max-width: 560px) {
  .rp-table th:nth-child(4), .rp-table td:nth-child(4) { display: none; }
}

/* ── v2: research-report structure (exec summary, TOC, taxonomy, methodology) ── */
.rp-sub { font-size: clamp(17px, 2.4vw, 21px); font-weight: 600; line-height: 1.45;
  color: var(--text); max-width: 58em; margin: 0 0 14px; }
.rp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.rp-toc a { font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); border-radius: 999px;
  padding: 6px 13px; background: color-mix(in srgb, var(--brand) 7%, transparent); }
.rp-toc a:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.rp-exec-p { font-size: 16px; line-height: 1.65; color: var(--text); max-width: 66em;
  margin: 0 0 14px; padding-left: 16px; border-left: 3px solid var(--brand); }
.rp-taxonomy { margin-top: 20px; display: grid; gap: 12px; }
.rp-tax { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.rp-tax .rp-dot { margin-top: 4px; flex: none; }
.rp-tax strong { font-size: 14.5px; }
.rp-tax p { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.55; }
.rp-method { margin-bottom: 4px; }
.rp-method .rp-h3 { margin-top: 18px; }
.rp-press .rp-btn { margin-bottom: 14px; }
.rp-section[id] { scroll-margin-top: 20px; }

/* Buttons inside link-styled containers keep white text (contrast fix: .rp-press a
   was overriding .rp-btn to brand-blue on the brand-blue button background). */
.rp-press a.rp-btn, .rp-download a.rp-btn { color: #fff; }
.rp-press a.rp-btn:hover, .rp-download a.rp-btn:hover { color: #fff; }
