:root {
  --ink: #111317;
  --ink-soft: #1b1f25;
  --blue-deep: #0b326a;
  --blue-mid: #104784;
  --paper: #f4f5f2;
  --white: #ffffff;
  --line: #d5d9d5;
  --muted: #656b72;
  --cyan: #28d9e6;
  --green: #67e38d;
  --amber: #ffbe4d;
  --violet: #9480ff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(8, 39, 84, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 750;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 3px;
  transform: rotate(45deg);
}

.brand-mark span {
  display: block;
  background: var(--cyan);
}

.brand-mark span:nth-child(2) {
  background: var(--green);
}

.brand-mark span:nth-child(3) {
  background: var(--amber);
}

.brand-mark span:nth-child(4) {
  background: var(--violet);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.main-nav a,
.header-link {
  transition: color 140ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
  color: var(--white);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 720;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.84rem;
}

.button-light,
.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-primary:hover {
  background: var(--green);
}

.button-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 1px;
  display: block;
  margin: 6px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: max(620px, 88svh);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 128px max(32px, calc((100vw - var(--max)) / 2)) 112px;
  background: var(--blue-deep);
  color: var(--white);
  isolation: isolate;
}

.network-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-canvas {
  z-index: -2;
  opacity: 0.88;
}

.hero-grid {
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 2%, black 38%, black 100%);
}

.hero-content {
  width: min(830px, 76vw);
}

.kicker {
  margin: 0 0 22px;
  color: #4c5359;
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 9vw, 8.3rem);
  line-height: 0.82;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-statement {
  max-width: 720px;
  margin: 38px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.25;
  font-weight: 650;
}

.hero-statement span:nth-child(1) {
  color: var(--cyan);
}

.hero-statement span:nth-child(2) {
  color: var(--white);
}

.hero-statement span:nth-child(3) {
  color: var(--green);
}

.hero-statement span:nth-child(4) {
  color: var(--amber);
}

.hero-statement span:nth-child(5) {
  color: var(--violet);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.capabilities-section {
  min-height: 76svh;
  display: grid;
  grid-template-columns: minmax(290px, 0.68fr) minmax(650px, 1.32fr);
  align-items: center;
  gap: clamp(64px, 8vw, 128px);
  padding: 96px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.capabilities-intro {
  max-width: 440px;
}

.capabilities-intro h2 {
  margin: 0;
  font-size: clamp(2.45rem, 3.6vw, 4rem);
  line-height: 1.05;
  font-weight: 735;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 220px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid h3 {
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.2;
}

.capability-grid article:nth-child(1) h3 {
  color: #008c9b;
}

.capability-grid article:nth-child(3) h3 {
  color: #208348;
}

.capability-grid article:nth-child(4) h3 {
  color: #a76700;
}

.capability-grid article:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 36px;
}

.capability-grid article:nth-child(5) h3 {
  margin: 0;
  color: #654fd0;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.mechanism-section,
.status-section,
.scaling-section,
.papers-section {
  padding: 110px max(32px, calc((100vw - var(--max)) / 2));
}

.mechanism-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(650px, 1.28fr);
  align-items: start;
  gap: clamp(64px, 7vw, 112px);
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 640px;
}

.mechanism-section .section-heading {
  max-width: 430px;
}

.mechanism-section .section-heading h2 {
  font-size: clamp(2.45rem, 3.4vw, 3.55rem);
  line-height: 1.08;
}

.section-heading h2,
.verification-lead h2,
.scaling-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.3vw, 4.5rem);
  line-height: 1.02;
  font-weight: 735;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.scaling-copy > p:last-child {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.protocol-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.protocol-flow li {
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.flow-mark {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #b7bdb8;
  border-radius: 50%;
  font-size: 0.83rem;
  font-weight: 780;
}

.protocol-flow li:nth-child(1) .flow-mark {
  border-color: var(--cyan);
}

.protocol-flow li:nth-child(3) .flow-mark {
  border-color: var(--amber);
}

.protocol-flow li:nth-child(4) .flow-mark {
  border-color: var(--violet);
}

.protocol-flow li:nth-child(5) .flow-mark {
  border-color: var(--green);
}

.protocol-flow h3 {
  margin: 0 0 5px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.protocol-flow p {
  margin: 0;
  color: var(--muted);
}

.verification-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(54px, 8vw, 116px);
  padding: 112px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--blue-mid);
  color: var(--white);
}

.kicker-light {
  color: var(--cyan);
}

.verification-lead h2 {
  max-width: 550px;
}

.verification-lead > p:not(.kicker) {
  margin: 28px 0 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  line-height: 1.76;
}

.text-link-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 4px;
  font-weight: 700;
}

.evidence-stack {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.evidence-stack article {
  padding: 30px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.evidence-code {
  margin-bottom: 20px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.77rem;
}

.evidence-stack h3 {
  margin: 0 0 6px;
  font-size: 1.24rem;
}

.evidence-stack p {
  margin: 0;
  color: rgba(255, 255, 255, 0.61);
}

.status-section {
  background: var(--white);
}

.status-section .section-heading {
  max-width: none;
}

.status-section .section-heading h2 {
  font-size: clamp(2.35rem, 3.5vw, 3.8rem);
}

.roadmap-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(90px, 0.25fr) minmax(580px, 1.7fr);
  align-items: stretch;
  gap: 28px;
  margin-top: 60px;
}

.roadmap-current,
.roadmap-next {
  min-height: 190px;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.roadmap-current {
  display: flex;
  flex-direction: column;
}

.roadmap-current > span,
.roadmap-next-label {
  color: #196834;
  font-size: 0.78rem;
  font-weight: 760;
}

.roadmap-current strong,
.roadmap-next-items strong {
  margin-top: auto;
  font-size: 1.28rem;
}

.roadmap-current small,
.roadmap-next-items small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.roadmap-arrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  color: var(--muted);
}

.roadmap-arrow i {
  height: 1px;
  background: #aeb5b0;
}

.roadmap-arrow b {
  margin-left: -1px;
  font-size: 1.4rem;
  line-height: 1;
}

.roadmap-next {
  border-top-color: var(--violet);
}

.roadmap-next-label {
  color: #55449b;
}

.roadmap-next-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 44px;
}

.roadmap-next-items a {
  min-width: 0;
}

.roadmap-next-items a + a {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.scaling-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(56px, 8vw, 128px);
  background: #e8ece8;
}

.scaling-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c9cfca;
}

