@font-face {
  font-family: Inter;
  src: url(inter.woff2) format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url(display.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Fragment Mono';
  src: url(mono.ttf) format('truetype');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080d13;
  --rail: #0a1017;
  --panel: #0d151e;
  --line: #25303b;
  --faint-line: #19232e;
  --text: #eaf1f6;
  --copy: #b6c3cf;
  --muted: #96a6b5;
  --ice: #cdeef9;
  --mono: 'Fragment Mono', ui-monospace, monospace;
  --display: 'Inter Display', Inter, Arial, sans-serif;
  --header: 68px;
  font-family: Inter, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--text);
  scroll-padding-top: calc(var(--header) + 22px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
summary {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #a4d5e7;
  outline-offset: 3px;
}
::selection {
  color: #06101a;
  background: var(--ice);
}
[hidden] {
  display: none !important;
}
.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  top: -150px;
  left: 8px;
  z-index: 20;
  padding: 12px;
  background: var(--ice);
  color: var(--bg);
}
.skip:focus {
  top: 8px;
}
.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  background: #090e15f7;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  height: var(--header);
  max-width: 1632px;
  margin: auto;
  padding: 0 clamp(20px, 3vw, 54px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand,
.header-actions,
.app-link,
.search-trigger {
  display: flex;
  align-items: center;
}
.brand {
  gap: 10px;
  width: max-content;
}
.brand b {
  font: 500 27px/1 var(--display);
  letter-spacing: -0.066em;
}
.brand i {
  height: 19px;
  width: 1px;
  background: #37434e;
  margin: 0 4px;
}
.brand > span {
  font-size: 16px;
  color: #c0ccd8;
  letter-spacing: -0.035em;
}
.header-actions {
  margin-left: auto;
  gap: 22px;
}
.search-trigger {
  justify-content: flex-start;
  gap: 10px;
  width: 248px;
  max-width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  background: #101820;
  border-radius: 8px;
  color: #aab7c3;
  padding: 0 9px 0 12px;
  font-size: 13px;
  font-weight: 420;
}
.search-trigger:hover,
.search-close:hover {
  border-color: #496275;
  background: #16212c;
}
.search-trigger kbd,
.search-close {
  font: 12px var(--mono);
  color: #bac7d0;
  background: #18222c;
  border: 1px solid #34414d;
  border-radius: 4px;
  padding: 2px 5px;
}
.search-trigger kbd {
  margin-left: auto;
}
.app-link {
  gap: 6px;
  border: 1px solid #384b5a;
  background: #13212c;
  border-radius: 7px;
  padding: 8px 13px;
  color: var(--ice);
  font-weight: 520;
  font-size: 13px;
}
.app-link:hover {
  background: #1b3242;
}
.nav-toggle,
.nav-scrim {
  display: none;
}
.layout {
  display: grid;
  grid-template-columns: clamp(222px, 19vw, 286px) minmax(0, 1fr) clamp(176px, 16.3vw, 248px);
  max-width: 1632px;
  margin: auto;
  min-height: calc(100vh - var(--header));
}
.nav-rail {
  border-right: 1px solid var(--faint-line);
  background: var(--rail);
}
.nav-inner,
.toc-inner {
  position: sticky;
  top: var(--header);
  max-height: calc(100dvh - var(--header));
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #2b3846 transparent;
}
.nav-inner {
  padding: 34px clamp(14px, 1.4vw, 25px) 25px clamp(18px, 2.4vw, 42px);
}
.nav-group {
  margin: 0 0 23px;
}
.nav-group summary,
.mobile-toc summary {
  list-style: none;
  cursor: pointer;
}
.nav-group summary::-webkit-details-marker,
.mobile-toc summary::-webkit-details-marker {
  display: none;
}
.nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 580;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 20px;
  margin: 0 8px 6px;
  color: #bdcbd6;
}
.nav-group summary .icon {
  color: #778697;
  transition: transform 0.15s;
}
.nav-group:not([open]) summary .icon {
  transform: rotate(-90deg);
}
.nav-group ul,
.toc-rail ul,
.mobile-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-group li {
  margin: 2px 0;
}
.nav-group li a {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 8px 9px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #a6b4c2;
  line-height: 19px;
}
.nav-group li a .icon {
  color: #899eae;
}
.nav-group a:hover {
  color: #f1f8fb;
  background: #131d27;
}
.nav-group a[aria-current] {
  background: #182c3a;
  color: #d0edf8;
  font-weight: 550;
}
.nav-group a[aria-current] .icon {
  color: #b0dceb;
}
.nav-group a[aria-current]:before {
  position: absolute;
  content: '';
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 5px;
  background: #9bd8f1;
}
.nav-footer {
  border-top: 1px solid var(--line);
  padding: 16px 8px 0;
  color: #9eb2c0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.main {
  min-width: 0;
  width: 100%;
  max-width: 932px;
  justify-self: center;
  padding: 35px clamp(24px, 4.1vw, 76px) 55px;
  outline: none;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #a6b6c2;
  line-height: 19px;
}
.breadcrumbs a {
  display: grid;
  place-items: center;
  color: #8da2b2;
}
.breadcrumbs .icon:nth-child(2) {
  color: #5d7282;
}
.main h1 {
  font-family: var(--display);
  font-size: clamp(38px, 3.8vw, 60px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.059em;
  margin: 19px 0 14px;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.33vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.024em;
  color: #b5c5d2;
  margin: 0;
  max-width: 72ch;
}
.toc-inner {
  padding: 40px 18px 30px 6px;
}
.toc-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c9d4db;
  font-size: 13px;
  font-weight: 560;
}
.toc-list {
  margin-top: 12px !important;
}
.toc-list a {
  display: block;
  border-left: 1px solid #2a3743;
  padding: 5px 0 5px 13px;
  color: #94a4b4;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.toc-list a:hover,
.resources a:hover {
  color: var(--ice);
}
.toc-list a[aria-current] {
  border-color: #a6d9ea;
  color: var(--ice);
}
.resources {
  max-width: 180px;
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding-top: 18px;
  font-size: 13px;
}
.resources p {
  font-size: 12px;
  color: #aebdc9;
  font-weight: 550;
  margin: 0 0 10px;
}
.resources a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #91a4b4;
  line-height: 1.5;
  margin: 6px 0;
}
.resources .icon {
  color: #7790a3;
}
.mobile-toc {
  display: none;
}
.market-cover {
  margin: 26px 0 0;
  border: 1px solid #30404e;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}
.cover-photo {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 177px;
  padding: 24px clamp(20px, 2.3vw, 34px);
  background: #13202c;
}
.cover-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scaleX(-1);
  z-index: -3;
}
.cover-photo:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 14, 24, 0.98), rgba(7, 18, 30, 0.86) 28%, rgba(9, 24, 34, 0.05) 68%),
    linear-gradient(0deg, #08101b55, transparent 50%);
}
.cover-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.cover-label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font: 12px var(--mono);
  letter-spacing: 0.045em;
  color: #bbdce9;
}
.cover-label i {
  width: 7px;
  height: 7px;
  border: 1px solid #c5ebfb;
  border-radius: 2px;
  transform: rotate(45deg);
}
.cover-caption strong {
  font: 500 clamp(31px, 3vw, 49px) / 1.22 var(--display);
  letter-spacing: -0.065em;
  color: #fff;
}
.cover-caption > span:last-child {
  font-size: 13px;
  color: #c4d5df;
}
.cover-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  background: #0e1720;
  border-top: 1px solid #273543;
  padding: 15px 0;
}
.cover-stats > div {
  padding: 0 clamp(13px, 2vw, 31px);
  border-left: 1px solid #293744;
}
.cover-stats > div:first-child {
  border: 0;
}
.cover-stats dt {
  color: #a1b3c1;
  font-size: 12px;
  line-height: 17px;
}
.cover-stats dd {
  font: 500 24px/1.3 var(--display);
  margin: 1px 0 0;
  letter-spacing: -0.04em;
}
.cover-stats dd span {
  font-size: 0.77em;
  color: #c5d6e0;
}
.article-section {
  margin: 36px 0 0;
  min-width: 0;
}
.article-section + .article-section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--faint-line);
}
.article-section h2 {
  color: #eef4f7;
  font: 500 clamp(25px, 2.15vw, 34px) / 1.17 var(--display);
  letter-spacing: -0.045em;
  margin: 0 0 13px;
}
.article-section h2 a {
  color: inherit;
  text-decoration: none;
}
.anchor-mark {
  opacity: 0;
  margin-left: 9px;
  color: #a7cddf;
  white-space: nowrap;
}
.article-section h2 a:hover .anchor-mark,
.article-section h2 a:focus-visible .anchor-mark {
  opacity: 1;
}
.article-section p,
.article-section > ul,
.article-section > ol {
  color: var(--copy);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.012em;
}
.article-section p {
  margin: 12px 0;
}
.article-section strong {
  color: #e0eaf0;
  font-weight: 570;
}
.article-section p a,
.article-section td a {
  color: var(--ice);
  text-decoration: underline;
  text-decoration-color: #557483;
  text-underline-offset: 3px;
}
.article-section p a:hover {
  text-decoration-color: var(--ice);
}
.article-section h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.article-section code {
  font-family: var(--mono);
  font-size: 0.83em;
  color: #c6e4f0;
  border: 1px solid #283542;
  background: #121c26;
  border-radius: 4px;
  padding: 1px 4px;
  overflow-wrap: anywhere;
}
.article-section pre,
.formula {
  background: #101923;
  border: 1px solid #293847;
  border-radius: 8px;
  padding: 16px 18px;
  overflow: auto;
  line-height: 1.65;
  color: #d4e9f2;
  font: 14px/1.65 var(--mono);
  margin: 16px 0;
}
.formula {
  background: linear-gradient(100deg, #13232f, #101822);
  font-size: 15px;
  overflow-wrap: break-word;
  border-left: 2px solid #719aaf;
}
.article-section pre code {
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: normal;
  color: inherit;
  font: inherit;
}
.article-section sup,
.article-section sub {
  line-height: 0;
}
.scroll-table {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0;
}
.article-section table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
  background: #0c141d;
  color: #c0cfda;
}
.article-section th,
.article-section td {
  padding: 10px 12px;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
.article-section th {
  color: #d8e6ed;
  font-weight: 550;
  background: #141e29;
}
.article-section tr:last-child td {
  border-bottom: 0;
}
.article-section figure:not(.grid-explorer) {
  margin: 20px 0;
}
.article-section figure:has(> svg) {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #101923;
  color: var(--ice);
}
.article-section figure > svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.article-section figcaption {
  font-size: 13px;
  color: #a7b8c5;
  line-height: 1.55;
  margin-top: 12px;
}
.article-section .protocol-flow {
  list-style: none;
  margin: 17px 0 0;
  padding: 0;
}
.protocol-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  padding: 0 0 17px;
}
.protocol-flow li:not(:last-child):before {
  content: '';
  position: absolute;
  left: 17px;
  top: 33px;
  bottom: -2px;
  border-left: 1px solid #334754;
}
.flow-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #334856;
  border-radius: 9px;
  color: #b1d6e7;
  background: #13222d;
}
.protocol-flow h3 {
  margin: 3px 0 2px;
  color: #e3edf3;
}
.protocol-flow p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.chapter-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.chapter-cards a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-content: start;
  gap: 6px 10px;
  padding: 15px;
  background: #0e1720;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.chapter-cards a > span {
  color: #a5cddb;
}
.chapter-cards small {
  grid-column: 2;
  font-size: 13px;
  color: #a6b6c2;
  line-height: 1.5;
}
.chapter-cards a:hover,
.pager a:hover {
  border-color: #58778b;
  background: #131f2a;
}
.pager {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.pager a {
  width: 50%;
  border: 1px solid var(--line);
  background: #0d151e;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pager strong {
  font-size: 14px;
  font-weight: 500;
}
.pager small {
  font-size: 12px;
  color: #98acbc;
}
.pager .page-next {
  text-align: right;
  margin-left: auto;
}
.pager .page-previous strong {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.search-dialog {
  width: min(580px, calc(100% - 24px));
  max-height: 75dvh;
  padding: 0;
  border: 1px solid #425769;
  border-radius: 12px;
  background: #101923;
  color: var(--text);
  box-shadow: 0 28px 80px #000b;
  margin: clamp(36px, 14vh, 130px) auto auto;
}
.search-dialog::backdrop {
  background: #02060cba;
  backdrop-filter: blur(3px);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  color: #a8c6d6;
}
.search-input-wrap input {
  min-width: 0;
  width: 100%;
  font:
    16px/1.4 Inter,
    sans-serif;
  outline: 0;
  background: none;
  color: #eef6fa;
  border: 0;
}
.search-input-wrap input:focus-visible {
  outline: none;
}
.search-results {
  overflow: auto;
  max-height: min(480px, 48vh);
  padding: 0 8px 8px;
}
.search-status {
  font: 12px var(--mono);
  padding: 0 17px;
  margin: 14px 0 8px;
  color: #9bb2c4;
}
.search-results a {
  display: block;
  border-radius: 6px;
  margin: 1px 0;
  padding: 9px 10px;
}
.search-results strong,
.search-results small {
  display: block;
}
.search-results strong {
  font-size: 15px;
  font-weight: 520;
}
.search-results small {
  font-size: 12px;
  color: #a9bdcb;
  margin-top: 3px;
}
.search-results a:hover,
.search-results a:focus-visible {
  background: #20323f;
}
@media (min-width: 1633px) {
  .layout {
    border-inline: 1px solid var(--faint-line);
  }
}
@media (max-width: 1140px) {
  .layout {
    grid-template-columns: 213px minmax(0, 1fr) 165px;
  }
  .main {
    padding-inline: 29px;
  }
  .nav-inner {
    padding-left: 12px;
    padding-right: 13px;
  }
  .toc-inner {
    padding-left: 0;
  }
  .cover-caption strong {
    font-size: 37px;
  }
  .cover-photo {
    min-height: 154px;
  }
}
@media (max-width: 980px) {
  .layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .toc-rail {
    display: none;
  }
  .main {
    padding-inline: clamp(22px, 4.6vw, 48px);
  }
  .mobile-toc {
    display: block;
    color: #a9becc;
    margin-top: 18px;
    font-size: 13px;
  }
  .mobile-toc summary {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .mobile-toc[open] ul {
    margin-top: 8px;
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }
  .mobile-toc a {
    display: block;
    padding: 4px 0;
  }
  .mobile-toc a[aria-current] {
    color: var(--ice);
  }
}
@media (max-width: 700px) {
  :root {
    --header: 59px;
  }
  .header-inner {
    padding-inline: 16px;
    gap: 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 14px;
    height: 22px;
  }
  .brand b {
    font-size: 23px;
  }
  .brand i {
    margin: 0 2px;
    height: 15px;
  }
  .brand > span {
    font-size: 14px;
  }
  .header-actions {
    gap: 10px;
  }
  .app-link {
    padding: 6px 8px;
    font-size: 12px;
    gap: 3px;
  }
  .app-link svg {
    width: 12px;
  }
  .search-trigger,
  .icon-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    display: grid;
    place-items: center;
    padding: 0;
    color: #c8d8e4;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .layout {
    display: block;
  }
  .nav-rail {
    position: fixed;
    z-index: 7;
    inset: var(--header) auto 0 0;
    width: min(290px, 84vw);
    transform: translateX(-104%);
    visibility: hidden;
    transition:
      transform 0.17s ease,
      visibility 0.17s;
  }
  .nav-open .nav-rail {
    visibility: visible;
    transform: none;
  }
  .nav-inner {
    position: static;
    padding: 23px 17px 30px 20px;
    max-height: 100%;
  }
  .nav-group li a {
    font-size: 15px;
    padding-block: 9px;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    z-index: 6;
    inset: var(--header) 0 0 0;
    border: 0;
    background: #01060cc9;
  }
  .nav-open {
    overflow: hidden;
  }
  .main {
    padding: 24px 18px 40px;
  }
  .breadcrumbs {
    font-size: 12px;
    gap: 7px;
  }
  .main h1 {
    font-size: clamp(36px, 8.5vw, 47px);
    margin: 16px 0 12px;
  }
  .lead {
    font-size: 17px;
    line-height: 1.55;
  }
  .cover-photo {
    min-height: 145px;
  }
  .market-cover {
    margin-top: 17px;
  }
  .cover-stats {
    padding: 11px 0;
  }
  .cover-stats dd {
    font-size: 21px;
  }
  .cover-stats dt {
    font-size: 12px;
  }
  .article-section {
    margin-top: 28px;
  }
  .article-section + .article-section {
    margin-top: 30px;
    padding-top: 24px;
  }
  .protocol-flow li {
    gap: 12px;
  }
  .article-section figure:has(> svg) {
    padding: 8px;
  }
  .formula,
  .article-section pre {
    font-size: 13px;
    padding: 12px;
  }
  .chapter-cards {
    grid-template-columns: 1fr;
  }
  .article-section th,
  .article-section td {
    padding: 8px;
  }
  .pager a {
    padding: 10px;
  }
  .pager strong {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .header-actions {
    gap: 2px;
  }
  .header-inner {
    gap: 7px;
  }
  .cover-caption strong {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
