:root {
  --ink: #152328;
  --muted: #5d6d72;
  --line: #cad5d3;
  --canvas: #f7f9f7;
  --paper: #ffffff;
  --mint: #dcebe6;
  --teal: #24685e;
  --blue: #dce5ee;
  --blue-ink: #3b6179;
  --ochre: #efe7d8;
  --ochre-ink: #816636;
  --red: #9e4e45;
  --green: #287564;
  --shadow: 0 16px 42px rgba(21, 35, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 8px 12px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }

.site-header { width: min(1280px, calc(100% - 48px)); height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: 0; }
.mark { width: 34px; height: 34px; display: inline-block; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; color: #415258; }
.site-nav a { padding: 7px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); border-color: var(--teal); }
.litepaper-menu { position: relative; }
.litepaper-toggle { min-height: 36px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
.litepaper-toggle:hover, .litepaper-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.dropdown-caret { width: 7px; height: 7px; display: inline-block; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.litepaper-options { display: none; position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; min-width: 156px; border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.litepaper-menu.is-open .litepaper-options { display: block; }
.litepaper-options a { display: block; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; white-space: nowrap; }
.litepaper-options a:last-child { border-bottom: 0; }
.litepaper-options a:hover, .litepaper-options a:focus-visible { background: #edf3f0; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { min-height: 700px; padding: 92px 0 82px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(530px, 1.08fr); gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 18px; font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--teal); }
.signal { width: 8px; height: 8px; display: inline-block; margin: 0 8px 1px 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #dcebe6; }
h1, h2, h3, p { margin-top: 0; }
.title-line { display: block; }
h1 { max-width: 660px; margin-bottom: 24px; font-size: 64px; line-height: 1.02; letter-spacing: 0; }
h2 { max-width: 740px; margin-bottom: 20px; font-size: 46px; line-height: 1.08; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.2; }
.hero-lede { max-width: 605px; margin-bottom: 30px; font-size: 18px; color: #45575d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 53px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 16px; font-weight: 700; font-size: 14px; border: 1px solid var(--ink); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--teal); border-color: var(--teal); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--paper); }
.hero-facts { display: flex; gap: 34px; margin: 0; }
.hero-facts div { min-width: 0; }
.hero-facts dt { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.hero-facts dd { margin: 0; font-size: 14px; font-weight: 700; white-space: nowrap; }

.market-surface { min-width: 0; overflow: hidden; border: 1px solid #aebebb; background: var(--paper); box-shadow: var(--shadow); }
.surface-topline { min-height: 48px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .7px; }
.surface-name { color: #405157; }
.surface-status { color: var(--teal); white-space: nowrap; }
.surface-status i { width: 7px; height: 7px; display: inline-block; margin: 0 5px 1px 0; background: var(--green); border-radius: 50%; }
.surface-tabs { display: flex; border-bottom: 1px solid var(--line); background: #f2f5f3; }
.surface-tab { min-width: 128px; padding: 12px 16px 10px; cursor: pointer; border: 0; border-right: 1px solid var(--line); border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; text-align: left; }
.surface-tab.is-active { background: #fff; color: var(--ink); font-weight: 700; border-bottom-color: var(--teal); }
.surface-panel { padding: 18px; min-height: 355px; }
.surface-panel.is-hidden { display: none; }
.pair-line { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.pair-line strong { font-size: 20px; letter-spacing: 0; }
.pair-line small { color: var(--green); }
.pair-line .indicative-label { color: var(--muted); font-size: 10px; letter-spacing: .4px; }
.surface-grid { display: grid; grid-template-columns: .82fr 1.18fr; margin-top: 15px; }
.book { padding-right: 16px; border-right: 1px solid var(--line); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.book-head, .flow-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-family: Arial, sans-serif; font-size: 11px; }
.book-row { position: relative; display: grid; grid-template-columns: 1fr 1fr auto; height: 24px; align-items: center; }
.book-row b { position: absolute; z-index: 0; right: 0; height: 17px; width: var(--depth); opacity: .55; }
.book-row > * { position: relative; z-index: 1; font-style: normal; }
.book-row em { text-align: right; }
.ask span { color: var(--red); }
.ask b { background: #f1dcd8; }
.bid span { color: var(--green); }
.bid b { background: #d8ebe6; }
.mid-price { margin: 3px 0; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.mid-price small { float: right; color: var(--muted); font-weight: 400; }
.flow { padding-left: 16px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.flow > div:not(.flow-head) { display: grid; grid-template-columns: 78px minmax(0, 1fr) 52px; gap: 7px; min-height: 36px; align-items: center; border-bottom: 1px solid #e8edeb; }
.flow time { color: var(--muted); }
.flow em { padding: 3px 4px; font-family: Arial, sans-serif; font-size: 9px; font-style: normal; font-weight: 700; text-align: center; letter-spacing: .4px; }
.agent-tag { background: #dcebe6; color: var(--teal); }
.human-tag { background: #efe7d8; color: var(--ochre-ink); }
.surface-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.ledger-heading { display: flex; justify-content: space-between; padding: 9px 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.ledger-row { display: grid; grid-template-columns: 1.15fr 1.2fr auto 70px; gap: 10px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ledger-row b { font-family: "SFMono-Regular", Consolas, monospace; }
.ledger-row em { color: var(--green); font-style: normal; font-size: 11px; text-align: right; }
.ledger-row.muted { color: var(--muted); }
.ledger-row.muted em { color: var(--blue-ink); }
.ledger-class::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.agent-dot::before { background: var(--teal); }.human-dot::before { background: var(--ochre-ink); }
.ledger-foot { margin-top: 19px; padding: 14px; border-left: 3px solid var(--teal); background: #eef5f2; color: #3f5555; font-size: 13px; }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eef3f0; }
.ticker-track { width: max-content; min-width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; color: #43575a; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.ticker-track span, .ticker-track i { flex: 0 0 auto; }
.ticker-track i { width: 5px; height: 5px; display: inline-block; background: var(--ochre-ink); }

.network { display: block; }
.section-heading > p:last-child, .proof-intro > p:last-child, .devnet-copy > p:last-of-type { max-width: 670px; color: #526267; font-size: 17px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-self: end; border-top: 1px solid var(--line); }
.network .principles { margin-top: 64px; }
.principles article { min-height: 236px; padding: 22px 22px 0 0; border-right: 1px solid var(--line); }
.principles article + article { padding-left: 22px; }
.principles article:last-child { border-right: 0; }
.principles p { color: var(--muted); font-size: 14px; }
.principle-number { display: block; margin-bottom: 31px; color: var(--teal); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }

.incentives { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading-wide { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: 64px; align-items: end; }
.section-heading-wide .eyebrow { grid-column: 1 / -1; }
.section-heading-wide h2 { grid-column: 1; min-height: 0; display: block; margin-bottom: 0; font-size: 52px; line-height: 1.02; }
.section-heading-wide > p:last-child { grid-column: 2; margin: 0; }
.diagram-frame { margin: 60px 0 0; padding: 20px; border: 1px solid var(--line); background: var(--canvas); overflow: auto; }
.diagram-frame img { width: 100%; min-width: 790px; height: auto; display: block; }
.diagram-frame figcaption { margin-top: 13px; color: var(--muted); font-size: 12px; }

.proof { display: block; }
.proof-intro h2 { font-size: 52px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.metric { min-height: 270px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.primary-metric { border-color: #71998e; background: #eef5f2; }
.metric-label { min-height: 35px; display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.metric strong { display: block; margin: 17px 0 19px; font-size: 34px; line-height: 1; letter-spacing: 0; }
.metric strong small { font-size: 14px; color: var(--teal); }
.metric p { margin: 0; color: var(--muted); font-size: 13px; }
.method-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.architecture { background: #edf2f0; border-top: 1px solid var(--line); }
.architecture-diagram { background: #fff; }
.architecture-diagram img { min-width: 920px; }

.devnet { display: block; }
.devnet-copy .text-link { grid-column: 2; justify-self: start; margin-top: 4px; }
.text-link { display: inline-flex; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--teal); color: var(--teal); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.devnet-list { margin-top: 64px; border-top: 1px solid var(--ink); }
.devnet-list div { min-height: 72px; display: grid; grid-template-columns: 64px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.devnet-list span { color: var(--teal); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.devnet-list p { margin: 0; font-weight: 700; font-size: 15px; }

.site-footer { min-height: 112px; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }.site-footer a { color: var(--ink); font-weight: 700; }.site-footer a:hover { color: var(--teal); }
.copy-email { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: copy; }
.copy-email:hover { color: var(--teal); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 54px; }.hero-copy { max-width: 720px; }.market-surface { max-width: 760px; }
  .proof-grid { max-width: 780px; }.method-note { margin-top: 18px; }
  .section-heading-wide { grid-template-columns: 1fr; gap: 16px; }.section-heading-wide .eyebrow, .section-heading-wide h2, .section-heading-wide > p:last-child, .devnet-copy .text-link { grid-column: auto; }.section-heading-wide h2 { min-height: 0; display: block; font-size: 44px; }
}

@media (max-width: 720px) {
  .section-shell, .site-header { width: min(100% - 32px, 1180px); }.site-header { height: 68px; position: relative; }.wordmark { font-size: 18px; }.mark { width: 28px; height: 28px; }
  .menu-toggle { display: block; }.site-nav { display: none; position: absolute; z-index: 4; top: 67px; left: 0; right: 0; padding: 12px 16px 18px; border: 1px solid var(--line); border-top: 0; background: var(--paper); box-shadow: var(--shadow); align-items: stretch; gap: 3px; }.site-nav.is-open { display: flex; flex-direction: column; }.site-nav a { padding: 11px 0; }.litepaper-menu { margin-top: 5px; }.litepaper-toggle { width: 100%; justify-content: center; }.litepaper-options { position: static; width: 100%; margin-top: -1px; box-shadow: none; }.litepaper-options a { text-align: center; }
  .hero { min-height: 0; padding: 66px 0 56px; gap: 42px; }.section { padding: 72px 0; }h1 { font-size: 39px; overflow-wrap: anywhere; }.section-heading-wide h2, .proof-intro h2 { font-size: 40px; }.hero-lede { font-size: 17px; }.hero-facts { gap: 18px; flex-wrap: wrap; }.hero-facts dd { font-size: 13px; }.hero-actions { margin-bottom: 38px; }
  .surface-topline { padding: 0 12px; }.surface-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.surface-status { font-size: 0; }.surface-status i { margin: 0; }
  .surface-panel { padding: 13px; min-height: auto; }.surface-grid { grid-template-columns: 1fr; }.book { padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }.flow { padding: 18px 0 0; }.flow > div:not(.flow-head) { grid-template-columns: 70px minmax(0, 1fr) 48px; }.pair-line strong { font-size: 17px; }.surface-tab { min-width: 0; flex: 1; padding-left: 12px; }
  .network .principles, .proof-grid, .devnet-list { margin-top: 42px; }.principles { grid-template-columns: 1fr; }.principles article, .principles article + article { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }.principle-number { margin-bottom: 18px; }.proof-grid { grid-template-columns: 1fr; }.metric { min-height: 0; }.metric-label { min-height: 0; }.metric strong { margin: 12px 0; }
  .diagram-frame { margin-top: 38px; padding: 12px; }.diagram-frame img { min-width: 720px; }.architecture-diagram img { min-width: 760px; }
  .site-footer { grid-template-columns: 1fr; gap: 9px; padding: 31px 0; }.site-footer a { margin-top: 4px; }.footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
}