.scaling-flow li {
  min-height: 128px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #c9cfca;
}

.scaling-flow > li > span {
  color: #4f5752;
  font-size: 0.77rem;
  font-weight: 760;
}

.scaling-flow h3 {
  margin: 0 0 7px;
  font-size: 1.12rem;
}

.scaling-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.papers-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(56px, 8vw, 128px);
  background: var(--white);
}

.papers-section .section-heading h2 {
  max-width: 600px;
  font-size: clamp(2.35rem, 3.5vw, 3.8rem);
}

.papers-placeholder {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.papers-placeholder span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.papers-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 42px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--blue-deep);
  color: var(--white);
}

.site-footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

.site-footer > div {
  justify-self: end;
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
}

.site-footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 13px 16px;
  border: 1px solid #343942;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (min-width: 760px) {
  .protocol-flow li {
    grid-template-columns: 52px 126px 1fr;
  }

  .protocol-flow h3 {
    margin: 0;
  }

  .protocol-flow li div {
    display: contents;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 24px;
    background: rgba(8, 39, 84, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    align-items: flex-start;
    padding-top: 122px;
  }

  .capabilities-section {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .capabilities-intro {
    max-width: 720px;
  }

  .verification-section,
  .scaling-section,
  .papers-section {
    grid-template-columns: 1fr;
  }

  .roadmap-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .roadmap-arrow {
    min-height: 72px;
    grid-template-columns: 1px;
    justify-content: start;
    margin-left: 24px;
  }

  .roadmap-arrow i {
    width: 1px;
    height: 52px;
  }

  .roadmap-arrow b {
    display: none;
  }

  .mechanism-section {
    display: block;
  }

  .mechanism-section .section-heading {
    max-width: 760px;
  }

  .protocol-flow {
    margin-top: 58px;
  }

  .verification-lead,
  .section-heading.compact,
  .scaling-copy {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .main-nav {
    inset-block-start: 64px;
  }

  .header-link,
  .header-actions .button {
    display: none;
  }

  .header-actions {
    gap: 4px;
  }

  .hero {
    min-height: 0;
    padding: 104px 20px 72px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 22vw, 6rem);
  }

  .hero-statement {
    max-width: 350px;
    display: grid;
    gap: 5px;
    margin-top: 28px;
    font-size: clamp(1.28rem, 6vw, 1.65rem);
  }

  .hero-actions {
    max-width: 300px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions button {
    min-height: 46px;
  }

  .hero-grid {
    background-size: 50px 50px;
  }

  .mechanism-section,
  .capabilities-section,
    .verification-section,
    .status-section,
    .scaling-section,
    .papers-section {
    padding: 76px 20px;
  }

  .section-heading h2,
  .capabilities-intro h2,
  .verification-lead h2,
  .scaling-copy h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .capabilities-section {
    gap: 46px;
  }

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

  .capability-grid article {
    min-height: 0;
    padding: 28px 24px;
  }

  .capability-grid article:nth-child(5) {
    display: block;
  }

  .capability-grid article:nth-child(5) h3 {
    margin-bottom: 20px;
  }

  .protocol-flow {
    margin-top: 48px;
  }

  .protocol-flow li {
    gap: 14px;
  }

  .evidence-stack article {
    padding: 25px 0 27px;
  }

  .roadmap-next-items {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .roadmap-next-items a + a {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .scaling-flow li {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 220px;
    padding: 44px 20px;
  }

  .site-footer > p {
    max-width: 310px;
  }

  .site-footer > div {
    justify-self: start;
  }
}

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

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

/* Shared overview links and protocol detail pages. */
.detail-link { display: inline-flex; align-items: center; margin-top: 20px; color: #07519b; font-size: .95rem; font-weight: 650; line-height: 1.6; }
.detail-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.chain-summary { display: block; margin-top: 10px; color: #41607c; font-size: .875rem; line-height: 1.8; }
.capability-grid article { min-height: 190px; }
.capability-grid article:nth-child(5) { min-height: 160px; }
.economics-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: 76px max(32px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #e8edf2; }
.economics-overview h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.2; margin: 0; }
.economics-overview p { color: #52616e; }
.money-summary { display: grid; align-content: center; }
.money-summary span { border-bottom: 1px solid #c8d4df; padding: 18px 0; font-size: 1.1rem; }
.detail-page .site-header { background: #0b326a; }
.detail-hero { background: #0b326a; color: white; padding: 122px max(32px, calc((100vw - var(--max)) / 2)) 60px; }
.back-link { display: inline-block; color: #c4d9ed; font-size: .9rem; margin-bottom: 32px; }
.detail-hero h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); line-height: 1.16; margin: 16px 0 22px; max-width: 1000px; }
.detail-hero > p:last-child { max-width: 760px; color: #d0deee; font-size: 1.125rem; line-height: 1.85; margin-bottom: 0; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px max(32px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: white; font-size: .9375rem; }
.topic-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.topic-nav a[aria-current="page"] { color: #07519b; border-color: #07519b; font-weight: 700; }
.topic-nav a:hover { color: #07519b; }
.detail-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; max-width: 1304px; margin: auto; padding: 58px 32px 90px; }
.detail-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 125px); overflow: auto; font-size: .9375rem; }
.detail-toc strong { display: block; margin-bottom: 18px; color: #426181; }
.detail-toc nav { display: grid; border-left: 1px solid #c7d3dd; }
.detail-toc a { display: block; padding: 9px 0 9px 18px; color: #52616e; line-height: 1.55; }
.detail-toc a:hover { color: #07519b; background: #e8edf2; }
.detail-body { min-width: 0; max-width: 900px; }
.detail-section { scroll-margin-top: 102px; padding: 0 0 42px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.detail-section h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.3; margin: 0 0 23px; }
.detail-section h3 { font-size: 1.25rem; margin: 9px 0 14px; line-height: 1.45; }
.detail-section p { color: #465461; font-size: 1rem; line-height: 1.9; margin: 14px 0; overflow-wrap: anywhere; }
.detail-section ul { padding-left: 1.3em; color: #465461; line-height: 1.9; }
.detail-section ul li { margin: 10px 0; }
.detail-section a:not(.detail-link) { color: #07519b; text-decoration: underline; text-underline-offset: 4px; }
.full-flow { padding: 0; margin: 0; list-style: none; }
.full-flow > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; border-top: 1px solid #d5dfe6; padding: 30px 0; }
.full-flow > li:first-child { border-top: 0; padding-top: 0; }
.step-number { display: flex; align-items: center; justify-content: center; background: #0b326a; color: #fff; font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; font-variant-numeric: tabular-nums; }
.stage-label { color: #527294; font-size: .875rem; }
.chain-record { border-left: 3px solid #1793a8; background: #e9eff3; padding: 14px 18px; margin-top: 18px; }
.chain-record strong { font-size: .875rem; color: #0a5673; }
.chain-record p { margin: 6px 0 0; font-size: .9375rem; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 24px 0; border: 1px solid #d4dce2; background: white; }
.detail-section table { border-collapse: collapse; width: 100%; min-width: 480px; text-align: left; font-size: 1rem; line-height: 1.7; }
.detail-section th { background: #e8eef4; color: #24486b; font-weight: 650; }
.detail-section th, .detail-section td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #e0e5e9; overflow-wrap: anywhere; }
.detail-section tr:last-child td { border-bottom: 0; }
.detail-section td:first-child { width: 28%; color: #173e63; }
.reading-flow { background: #0b326a; color: white; padding: 25px; line-height: 2; font-size: 1.05rem; }
.source-section { background: #e9eff3; border: 0; padding: 28px; }
.source-section p, .source-section li { font-size: .9375rem; }
a:focus-visible, button:focus-visible, .table-scroll:focus-visible { outline: 3px solid #12a9bf; outline-offset: 5px; }
@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; }
  .economics-overview { gap: 36px; }
}
@media (max-width: 760px) {
  .detail-hero { padding: 110px 22px 40px; }
  .detail-hero h1 { font-size: 2.3rem; }
  .topic-nav { padding: 16px 22px; gap: 5px 20px; }
  .detail-layout { display: block; padding: 28px 22px 50px; }
  .detail-toc { position: static; max-height: none; margin-bottom: 36px; }
  .detail-toc nav { display: flex; flex-wrap: wrap; gap: 8px 18px; border-left: 0; }
  .detail-toc a { padding: 4px 0; font-size: .875rem; }
  .detail-toc strong { margin-bottom: 10px; }
  .full-flow > li { grid-template-columns: 34px minmax(0,1fr); gap: 14px; }
  .step-number { width: 32px; height: 32px; font-size: .875rem; }
  .chain-record { padding: 12px; }
  .economics-overview { grid-template-columns: 1fr; padding: 52px 22px; gap: 25px; }
  .source-section { padding: 22px; }
  .detail-section { padding-bottom: 30px; margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 760px) {
  .protocol-flow li { grid-template-columns: 52px minmax(0, 1fr); }
  .protocol-flow li div { display: block; }
  .protocol-flow h3 { margin: 0 0 9px; }
}
@media (min-width: 1041px) {
  .mechanism-section { grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 5vw, 80px); }
}

/* API directory and compact evidence citations. */
.hero-actions { flex-wrap: wrap; }
.button-api { border: 1px solid #62d8e7; color: #beeff5; background: rgba(14,84,128,.28); gap: 12px; }
.button-api:hover { background: rgba(33,154,180,.28); }
.evidence-citations { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #cedae2; }
.evidence-citations a, .detail-section .evidence-citations a:not(.detail-link) { color: #52657a; text-decoration: none; font-size: .8125rem; line-height: 1.7; }
.evidence-citations a:hover { text-decoration: underline; }
.evidence-citations span { display: inline-block; color: #116481; border: 1px solid #b8d4df; padding: 0 5px; margin-right: 4px; }
.verification-section .evidence-citations { border-color: #35658c; }
.verification-section .evidence-citations a { color: #c0d9e9; }
.verification-section .evidence-citations span { border-color: #497c9e; color: #b9eef7; }
.service-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #ccdae4; background: #fff; }
.service-metrics article { padding: 22px; border-bottom: 1px solid #dbe3ea; }
.service-metrics span, .service-metrics small { display: block; color: #55697b; font-size: .875rem; line-height: 1.65; }
.service-metrics strong { display: block; color: #16476d; font-size: 1.65rem; margin: 12px 0; font-weight: 650; }
.data-footnote, .detail-section p.data-footnote { font-size: .875rem; color: #607283; }
.model-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0 0; font-size: .9375rem; }
.model-filter input { background: white; color: #172e43; border: 1px solid #aabbc9; border-radius: 4px; padding: 11px 14px; max-width: 100%; width: 310px; }
.delivery-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.delivery-switch button { cursor: pointer; padding: 12px 18px; border: 1px solid #9fb7cb; background: #fff; color: #15466f; border-radius: 4px; }
.delivery-switch button[aria-pressed="true"] { background: #0b326a; color: white; border-color: #0b326a; }
.delivery-panel { background: #e8eff5; padding: 22px; margin-top: 14px; }
.delivery-panel pre { overflow: auto; background: #102c46; color: #d7ecfa; padding: 20px; font-size: .875rem; line-height: 1.8; max-width: 100%; }
[hidden] { display: none !important; }
.evidence-entry { border-left: 3px solid #2d8ba5; padding-left: 24px; }
.evidence-type { font-size: .875rem; color: #126481; display: block; margin-bottom: 14px; }
.evidence-date { font-size: .875rem !important; }
.source-pending { color: #647584; font-size: .875rem; }
@media (max-width: 1200px) and (min-width:1041px) { .main-nav { gap: 16px; } .site-header { padding: 0 24px; } }
@media (max-width: 760px) { .service-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .service-metrics article { padding: 16px; } }
@media (max-width: 700px) { .hero-actions a { width: 100%; justify-content: center; } }
@media (max-width: 400px) { .service-metrics { grid-template-columns: 1fr; } }

.verification-steps { list-style: decimal-leading-zero; padding-left: 1.8rem; margin: 26px 0 0; }
.verification-steps li { padding: 0 0 20px 8px; margin: 0 0 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.verification-steps li:last-child { border: 0; padding-bottom: 0; margin-bottom: 0; }
.verification-steps li::marker { color: #74dce7; font-size: .875rem; }
.verification-steps h4 { margin: 0 0 8px; font-size: 1rem; color: #fff; line-height: 1.6; }
.verification-steps p { margin: 0; }
.paper-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 42px; }
.paper-preview article { border-top: 2px solid #174c78; padding-top: 18px; min-width: 0; }
.paper-preview h3 { font-size: 1.1rem; margin: 0 0 16px; color: #194e76; }
.paper-preview a { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #d2dce4; font-size: 1rem; }
.paper-preview small { font-size: .8125rem; color: #61758a; }
.paper-preview a:hover { color: #006e97; }
.paper-preview b { font-weight: 400; }
.literature-jumps { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.literature-jumps a { font-size: .9375rem; }
.paper-card { scroll-margin-top: 100px; padding: 26px 0 32px; border-bottom: 1px solid #d4dfe7; }
.paper-card:first-of-type { padding-top: 0; }
.paper-card:last-child { border: 0; padding-bottom: 0; }
.paper-card h3 { font-size: 1.3rem; line-height: 1.5; overflow-wrap: anywhere; }
.paper-card .paper-meta { font-size: .8125rem; color: #136581; }
.paper-card .paper-authors { font-size: .875rem; color: #627384; }
.paper-relevance { border-left: 3px solid #87b9ca; padding: 12px 18px; background: #e8eff4; }
.paper-relevance strong { font-size: .875rem; color: #265971; }
.paper-relevance p { margin: 8px 0 0; font-size: .9375rem; }
@media(max-width: 760px) { .paper-preview { grid-template-columns: 1fr; gap: 28px; } }

.wallet-trigger { padding: 9px 15px; border: 1px solid #7dafd2; border-radius: 4px; background: transparent; color: #fff; white-space: nowrap; font-size: .875rem; cursor: pointer; }
.wallet-trigger:hover { background: #245a85; }
.wallet-is-open { overflow: hidden; }
.wallet-dialog { width: min(520px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); border: 0; border-radius: 12px; padding: 0; color: #152e43; background: #f8fbfd; box-shadow: 0 25px 80px #03152866; }
.wallet-dialog::backdrop { background: #04182bbc; }
.wallet-shell { position: relative; padding: 32px; }
.wallet-shell h2 { font-size: 1.8rem; margin: 10px 0; }
.wallet-shell p { color: #556c7e; line-height: 1.8; }
.wallet-close { position: absolute; right: 16px; top: 12px; font-size: 1.6rem; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; }
.wallet-option { border-top: 1px solid #cedde6; padding: 22px 0; }
.wallet-option h3 { font-size: 1rem; margin: 0; }
.wallet-option p { font-size: .9375rem; }
.wallet-note { font-size: .875rem; }
.wallet-back { background: none; border: 0; color: #15698d; padding: 6px 0; cursor: pointer; font-size: .9375rem; }
.entry-layout { max-width: 1304px; padding: 0 32px 70px; margin: auto; }
.entry-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; border-bottom: 1px solid #ccdae5; padding: 64px 0; scroll-margin-top: 90px; }
.entry-intro h2 { font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.3; margin: 16px 0; }
.entry-intro p { color: #546779; }
.entry-intro .entry-status { font-size: .875rem; border-left: 3px solid #9dbed0; padding-left: 12px; margin-top: 25px; }
.entry-steps { list-style: decimal-leading-zero; padding-left: 24px; margin: 0; }
.entry-steps li { padding-left: 12px; margin-bottom: 28px; }
.entry-steps li::marker { color: #16718f; font-size: .875rem; }
.entry-steps h3 { margin: 0 0 8px; font-size: 1.05rem; }
.entry-steps p { color: #546779; margin: 0; line-height: 1.8; }
.entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.entry-wallet, .entry-primary, .entry-secondary { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #1b5b85; border-radius: 4px; padding: 11px 15px; font-size: .9375rem; line-height: 1.5; text-align: center; }
.entry-wallet, .entry-primary { background: #0b326a; color: white; cursor: pointer; }
.entry-secondary { background: white; color: #13567f; cursor: pointer; }
.entry-primary:disabled, .entry-secondary:disabled { color: #617688; background: #e7edf2; border-color: #d0dbe3; cursor: not-allowed; }
.entry-hero-link { display: inline-block; color: #b8f4fb; border-bottom: 1px solid #79aebd; padding-bottom: 4px; margin-bottom: 12px; }
@media (min-width:1041px) { .site-header { grid-template-columns: auto 1fr auto; gap: 24px; } .main-nav { justify-content: center; gap: clamp(12px,1.65vw,26px); } }
@media (max-width:760px) { .entry-layout { padding: 0 22px 40px; } .entry-section { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; } .wallet-shell { padding: 26px; } }
@media (max-width:400px) { .wallet-trigger { padding: 8px 10px; } .header-actions { gap: 10px; } .site-header { padding-left: 16px; padding-right: 16px; } }

/* Publication layout: shared gutters, reading width, and section rhythm. */
:root { --gutter: clamp(20px, 3.2vw, 48px); --page-edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); --section-space: clamp(64px, 7vw, 104px); }
body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
main section[id], main div[id] { scroll-margin-top: 100px; }
.site-header { padding-inline: var(--gutter); }
.main-nav { white-space: nowrap; }
.main-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 7px; }
.hero { padding-inline: var(--page-edge); min-height: max(600px, 80svh); }
.hero-content { width: min(920px, 100%); }
.hero-actions .button { min-height: 48px; }
.capabilities-section, .mechanism-section, .verification-section, .status-section, .scaling-section, .papers-section, .economics-overview, .careers-overview { padding: var(--section-space) var(--page-edge); }
.capabilities-section { min-height: 0; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(32px,5vw,72px); }
.mechanism-section, .verification-section, .scaling-section { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,72px); }
.capabilities-intro h2, .section-heading h2, .verification-lead h2, .scaling-copy h2 { line-height: 1.22; }
.capability-grid article { padding: clamp(24px,2.5vw,36px); }
.capability-grid article:nth-child(5) { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 24px; }
.papers-section { display: block; }
.papers-section .section-heading { max-width: 840px; }
.paper-preview { margin-top: 40px; gap: clamp(24px,3vw,40px); }
.paper-preview a { min-height: 68px; }
.roadmap-flow { grid-template-columns: minmax(0,.8fr) 64px minmax(0,1.7fr); gap: 24px; margin-top: 40px; }
.economics-overview { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
.detail-hero { padding: 124px var(--page-edge) 56px; }
.detail-hero h1 { font-size: clamp(2.25rem,4.4vw,4rem); line-height: 1.25; max-width: 960px; }
.detail-hero > p:last-child { max-width: 760px; line-height: 1.8; }
.topic-nav { padding-inline: var(--page-edge); row-gap: 6px; }
.detail-layout { max-width: calc(var(--max) + 2 * var(--gutter)); padding: 56px var(--gutter) 80px; grid-template-columns: 200px minmax(0,1fr); gap: clamp(32px,5vw,72px); }
.detail-body { max-width: 860px; }
.detail-section { padding-bottom: 40px; margin-bottom: 40px; }
.detail-section h2 { margin-bottom: 20px; }
.detail-section p, .detail-section ul { line-height: 1.85; }
.detail-section > :last-child { margin-bottom: 0; }
.detail-section:last-child { margin-bottom: 0; }
.entry-layout { max-width: calc(var(--max) + 2 * var(--gutter)); padding-inline: var(--gutter); }
.entry-section { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(32px,5vw,72px); }
.entry-actions > span { max-width: 100%; }
.entry-primary, .entry-secondary, .entry-wallet { min-height: 46px; max-width: 100%; }
.site-footer { padding: 44px var(--page-edge); grid-template-columns: auto minmax(0,1fr) auto; gap: 32px; }
.site-footer > p { max-width: 460px; }
.site-footer > div { flex-wrap: wrap; gap: 12px 22px; }
.kicker, .evidence-code, .scaling-flow > li > span, .roadmap-current > span, .roadmap-next-label { font-size: .875rem; }
.scaling-flow p, .chain-record p, .paper-relevance p { font-size: 1rem; }
.verification-lead > p:not(.kicker), .evidence-stack p { color: #d2e2ef; }
.careers-overview { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,72px); background: var(--blue-deep); color: #fff; }
.careers-overview h2, .careers-section h2, .careers-contact h2 { font-size: clamp(1.9rem,3.3vw,3rem); line-height: 1.3; margin: 0; }
.careers-overview p:not(.kicker) { color: #d2e2ef; line-height: 1.85; margin: 0 0 24px; }
.careers-overview .careers-inline-meta { font-size: .875rem; color: #82dce5; }
.careers-overview + * { border-top: 1px solid #31527b; }
.careers-layout { max-width: calc(var(--max) + 2 * var(--gutter)); padding: 0 var(--gutter) var(--section-space); margin-inline: auto; }
.careers-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(32px,5vw,72px); padding-block: var(--section-space); border-bottom: 1px solid var(--line); }
.careers-section p, .careers-section li { color: #465461; line-height: 1.85; }
.careers-section p { margin: 0 0 20px; }
.careers-section p:last-child { margin-bottom: 0; }
.careers-section .kicker { color: #426181; }
.careers-section .careers-lead { font-size: 1.125rem; color: #193f62; }
.role-list article + article { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.role-index { font-size: .875rem; color: #176981; }
.role-list h3, .working-principles h3 { font-size: 1.25rem; margin: 12px 0 16px; line-height: 1.45; }
.role-list ul { padding-left: 1.25em; margin: 20px 0 0; }
.role-list li + li { margin-top: 10px; }
.working-principles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.working-principles h3 { margin-top: 0; }
.careers-contact { margin-top: var(--section-space); padding: clamp(28px,5vw,64px); background: #e5edf4; border-top: 3px solid #0b326a; }
.careers-contact p:not(.kicker) { max-width: 700px; margin: 24px 0 28px; color: #465461; line-height: 1.85; }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 24px; background: #082754; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid #ffffff25; }
  .nav-toggle { display: block; }
}
@media (max-width: 1040px) {
  .capabilities-section, .mechanism-section, .verification-section, .scaling-section { grid-template-columns: 1fr; }
  .mechanism-section { display: grid; }
  .mechanism-section .protocol-flow { margin-top: 0; }
  .roadmap-flow { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer > div { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .detail-layout { display: block; padding-top: 32px; padding-bottom: 56px; }
  .detail-hero { padding-top: 110px; padding-bottom: 40px; }
  .back-link { margin-bottom: 20px; }
  .detail-toc { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .detail-toc a { padding-block: 8px; }
  .topic-nav { padding-block: 16px; }
  .entry-section, .careers-section, .careers-overview, .economics-overview { grid-template-columns: 1fr; gap: 28px; }
  .entry-section { padding-block: 40px; }
  .paper-preview { gap: 28px; }
  .careers-contact h2 br { display: none; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .main-nav { inset-block-start: 64px; max-height: calc(100dvh - 64px); }
  .hero { min-height: 0; padding-top: 110px; padding-bottom: 72px; }
  .hero-actions { max-width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hero-actions .button { padding-inline: 12px; font-size: .9375rem; }
  .capability-grid article:nth-child(5) { display: block; }
  .section-heading h2, .capabilities-intro h2, .verification-lead h2, .scaling-copy h2 { font-size: clamp(1.9rem,7.5vw,2.6rem); }
}
@media (max-width: 420px) {
  .working-principles { grid-template-columns: 1fr; }
  .entry-actions { flex-direction: column; align-items: stretch; }
  .entry-actions > span > * { width: 100%; }
}
