:root {
  color-scheme: light;
  --ink: #101712;
  --ink-2: #1a251d;
  --muted: #5d6a61;
  --paper: #f3f5f0;
  --paper-2: #fbfcf8;
  --line: #cfd6ce;
  --line-dark: #98a49b;
  --green: #0d6b4f;
  --green-2: #15906b;
  --mint: #d7eee5;
  --acid: #d8ff73;
  --red: #b83c2e;
  --red-soft: #f5dfd9;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgb(17 29 21 / 10%);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 4px; }

.status-bar { display: flex; min-height: 30px; align-items: center; justify-content: center; gap: 30px; padding: 7px 24px; color: #eaf4ed; background: var(--ink); font: 700 10px/1.4 var(--mono); letter-spacing: .08em; }
.status-bar span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3dd597; box-shadow: 0 0 0 4px rgb(61 213 151 / 12%); }

.topbar { position: sticky; z-index: 50; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 74px; align-items: center; padding: 0 max(32px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--line); background: rgb(243 245 240 / 94%); backdrop-filter: blur(18px); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.desktop-nav { display: flex; height: 74px; align-items: stretch; gap: 4px; }
.desktop-nav a { position: relative; display: grid; place-items: center; padding: 0 18px; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); }
.desktop-nav a[aria-current="page"]::after { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 3px; background: var(--green); content: ""; }
.header-cta { justify-self: end; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.header-cta:hover { color: var(--green); }

.overline { margin: 0; color: var(--green); font: 750 11px/1.4 var(--mono); letter-spacing: .1em; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 18px; border: 1px solid var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; transition: transform 150ms ease, background 150ms ease, color 150ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: var(--green); }
.button-secondary { background: transparent; }
.button-secondary:hover { color: white; background: var(--ink); }
.button-light { color: var(--ink); border-color: white; background: white; }
.text-link { color: var(--green); font-size: 12px; font-weight: 800; text-underline-offset: 4px; }

.overview-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr); gap: clamp(50px, 8vw, 120px); align-items: center; width: min(1320px, calc(100% - 64px)); min-height: 710px; margin: 0 auto; padding: 88px 0 76px; }
.hero-main h1, .page-hero h1, .desk-header h1 { max-width: 830px; margin: 20px 0 0; font-size: clamp(64px, 7vw, 108px); font-weight: 720; letter-spacing: -.075em; line-height: .9; }
.hero-intro { max-width: 690px; margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.live-brief { position: relative; overflow: hidden; border: 1px solid var(--ink); background: var(--paper-2); box-shadow: var(--shadow); }
.live-brief::before { position: absolute; top: 0; right: 0; width: 110px; height: 6px; background: var(--acid); content: ""; }
.live-brief > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); font: 750 10px/1.4 var(--mono); letter-spacing: .08em; }
.live-brief > header strong { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.brief-decision { padding: 26px 24px 23px; background: var(--ink); color: white; }
.brief-decision p { margin: 0 0 12px; color: #a9c5b5; font: 700 10px/1.4 var(--mono); letter-spacing: .08em; }
.brief-decision strong { display: block; font-size: 58px; letter-spacing: -.06em; }
.brief-decision span { color: #a9b7ae; font-size: 12px; }
.limit-stack { display: grid; grid-template-columns: 1fr 1fr; }
.limit-stack > div { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.limit-stack > div:nth-child(even) { border-right: 0; }
.limit-stack span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.limit-stack b { font-size: 23px; }
.limit-stack .effective { color: white; background: var(--green); }
.limit-stack .effective span { color: #d1eee2; }
.formula { margin: 0; padding: 17px 20px; border-bottom: 1px solid var(--line); font: 12px/1.4 var(--mono); }
.live-brief > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.live-brief > footer span { color: var(--muted); font: 700 10px var(--mono); }
.live-brief > footer strong { color: var(--green); font-size: 13px; }

.metric-rail { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1320px, calc(100% - 64px)); margin: 0 auto; border: 1px solid var(--line-dark); }
.metric-rail article { display: grid; min-height: 150px; align-content: space-between; padding: 21px; background: var(--paper-2); }
.metric-rail article + article { border-left: 1px solid var(--line); }
.metric-rail span { color: var(--muted); font: 700 10px/1.4 var(--mono); letter-spacing: .07em; }
.metric-rail strong { font-size: 43px; letter-spacing: -.05em; }
.metric-rail small { color: var(--muted); font-size: 11px; }
.metric-rail .metric-highlight { background: var(--mint); }

.section-shell { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 132px 0; }
.section-lead { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 28px 60px; }
.section-lead h2, .section-heading-inline h2, .mainnet-band h2, .system-map h2, .invariant-grid h2, .boundary-table h2, .evidence-heading h2 { margin: 0; font-size: clamp(42px, 4.8vw, 72px); letter-spacing: -.06em; line-height: .98; }
.section-lead > p:last-child { grid-column: 2; max-width: 700px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border: 1px solid var(--line-dark); }
.control-card { display: grid; min-height: 390px; align-content: space-between; padding: 28px; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.control-card + .control-card { border-left: 1px solid var(--line-dark); }
.control-card:hover { z-index: 2; background: white; transform: translateY(-8px); box-shadow: var(--shadow); }
.control-card h3 { margin: 90px 0 0; font-size: 34px; letter-spacing: -.05em; line-height: 1.05; }
.control-card p { margin: 18px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.control-card > strong, .card-index { font: 750 10px/1.4 var(--mono); letter-spacing: .06em; }
.control-ai { background: var(--red-soft); }
.control-contract { background: var(--mint); }
.control-proof { color: white; background: var(--ink); }
.control-proof p { color: #afbbb2; }

.journey-showcase { padding-top: 40px; }
.section-heading-inline { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading-inline h2 { max-width: 760px; margin-top: 14px; }
.journey-map { display: grid; grid-template-columns: repeat(5, 1fr); margin: 62px 0 0; padding: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); list-style: none; }
.journey-map li { display: grid; min-height: 220px; align-content: space-between; padding: 22px; }
.journey-map li + li { border-left: 1px solid var(--line); }
.journey-map > li > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 700 10px var(--mono); }
.journey-map b { display: block; font-size: 16px; }
.journey-map small { display: block; margin-top: 9px; color: var(--muted); line-height: 1.45; }
.journey-map .journey-final { color: white; background: var(--green); }
.journey-map .journey-final > span { border-color: white; }
.journey-map .journey-final small { color: #c6e8d8; }

.mainnet-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .72fr); gap: 56px; align-items: end; padding: 90px max(32px, calc((100vw - 1320px) / 2)); color: white; background: var(--ink); }
.mainnet-band .overline { color: var(--acid); }
.mainnet-band h2 { max-width: 720px; margin-top: 14px; }
.mainnet-facts { border-top: 1px solid #526056; }
.mainnet-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid #526056; }
.mainnet-facts span { color: #9aaca0; font: 700 10px var(--mono); }
.mainnet-facts code, .mainnet-facts strong { overflow: hidden; font: 700 12px var(--mono); text-overflow: ellipsis; }
.mainnet-band > .button { grid-column: 1; width: fit-content; }
.mainnet-band > p { grid-column: 2; margin: 0; color: #9aaca0; font-size: 11px; line-height: 1.55; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; min-height: 120px; padding: 28px max(32px, calc((100vw - 1320px) / 2)); border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.site-footer > p { color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 11px; font-weight: 700; }

/* Credit desk */
.desk-shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 40px; }
.desk-header { display: grid; grid-template-columns: 1fr 430px; gap: 60px; align-items: end; padding: 0 8px 54px; }
.desk-header h1 { max-width: 800px; font-size: clamp(52px, 5.7vw, 82px); }
.desk-header > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.desk-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr) 330px; min-height: 680px; border: 1px solid var(--line-dark); background: var(--paper-2); box-shadow: var(--shadow); }
.invoice-list, .execution-panel { min-width: 0; background: #edf0eb; }
.invoice-list { border-right: 1px solid var(--line-dark); }
.execution-panel { border-left: 1px solid var(--line-dark); }
.panel-title { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); font: 700 10px var(--mono); letter-spacing: .07em; }
.panel-title b { color: var(--green); }
.invoice-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; width: 100%; padding: 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.invoice-row:hover, .invoice-row.is-active { background: white; }
.invoice-row.is-active { box-shadow: inset 4px 0 var(--green); }
.invoice-icon { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--ink); font: 700 10px var(--mono); }
.invoice-row b { display: block; overflow: hidden; font: 700 11px var(--mono); text-overflow: ellipsis; }
.invoice-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.invoice-row i { grid-column: 2; width: fit-content; margin-top: 8px; font-style: normal; }
.state-approved, .state-rejected { display: inline-flex; width: fit-content; padding: 5px 7px; font: 750 9px var(--mono); letter-spacing: .06em; }
.state-approved { color: var(--green); background: var(--mint); }
.state-rejected { color: var(--red); background: var(--red-soft); }
.queue-note { margin: 18px; padding: 16px; border: 1px solid var(--line); background: var(--paper-2); }
.queue-note span { font: 700 9px var(--mono); }
.queue-note p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.underwriting-panel { min-width: 0; padding: 28px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 7px 0 0; font-size: 29px; letter-spacing: -.04em; }
.decision-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.decision-summary article { padding: 22px 18px 22px 0; }
.decision-summary article + article { padding-left: 18px; border-left: 1px solid var(--line); }
.decision-summary span { display: block; color: var(--muted); font: 700 9px var(--mono); }
.decision-summary strong { display: block; margin-top: 9px; font-size: 22px; }
.decision-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.model-note, .limit-resolver { border: 1px solid var(--line-dark); }
.model-note-head, .limit-resolver header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 700 9px var(--mono); }
.model-note-head small { color: var(--muted); font-size: 8px; text-align: right; }
.model-note blockquote { min-height: 175px; margin: 0; padding: 24px 20px; font-size: 17px; font-weight: 600; line-height: 1.55; }
.hash-line { display: grid; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
.hash-line span { color: var(--muted); font: 700 8px var(--mono); }
.hash-line code { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
.limit-resolver header strong { color: var(--green); }
.resolver-bars { display: grid; gap: 18px; padding: 20px 18px; }
.resolver-bars > div > span { display: flex; justify-content: space-between; font-size: 10px; }
.resolver-bars em { font-style: normal; font-weight: 800; }
.resolver-bars i { display: block; height: 7px; margin-top: 8px; background: linear-gradient(90deg, var(--green) var(--limit), #dfe4de var(--limit)); }
.limit-resolver > p { margin: 0; padding: 13px 18px; color: var(--muted); border-top: 1px solid var(--line); font: 9px var(--mono); }
.limit-resolver output { display: flex; align-items: end; justify-content: space-between; padding: 17px 18px; color: white; background: var(--green); }
.limit-resolver output span { font: 700 9px var(--mono); }
.limit-resolver output strong { font-size: 27px; }
.limit-resolver.is-rejected .resolver-bars,
.limit-resolver.is-rejected > p { opacity: .28; }
.limit-resolver.is-rejected output { background: var(--red); }
.limit-resolver.is-rejected output span { font-size: 0; }
.limit-resolver.is-rejected output span::after { font-size: 9px; content: "FUNDING AUTHORIZATION"; }
.limit-resolver.is-rejected output strong { font-size: 0; }
.limit-resolver.is-rejected output strong::after { font-size: 27px; content: "NONE"; }
.execution-value { padding: 25px 20px; color: white; background: var(--ink); }
.execution-value span { display: block; color: #9db4a5; font: 700 9px var(--mono); }
.execution-value strong { display: block; margin-top: 8px; font-size: 40px; letter-spacing: -.05em; }
.execution-value small { color: #b9c6bd; }
.execution-steps { margin: 0; padding: 0; list-style: none; }
.execution-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 15px 18px; color: var(--muted); border-bottom: 1px solid var(--line); }
.execution-steps li[aria-current="step"] { color: var(--ink); background: white; box-shadow: inset 4px 0 var(--green); }
.execution-steps li[data-complete="true"] { color: var(--green); }
.execution-steps li > span { font: 700 9px var(--mono); }
.execution-steps b, .execution-steps small { display: block; }
.execution-steps b { font-size: 11px; }
.execution-steps small { margin-top: 3px; font-size: 9px; }
.execution-status { min-height: 58px; margin: 0; padding: 15px 18px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.execution-next { width: calc(100% - 36px); margin: 4px 18px 14px; border: 0; cursor: pointer; }
.execution-proof { display: block; margin: 0 18px 18px; }
.desk-boundary { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 8px; }
.desk-boundary span { font: 750 10px var(--mono); }
.desk-boundary p { margin: 0; color: var(--muted); font-size: 11px; }

/* Proof room */
.proof-room, .architecture-page { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.page-hero { display: block; padding: 104px 0 80px; border-bottom: 1px solid var(--ink); }
.page-hero h1 { font-size: clamp(58px, 6.5vw, 96px); }
.page-hero h1 { max-width: 1050px; margin-top: 22px; }
.page-hero > p:last-child { max-width: 760px; margin: 34px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.proof-tabs { position: sticky; z-index: 20; top: 74px; display: flex; gap: 6px; padding: 12px 0; background: rgb(243 245 240 / 94%); backdrop-filter: blur(12px); }
.proof-tabs a { padding: 10px 14px; border: 1px solid var(--line); font-size: 10px; font-weight: 750; text-decoration: none; }
.proof-tabs a:hover { color: white; background: var(--ink); }
.evidence-section { padding: 100px 0; border-bottom: 1px solid var(--line-dark); scroll-margin-top: 140px; }
.evidence-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.evidence-heading h2 { margin-top: 12px; font-size: clamp(38px, 4.3vw, 64px); }
.evidence-state { display: inline-flex; align-items: center; gap: 9px; padding: 9px 11px; color: var(--green); border: 1px solid var(--green); font: 750 9px var(--mono); }
.evidence-fixture { color: var(--red); border-color: var(--red); }
.evidence-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 50px; }
.evidence-primary { padding: 30px; color: white; background: var(--ink); }
.evidence-primary > span { color: var(--acid); font: 700 10px var(--mono); }
.evidence-primary > code { display: block; margin-top: 60px; overflow-wrap: anywhere; font-size: 19px; line-height: 1.45; }
.evidence-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0; border-top: 1px solid #536157; border-bottom: 1px solid #536157; }
.evidence-stat-row div { padding: 16px 10px 16px 0; }
.evidence-stat-row div + div { padding-left: 13px; border-left: 1px solid #536157; }
.evidence-stat-row small, .evidence-stat-row strong { display: block; }
.evidence-stat-row small { color: #99aa9e; font: 700 8px var(--mono); }
.evidence-stat-row strong { margin-top: 7px; font-size: 14px; }
.evidence-ledger { border: 1px solid var(--line-dark); background: var(--paper-2); }
.evidence-ledger > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); }
.evidence-ledger > div:last-child { border-bottom: 0; }
.evidence-ledger span { color: var(--muted); font: 700 9px var(--mono); }
.evidence-ledger code { overflow-wrap: anywhere; font-size: 11px; line-height: 1.5; }
.boundary-grid { display: grid; grid-template-columns: 180px repeat(3, 1fr); margin-top: 20px; border: 1px solid var(--line-dark); }
.boundary-grid > * { min-height: 68px; padding: 18px; border-right: 1px solid var(--line); }
.boundary-grid > :nth-child(4), .boundary-grid > :last-child { border-right: 0; }
.boundary-grid > :nth-child(n+5) { border-top: 1px solid var(--line); }
.boundary-grid strong { font: 700 9px var(--mono); }
.boundary-grid span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.download-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.download-row a, .archive-links a { padding: 10px 12px; border: 1px solid var(--line-dark); font-size: 10px; font-weight: 750; }
.outcome-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border: 1px solid var(--line-dark); }
.outcome-strip article { padding: 22px; background: var(--paper-2); }
.outcome-strip article + article { border-left: 1px solid var(--line); }
.outcome-strip span, .outcome-strip small { display: block; color: var(--muted); }
.outcome-strip span { font: 700 9px var(--mono); }
.outcome-strip strong { display: block; margin: 20px 0 7px; font-size: 25px; }
.outcome-strip small { font-size: 10px; }
.receipt-table { margin: 20px 0 0; padding: 0; border: 1px solid var(--line-dark); list-style: none; }
.receipt-table li { display: grid; grid-template-columns: 45px minmax(180px, 1fr) minmax(150px, .7fr) 150px; gap: 16px; align-items: center; min-height: 58px; padding: 10px 16px; background: var(--paper-2); }
.receipt-table li + li { border-top: 1px solid var(--line); }
.receipt-table span { color: var(--green); font: 700 9px var(--mono); }
.receipt-table b { font-size: 12px; }
.receipt-table small { color: var(--muted); }
.receipt-table a { justify-self: end; color: var(--green); font: 700 10px var(--mono); }
.manifest-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 20px; padding: 17px; color: white; background: var(--ink); }
.manifest-row span { color: var(--acid); font: 700 9px var(--mono); }
.manifest-row code { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.manifest-row a { font-size: 10px; font-weight: 750; }
.model-evidence-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 50px; border: 1px solid var(--line-dark); }
.model-evidence-grid article { min-height: 310px; padding: 30px; }
.model-evidence-grid article + article { border-left: 1px solid var(--line-dark); }
.model-evidence-grid span { font: 700 10px var(--mono); }
.model-evidence-grid strong { display: block; max-width: 500px; margin-top: 90px; font-size: 31px; letter-spacing: -.04em; }
.model-evidence-grid p { max-width: 540px; color: var(--muted); line-height: 1.65; }
.model-reject { background: var(--red-soft); }
.model-reject strong { color: var(--red); }
.model-approve { background: var(--mint); }
.model-approve strong { color: var(--green); }
.evidence-disclosure { padding: 17px; border: 1px solid var(--line-dark); border-top: 0; font: 10px var(--mono); }
.archive-section > p { max-width: 800px; color: var(--muted); line-height: 1.65; }
.archive-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.archive-links span { padding: 10px 12px; color: var(--muted); border: 1px solid var(--line); font: 700 9px var(--mono); }
.archive-section > code { display: block; max-width: 100%; margin-top: 7px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; }

/* Architecture */
.architecture-hero h1 { max-width: 900px; }
.system-map { padding: 100px 0; }
.system-map > header { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.system-map ol { margin: 60px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.system-map li { display: grid; grid-template-columns: 60px minmax(0, 1fr) 190px; gap: 28px; align-items: center; min-height: 150px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.system-map li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 700 10px var(--mono); }
.system-map h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.system-map p { max-width: 730px; margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.system-map li > b { justify-self: end; font: 700 10px var(--mono); }
.limit-lab { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; padding: 100px 0; border-top: 1px solid var(--ink); }
.limit-lab .section-lead { display: block; }
.limit-lab .section-lead h2 { margin-top: 14px; }
.limit-lab .section-lead > p:last-child { margin-top: 24px; }
.limit-demo { padding: 26px; border: 1px solid var(--line-dark); background: var(--paper-2); }
.limit-scale { display: flex; justify-content: space-between; padding-bottom: 12px; color: var(--muted); border-bottom: 1px solid var(--line); font: 8px var(--mono); }
.limit-line { position: relative; display: grid; grid-template-columns: 160px 1fr 46px; gap: 16px; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); }
.limit-line span, .limit-line b { font: 700 9px var(--mono); }
.limit-line i { display: block; height: 16px; background: linear-gradient(90deg, var(--green) var(--limit), #e3e7e1 var(--limit)); }
.limit-line.ai i { background: linear-gradient(90deg, var(--red) var(--limit), #e3e7e1 var(--limit)); }
.limit-line.contract i { background: linear-gradient(90deg, var(--ink) var(--limit), #e3e7e1 var(--limit)); }
.limit-demo output { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 25px 0 0; }
.limit-demo output span { font: 700 9px var(--mono); }
.limit-demo output strong { font-size: 45px; letter-spacing: -.05em; }
.limit-demo output small { grid-column: 1 / -1; margin-top: 8px; color: var(--muted); }
.invariant-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 100px 0; border-top: 1px solid var(--ink); }
.invariant-grid header { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; margin-bottom: 55px; }
.invariant-grid article { min-height: 250px; padding: 24px; border: 1px solid var(--line-dark); }
.invariant-grid article + article { border-left: 0; }
.invariant-grid article > span { color: var(--green); font: 700 10px var(--mono); }
.invariant-grid h3 { margin: 70px 0 0; font-size: 21px; }
.invariant-grid article p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.boundary-table { padding: 100px 0; border-top: 1px solid var(--ink); }
.boundary-table header { display: grid; grid-template-columns: 260px 1fr; margin-bottom: 55px; }
.boundary-table > div { display: grid; grid-template-columns: 170px 1fr 1fr; align-items: center; min-height: 76px; border-top: 1px solid var(--line-dark); }
.boundary-table > div:last-child { border-bottom: 1px solid var(--line-dark); }
.boundary-table span { color: var(--muted); font: 700 10px var(--mono); }
.boundary-table b { font-size: 14px; }
.boundary-table del { justify-self: end; color: var(--red); font-size: 13px; text-decoration-thickness: 1px; }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto; }
  .desktop-nav { order: 3; grid-column: 1 / -1; height: 44px; justify-content: center; border-top: 1px solid var(--line); }
  .desktop-nav a { padding: 0 13px; }
  .desktop-nav a[aria-current="page"]::after { right: 13px; left: 13px; }
  .overview-hero { grid-template-columns: 1fr; }
  .hero-main { max-width: 900px; }
  .live-brief { width: min(700px, 100%); }
  .desk-layout { grid-template-columns: 220px 1fr; }
  .execution-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line-dark); border-left: 0; }
  .execution-panel .panel-title { grid-column: 1 / -1; }
  .execution-steps { display: grid; grid-template-columns: repeat(5, 1fr); }
  .execution-steps li { grid-template-columns: 1fr; }
  .execution-status, .execution-next, .execution-proof { grid-column: 2; }
}

@media (max-width: 820px) {
  .status-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .topbar { padding-inline: 20px; }
  .header-cta { display: none; }
  .desktop-nav { justify-content: flex-start; overflow-x: auto; }
  .overview-hero, .metric-rail, .section-shell, .proof-room, .architecture-page { width: min(100% - 32px, 1320px); }
  .overview-hero { min-height: auto; padding: 62px 0; }
  .hero-main h1, .page-hero h1, .desk-header h1 { font-size: clamp(50px, 14vw, 72px); }
  .metric-rail { grid-template-columns: 1fr 1fr; }
  .metric-rail article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-rail article:nth-child(4) { border-top: 1px solid var(--line); }
  .section-lead, .page-hero, .desk-header, .architecture-hero { grid-template-columns: 1fr; }
  .section-lead > p:last-child { grid-column: 1; }
  .control-grid { grid-template-columns: 1fr; }
  .control-card { min-height: 320px; }
  .control-card + .control-card { border-top: 1px solid var(--line-dark); border-left: 0; }
  .journey-map { grid-template-columns: 1fr; }
  .journey-map li { grid-template-columns: 44px 1fr; min-height: 110px; align-items: center; }
  .journey-map li + li { border-top: 1px solid var(--line); border-left: 0; }
  .mainnet-band { grid-template-columns: 1fr; }
  .mainnet-band > .button, .mainnet-band > p { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .desk-shell { width: min(100% - 24px, 1440px); }
  .desk-layout { grid-template-columns: 1fr; }
  .invoice-list { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .invoice-list .queue-note { display: none; }
  .decision-summary { grid-template-columns: 1fr 1fr; }
  .decision-summary article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .decision-summary article:nth-child(4) { border-top: 1px solid var(--line); }
  .decision-body { grid-template-columns: 1fr; }
  .execution-panel { grid-column: 1; display: block; }
  .execution-steps { display: block; }
  .execution-status, .execution-next, .execution-proof { grid-column: auto; }
  .evidence-layout, .limit-lab { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: 1fr 1fr; }
  .boundary-grid > * { border: 1px solid var(--line); }
  .outcome-strip { grid-template-columns: 1fr 1fr; }
  .outcome-strip article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .outcome-strip article:nth-child(4) { border-top: 1px solid var(--line); }
  .receipt-table li { grid-template-columns: 35px 1fr; }
  .receipt-table small { grid-column: 2; }
  .receipt-table a { grid-column: 2; justify-self: start; }
  .manifest-row { grid-template-columns: 1fr; }
  .model-evidence-grid { grid-template-columns: 1fr; }
  .model-evidence-grid article + article { border-top: 1px solid var(--line-dark); border-left: 0; }
  .system-map > header, .invariant-grid header, .boundary-table header { grid-template-columns: 1fr; gap: 15px; }
  .system-map li { grid-template-columns: 50px 1fr; }
  .system-map li > b { grid-column: 2; justify-self: start; }
  .invariant-grid { grid-template-columns: 1fr 1fr; }
  .invariant-grid article:nth-child(odd) { border-left: 1px solid var(--line-dark); }
}

@media (max-width: 520px) {
  .status-bar { gap: 18px; padding-inline: 14px; }
  .topbar { position: static; min-height: 64px; }
  .desktop-nav { margin-inline: -20px; padding-inline: 10px; }
  .desktop-nav a { flex: 0 0 auto; font-size: 11px; }
  .overview-hero { width: min(100% - 24px, 1320px); padding-top: 46px; }
  .hero-main h1, .page-hero h1, .desk-header h1 { font-size: 48px; }
  .hero-intro { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .limit-stack { grid-template-columns: 1fr; }
  .limit-stack > div { border-right: 0; }
  .metric-rail { width: 100%; border-right: 0; border-left: 0; }
  .metric-rail article { min-height: 130px; }
  .section-shell { width: min(100% - 24px, 1320px); padding: 90px 0; }
  .section-heading-inline { display: block; }
  .section-heading-inline .text-link { display: inline-block; margin-top: 24px; }
  .control-card h3 { margin-top: 60px; }
  .mainnet-band { padding: 68px 18px; }
  .mainnet-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { padding-inline: 18px; }
  .desk-header { padding-bottom: 35px; }
  .underwriting-panel { padding: 18px; }
  .panel-heading { display: grid; }
  .decision-summary strong { font-size: 18px; }
  .proof-room, .architecture-page { width: min(100% - 24px, 1320px); }
  .page-hero { padding: 70px 0 50px; }
  .proof-tabs { top: 0; overflow-x: auto; }
  .proof-tabs a { flex: 0 0 auto; }
  .evidence-section { padding: 72px 0; }
  .evidence-heading { display: grid; }
  .evidence-ledger > div { grid-template-columns: 1fr; }
  .boundary-grid, .outcome-strip { grid-template-columns: 1fr; }
  .boundary-grid > *, .outcome-strip article { border: 0; border-bottom: 1px solid var(--line); }
  .model-evidence-grid article { min-height: 260px; padding: 22px; }
  .model-evidence-grid strong { margin-top: 60px; font-size: 25px; }
  .system-map li { grid-template-columns: 42px 1fr; gap: 13px; }
  .limit-demo { padding: 16px; }
  .limit-line { grid-template-columns: 1fr 44px; gap: 8px; }
  .limit-line i { grid-column: 1 / -1; grid-row: 2; }
  .invariant-grid { grid-template-columns: 1fr; }
  .invariant-grid article + article { border-top: 0; border-left: 1px solid var(--line-dark); }
  .boundary-table > div { grid-template-columns: 1fr; gap: 9px; padding: 18px 0; }
  .boundary-table del { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
