:root {
  --graph-bg: #080a0e;
  --graph-panel: #10141b;
  --graph-panel-soft: #141922;
  --graph-ink: #f1eee7;
  --graph-muted: #a5adba;
  --graph-faint: #7f8998;
  --graph-rule: #2a303a;
  --graph-rule-strong: #414a58;
  --graph-orange: #f7931a;
  --graph-cyan: #79b7b1;
  --graph-serif: Georgia, "Times New Roman", serif;
  --graph-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --graph-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.graph-report {
  min-width: 320px;
  margin: 0;
  color: var(--graph-ink);
  background:
    radial-gradient(circle at 84% 4%, rgba(247, 147, 26, 0.07), transparent 25rem),
    var(--graph-bg);
  font-family: var(--graph-sans);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.graph-report::before {
  content: none;
}

.graph-report ::selection {
  color: #090b10;
  background: var(--graph-orange);
}

.graph-report a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.graph-report a:hover {
  color: var(--graph-orange);
}

.graph-report :is(a, button, summary):focus-visible {
  outline: 2px solid var(--graph-orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: var(--graph-bg);
  background: var(--graph-ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.report-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-inline: max(4vw, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(65, 74, 88, 0.72);
  background: rgba(8, 10, 14, 0.93);
  backdrop-filter: blur(18px);
}

.report-brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--graph-ink);
  font-weight: 650;
  text-decoration: none;
}

.report-brand::before {
  color: var(--graph-orange);
  content: "₿";
}

.report-topbar nav,
.report-footer nav {
  display: flex;
  gap: 24px;
  color: var(--graph-muted);
  font-family: var(--graph-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-topbar nav a,
.report-footer nav a {
  text-decoration: none;
}

.breadcrumbs,
.report-hero,
.hero-finding,
.report-layout,
.report-footer {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.breadcrumbs {
  margin-top: 26px;
  color: var(--graph-faint);
  font-family: var(--graph-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.breadcrumbs ol,
.breadcrumbs li {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs a {
  text-decoration: none;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  gap: clamp(44px, 7vw, 110px);
  padding: clamp(70px, 9vw, 122px) 0 74px;
  border-bottom: 1px solid var(--graph-rule-strong);
}

.eyebrow,
.section-label,
.release-status {
  margin: 0 0 20px;
  color: var(--graph-muted);
  font-family: var(--graph-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span,
.section-label {
  color: var(--graph-orange);
}

.report-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--graph-serif);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.dek {
  max-width: 820px;
  margin: 34px 0 0;
  color: #c8cdd4;
  font-family: var(--graph-serif);
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.4;
}

.release-status {
  margin: 28px 0 0;
  color: var(--graph-faint);
  letter-spacing: 0.03em;
  text-transform: none;
}

.release-status strong {
  color: var(--graph-cyan);
  font-weight: 500;
}

.snapshot-card {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--graph-rule-strong);
}

.snapshot-card div {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--graph-rule);
}

.snapshot-card dt {
  color: var(--graph-faint);
  font-family: var(--graph-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.snapshot-card dd {
  margin: 0;
  color: var(--graph-ink);
  font-family: var(--graph-mono);
  font-size: 13px;
  text-align: right;
}

.hero-finding {
  display: grid;
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
  gap: 28px 54px;
  padding: 68px 0;
  border-bottom: 1px solid var(--graph-rule-strong);
}

.hero-finding .section-label {
  grid-row: span 3;
}

.hero-finding h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--graph-serif);
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-finding > p:not(.section-label) {
  max-width: 860px;
  margin: 0;
  color: #c5cad1;
  font-size: 19px;
}

.hero-finding aside {
  max-width: 860px;
  padding: 20px 23px;
  border-left: 3px solid var(--graph-orange);
  color: #d7d9dc;
  background: rgba(247, 147, 26, 0.07);
}

.report-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  gap: clamp(48px, 8vw, 120px);
  justify-content: center;
  padding: 74px 0 120px;
}

.report-body,
.report-body > section,
.citation-box > *,
.table-wrap {
  min-width: 0;
}

.contents {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  color: var(--graph-muted);
}

.contents summary {
  color: var(--graph-ink);
  font-family: var(--graph-mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contents ol {
  margin: 20px 0 0;
  padding: 0;
  counter-reset: section;
}

.contents li {
  padding: 8px 0;
  border-bottom: 1px solid var(--graph-rule);
  list-style: none;
  counter-increment: section;
}

.contents a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  font-size: 13px;
  text-decoration: none;
}

.contents a::before {
  color: var(--graph-faint);
  font-family: var(--graph-mono);
  font-size: 10px;
  content: counter(section, decimal-leading-zero);
}

.contents a[aria-current="location"] {
  color: var(--graph-orange);
}

.report-body > section {
  scroll-margin-top: 100px;
  padding: 0 0 74px;
  margin: 0 0 74px;
  border-bottom: 1px solid var(--graph-rule);
}

.report-body > section:last-child {
  margin-bottom: 0;
}

.report-body h2 {
  max-width: 760px;
  margin: 0 0 30px;
  font-family: var(--graph-serif);
  font-size: clamp(30px, 3.2vw, 45px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}

.report-body h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.35;
}

.report-body p {
  max-width: 760px;
  margin: 0 0 21px;
  color: #c2c7cf;
  font-size: 17px;
}

.report-body strong {
  color: var(--graph-ink);
}

.report-body code,
.hash-ledger code {
  color: #b8c7c5;
  font-family: var(--graph-mono);
  font-size: 0.82em;
  overflow-wrap: anywhere;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--graph-rule);
  border: 1px solid var(--graph-rule);
}

.finding-grid article {
  min-height: 310px;
  padding: 28px;
  background: var(--graph-panel);
}

.finding-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--graph-orange);
  font-family: var(--graph-mono);
  font-size: 24px;
}

.finding-grid p {
  margin: 0;
  color: var(--graph-muted);
  font-size: 14px;
}

.measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--graph-rule);
}

.measure-grid > div {
  padding: 30px;
  background: var(--graph-panel);
}

.measure-grid > div:last-child {
  background: #15130f;
}

.measure-grid ul,
.limitations {
  margin: 0;
  padding-left: 20px;
  color: #bec4cc;
}

.measure-grid li,
.limitations li {
  margin: 11px 0;
  padding-left: 5px;
}

.publication-figure {
  margin: 38px 0;
}

.publication-figure > a {
  display: block;
  border: 1px solid var(--graph-rule);
  border-radius: 12px;
  overflow: hidden;
  background: #090b10;
}

.publication-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.publication-figure figcaption {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 2px 0;
  color: var(--graph-muted);
  font-size: 12px;
}

.chart-data {
  margin-top: 16px;
  color: var(--graph-muted);
}

.chart-data summary {
  width: fit-content;
  font-family: var(--graph-mono);
  font-size: 11px;
  cursor: pointer;
}

.chart-data .table-wrap {
  max-height: 420px;
  overflow: auto;
}

.chart-data table {
  min-width: 560px;
}

.figure-actions {
  display: flex;
  flex: none;
  gap: 10px;
  font-family: var(--graph-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.figure-actions button {
  padding: 0;
  color: var(--graph-muted);
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.table-wrap {
  width: 100%;
  margin: 34px 0;
  overflow-x: auto;
  border: 1px solid var(--graph-rule);
}

.table-wrap table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--graph-panel);
}

.table-wrap caption {
  padding: 17px 20px;
  color: var(--graph-muted);
  border-bottom: 1px solid var(--graph-rule);
  font-family: var(--graph-mono);
  font-size: 11px;
  text-align: left;
}

.table-wrap th,
.table-wrap td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--graph-rule);
  font-family: var(--graph-mono);
  font-size: 12px;
  text-align: right;
  vertical-align: top;
}

.table-wrap th:first-child,
.table-wrap td:first-child {
  text-align: left;
}

.table-wrap thead th {
  color: var(--graph-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-wrap tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.note,
.availability {
  padding: 18px 21px;
  border-left: 2px solid var(--graph-cyan);
  background: rgba(121, 183, 177, 0.07);
}

.report-body p.note {
  color: #bfc9c8;
  font-size: 14px;
}

.method-flow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 34px 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--graph-rule);
  background: var(--graph-panel);
}

.method-flow span {
  flex: none;
  padding: 12px 16px;
  border: 1px solid var(--graph-rule-strong);
  border-radius: 999px;
  font-family: var(--graph-mono);
  font-size: 11px;
}

.method-flow .terminal {
  border-color: rgba(247, 147, 26, 0.6);
  color: var(--graph-orange);
}

.method-flow b {
  flex: none;
  color: var(--graph-faint);
  font-family: var(--graph-mono);
  font-size: 10px;
  font-weight: 400;
}

.hash-ledger {
  margin: 36px 0 0;
}

.hash-ledger div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 4px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--graph-rule);
}

.hash-ledger dt {
  grid-row: span 2;
  color: var(--graph-muted);
  font-size: 13px;
}

.hash-ledger dd {
  margin: 0;
  font-family: var(--graph-mono);
  font-size: 12px;
}

.hash-ledger code {
  grid-column: 2;
}

.availability {
  margin-top: 34px;
  border-left-color: var(--graph-orange);
  background: rgba(247, 147, 26, 0.06);
}

.availability p {
  margin: 0;
  font-size: 14px;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-links a,
.report-cta > a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--graph-rule-strong);
  font-family: var(--graph-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.citation-box {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 28px;
  margin-top: 38px;
  padding: 28px;
  border: 1px solid var(--graph-rule);
  background: var(--graph-panel);
}

.citation-box blockquote {
  margin: 0 0 18px;
  color: #d2d5d9;
  font-family: var(--graph-serif);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.citation-box button {
  padding: 8px 12px;
  color: var(--graph-ink);
  border: 1px solid var(--graph-rule-strong);
  background: transparent;
  font-family: var(--graph-mono);
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.citation-box ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--graph-rule);
}

.citation-box li {
  padding: 7px 0 7px 20px;
  list-style: none;
  font-family: var(--graph-mono);
  font-size: 11px;
}

.disclosure-ledger {
  margin: 34px 0 0;
  border-top: 1px solid var(--graph-rule);
}

.disclosure-ledger div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--graph-rule);
}

