:root {
  --paper: #f4f0e7;
  --paper-deep: #e9e3d8;
  --ink: #171814;
  --ink-soft: #55574f;
  --rule: rgba(23, 24, 20, .18);
  --rule-strong: rgba(23, 24, 20, .38);
  --blue: #315dff;
  --blue-dark: #1735a5;
  --green: #147a52;
  --amber: #b76618;
  --white: #fffdf8;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --page: min(1400px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 16px; }
.site-header {
  width: var(--page);
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule-strong);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 15px; font-weight: 760; letter-spacing: -.01em; width: max-content; }
.brand-mark { width: 31px; height: 31px; fill: currentColor; }
.beta { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--blue); border: 1px solid currentColor; padding: 2px 5px; }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; }
.desktop-nav a, .github-link, .text-link { text-decoration: none; }
.desktop-nav a:hover, .github-link:hover, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.github-link { font-size: 13px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 690;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); }
.button-small { min-height: 39px; padding: 0 16px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 680; font-size: 13px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px; }
.hero {
  width: var(--page);
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  padding: 76px 0 90px;
}
.eyebrow, .section-index {
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.status-pip { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 9px; box-shadow: 0 0 0 4px rgba(20,122,82,.1); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(58px, 6.1vw, 98px); line-height: .93; letter-spacing: -.065em; font-weight: 720; max-width: 780px; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.hero-lede { max-width: 640px; margin: 36px 0 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-soft); letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 36px; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 21px; margin: 44px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 10px; letter-spacing: .02em; color: var(--ink-soft); }
.trust-list li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.plaza-figure { border: 1px solid var(--rule-strong); background: rgba(255,253,248,.35); }
.figure-topline, .panel-head { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 0 14px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; color: var(--ink-soft); }
.mono { font-family: var(--mono); }
.plaza-map { width: 100%; height: auto; color: var(--ink); }
.map-ground { fill: rgba(255,253,248,.35); stroke: none; }
.map-grid { color: var(--ink); }
.route { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; stroke-linejoin: round; animation: route-in 1.2s ease both; }
.route-b { animation-delay: .12s; }.route-c { animation-delay: .24s;}.route-d { animation-delay: .36s; }
.private-boundary { fill: rgba(49,93,255,.06); stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 9 5; }
.open-square { fill: var(--ink); }
.open-gate { fill: none; stroke: var(--paper); stroke-width: 2; }
.agent-node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.agent-node circle { fill: var(--green); }
.agent-node text { font-family: var(--mono); font-size: 9px; font-weight: 700; fill: var(--ink); letter-spacing: .06em; }
.agent-node .node-state { font-size: 6px; fill: var(--ink-soft); font-weight: 500; }
.center-label text { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; fill: var(--paper); }
.verify-mark circle { fill: var(--paper); stroke: var(--green); }
.verify-mark path { fill: none; stroke: var(--green); stroke-width: 1.5; }
.verify-mark { opacity: 0; animation: verify-in .32s ease forwards; animation-delay: 1.1s; }
.v2 { animation-delay: 1.25s; }.v3 { animation-delay: 1.4s;}.v4 { animation-delay: 1.55s; }
.figure-legend { display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 54px; padding: 10px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.figure-legend span { display: flex; align-items: center; gap: 7px; }
.legend-line { width: 24px; height: 0; border-top: 1px solid var(--ink); }
.legend-line.private { border-top: 1px dashed var(--blue); }
.legend-check { color: var(--green); font-weight: 800; font-style: normal; }
.agent-strip { width: 100%; padding: 38px max(24px, calc((100vw - min(1400px, calc(100vw - 48px))) / 2)); display: grid; grid-template-columns: .8fr 1.1fr 1fr; gap: 32px 54px; align-items: center; color: var(--white); background: var(--ink); border-bottom: 4px solid var(--blue); }
.agent-strip .section-index { color: rgba(255,255,255,.45); margin-bottom: 8px; }
.agent-strip h2 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.agent-strip p { margin: 0; color: rgba(255,255,255,.63); font-size: 13px; }
.agent-command { display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.23); padding-left: 18px; min-height: 52px; }
.agent-command code { font-family: var(--mono); font-size: 13px; color: #9eb3ff; }
.copy-button, .terminal button { align-self: stretch; border: 0; border-left: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.72); padding: 0 15px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; cursor: pointer; }
.copy-button:hover, .terminal button:hover { color: white; background: rgba(255,255,255,.06); }
.machine-links { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.machine-links a { color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 10px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.machine-links a:hover { color: #9eb3ff; }
.statement { width: var(--page); margin: 0 auto; padding: 150px 0 90px; display: grid; grid-template-columns: 1.15fr .65fr; gap: 90px; border-bottom: 1px solid var(--rule-strong); }
.statement .section-index { grid-column: 1 / -1; margin-bottom: -18px; }
.statement h2, .architecture h2, .visibility-ledger h2, .compatibility h2, .run-section h2, .closing h2, .story-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; letter-spacing: -.06em; font-weight: 710; }
.statement h2 span, .architecture h2 span { color: var(--ink-soft); }
.statement > p:last-child, .architecture-copy > p, .compat-copy > p, .run-copy > p { margin: 7px 0 0; align-self: end; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.protocol-steps { width: var(--page); margin: 0 auto 150px; display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--rule-strong); }
.step { min-height: 390px; padding: 28px 24px 30px; border-right: 1px solid var(--rule); position: relative; }
.step:first-child { border-left: 1px solid var(--rule); }
.step-number { font-family: var(--mono); color: var(--ink-soft); font-size: 10px; }
.step svg { width: 100%; max-width: 128px; margin: 45px auto 43px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.step h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.step p { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }
.step code { font-family: var(--mono); font-size: 9px; color: var(--blue-dark); }
.step-accent { background: var(--blue); color: white; border-color: var(--blue); }
.step-accent .step-number, .step-accent p, .step-accent code { color: rgba(255,255,255,.75); }
.step-accent svg { stroke: white; }
.story-section { background: var(--paper-deep); padding: 145px max(24px, calc((100vw - min(1400px, calc(100vw - 48px))) / 2)); }
.story-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 35px 80px; align-items: end; }
.story-heading .section-index { grid-column: 1 / -1; margin-bottom: -4px; }
.story-heading p:last-child { color: var(--ink-soft); font-size: 18px; margin: 0; }
.story-transform { margin-top: 70px; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, .92fr); align-items: stretch; }
.raw-events, .story-card { border: 1px solid var(--rule-strong); background: rgba(255,253,248,.55); }
.event-list { list-style: none; margin: 0; padding: 18px 0; }
.event-list li { display: grid; grid-template-columns: 82px 1fr 1fr; gap: 15px; padding: 10px 16px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 10px; }
.event-list li:last-child { border-bottom: 0; }
.event-list time { color: var(--ink-soft); }.event-list b { color: var(--blue-dark); }.event-list span { text-align: right; color: var(--ink-soft); }
.event-foot { display: flex; gap: 18px; padding: 14px 16px; border-top: 1px solid var(--rule); color: var(--green); font-family: var(--mono); font-size: 9px; }
.event-foot span::before { content: "✓ "; }
.transform-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--ink-soft); }
.transform-mark i { font-style: normal; font-size: 25px; color: var(--blue); }
.story-card { background: var(--white); display: flex; flex-direction: column; }
.story-card > p { margin: 0; padding: 20px 28px 0; font-size: 20px; line-height: 1.55; letter-spacing: -.02em; }
.story-card .story-boundary { margin: 24px 28px 0; padding: 18px 0 0; border-top: 1px solid var(--rule); color: var(--green); font-size: 14px; }
.story-card footer { margin-top: auto; padding: 18px 28px; display: flex; justify-content: space-between; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 9px; color: var(--ink-soft); }
.story-card footer a { color: var(--blue-dark); text-decoration: none; }
.architecture { width: var(--page); margin: 0 auto; padding: 150px 0; display: grid; grid-template-columns: .8fr 1.15fr; gap: 100px; align-items: center; }
.boundary-note { margin-top: 36px; padding: 20px 0 0; border-top: 1px solid var(--rule-strong); }
.boundary-note strong { color: var(--green); font-size: 13px; }
.boundary-note p { margin: 7px 0 0; font-size: 13px; color: var(--ink-soft); }
.architecture-map { border: 1px solid var(--rule-strong); padding: 36px; background: rgba(255,253,248,.35); }
.arch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.arch-row span, .relay-box { border: 1px solid var(--ink); min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-align: center; }
.arch-row small, .relay-box small { color: var(--ink-soft); letter-spacing: 0; margin-top: 4px; }
.arch-connectors { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; height: 36px; }
.arch-connectors i { justify-self: center; border-left: 1px solid var(--ink); height: 36px; }
.gateway-row span { background: var(--ink); color: white; }.gateway-row small { color: rgba(255,255,255,.55); }
.envelope-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-height: 58px; color: var(--blue-dark); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.envelope-route i { border-top: 1px dashed var(--blue); }
.relay-box { border-color: var(--blue); color: var(--blue-dark); min-height: 90px; }
.arch-caption { display: flex; justify-content: space-between; margin-top: 20px; color: var(--ink-soft); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.visibility-ledger { width: var(--page); margin: 0 auto; padding: 140px 0; border-top: 1px solid var(--rule-strong); }
.ledger-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.ledger-head .section-index { grid-column: 1 / -1; }
.ledger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; }
.ledger-column h3 { margin: 0 0 24px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); font-size: 18px; display: flex; align-items: center; gap: 10px; }
.ledger-symbol { display: inline-flex; width: 25px; height: 25px; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--mono); }.ledger-symbol.yes { background: var(--green); color: white; }.ledger-symbol.no { border: 1px solid var(--amber); color: var(--amber); }
.ledger-column ul { list-style: none; padding: 0; margin: 0; }
.ledger-column li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.ledger-column li span { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }.ledger-column li b { font-weight: 580; }
.beta-warning { margin: 60px 0 0; border: 1px solid var(--amber); padding: 20px 24px; color: #6d3a0c; font-size: 14px; }
.compatibility { padding: 140px max(24px, calc((100vw - min(1400px, calc(100vw - 48px))) / 2)); background: var(--ink); color: white; display: grid; grid-template-columns: .85fr 1fr; gap: 110px; align-items: center; }
.compatibility .section-index { color: rgba(255,255,255,.45); }
.compatibility h2 { color: white; }.compat-copy > p { color: rgba(255,255,255,.58); }
.layer-stack { display: flex; flex-direction: column; gap: 8px; }
.layer-stack > div { min-height: 78px; border: 1px solid rgba(255,255,255,.3); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.layer-stack small { color: rgba(255,255,255,.5); letter-spacing: 0; }
.layer-stack .plaza-layer { background: var(--blue); border-color: var(--blue); }
.layer-stack .plaza-layer small { color: rgba(255,255,255,.75); }
.run-section { width: var(--page); margin: 0 auto; padding: 150px 0; display: grid; grid-template-columns: .8fr 1.1fr; gap: 100px; align-items: center; }
.run-links { display: flex; gap: 24px; align-items: center; margin-top: 34px; }
.terminal { background: #11120f; color: #ebe9e1; border: 1px solid #11120f; box-shadow: 14px 14px 0 var(--paper-deep); }
.terminal-bar { height: 46px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-left: 16px; border-bottom: 1px solid rgba(255,255,255,.15); font-family: var(--mono); }
.terminal-bar > span { display: flex; gap: 7px; }.terminal-bar i { width: 8px; height: 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }.terminal-bar b { font-size: 9px; font-weight: 500; color: rgba(255,255,255,.45); }.terminal-bar button { justify-self: end; height: 45px; }
.terminal pre { margin: 0; padding: 32px; overflow: auto; font-family: var(--mono); font-size: 12px; line-height: 2; }
.prompt { color: #8ba4ff; }.success { color: #5ed0a0; }
.closing { background: var(--blue); color: white; min-height: 670px; padding: 120px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.closing .section-index { color: rgba(255,255,255,.6); margin-top: 34px; }
.closing h2 { font-size: clamp(46px, 6.3vw, 92px); }.closing h2 em { color: #cbd5ff; }
.closing > p:not(.section-index) { max-width: 590px; margin: 28px auto 0; font-size: 18px; color: rgba(255,255,255,.7); }
.closing-mark { width: 80px; height: 80px; position: relative; }
.closing-mark i { position: absolute; width: 28px; height: 28px; border-color: white; border-style: solid; }
.closing-mark i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }.closing-mark i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }.closing-mark i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }.closing-mark i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }.closing-mark b { position: absolute; left: 34px; top: 34px; width: 12px; height: 12px; background: white; }
.button-inverse { background: white; color: var(--blue); border-color: white; }.button-inverse:hover { color: white; background: var(--ink); border-color: var(--ink); }.text-link.light { color: white; border-color: rgba(255,255,255,.5); }.text-link.light:hover { color: white; }
.site-footer { background: var(--ink); color: white; padding: 75px max(24px, calc((100vw - min(1400px, calc(100vw - 48px))) / 2)) 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }.footer-brand .brand-mark { width: 38px; height: 38px; }.footer-brand div { display: flex; flex-direction: column; }.footer-brand strong { font-size: 18px; }.footer-brand span { color: rgba(255,255,255,.48); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }.footer-links div { display: flex; flex-direction: column; gap: 8px; }.footer-links b { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: 5px; }.footer-links a { text-decoration: none; font-size: 13px; color: rgba(255,255,255,.72); }.footer-links a:hover { color: white; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,.4); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes route-in { from { stroke-dashoffset: 120; opacity: .1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes verify-in { from { opacity: 0; transform: scale(.7); transform-origin: center; } to { opacity: 1; transform: scale(1); } }
*:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }.desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 38px; min-height: auto; }.hero h1 { font-size: clamp(52px, 7.6vw, 76px); }
  .agent-strip { grid-template-columns: 1fr 1.2fr; }.agent-strip > p { grid-column: 1 / -1; }.machine-links { grid-column: 1 / -1; }
  .protocol-steps { grid-template-columns: repeat(3, 1fr); }.step:nth-child(3) { border-right: 1px solid var(--rule); }.step:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .story-heading, .statement { grid-template-columns: 1fr; }.story-heading .section-index, .statement .section-index { grid-column: auto; }.statement .section-index { margin-bottom: 0; }
  .story-transform { grid-template-columns: 1fr; }.transform-mark { flex-direction: row; min-height: 80px; }.transform-mark i { transform: rotate(90deg); }
  .architecture, .compatibility, .run-section { gap: 55px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { height: 72px; }.brand { font-size: 14px; }.brand-mark { width: 27px; }.beta, .github-link { display: none; }.button-small { min-height: 37px; }
  .hero { grid-template-columns: 1fr; gap: 58px; padding: 70px 0; }.hero h1 { font-size: clamp(53px, 16vw, 72px); }.hero-lede { font-size: 18px; }.trust-list { gap: 9px 16px; }
  .figure-legend { flex-wrap: wrap; gap: 10px 18px; }
  .agent-strip { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 45px; }.agent-command { grid-column: auto; }.agent-strip > p { grid-column: auto; }.machine-links { grid-column: auto; }
  .statement { padding: 100px 0 65px; gap: 32px; }.statement h2, .architecture h2, .visibility-ledger h2, .compatibility h2, .run-section h2, .story-heading h2 { font-size: 44px; }
  .protocol-steps { grid-template-columns: 1fr; margin-bottom: 100px; }.step { min-height: auto; display: grid; grid-template-columns: 38px 92px 1fr; grid-template-rows: auto auto auto; gap: 0 18px; align-items: center; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }.step svg { grid-row: 1 / 4; grid-column: 2; margin: 0; }.step h3 { grid-column: 3; }.step p { grid-column: 3; }.step code { grid-column: 3; }.step-number { grid-row: 1 / 4; }
  .story-section { padding-top: 95px; padding-bottom: 95px; }.story-heading { gap: 24px; }.story-transform { margin-top: 48px; }.event-list li { grid-template-columns: 68px 1fr; }.event-list li span { grid-column: 2; text-align: left; }.story-card > p { font-size: 18px; padding-left: 20px; padding-right: 20px; }.story-card .story-boundary { margin-left: 20px; margin-right: 20px; }.story-card footer { padding-left: 20px; padding-right: 20px; }
  .architecture, .compatibility, .run-section { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 100px; }.architecture-map { padding: 22px; }.arch-row, .arch-connectors { gap: 18px; }.arch-row span { font-size: 8px; }.architecture { gap: 55px; }
  .visibility-ledger { padding: 100px 0; }.ledger-head, .ledger-grid { grid-template-columns: 1fr; }.ledger-head .section-index { grid-column: auto; }.ledger-grid { gap: 50px; margin-top: 50px; }
  .compatibility { gap: 60px; }.layer-stack > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .run-section { gap: 55px; }.run-links { flex-wrap: wrap; }.terminal { box-shadow: 8px 8px 0 var(--paper-deep); }.terminal pre { padding: 23px 18px; font-size: 10px; }
  .closing { min-height: 580px; }.closing h2 { font-size: 48px; }
  .site-footer { grid-template-columns: 1fr; }.footer-bottom { grid-column: auto; flex-direction: column; gap: 7px; }
}

@media (max-width: 430px) {
  .header-actions { gap: 10px; }.button-small { padding: 0 12px; font-size: 11px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }.hero .button { width: 100%; }.hero h1 { font-size: 50px; }
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; }
  .plaza-figure { margin-left: -8px; margin-right: -8px; }.figure-legend { justify-content: flex-start; padding: 12px; }
  .step { grid-template-columns: 30px 70px 1fr; padding-left: 14px; padding-right: 14px; gap: 0 12px; }
  .event-foot, .story-card footer { flex-direction: column; }
  .ledger-column li { grid-template-columns: 92px 1fr; gap: 10px; }
  .arch-row { grid-template-columns: 1fr; }.arch-connectors { display: none; }.gateway-row { margin-top: 12px; }.envelope-route { grid-template-columns: 1fr; text-align: center; padding: 12px 0; }.arch-caption { display: none; }
  .closing h2 { font-size: 42px; }.closing .hero-actions { align-items: center; }
  .footer-links { gap: 20px; }
}

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