/* Integration shell for xrp-common-denominator-fx */
.xcdf-light-shell {
  color-scheme: light;
  background: #ffffff !important;
  color: #0c1824;
  isolation: isolate;
}
.xcdf-host {
  min-width: 0;
  background: transparent;
}
html:has([data-xcdf-root]) body {
  background: #ffffff !important;
  color: #0c1824;
}
[data-xcdf-root] {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink, #0c1824);
  background: var(--paper, #ffffff);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Reduce dark-theme chrome clash on light article */
html:has([data-xcdf-root]) {
  color-scheme: light;
  background: #ffffff;
}

[data-xcdf-root] {
  --ink: #0c1824;
  --ink-2: #1c2a37;
  --muted: #607080;
  --muted-2: #83909b;
  --line: #dfe6ec;
  --line-strong: #cbd5de;
  --paper: #ffffff;
  --paper-soft: #f7f9fb;
  --paper-blue: #f1f7fd;
  --paper-mint: #eefaf7;
  --paper-warm: #faf8f3;
  --blue: #0969da;
  --blue-dark: #0353ad;
  --teal: #009b84;
  --teal-dark: #087766;
  --red: #c83e53;
  --amber: #b87800;
  --shadow-sm: 0 10px 28px rgba(12, 24, 36, 0.06);
  --shadow-md: 0 24px 70px rgba(12, 24, 36, 0.09);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
  --text: 760px;
  --header-h: 66px;
  --outer-gutter: max(24px, calc((100vw - var(--max)) / 2));
}

[data-xcdf-root], [data-xcdf-root] * {
  box-sizing: border-box;
}

[data-xcdf-root] {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--paper);
}

[data-xcdf-root] {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-feature-settings: "palt" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-xcdf-root] ::selection {
  color: var(--ink);
  background: #cde9ff;
}

[data-xcdf-root] a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

[data-xcdf-root] img,
[data-xcdf-root] svg {
  max-width: 100%;
}

[data-xcdf-root] button,
[data-xcdf-root] input,
[data-xcdf-root] textarea,
[data-xcdf-root] select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

[data-xcdf-root] :focus-visible {
  outline: 3px solid rgba(9, 105, 218, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

[data-xcdf-root] section[id],
[data-xcdf-root] .source-list li[id] {
  scroll-margin-top: 92px;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(203, 213, 222, 0.7);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(12, 24, 36, 0.055);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  font-size: 0.74rem;
  letter-spacing: 0;
}

.site-header__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(9, 105, 218, 0.09), transparent 28%),
    radial-gradient(circle at 62% 78%, rgba(0, 155, 132, 0.08), transparent 31%),
    #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 24, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 36, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
}

.eyebrow,
.section-index {
  margin: 0 0 22px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.45rem, 6.3vw, 6.45rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
  white-space: nowrap;
}

.hero__dek {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.65;
}

.hero__intro {
  max-width: 650px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.hero__intro p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.hero__intro p:last-child {
  margin-bottom: 0;
}

.hero__intro strong {
  color: var(--ink);
  font-size: 1.08em;
}

.hero__jump {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  padding: 12px 0 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.hero__jump span {
  color: var(--blue);
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.hero__jump:hover span {
  transform: translateY(3px);
}

.hero-map {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(190, 202, 213, 0.82);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 47%, rgba(9, 105, 218, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(244,248,252,0.92));
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-map::before,
.hero-map::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-map::before {
  top: -120px;
  right: -90px;
  width: 300px;
  height: 300px;
  background: rgba(9, 105, 218, 0.08);
}

.hero-map::after {
  bottom: -140px;
  left: -100px;
  width: 330px;
  height: 330px;
  background: rgba(0, 155, 132, 0.07);
}

.hero-map__links {
  position: absolute;
  inset: 26px 20px 40px;
  width: calc(100% - 40px);
  height: calc(100% - 66px);
}

.hero-link {
  fill: none;
  stroke: url(#flowGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  animation: heroFlow 6s linear infinite;
}

.hero-link--2 { animation-delay: -1.4s; }
.hero-link--3 { animation-delay: -2.8s; }
.hero-link--4 { animation-delay: -4.2s; }

.hero-ring {
  fill: none;
  stroke: rgba(9, 105, 218, 0.16);
  stroke-width: 1.5;
  transform-origin: 360px 280px;
  animation: ringBreathe 3.6s ease-in-out infinite;
}

.hero-ring--outer {
  stroke: rgba(0, 155, 132, 0.12);
  stroke-dasharray: 4 8;
  animation-delay: -1.8s;
}

.market-node {
  position: absolute;
  z-index: 3;
  width: 188px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(196, 207, 216, 0.9);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(12, 24, 36, 0.07);
  backdrop-filter: blur(12px);
  animation: nodeFloat 5.2s ease-in-out infinite;
}

.market-node--tokyo { top: 68px; left: 35px; }
.market-node--newyork { top: 68px; right: 35px; animation-delay: -1.3s; }
.market-node--london { bottom: 72px; left: 35px; animation-delay: -2.6s; }
.market-node--onchain { right: 35px; bottom: 72px; animation-delay: -3.9s; }

.market-node__city {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.market-node strong {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.market-node i {
  color: var(--blue);
  font-style: normal;
}

.xrp-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  padding-top: 9px;
  color: #fff;
  background: linear-gradient(145deg, #0d71df, #064a9e 64%, #063668);
  border: 8px solid rgba(255,255,255,0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(9, 105, 218, 0.22),
    0 26px 60px rgba(9, 105, 218, 0.28);
  transform: translate(-50%, -50%);
  animation: hubPulse 4s ease-in-out infinite;
}

.xrp-hub span {
  display: block;
  font-size: 2.15rem;
  font-weight: 840;
  letter-spacing: -0.04em;
  line-height: 1;
}

.xrp-hub small {
  display: block;
  margin-top: -18px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  opacity: 0.72;
}

.hero-map figcaption {
  position: absolute;
  right: 28px;
  bottom: 22px;
  left: 28px;
  z-index: 5;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.verdict {
  padding: 92px 0;
  background: linear-gradient(180deg, #f4f8fc, #f9fbfd);
  border-bottom: 1px solid var(--line);
}

.verdict__inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.verdict h2,
.section__header h2,
.sources__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.2vw, 4.55rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.verdict__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 70px;
  align-items: start;
  margin-top: 52px;
}

.verdict__lead p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  letter-spacing: -0.025em;
  line-height: 1.85;
}

.verdict__lead strong {
  color: var(--blue-dark);
}

.verdict__conditions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.verdict__conditions > div {
  min-height: 132px;
  padding: 19px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}

.verdict__conditions span {
  display: block;
  margin-bottom: 19px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 760;
}

.verdict__conditions b,
.verdict__conditions small {
  display: block;
}

.verdict__conditions b {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.verdict__conditions small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.verdict__stop {
  margin: 55px 0 0;
  padding: 24px 26px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 690;
  letter-spacing: -0.015em;
  line-height: 1.65;
  text-align: center;
}

.article-body {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section--tint {
  position: relative;
}

.section--tint::before {
  position: absolute;
  z-index: -1;
  top: 32px;
  right: max(-60px, calc(var(--outer-gutter) * -1));
  bottom: 32px;
  left: max(-60px, calc(var(--outer-gutter) * -1));
  content: "";
  background: var(--paper-soft);
  border: 1px solid #edf1f4;
  border-radius: 36px;
}

.section__header {
  max-width: 910px;
  margin-bottom: 48px;
}

.prose {
  max-width: var(--text);
  margin-right: auto;
  margin-left: auto;
}

.prose + .prose {
  margin-top: 26px;
}

.prose p {
  margin: 0 0 1.5em;
  color: var(--ink-2);
  font-size: clamp(1.01rem, 1.15vw, 1.12rem);
  letter-spacing: 0.005em;
  line-height: 2.08;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 760;
  background: linear-gradient(transparent 66%, rgba(9, 105, 218, 0.13) 0);
}

code {
  padding: 0.16em 0.42em;
  color: #0b5daf;
  background: #edf6ff;
  border: 1px solid #d7e9fa;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
}

.ref {
  display: inline-grid;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  margin-left: 0.2em;
  color: var(--blue-dark);
  background: #e9f4ff;
  border: 1px solid #cfe5fa;
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62em;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  vertical-align: 0.4em;
}

.equation-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  max-width: 960px;
  margin: 62px auto;
  padding: 34px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.quote-card {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.quote-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform-origin: left;
  animation: quoteScan 5s ease-in-out infinite;
}

.quote-card--usd::before { animation-delay: -1.7s; background: var(--teal); }
.quote-card--result::before { animation-delay: -3.4s; background: linear-gradient(90deg, var(--blue), var(--teal)); }

.quote-card span,
.quote-card small {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.quote-card span {
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.quote-card strong {
  display: block;
  margin: 22px 0 15px;
  color: var(--ink);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1;
}

.quote-card--result strong {
  color: var(--blue-dark);
}

.quote-card small {
  font-size: 0.64rem;
}

.equation-operator {
  color: var(--muted-2);
  font-size: 1.6rem;
  font-weight: 700;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1020px;
  margin: 46px auto 0;
}

.role-grid article {
  position: relative;
  min-height: 218px;
  padding: 25px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.role-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: #b5c4d0;
}

.role-grid article:nth-child(2)::before { background: var(--blue); }

.role-grid__target {
  background: linear-gradient(145deg, #f2f9ff, #effaf7) !important;
  border-color: #bcdedb !important;
}

.role-grid__target::before {
  background: linear-gradient(var(--blue), var(--teal)) !important;
}

.role-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.role-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.role-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.role-grid__note {
  max-width: 860px;
  margin: 16px auto 0;
  padding: 20px 24px;
  color: var(--ink-2);
  background: var(--paper-warm);
  border: 1px solid #e7dfcf;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.role-grid__note strong {
  color: var(--ink);
}

.equation-figure figcaption,
.topology-figure figcaption,
.imbalance-figure figcaption,
.netting-figure figcaption,
.cost-formula figcaption,
.stack-figure figcaption,
.inventory-model figcaption {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
  text-align: center;
}

.topology-figure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 62px 0 22px;
}

.topology-card {
  padding: 26px 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.topology-card--hub {
  background: linear-gradient(145deg, #f7fbff, #f3fbf8);
  border-color: #cae4e3;
}

.topology-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.topology-card__head span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.topology-card__head strong {
  color: var(--ink);
  font-size: 1rem;
}

.topology-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px auto 10px;
}

.mesh-lines line,
.hub-lines line {
  stroke: #a7b5c1;
  stroke-width: 2;
  stroke-dasharray: 6 9;
  animation: networkFlow 8s linear infinite;
}

.hub-lines line {
  stroke: var(--blue);
  opacity: 0.64;
}

.topology-nodes circle {
  fill: #fff;
  stroke: #8fa1b0;
  stroke-width: 2;
}

.topology-card--hub .topology-nodes circle {
  stroke: #79a9ce;
}

.hub-core {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 7;
  filter: drop-shadow(0 12px 18px rgba(9, 105, 218, 0.24));
}

.topology-labels text {
  fill: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 780;
  text-anchor: middle;
}

.topology-labels .hub-label {
  fill: #fff;
  font-size: 18px;
}

.topology-card > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  text-align: center;
}

.number-contrast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  max-width: 820px;
  margin: 20px auto 62px;
}

.number-contrast > div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.number-contrast__accent {
  background: var(--paper-blue) !important;
  border-color: #cce2f6 !important;
}

.number-contrast span,
.number-contrast small {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.number-contrast span { font-size: 0.66rem; letter-spacing: 0.08em; }
.number-contrast small { font-size: 0.72rem; }

.number-contrast strong {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.number-contrast__accent strong {
  color: var(--blue-dark);
}

.number-contrast > i {
  color: var(--muted-2);
  font-style: normal;
  font-size: 1.5rem;
}

.topology-warning {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto 58px;
  padding: 25px 28px;
  background: #fffaf1;
  border: 1px solid #eadfc9;
  border-radius: 18px;
}

.topology-warning > span {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  line-height: 1.65;
}

.topology-warning p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.topology-warning strong {
  color: var(--ink);
}

.insight {
  max-width: 900px;
  margin: 58px auto 0;
  padding: 36px 38px;
  background: linear-gradient(145deg, #ecf7ff, #eefbf7);
  border: 1px solid #cce4e5;
  border-radius: var(--radius-md);
}

.insight__label,
.countercase__label {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.insight p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.85;
}

.imbalance-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 960px;
  margin: 58px auto;
  padding: 38px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.ledger-card {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.ledger-card--after {
  border-color: #afd8d0;
  background: #fbfffd;
}

.ledger-card__title {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.1em;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.ledger-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.ledger-row strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
}

.ledger-row--negative strong { color: var(--red); }
.ledger-row--positive strong { color: var(--teal-dark); }

.transfer-arrow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-width: 108px;
  color: var(--blue);
  text-align: center;
}

.transfer-arrow span {
  padding: 7px 10px;
  background: #eaf4ff;
  border: 1px solid #cfe5fa;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 780;
  animation: transferPulse 2.6s ease-in-out infinite;
}

.transfer-arrow i {
  font-style: normal;
  font-size: 2rem;
}

.three-exits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 52px;
}

.three-exits article {
  min-height: 260px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.three-exits__ideal {
  background: var(--paper-mint) !important;
  border-color: #b9ddd4 !important;
  box-shadow: var(--shadow-sm);
}

.three-exits article > span,
.evidence-grid article > span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.three-exits h3,
.capture-grid h3,
.barrier-grid h3,
.evidence-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.three-exits p,
.capture-grid p,
.barrier-grid p,
.evidence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.one-line {
  max-width: 820px;
  margin: 62px auto 0;
  padding: 38px;
  color: var(--ink-2);
  background: var(--paper-warm);
  border: 1px solid #e7dfcf;
  border-radius: var(--radius-md);
  font-size: clamp(1.2rem, 2.1vw, 1.68rem);
  letter-spacing: -0.025em;
  line-height: 1.65;
  text-align: center;
}

.one-line strong {
  color: var(--ink);
}

.netting-figure {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 60px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.netting-step {
  position: relative;
  min-height: 265px;
  padding: 21px;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.netting-step--engine { background: #f1f6fb; }
.netting-step--residual { background: var(--paper-mint); border-color: #b9ddd4; }
.netting-step--route { background: var(--paper-blue); border-color: #cce2f6; }

.netting-step__label {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.09em;
}

.netting-step > strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.netting-step--residual > strong { color: var(--teal-dark); }
.netting-step--route > strong { font-size: 1.65rem; color: var(--blue-dark); }

.netting-step > small {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.6;
}

.netting-arrow {
  align-self: center;
  color: var(--muted-2);
  font-size: 1.1rem;
}

.gross-lines {
  position: absolute;
  right: 18px;
  bottom: 66px;
  left: 18px;
  display: grid;
  gap: 7px;
}

.gross-lines i {
  display: block;
  height: 4px;
  overflow: hidden;
  background: #dbe4eb;
  border-radius: 999px;
}

.gross-lines i::after {
  display: block;
  width: 40%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: grossScan 2.7s linear infinite;
}

.gross-lines i:nth-child(2n)::after { animation-delay: -1.1s; }
.gross-lines i:nth-child(3n)::after { animation-delay: -2s; }

.netting-core {
  position: absolute;
  right: 25px;
  bottom: 74px;
  left: 25px;
  height: 62px;
  border: 1px dashed #9fb2c2;
  border-radius: 13px;
}

.netting-core i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 58%;
  height: 4px;
  background: #95a8b8;
  border-radius: 999px;
  transform-origin: center;
}

.netting-core i:nth-child(1) { transform: translate(-50%,-50%) rotate(0); }
.netting-core i:nth-child(2) { transform: translate(-50%,-50%) rotate(45deg); }
.netting-core i:nth-child(3) { transform: translate(-50%,-50%) rotate(-45deg); }

.residual-pulse {
  position: absolute;
  right: 0;
  bottom: 82px;
  left: 0;
  width: 42px;
  height: 42px;
  margin: auto;
  background: var(--teal);
  border: 10px solid rgba(0, 155, 132, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(0, 155, 132, 0.08);
  animation: residualPulse 2.4s ease-in-out infinite;
}

.route-tags {
  position: absolute;
  right: 16px;
  bottom: 70px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-tags span {
  padding: 6px 8px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
}

.route-tags .is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  animation: tagPulse 2.6s ease-in-out infinite;
}

.big-quote {
  max-width: 960px;
  margin: 54px auto;
  padding: 45px 48px;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.big-quote p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.55;
  text-align: center;
}

.big-quote strong {
  color: #fff;
}

.cost-formula {
  max-width: 1000px;
  margin: 56px auto;
  padding: 34px;
  background: var(--paper-blue);
  border: 1px solid #cce2f6;
  border-radius: var(--radius-md);
}

.cost-formula__title {
  margin-bottom: 25px;
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 830;
  letter-spacing: -0.06em;
  text-align: center;
}

.cost-formula__components {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.cost-formula__components span {
  padding: 9px 12px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid #d7e4ef;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 680;
}

.cost-formula__components .is-benefit {
  color: var(--teal-dark);
  background: var(--paper-mint);
  border-color: #b9ddd4;
}

.cost-formula__components b {
  color: var(--muted-2);
  font-weight: 650;
}

.route-table-wrap {
  max-width: 1000px;
  margin: 55px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.route-table caption {
  padding: 14px 18px;
  color: var(--muted);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  text-align: left;
}

.route-table th,
.route-table td {
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.route-table thead th {
  color: var(--muted);
  background: #fbfcfd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.route-table tbody th {
  width: 22%;
  color: var(--ink);
  font-size: 0.9rem;
}

.route-table tbody td {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.route-table tr:last-child th,
.route-table tr:last-child td {
  border-bottom: 0;
}

.route-table__xrp th,
.route-table__xrp td {
  background: var(--paper-mint);
}

.route-table__xrp th {
  color: var(--teal-dark) !important;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 56px 0;
}

.benchmark-card {
  position: relative;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benchmark-card::after {
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
}

.benchmark-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.benchmark-card--cls { background: #f5f9fd; color: var(--blue); }
.benchmark-card--dtcc { background: #f8f8fc; color: #675bb0; }
.benchmark-card--euroclear { background: #fbf8f1; color: var(--amber); }
.benchmark-card--xrpl { background: #f2faf7; color: var(--teal); }

.benchmark-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.benchmark-card__top span,
.benchmark-card__top b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 790;
  letter-spacing: 0.09em;
}

.benchmark-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.benchmark-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.82;
}

.benchmark-card > small {
  position: absolute;
  bottom: 22px;
  left: 24px;
  color: currentColor;
  font-size: 0.67rem;
  font-weight: 780;
}

.institution-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 1030px;
  margin: 54px auto;
  padding: 32px;
  background: var(--ink);
  border-radius: var(--radius-md);
}

.institution-equation span {
  padding: 10px 13px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 720;
}

.institution-equation b {
  color: #70c4ff;
  font-size: 1.05rem;
}

.stack-figure {
  position: relative;
  max-width: 900px;
  margin: 58px auto;
  padding: 0 50px;
}

.stack-flow {
  position: absolute;
  z-index: 0;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 2px;
  background: #c8d6e1;
  transform: translateX(-50%);
}

.stack-flow i {
  position: absolute;
  top: 0;
  left: -3px;
  display: block;
  width: 8px;
  height: 55px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  border-radius: 999px;
  animation: stackFlow 4.4s linear infinite;
}

.stack-layer {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  padding: 23px 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stack-layer--prime {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.stack-layer--cash { background: #f7fbff; border-color: #cfe3f3; }
.stack-layer--ledger { background: #f5faf8; border-color: #cce2db; }
.stack-layer--xrp {
  background: linear-gradient(145deg, #eef7ff, #effbf7);
  border-color: #b7dbe4;
}

.stack-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack-layer__status {
  display: inline-block;
  margin-bottom: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.stack-layer__status.is-live { color: #147150; background: #dff5e9; }
.stack-layer__status.is-proposal { color: #8b5b00; background: #fff0c7; }
.stack-layer__status.is-hypothesis { color: #9b3345; background: #ffe4e8; }
.stack-layer--prime .stack-layer__status.is-live { color: #d8ffe9; background: rgba(53, 214, 150, 0.14); }

.stack-layer strong,
.stack-layer small {
  display: block;
}

.stack-layer strong {
  color: inherit;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.stack-layer small {
  margin-top: 6px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.63rem;
  line-height: 1.5;
}

.stack-layer--prime small {
  color: rgba(255,255,255,0.58);
}

.reality-check {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 34px 36px;
  background: #fff7f8;
  border: 1px solid #f0cbd1;
  border-radius: var(--radius-md);
}

.reality-check > span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.11em;
}

.reality-check p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.reality-check strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.inventory-model {
  max-width: 1060px;
  margin: 58px auto;
  padding: 38px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.inventory-model__formula {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.inventory-model__formula > span,
.inventory-model__formula > div {
  display: grid;
  place-items: center;
  min-width: 128px;
  min-height: 88px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.inventory-model__formula > span {
  color: var(--blue-dark);
  background: var(--paper-blue);
  border-color: #cce2f6;
  font-size: 1.08rem;
  font-weight: 800;
}

.inventory-model__formula > b {
  display: grid;
  place-items: center;
  color: var(--muted-2);
}

.inventory-model__formula strong,
.inventory-model__formula small {
  display: block;
}

.inventory-model__formula strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.inventory-model__formula small {
  margin-top: 3px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.55rem;
}

.inventory-model__flow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 680px;
  margin: 42px auto 10px;
}

.flow-cloud {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed #a7b8c6;
  border-radius: 50%;
}

.flow-cloud span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flow-cloud i {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  animation: cloudMove 4s ease-in-out infinite;
}

.flow-cloud i:nth-child(1) { top: 22%; left: 20%; }
.flow-cloud i:nth-child(2) { top: 28%; right: 18%; animation-delay: -0.8s; }
.flow-cloud i:nth-child(3) { bottom: 22%; left: 27%; animation-delay: -1.6s; }
.flow-cloud i:nth-child(4) { right: 25%; bottom: 18%; animation-delay: -2.4s; }
.flow-cloud i:nth-child(5) { top: 51%; left: 45%; animation-delay: -3.2s; }

.flow-funnel {
  position: relative;
  height: 85px;
  clip-path: polygon(0 0, 100% 0, 67% 100%, 33% 100%);
  background: linear-gradient(180deg, #c8dded, var(--teal));
  opacity: 0.65;
}

.stock-vault {
  min-height: 160px;
  padding: 27px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #07498f);
  border: 7px solid #fff;
  outline: 1px solid #bdd6eb;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stock-vault span,
.stock-vault strong,
.stock-vault small {
  display: block;
}

.stock-vault span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  opacity: 0.68;
}

.stock-vault strong {
  margin: 16px 0 8px;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.stock-vault small {
  font-size: 0.62rem;
  opacity: 0.68;
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 52px auto;
}

.capture-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.capture-grid article:first-child { background: var(--paper-mint); border-color: #b9ddd4; }
.capture-grid article:last-child { background: #fff7f8; border-color: #f0cbd1; }

.capture-grid__signal {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 760;
}

.capture-grid__signal.is-positive { color: var(--teal-dark); background: #d8f2e9; }
.capture-grid__signal.is-negative { color: var(--red); background: #ffe1e6; }

.capture-grid h3 {
  max-width: 80%;
  margin-bottom: 25px;
}

.capture-grid ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capture-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.capture-grid li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.one-line--dark {
  color: rgba(255,255,255,0.7);
  background: var(--ink);
  border-color: var(--ink);
}

.one-line--dark strong {
  color: #fff;
}

.ladder {
  position: relative;
  max-width: 980px;
  margin: 60px auto;
}

.ladder::before {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 38px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--teal), var(--blue), #8f5dc0);
  opacity: 0.42;
}

.ladder__step {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: center;
  min-height: 128px;
  margin-bottom: 12px;
  padding: 24px 26px 24px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ladder__step:hover {
  transform: translateX(4px);
  border-color: #b9cbda;
}

.ladder__step > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: 15px;
  color: #fff;
  background: var(--ink);
  border: 7px solid #fff;
  outline: 1px solid #bac7d1;
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 820;
}

.ladder__step--1 > span,
.ladder__step--2 > span { background: var(--teal-dark); }
.ladder__step--3 > span { background: var(--blue-dark); }
.ladder__step--4 > span,
.ladder__step--5 > span { background: #6c4a91; }

.ladder__step strong,
.ladder__step p,
.ladder__step small {
  display: block;
}

.ladder__step strong {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.ladder__step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.ladder__step small {
  justify-self: end;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: right;
}

.countercase {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 64px auto 24px;
  padding: 40px;
  background: var(--paper-warm);
  border: 1px solid #e7dfcf;
  border-radius: var(--radius-md);
}

.countercase__mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: #fff;
  background: var(--ink);
  border-radius: 21px;
  font-size: 2rem;
  font-weight: 820;
}

.countercase h3 {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.countercase p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.countercase p:last-child { margin-bottom: 0; }

.barrier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 24px auto 54px;
}

.barrier-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.barrier-grid article > span {
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 52px 0 62px;
}

.evidence-grid article {
  min-height: 220px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.evidence-grid article:nth-child(1),
.evidence-grid article:nth-child(4) { background: var(--paper-blue); border-color: #d1e4f5; }
.evidence-grid article:nth-child(2),
.evidence-grid article:nth-child(5) { background: var(--paper-mint); border-color: #c5e1da; }
.evidence-grid article:nth-child(3),
.evidence-grid article:nth-child(6) { background: var(--paper-warm); border-color: #e8e0d2; }

.evidence-grid article > span {
  margin-bottom: 34px;
}

.evidence-grid h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
}

.section--closing {
  padding-bottom: 82px;
}

.finale {
  position: relative;
  margin-top: 78px;
  padding: clamp(48px, 7vw, 86px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(77, 178, 255, 0.24), transparent 26%),
    radial-gradient(circle at 10% 90%, rgba(35, 196, 160, 0.17), transparent 30%),
    var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.finale::before {
  position: absolute;
  right: -160px;
  bottom: -160px;
  width: 470px;
  height: 470px;
  content: "";
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,0.025), 0 0 0 90px rgba(255,255,255,0.02);
}

.finale > * {
  position: relative;
  z-index: 1;
}

.finale > p:first-child {
  max-width: 780px;
  margin: 0 0 62px;
  color: rgba(255,255,255,0.69);
  font-size: 1rem;
  line-height: 1.95;
}

.finale__small {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.finale h2 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 5.3rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.finale h2 em {
  color: #67c9ff;
  font-style: normal;
}

.finale__last {
  margin: 46px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  font-weight: 650;
}

.sources {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.sources__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  align-items: end;
  margin-bottom: 42px;
}

.sources__header .section-index {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.sources__header h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.sources__header > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.source-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: sources;
}

.source-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: sources;
}

.source-list li::before {
  display: none;
  content: counter(sources);
}

.source-list li {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.source-list li:target,
.source-list li.is-highlighted {
  background: linear-gradient(90deg, rgba(9, 105, 218, 0.075), transparent 78%);
  box-shadow: inset 3px 0 0 var(--blue);
}

.source-tag {
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 820;
  letter-spacing: 0.09em;
}

.source-list a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 710;
  line-height: 1.55;
  text-decoration-color: #b5c1cb;
}

.source-list small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.article-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 0 54px;
}

.article-footer__brand {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.article-footer p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.article-footer > a {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.article-footer > a span {
  color: var(--blue);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFlow {
  to { stroke-dashoffset: -44; }
}

@keyframes ringBreathe {
  0%, 100% { opacity: 0.5; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(9,105,218,.22), 0 26px 60px rgba(9,105,218,.22); }
  50% { box-shadow: 0 0 0 9px rgba(9,105,218,.05), 0 31px 70px rgba(9,105,218,.32); }
}

@keyframes quoteScan {
  0%, 100% { transform: scaleX(0.18); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes networkFlow {
  to { stroke-dashoffset: -60; }
}

@keyframes transferPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes grossScan {
  from { transform: translateX(-120%); }
  to { transform: translateX(350%); }
}

@keyframes residualPulse {
  0%, 100% { transform: scale(0.86); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(9,105,218,.18); }
  50% { box-shadow: 0 0 0 6px rgba(9,105,218,0); }
}

@keyframes stackFlow {
  from { transform: translateY(-40px); }
  to { transform: translateY(520px); }
}

@keyframes cloudMove {
  0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.55; }
  50% { transform: translate(8px, -7px) scale(1.15); opacity: 1; }
}

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero-map {
    min-height: 600px;
  }

  .verdict__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .benchmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-card {
    min-height: 270px;
  }

  .netting-figure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .netting-arrow {
    display: none;
  }

  .netting-figure figcaption {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  [data-xcdf-root] {
    --header-h: 60px;
  }

  .site-header__inner,
  .hero__inner,
  .verdict__inner,
  .article-body {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header__meta span {
    display: none;
  }

  .hero {
    padding: 68px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5.2rem);
  }

  .hero-map {
    min-height: 560px;
  }

  .market-node {
    width: 166px;
  }

  .market-node--tokyo,
  .market-node--london { left: 24px; }
  .market-node--newyork,
  .market-node--onchain { right: 24px; }

  .section,
  .sources {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .section--tint::before {
    right: -16px;
    left: -16px;
    border-radius: 24px;
  }

  .topology-figure,
  .role-grid,
  .three-exits,
  .capture-grid,
  .barrier-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .role-grid article {
    min-height: 0;
  }

  .topology-warning {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .three-exits article,
  .capture-grid article,
  .evidence-grid article {
    min-height: auto;
  }

  .imbalance-figure {
    grid-template-columns: 1fr;
  }

  .transfer-arrow {
    flex-direction: row;
    justify-content: center;
  }

  .transfer-arrow i {
    transform: rotate(90deg);
  }

  .benchmark-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-card {
    min-height: 250px;
  }

  .stack-figure {
    padding: 0 10px;
  }

  .stack-split {
    grid-template-columns: 1fr;
  }

  .inventory-model__formula {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inventory-model__formula > b {
    min-height: 24px;
  }

  .inventory-model__flow {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .flow-funnel {
    width: 82px;
    height: 70px;
    margin: auto;
    transform: rotate(0deg);
  }

  .ladder__step {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
    padding-right: 20px;
  }

  .ladder__step small {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .countercase {
    grid-template-columns: 1fr;
  }

  .sources__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-list li {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px 16px;
  }

  .source-list small {
    grid-column: 2;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .hero__inner,
  .verdict__inner,
  .article-body {
    width: min(calc(100% - 24px), var(--max));
  }

  .section--tint::before {
    right: -12px;
    left: -12px;
  }

  .brand {
    font-size: 0.69rem;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(2.72rem, 13.4vw, 4.3rem);
    letter-spacing: -0.058em;
  }

  .hero__dek {
    font-size: 1.08rem;
  }

  .hero__intro p {
    font-size: 0.94rem;
  }

  .hero-map {
    min-height: 515px;
    border-radius: 24px;
  }

  .hero-map__links {
    inset: 32px 8px 42px;
    width: calc(100% - 16px);
    height: calc(100% - 74px);
  }

  .market-node {
    width: 132px;
    padding: 13px 12px 12px;
    border-radius: 13px;
  }

  .market-node--tokyo { top: 35px; left: 13px; }
  .market-node--newyork { top: 35px; right: 13px; }
  .market-node--london { bottom: 62px; left: 13px; }
  .market-node--onchain { right: 13px; bottom: 62px; }

  .market-node__city {
    margin-bottom: 5px;
    font-size: 0.48rem;
  }

  .market-node strong {
    gap: 5px;
    font-size: 0.78rem;
  }

  .xrp-hub {
    width: 110px;
    height: 110px;
    border-width: 6px;
  }

  .xrp-hub span {
    font-size: 1.55rem;
  }

  .xrp-hub small {
    margin-top: -10px;
    font-size: 0.4rem;
  }

  .hero-map figcaption {
    right: 14px;
    bottom: 15px;
    left: 14px;
    font-size: 0.62rem;
  }

  .verdict {
    padding: 72px 0;
  }

  .verdict h2,
  .section__header h2 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .verdict__conditions {
    grid-template-columns: 1fr;
  }

  .verdict__conditions > div {
    min-height: 110px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .prose p {
    font-size: 0.98rem;
    line-height: 1.98;
  }

  .equation-figure {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .equation-operator {
    text-align: center;
  }

  .quote-card {
    min-height: 145px;
  }

  .topology-card {
    padding: 20px 16px 17px;
  }

  .topology-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .number-contrast {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .number-contrast > i {
    transform: rotate(90deg);
    text-align: center;
  }

  .insight,
  .one-line,
  .big-quote,
  .reality-check,
  .countercase,
  .finale {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .role-grid article,
  .role-grid__note,
  .topology-warning {
    padding: 22px 20px;
  }

  .role-grid span {
    margin-bottom: 20px;
  }

  .imbalance-figure,
  .cost-formula,
  .inventory-model {
    padding: 20px;
  }

  .three-exits {
    margin-top: 32px;
  }

  .netting-figure {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .netting-step {
    min-height: 230px;
  }

  .big-quote p {
    font-size: 1.35rem;
  }

  .cost-formula__title {
    font-size: 3rem;
  }

  .route-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .route-table,
  .route-table tbody,
  .route-table tr,
  .route-table th,
  .route-table td {
    display: block;
    width: 100%;
  }

  .route-table caption {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .route-table thead {
    display: none;
  }

  .route-table tr {
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .route-table th,
  .route-table td {
    border-bottom: 1px solid var(--line);
  }

  .route-table th {
    padding-bottom: 13px;
  }

  .route-table td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .route-table td::before {
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .route-table td:nth-of-type(1)::before { content: "強い場面"; }
  .route-table td:nth-of-type(2)::before { content: "制約"; }

  .route-table tr > *:last-child {
    border-bottom: 0;
  }

  .benchmark-card {
    min-height: 280px;
  }

  .institution-equation {
    padding: 22px;
  }

  .institution-equation b {
    width: 100%;
    text-align: center;
  }

  .stack-figure {
    padding: 0;
  }

  .stack-flow {
    display: none;
  }

  .inventory-model__flow {
    margin-top: 30px;
  }

  .ladder::before {
    left: 32px;
  }

  .ladder__step {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 20px 16px 20px 0;
  }

  .ladder__step > span {
    width: 40px;
    height: 40px;
    margin-left: 12px;
    border-width: 6px;
  }

  .countercase__mark {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.5rem;
  }

  .evidence-grid article {
    min-height: 180px;
  }

  .finale > p:first-child {
    margin-bottom: 48px;
  }

  .finale h2 {
    font-size: clamp(2.2rem, 11vw, 3.7rem);
  }

  .sources {
    padding-top: 76px;
  }

  .source-list li {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 0;
  }

  .source-list small {
    grid-column: auto;
  }

  .source-tag {
    margin-bottom: 3px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.58rem;
  }

  .market-node {
    width: 119px;
  }

  .market-node strong {
    font-size: 0.72rem;
  }

  .xrp-hub {
    width: 98px;
    height: 98px;
  }

  .hero-map {
    min-height: 485px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .reading-progress,
  .hero__jump {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .verdict,
  .section,
  .sources {
    padding: 36px 0;
  }

  .hero-map,
  .topology-figure,
  .netting-figure,
  .stack-figure,
  .inventory-model,
  .benchmark-grid {
    break-inside: avoid;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