.disclosure-ledger dt {
  color: var(--graph-faint);
  font-family: var(--graph-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disclosure-ledger dd {
  margin: 0;
  color: var(--graph-muted);
  font-size: 14px;
}

.report-cta {
  padding: 48px !important;
  border: 1px solid rgba(247, 147, 26, 0.35) !important;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.12), rgba(121, 183, 177, 0.04));
}

.report-cta > a {
  color: #15100a;
  border-color: var(--graph-orange);
  background: var(--graph-orange);
  font-weight: 600;
}

.report-cta > a:hover {
  color: #15100a;
  background: #ffad45;
}

.report-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0 56px;
  color: var(--graph-faint);
  border-top: 1px solid var(--graph-rule);
  font-size: 12px;
}

.report-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .report-topbar nav {
    gap: 14px;
  }

  .report-topbar nav a:nth-child(2) {
    display: none;
  }

  .report-hero {
    grid-template-columns: 1fr;
  }

  .snapshot-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .snapshot-card div {
    padding-right: 22px;
  }

  .report-layout {
    display: block;
  }

  .contents {
    position: static;
    max-height: none;
    margin-bottom: 62px;
    padding: 18px;
    border: 1px solid var(--graph-rule);
    background: var(--graph-panel);
  }

  .contents:not([open]) ol {
    display: none;
  }
}

@media (max-width: 720px) {
  .report-topbar {
    min-height: 60px;
  }

  .report-topbar nav a:not(:first-child) {
    display: none;
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .report-hero {
    padding-top: 62px;
  }

  .report-hero h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .snapshot-card {
    display: block;
  }

  .hero-finding {
    display: block;
  }

  .hero-finding .section-label {
    margin-bottom: 22px;
  }

  .finding-grid,
  .measure-grid {
    grid-template-columns: 1fr;
  }

  .finding-grid article {
    min-height: auto;
  }

  .publication-figure figcaption,
  .report-footer {
    display: block;
  }

  .figure-actions,
  .report-footer nav {
    margin-top: 13px;
    flex-wrap: wrap;
  }

  .hash-ledger div,
  .disclosure-ledger div,
  .citation-box {
    grid-template-columns: 1fr;
  }

  .hash-ledger dt,
  .hash-ledger code {
    grid-column: 1;
    grid-row: auto;
  }

  .citation-box ul {
    padding-top: 16px;
    border-top: 1px solid var(--graph-rule);
    border-left: 0;
  }

  .citation-box li {
    padding-left: 0;
  }

  .report-cta {
    padding: 30px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body.graph-report {
    color: #171717;
    background: #fff;
    font-size: 10pt;
  }

  .report-topbar,
  .breadcrumbs,
  .skip-link,
  .contents,
  .figure-actions,
  .chart-data,
  .report-cta,
  .report-footer {
    display: none !important;
  }

  .report-hero,
  .hero-finding,
  .report-layout {
    width: 100%;
    padding: 18pt 0;
  }

  .report-hero {
    grid-template-columns: 1fr;
  }

  .report-layout {
    display: block;
  }

  .report-body > section {
    break-inside: auto;
    padding: 0 0 12pt;
    margin: 0 0 12pt;
    border-color: #ccc;
  }

  .report-body h2,
  .report-body h3,
  .section-label {
    break-after: avoid-page;
  }

  .publication-figure,
  .finding-grid,
  .measure-grid,
  .finding-grid article,
  .measure-grid > div,
  .table-wrap,
  .citation-box,
  .hero-finding aside {
    break-inside: avoid;
  }

  .finding-grid article {
    min-height: 0;
    padding: 10pt;
  }

  .finding-grid span {
    margin-bottom: 7pt;
    font-size: 15pt;
  }

  .finding-grid h3 {
    margin-bottom: 5pt;
    font-size: 10pt;
  }

  .finding-grid p {
    font-size: 8pt;
    line-height: 1.45;
  }

  .citation-box {
    gap: 12pt;
    padding: 12pt;
    margin-top: 12pt;
  }

  .citation-box blockquote {
    margin-bottom: 7pt;
    font-size: 10pt;
  }

  #downloads {
    padding-bottom: 5pt;
    margin-bottom: 7pt;
  }

  #downloads .note {
    padding: 7pt 9pt;
    margin-bottom: 4pt;
    font-size: 8pt;
    line-height: 1.35;
  }

  #disclosure > h2 {
    margin-bottom: 9pt;
  }

  #disclosure > p {
    margin-bottom: 6pt;
    font-size: 8.5pt;
    line-height: 1.4;
  }

  .disclosure-ledger {
    margin-top: 10pt;
  }

  .disclosure-ledger div {
    gap: 10pt;
    padding: 5pt 0;
  }

  .disclosure-ledger dt {
    font-size: 7pt;
  }

  .disclosure-ledger dd {
    font-size: 8pt;
    line-height: 1.35;
  }

  .graph-report :is(h1, h2, h3, p, li, th, td, figcaption, blockquote, dt, dd) {
    color: #171717 !important;
  }

  .graph-report strong,
  .graph-report code,
  .graph-report a,
  .hero-finding aside,
  .hero-finding aside strong {
    color: #171717 !important;
  }

  .method-flow,
  .method-flow span,
  .method-flow b,
  .hash-ledger code,
  .disclosure-ledger :is(dt, dd) {
    color: #171717 !important;
    background: #fff !important;
    border-color: #777 !important;
  }

  .finding-grid,
  .measure-grid {
    gap: 0;
    background: #c9c9c5;
  }

  .finding-grid article,
  .measure-grid > div,
  .citation-box,
  .table-wrap table,
  .availability,
  .note {
    color: #171717;
    background: #fff !important;
  }

  .finding-grid article,
  .measure-grid > div,
  .citation-box,
  .table-wrap,
  .table-wrap :is(th, td, caption) {
    border-color: #c9c9c5 !important;
  }

  .finding-grid span,
  .section-label,
  .eyebrow span {
    color: #a95000 !important;
  }

  .download-links a,
  .citation-box button {
    color: #171717;
    border-color: #777;
    background: #fff;
  }
}
