/* apps/stocks-web/style.css, Proof of Stock as a terminal window. Black with blue, after Base: the solid blue
   (#0052FF) fills buttons and labels with white text on it; a lighter blue carries accent text on black, where the solid
   one is too dark to read. Green / red / amber only for verdicts. */
/* The typefaces come from this site, not from Google: no page view tells a third party who is reading. Each file is
   a variable font holding the weights the pages use; the unicode ranges are the ones Google serves them under. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/onest-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/onest-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/martian-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/martian-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Robinhood Chain hidden on the landing for the hackathon (index.html <body class="no-rh">); the terminal still answers
   for it. Text that reads differently without it sits in .base-only. Removing the class restores the page. */
.no-rh .rh-only { display: none !important; }
body:not(.no-rh) .base-only { display: none !important; }
:root {
  --i-check-src: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
  --ink: #050608;          /* page background */
  --glass: #0b0d12;        /* the window */
  --glass-2: #121620;      /* prompt line, buttons, folded blocks */
  --line: #1d2433;
  --text: #f2f4f8;
  --dim: #8b94a8;
  --faint: #727b8e;
  --accent: #0052ff;       /* fills, with white text */
  --accent-hi: #4d8bff;    /* accent text and strokes on black */
  --on-accent: #ffffff;
  --ok: #4fd18b;
  --bad: #ff6b6b;
  --warn: #f5b544;
  --base: #4d8bff;
  --rh: #4fd18b;
  --mono: 'Martian Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--text); font: 14px/1.6 var(--mono); min-height: 100vh; padding: 0 16px 24px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* Icons: vector masks painted in the text colour, so they stay sharp at any size and pixel density. A font glyph
   (×, ❯, ↗, ▸) rasterises soft at small sizes and depends on which font has it. data: images are allowed by img-src. */
.i { display: inline-block; width: 1em; height: 1em; background: currentColor; vertical-align: -0.15em; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-chev { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5l4.5 4.5L6 12.5'/%3E%3C/svg%3E"); }
.i-ext { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h6v6M12.5 3.5l-9 9'/%3E%3C/svg%3E"); width: .85em; height: .85em; margin-left: .3em; vertical-align: -0.08em; }
.i-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5L13.5 8 9 12.5'/%3E%3C/svg%3E"); margin-left: .35em; }
.i-copy { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='5.5' y='5.5' width='8' height='8' rx='1.6'/%3E%3Cpath d='M10.5 5.5V4.1A1.6 1.6 0 0 0 8.9 2.5H4.1A1.6 1.6 0 0 0 2.5 4.1v4.8a1.6 1.6 0 0 0 1.6 1.6h1.4'/%3E%3C/svg%3E"); }
.i-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E"); }
.i-cross { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E"); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button { font: inherit; cursor: pointer; color: inherit; }
kbd { font: inherit; background: var(--glass-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }

/* the window */
/* Scrollbars in the theme: thin, dark, blue on hover. */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid var(--glass); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hi); }
::-webkit-scrollbar-corner { background: transparent; }
.term { position: relative; max-width: 980px; margin: 0 auto; background: color-mix(in srgb, var(--glass) 96%, #06080c); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(0, 82, 255, .18), 0 0 80px rgba(0, 82, 255, .08), 0 40px 120px rgba(0, 0, 0, .7); display: flex; flex-direction: column; height: min(640px, 78vh); min-height: 480px; overflow: hidden; scroll-margin-top: 8px; }
.titlebar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(#10141c, var(--glass)); }
/* The window controls work like a desktop window's: red clears the screen, yellow returns the window to its normal
   size, green makes it larger. Their signs show on hover, as on a Mac. */
.dots { display: inline-flex; gap: 7px; }
.dot { width: 13px; height: 13px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .28); }
.dot svg { width: 8px; height: 8px; fill: none; stroke: rgba(0, 0, 0, .62); stroke-width: 1.7; stroke-linecap: round; opacity: 0; transition: opacity .12s; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.dots:hover .dot svg, .dot:focus-visible svg { opacity: 1; }
.dot:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.linkish { background: none; border: 0; padding: 0; color: var(--dim); text-decoration: underline dotted; text-underline-offset: 3px; font: inherit; }
.linkish:hover { color: var(--accent-hi); }
/* The larger window: about 40% wider and taller than the normal one, within the screen. */
.term { transition: max-width .25s ease, height .25s ease; }
.term.large { max-width: min(1372px, calc(100vw - 32px)); height: min(896px, 90vh); }
.titlebar h2 { font-size: 12.5px; font-weight: 400; color: var(--dim); margin: 0; flex: 1; letter-spacing: .02em; }
.titlebar .title-kind { margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--accent-hi); font-size: 11px; letter-spacing: .06em; vertical-align: 1px; }
.tabs { display: flex; gap: 4px; }
.tab { background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 3px 10px; font-size: 12.5px; color: var(--dim); }
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { background: var(--glass-2); border-color: var(--line); color: var(--text); }
.tab[data-chain="base"][aria-pressed="true"] { color: var(--base); }
.tab[data-chain="robinhood"][aria-pressed="true"] { color: var(--rh); }

/* the feed */
.log { flex: 1; overflow-y: auto; padding: 16px 18px 8px; scroll-behavior: smooth; position: relative; }
/* One question, one frame. The feed runs long and every answer used to end where the next question began, with
   nothing between them but space, so a passport read as part of the same wall of text (owner, 16.11). A block that
   answers a question gets a thin rectangle with the question itself as its head; the greeting, which answers nothing,
   keeps none. The frame takes its colour from the verdict inside it, quietly: the card's own spine says it louder. */
.block { margin: 0 0 18px; animation: rise .18s ease-out; }
.block:has(> .echo) { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent); }
.block:has(.card.is-ok) { border-color: color-mix(in srgb, var(--ok) 26%, var(--line)); }
.block:has(.card.is-bad) { border-color: color-mix(in srgb, var(--bad) 30%, var(--line)); }
.block:has(.card.is-warn) { border-color: color-mix(in srgb, var(--warn) 28%, var(--line)); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.echo { color: var(--dim); word-break: break-all; }
.block > .echo { padding: 7px 14px; background: var(--glass-2); border-bottom: 1px solid var(--line); }
.echo b { color: var(--accent-hi); font-weight: 400; }
.echo span { color: var(--text); }
.out { margin-top: 6px; }
.block:has(> .echo) > .out { margin-top: 0; padding: 12px 14px 13px; }
.line { white-space: pre-wrap; word-break: break-word; }
/* Drawn output (the hidden commands): kept exactly as written, and allowed to scroll rather than wrap on a phone. */
.line.art { white-space: pre; word-break: normal; overflow-x: auto; color: var(--dim); line-height: 1.25; }
.muted { color: var(--dim); }
.faint { color: var(--faint); }
.err { color: var(--bad); }
.typing::after { content: ''; display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--accent-hi); border-radius: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chainmark { font-size: 11.5px; padding: 0 6px; border-radius: 4px; border: 1px solid currentColor; margin-right: 6px; }
.chainmark.base { color: var(--base); } .chainmark.robinhood { color: var(--rh); }

/* lists to choose from */
.pick { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.pick button { width: 100%; text-align: left; background: transparent; border: 0; border-radius: 6px; padding: 4px 8px; display: grid; grid-template-columns: 2.4em 7.5em 1fr auto; gap: 10px; align-items: baseline; }
.pick button:hover, .pick button:focus-visible { background: var(--glass-2); outline: none; }
.pick .n { color: var(--accent-hi); }
/* The chain badge is wider on Robinhood Chain than on Base, so a list of matches from both chains used to start its
   names at two different places. There the badge gets a slot as wide as the longer label and every name begins on one
   edge; in a one-chain list the badges are already the same width, so it keeps the room for the names. */
.pick .nm { display: grid; grid-template-columns: max-content 1fr; gap: 10px; align-items: baseline; }
.pick.two .nm { grid-template-columns: minmax(10.5em, max-content) 1fr; }
.pick .nm .chainmark { justify-self: start; }
.pick .sym { font-weight: 600; }
.pick .addr { color: var(--faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.btn { background: var(--glass-2); border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; font-size: 12.5px; }
.btn:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
a.btn { text-decoration: none; display: inline-block; }
.btn.link { color: var(--text); }
.btn.danger { border-color: rgba(255, 107, 107, .45); color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); background: rgba(255, 107, 107, .08); }
.warnbox { border: 1px solid rgba(255, 107, 107, .5); background: rgba(255, 107, 107, .07); border-radius: 8px; padding: 10px 12px; font: 13.5px/1.5 var(--sans); width: 100%; }
.warnbox b { color: var(--bad); }

/* the passport */
/* Inside a framed block the passport is no longer a box of its own: two rectangles one inside the other is a form,
   not a terminal. It keeps the spine that says what the verdict is, and the frame around the question carries it. */
.card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 12px; margin-top: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.block:has(> .echo) .card { border-top: 0; border-right: 0; border-bottom: 0; border-left: 3px solid var(--spine, var(--line)); border-radius: 0; padding: 0 0 0 12px; margin-top: 0; background: none; }
.cardhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cardhead h2 { font: 600 18px/1.3 var(--sans); margin: 0; }
.cardhead .sub { color: var(--dim); font-size: 12px; word-break: break-all; }
/* The contract address: a button that copies it. Quiet at rest, a hint on hover, a confirmation that settles back. */
.addr-copy { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; background: transparent; border: 1px solid transparent; border-radius: 6px;
  padding: 1px 6px; margin-left: -6px; color: var(--dim); font: inherit; cursor: copy; text-align: left; transition: color .15s, background .15s, border-color .15s; }
.addr-copy .addr-text { word-break: break-all; }
.addr-copy .i-copy { opacity: 0; width: .95em; height: .95em; transition: opacity .15s; }
.addr-copy .addr-tip { font-size: 10.5px; letter-spacing: .04em; color: var(--faint); opacity: 0; transform: translateX(-3px); transition: opacity .15s, transform .15s; white-space: nowrap; }
.addr-copy:hover, .addr-copy:focus-visible { color: var(--text); background: var(--glass-2); border-color: var(--line); outline: none; }
.addr-copy:hover .i-copy, .addr-copy:focus-visible .i-copy, .addr-copy:hover .addr-tip, .addr-copy:focus-visible .addr-tip { opacity: 1; transform: none; }
.addr-copy.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); }
.addr-copy.done .i-copy { --i: var(--i-check-src); opacity: 1; }
.addr-copy.done .addr-tip { color: var(--ok); opacity: 1; transform: none; }
.addr-copy.unlisted.done { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.addr-copy.unlisted.done .addr-tip { color: var(--warn); }
.addr-copy.done .addr-text { animation: addr-pop .28s ease-out; }
@keyframes addr-pop { 40% { letter-spacing: .015em; } }
/* The verdict as a status, not a rubber stamp: a dot and plain words by the token's name, and the card's left edge in
   the same colour. Straight, sentence case, no frame. */
.state { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.2 var(--sans); white-space: nowrap; padding-top: 4px; }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.state.ok { color: var(--ok); } .state.bad { color: var(--bad); } .state.warn { color: var(--warn); }
/* The verdict's colour travels as a variable, so the spine keeps it whether the card is a box of its own (it is not,
   inside a framed block) or a panel against the frame's edge. */
.card.is-ok { --spine: var(--ok); } .card.is-bad { --spine: var(--bad); } .card.is-warn { --spine: var(--warn); }
.card.is-ok, .card.is-bad, .card.is-warn { border-left: 3px solid var(--spine, var(--line)); }
.state.bad { font-weight: 600; font-size: 14px; }
.fields { margin: 12px 0 4px; display: grid; gap: 3px; }
.field { display: flex; align-items: baseline; gap: 8px; }
.field .k { color: var(--dim); white-space: nowrap; }
.field .dots-fill { flex: 1; border-bottom: 1px dotted var(--faint); transform: translateY(-4px); min-width: 16px; }
.field .v { text-align: right; white-space: nowrap; }
.field .v small { color: var(--faint); margin-left: 6px; font-size: 11.5px; }
.pos { color: var(--ok); } .neg { color: var(--bad); }
.up { color: var(--ok); } .down { color: var(--bad); } .up.wide, .down.wide { font-weight: 600; }
.plain { font: 500 15.5px/1.5 var(--sans); margin: 12px 0 4px; padding: 10px 12px; border-left: 3px solid var(--accent-hi); background: var(--glass-2); border-radius: 0 8px 8px 0; }
.plain.ok { border-left-color: var(--ok); } .plain.bad { border-left-color: var(--bad); } .plain.warn { border-left-color: var(--warn); }
.plain { border-left-color: var(--faint); }
.plain.ok { border-left-color: var(--ok); }
.notes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font: 13.5px/1.5 var(--sans); }
.notes li { display: flex; gap: .55em; align-items: baseline; }
.notes li::before { content: ''; flex: none; width: .9em; height: .9em; transform: translateY(.12em); background: var(--faint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5l4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5l4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.notes li.warn::before { background: var(--warn); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M8 4.8v3.9M8 11.2v.1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M8 4.8v3.9M8 11.2v.1'/%3E%3C/svg%3E"); }
.notes li.bad::before { background: var(--bad); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M5.8 5.8l4.4 4.4M10.2 5.8l-4.4 4.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M5.8 5.8l4.4 4.4M10.2 5.8l-4.4 4.4'/%3E%3C/svg%3E"); }
.more { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--glass-2); }
.more summary { cursor: pointer; padding: 6px 10px; color: var(--dim); font-size: 12.5px; list-style: none; }
.more summary::before { content: ''; display: inline-block; width: .8em; height: .8em; margin-right: .5em; vertical-align: -0.1em; background: var(--accent-hi); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5l4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5l4.5 4.5L6 12.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .15s; }
.more[open] summary::before { transform: rotate(90deg); }
.more .inner { padding: 4px 10px 10px; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th, .tbl td { padding: 4px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl th { color: var(--faint); font-weight: 400; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { color: var(--accent-hi); }
/* A per-chain caption inside one shared table (sections() in app.js): it reads as the line it replaced, carries no
   rule under it, and wraps rather than widening a column. */
.tbl tbody.sec + tbody.sec .cap td { padding-top: 12px; }
.tbl .cap td { text-align: left; white-space: normal; border-bottom: none; padding-left: 0; }
.chart { width: 100%; height: auto; display: block; }
.pool-link { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--faint); }
.pool-link:hover { color: var(--accent-hi); border-bottom-color: var(--accent-hi); }
.chart .band-c { fill: #000; opacity: .45; } .chart .band-e { fill: #000; opacity: .2; }
.chart .gap { fill: none; stroke: var(--accent-hi); stroke-width: 1.4; stroke-dasharray: 1.5 3.5; opacity: .6; }
.chart .zero-l { fill: var(--dim); }
/* The chart's legend: one compact line of swatches. */
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 11.5px; color: var(--faint); }
.legend .key { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; border: 1px solid var(--line); }
.legend .sw-line { height: 0; border: 0; border-top: 2px solid var(--accent-hi); border-radius: 0; }
.legend .sw-open { background: var(--glass); }
.legend .sw-ext { background: color-mix(in srgb, #000 20%, var(--glass)); }
.legend .sw-closed { background: color-mix(in srgb, #000 45%, var(--glass)); }
.legend .sw-gap { height: 0; border: 0; border-top: 2px dotted var(--accent-hi); border-radius: 0; opacity: .7; }
.chart .zero { stroke: var(--faint); stroke-dasharray: 3 4; } .chart .ln { fill: none; stroke: var(--accent-hi); stroke-width: 1.8; }
.chart text { fill: var(--faint); font: 10.5px var(--mono); }

/* the prompt */
/* The input line is the one part of the page a visitor touches, so it is given a body: a moulded dark blue bezel a
   few millimetres thick, lit from above and shadowed below, sitting slightly above the glass. The thickness is a
   real 3px border painted with a gradient (padding-box for the fill, border-box for the bezel), not a shadow
   pretending to be one, so it keeps its edge at any zoom. Owner, 13.11: it should feel like a piece of equipment. */
.prompt {
  display: flex; align-items: center; gap: 10px; margin: 0 12px 10px; padding: 9px 9px 9px 15px;
  border: 3px solid transparent; border-radius: 13px;
  background:
    linear-gradient(var(--glass-2), var(--glass-2)) padding-box,
    linear-gradient(168deg, #3a558f 0%, #22345c 26%, #16233f 58%, #0d1628 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 1px 1px rgba(0, 0, 0, .35),
    0 7px 18px -8px rgba(0, 0, 0, .75);
}
/* Focus lights the bezel from the same angle rather than recolouring it: the piece stays the same piece. */
.prompt:focus-within {
  background:
    linear-gradient(var(--glass-2), var(--glass-2)) padding-box,
    linear-gradient(168deg, #6f9bff 0%, #2f55a8 26%, #1b3a72 58%, #102347 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 0 0 3px rgba(0, 82, 255, .16),
    0 8px 20px -8px rgba(0, 0, 0, .8);
}
.ps1 { color: var(--accent-hi); white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; }
.ps1 .chain-ps1 { color: var(--dim); margin-right: 4px; }
.prompt input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: 15px var(--mono); caret-color: var(--accent-hi); padding: 4px 0; }
.prompt input::placeholder { color: var(--faint); }
/* A real prompt waits with a cursor (owner, 12.11): the same block as the typed greeting, quieter and slower, at the start
   of an empty, unfocused line. Focus brings the browser's own caret; typing hides the block. Still under reduced motion. */
.cmd-wrap { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.cmd-cursor { position: absolute; left: 0; top: 50%; width: .55em; height: 1.1em; margin-top: -.55em; font-size: 15px; background: var(--accent-hi); opacity: .5; border-radius: 1px; pointer-events: none; animation: blink 1.2s steps(1) infinite; }
.cmd-wrap:focus-within .cmd-cursor, .cmd-wrap input:not(:placeholder-shown) + .cmd-cursor { display: none; }
.cmd-wrap:not(:focus-within) input:placeholder-shown { text-indent: 1em; }
@media (prefers-reduced-motion: reduce) { .cmd-cursor { animation: none; } }
.go { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 7px; padding: 6px 14px; font-weight: 600; }
.go:hover { filter: brightness(1.08); }
/* The status bar reads like a terminal footer: the chains on the left, the keys on the right. Each part is whole (no wrap
   inside it); when the bar is too narrow the key group moves under the status as one piece, and on a phone the chains
   stack one per line. */
.statusbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding: 6px 14px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 20px; color: var(--faint); }
.status { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.status .live { color: var(--ok); }
.status .segs { display: flex; flex-wrap: wrap; column-gap: 18px; min-width: 0; }
.status .seg { white-space: nowrap; }
.status .ch { color: var(--dim); }
.statusbar .hint { display: flex; gap: 14px; margin-left: auto; white-space: nowrap; }
.hint .key { display: inline-flex; align-items: baseline; gap: 6px; }
.hint .key kbd { color: var(--dim); line-height: 16px; }
.hint button.key { background: none; border: 0; padding: 0; color: inherit; }
.hint button.key:hover, .hint button.key:hover kbd { color: var(--accent-hi); }
.hint button.key:hover kbd { border-color: var(--accent-hi); }
.hint button.key:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 4px; }
/* The public exam, graded like a test paper: "exam 12 Nov [bar] 592/592". Quiet like the rest of the bar; the bar is the
   share answered right, green when full, amber when not. Hidden until a report from the last 36 h is read. */
/* The exam sits with the proof links beside Status, not in the terminal's status bar: it is not terminal state. */
.foot-link.exam[hidden] { display: none; }
.exam .exam-s { font-variant-numeric: tabular-nums; }
.exam .exam-k + .exam-s { margin-left: 6px; }
.exam.miss .foot-dot { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
.exam:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.field .v.warn { color: var(--warn); }
.field .v .tr-restricted, .field .v .tr-paused { color: var(--warn); }
.field .v .tr-unknown { color: var(--dim); }
.field .exam-t { font-size: 11.5px; white-space: nowrap; min-width: 24ch; }
.exam-sha code { word-break: break-all; }
.disclaimer { max-width: 980px; margin: 14px auto 0; color: var(--faint); font: 12.5px/1.5 var(--sans); text-align: center; }
.disclaimer strong { color: var(--dim); font-weight: 500; }

@media (max-width: 700px) {
  body { padding: 0; font-size: 13px; }
  .term { border-radius: 0; border-left: 0; border-right: 0; height: 100vh; height: 100dvh; min-height: 0; }
  .titlebar { flex-wrap: wrap; gap: 8px; }
  .titlebar h2 { flex-basis: calc(100% - 60px); }
  .tabs { width: 100%; }
  .tab { flex: 1; }
  .log { padding: 12px 10px; }
  /* The frame costs width twice on a phone, once for the feed's padding and once for its own: it keeps the rectangle
     and gives the sentence inside it back the room. */
  .block > .echo { padding: 6px 10px; }
  .block:has(> .echo) > .out { padding: 10px 10px 11px; }
  .block:has(> .echo) .card { padding-left: 10px; }
  .pick button { grid-template-columns: 2em 1fr; }
  .pick .addr, .pick .nm { grid-column: 2; }
  .pick .nm, .pick.two .nm { grid-template-columns: auto 1fr; gap: 8px; } /* no room for a fixed slot on a phone */
  .field { flex-wrap: wrap; }
  .field .dots-fill { display: none; }
  /* A value may wrap on a phone: "$167.63 Coinbase NAV, updated ..." is wider than the screen, and a value that cannot
     wrap pushed every row of the passport past the right edge (owner, 12.11). */
  .field .v, .field .v small { white-space: normal; overflow-wrap: anywhere; }
  .field .v { margin-left: auto; min-width: 0; max-width: 100%; }
  .card { min-width: 0; overflow-wrap: anywhere; }
  .prompt { margin: 0 8px 8px; }
  .statusbar { padding: 6px 12px; }
  .status { align-items: flex-start; }
  .status .segs { flex-direction: column; }
  .statusbar .hint { display: none; }
  .field .exam-t { display: none; }
  .out > .tbl, .more .tbl { display: block; overflow-x: auto; white-space: nowrap; }
  /* The rows scroll sideways on a phone, but a block's caption is a sentence: keep it on screen and let it wrap,
     as it did when it was a line of its own. The width is the screen less the feed's padding and its scroll bar, with
     room to spare: wrapping a word early costs nothing, running under the edge would hide text. The frame around the
     answer (16.11) takes its own padding on each side, so the room left is that much smaller. The caption still
     sticks: it does so inside the table, which is the scrollport here, not inside the frame. */
  .out > .tbl .cap .cap-w { white-space: normal; max-width: calc(100vw - 72px); position: sticky; left: 0; }
  .disclaimer { padding: 10px 14px 14px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .term { transition: none; }
  .exam .exam-bar i { transition: none; }
  .addr-copy.done .addr-text { animation: none; }
  .block { animation: none; }
  .typing::after { animation: none; }
  .log { scroll-behavior: auto; }
}


/* ---------- landing ---------- */
/* The background: a dot grid, two slow blue glows on black and a faint horizontal scan. Fixed, behind everything,
   no images. */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.bg-grid { position: absolute; inset: -40px; background-image: radial-gradient(rgba(77, 139, 255, .14) 1px, transparent 1.2px), linear-gradient(rgba(77, 139, 255, .035) 1px, transparent 1px);
  background-size: 22px 22px, 22px 110px; mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%); }
.bg-glow { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, var(--accent)), transparent); opacity: .22; animation: drift 38s ease-in-out infinite alternate; will-change: transform; }
.bg-glow.a { --glow: var(--accent); left: -32vmax; top: -36vmax; }
.bg-glow.b { --glow: #1a3fd6; right: -36vmax; bottom: -40vmax; opacity: .16; animation-duration: 46s; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0); } }
.bg-scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .012) 0 1px, transparent 1px 4px); }

/* The site bar (apps/stocks-nav.mjs): the brand, the tabs and the call to connect, on every page. Sticky on a desktop;
   on a phone it scrolls away with the page and the tabs wrap. Full width: the landing's body has a 16px
   gutter (12px on a phone) that the bar steps out of; the other pages (body.dx) have none. */
.site-bar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "brand tabs extra cta";
  align-items: center; gap: 18px; height: 60px; margin: 0 -16px; padding: 0 24px; font-family: var(--sans);
  background: color-mix(in srgb, #06080c 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dx .site-bar { margin: 0; }
.site-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 600 15px/1 var(--sans); white-space: nowrap; text-decoration: none; }
.site-logo { width: 24px; height: 28px; flex: none; background: url('shield.svg') center / contain no-repeat; }
.site-tabs { grid-area: tabs; display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-tabs::-webkit-scrollbar { display: none; }
.site-tab { position: relative; flex: none; padding: 9px 12px; border-radius: 8px; color: var(--dim); font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.site-tab:hover { color: var(--text); background: var(--glass-2); }
.site-tab:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -2px; }
/* The page you are on: lit, and underlined in Base blue along the bar's bottom edge. */
.site-tab[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.site-tab[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 2px; border-radius: 2px; background: var(--accent-hi); }
.site-extra { grid-area: extra; min-width: 0; }
.site-cta { grid-area: cta; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 600 14px/1 var(--sans);
  white-space: nowrap; text-decoration: none; box-shadow: 0 6px 22px rgba(0, 82, 255, .3); transition: filter .15s, transform .15s; }
.site-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }
/* Eight tabs since the Demo Agent (25.11): beside the docs search box they fit on one row only from these widths. */
@media (max-width: 1340px) { .site-bar.has-extra .site-cta { display: none; } }
@media (max-width: 1000px) { .site-cta { display: none; } }
@media (max-width: 900px) {
  .site-bar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand extra" "tabs tabs"; height: auto; row-gap: 0; padding-top: 10px; }
  .site-bar .site-tabs { padding: 6px 0 4px; }
  .site-bar .site-tab[aria-current="page"]::after { bottom: -5px; }
}
@media (max-width: 1180px) {
  .site-bar.has-extra { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand extra" "tabs tabs"; height: auto; row-gap: 0; padding-top: 10px; }
  .site-bar.has-extra .site-tabs { padding: 6px 0 4px; }
  .site-bar.has-extra .site-tab[aria-current="page"]::after { bottom: -5px; }
}
@media (max-width: 760px) {
  .site-bar, .site-bar.has-extra { position: static; grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "extra" "tabs"; height: auto; gap: 10px; margin: 0 -12px; padding: 12px 12px 0; }
  .dx .site-bar, .dx .site-bar.has-extra { margin: 0; }
  .site-bar .site-extra:empty { display: none; }
  /* Seven tabs do not fit a phone's width: they wrap into two rows of chips, so the current one is always in view. */
  .site-tabs { flex-wrap: wrap; gap: 6px; overflow: visible; padding: 0 0 12px; }
  .site-tab { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
  .site-tab[aria-current="page"] { border-color: color-mix(in srgb, var(--accent-hi) 55%, transparent); }
  .site-tab[aria-current="page"]::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .site-tab, .site-cta { transition: none; } .site-cta:hover { transform: none; } }

/* the live tape: under the terminal (owner, 22.11: the top of the page is the tabs now). A band the width of the
   window above it, not sticky: a click on a token still scrolls up to the terminal and opens its passport. */
.tape { max-width: 980px; margin: 24px auto 0; display: flex; align-items: center; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #06080c; font-size: 12px; }
.tape-label { padding: 0 12px; color: var(--on-accent); background: var(--accent); align-self: stretch; display: flex; align-items: center; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.tape-track { overflow: hidden; flex: 1; position: relative; contain: layout paint; }
/* The edge fades are overlays on a still layer, not a mask on the moving one: a mask over a moving layer is repainted every frame. */
.tape-track::before, .tape-track::after { content: ''; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 1; pointer-events: none; }
.tape-track::before { left: 0; background: linear-gradient(90deg, #06080c, transparent); }
.tape-track::after { right: 0; background: linear-gradient(270deg, #06080c, transparent); }
.tape-run { display: inline-flex; white-space: nowrap; animation: tape 60s linear infinite; will-change: transform; backface-visibility: hidden; }
/* Each group ends with the same gap that separates its items, so two groups side by side are one seamless period. */
.tape-group { display: inline-flex; gap: 28px; padding-right: 28px; flex: none; }
.tape-item .v { transition: color .3s; }
.tape-item .v.tick { animation: tape-tick .9s ease-out; }
@keyframes tape-tick { 0% { background: color-mix(in srgb, var(--accent-hi) 28%, transparent); border-radius: 3px; } 100% { background: transparent; } }
.tape:hover .tape-run { animation-play-state: paused; }
@keyframes tape { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tape-item { background: transparent; border: 0; padding: 0; color: var(--dim); font: inherit; }
.tape-item b { color: var(--text); font-weight: 600; margin-right: 6px; }
.tape-item:hover b { color: var(--accent-hi); }

/* hero */
.hero { position: relative; max-width: 980px; margin: 0 auto; padding: 64px 0 34px; }
.kicker-also { color: var(--faint); }
.kicker { color: var(--accent-hi); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.headline { font: 700 clamp(30px, 5.2vw, 56px)/1.05 var(--sans); letter-spacing: -.02em; margin: 0 0 18px; max-width: 16ch; }
.headline em { font-style: normal; color: var(--accent-hi); }
/* The shield stands beside the two lines of the headline, as tall as they are; the lede and the buttons start from the
   shield's edge, so the left line of the hero stays one line (owner, 19.11). */
.hero-brand { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 20px); margin: 0 0 18px; }
.hero-brand .headline { margin: 0; }
/* The shield is alive (owner, 24.11): app.js sets --nx and --ny, where the pointer is from the shield's centre (-1 to 1),
   or a slow sway when there is no pointer. The shield turns a few degrees to face it as ONE rigid piece: outline, rim,
   disc and band together, nothing inside it moves on its own (a disc moving within the shield read as a lens, owner,
   24.11). Only the light moves across it: a glare over the whole face, a thin dark edge behind the outline that shows
   the plate's thickness on the side turned away, and the glow under it falling away from the pointer. With reduced
   motion app.js sets nothing and the rule below pins it flat. */
.hero-shield { --nx: 0; --ny: 0; display: block; flex: none; width: clamp(54px, 9.5vw, 112px); margin-left: -6px; perspective: 420px;
  filter: drop-shadow(calc(var(--nx) * -1.6px) calc(1.2px + var(--ny) * -1.6px) 0 #0b1f55) drop-shadow(calc(var(--nx) * -6px) calc(8px + var(--ny) * -5px) 26px rgba(75, 135, 255, .28)); }
.shield-3d { display: block; width: 100%; height: auto; overflow: visible; transform: rotateX(calc(var(--ny) * -9deg)) rotateY(calc(var(--nx) * 9deg)); will-change: transform; }
.shield-glare { transform: translate(calc(var(--nx) * 22px), calc(var(--ny) * 26px)); opacity: calc(.5 + (var(--nx) * var(--nx) + var(--ny) * var(--ny)) * .5); }
@media (prefers-reduced-motion: reduce) { .hero-shield { filter: drop-shadow(0 1.2px 0 #0b1f55) drop-shadow(0 8px 26px rgba(75, 135, 255, .28)); } .shield-3d, .shield-glare { transform: none; will-change: auto; } }
.lede { font: 400 17px/1.6 var(--sans); color: var(--dim); max-width: 60ch; margin: 0 0 22px; }
.hero-try { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.chip { background: var(--glass-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; }
.chip:hover { border-color: var(--accent-hi); color: var(--accent-hi); }

/* the hero's agent wire: a real MCP call, typed out once, in the corner the headline leaves empty; it leads to #mcp */
.wire { display: none; }
@media (min-width: 1100px) {
  .hero .lede { max-width: calc(100% - 372px); }
  .wire { display: flex; flex-direction: column; gap: 12px; position: absolute; right: 0; top: 96px; width: 340px; padding: 14px 16px 12px;
    background: color-mix(in srgb, var(--glass) 82%, transparent); border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 11.5px; line-height: 1.75; color: var(--dim); text-decoration: none; transition: border-color .25s, transform .25s; }
  .wire:hover, .wire:focus-visible { border-color: color-mix(in srgb, var(--accent-hi) 55%, var(--line)); transform: translateY(-2px); }
  .wire-head { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  .wire-node { white-space: nowrap; }
  .wire-node::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent-hi); vertical-align: .08em; }
  .wire-cable { position: relative; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 7px); }
  .wire-packet { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 8px var(--accent-hi); opacity: 0; animation: wire-packet 7s 2.4s ease-in-out infinite; }
  .wire-body { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 10px; white-space: nowrap; }
  .wire-l { opacity: 0; animation: rise .35s ease-out forwards; }
  .wire-l:nth-child(1) { color: var(--text); animation-delay: .5s; }
  .wire-l:nth-child(2) { animation-delay: 1.1s; } .wire-l:nth-child(3) { animation-delay: 1.35s; }
  .wire-l:nth-child(4) { animation-delay: 1.6s; } .wire-l:nth-child(5) { animation-delay: 1.85s; }
  .wire-l b { color: var(--accent-hi); font-weight: 400; }
  .wire-l i { font-style: normal; color: var(--faint); }
  .wire-ok { color: var(--ok); }
  .wire-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 9px; }
  .wire-go { color: var(--accent-hi); white-space: nowrap; }
  .wire-go .i-arrow { transform: rotate(90deg); transition: transform .25s; }
  .wire:hover .wire-go .i-arrow { transform: rotate(90deg) translateX(2px); }
}
@keyframes wire-packet { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 30% { left: calc(100% - 5px); opacity: 1; } 36%, 100% { left: calc(100% - 5px); opacity: 0; } }
/* A jump to #mcp, #faq or #findings, and the terminal's scrollIntoView, stop below the sticky site bar (60px and its border). */
html:has(.tape) { scroll-padding-top: 72px; } /* the landing only: docs headings keep their own 80px */
@media (max-width: 760px) { html:has(.tape) { scroll-padding-top: 12px; } } /* the bar is not sticky on a phone */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .wire-l { animation: none; opacity: 1; } .wire-packet { animation: none; } .wire, .wire-go .i-arrow { transition: none; } .wire:hover { transform: none; } }

/* sections */
.checks { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.check { background: color-mix(in srgb, var(--glass) 94%, transparent); padding: 22px 20px 20px; }
.check .num { color: var(--accent-hi); font-size: 12px; letter-spacing: .1em; }
.check h3 { font: 600 19px/1.3 var(--sans); margin: 8px 0 10px; }
.check p { font: 14px/1.6 var(--sans); color: var(--dim); margin: 0 0 14px; }
.mini { font-size: 12px; background: var(--glass-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.mini-id { flex-direction: column; gap: 2px; }
.mini .i { margin: 0 .25em; }
.mini .ok { color: var(--ok); } .mini .bad { color: var(--bad); }
.t-bad { color: var(--bad); } .t-warn { color: var(--warn); } .t-ok { color: var(--ok); }
.why { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.why h3, .agents h3 { font: 700 26px/1.2 var(--sans); margin: 0 0 12px; }
.why p, .agents p { font: 15px/1.65 var(--sans); color: var(--dim); margin: 0 0 10px; }
.why-art { width: 100%; height: auto; }
.art-closed { fill: rgba(77, 139, 255, .06); stroke: var(--line); stroke-dasharray: 3 4; }
.art-zero { stroke: var(--faint); stroke-dasharray: 3 4; }
.art-line { fill: none; stroke: var(--accent-hi); stroke-width: 2.2; }
.art-label { fill: var(--faint); font: 10.5px var(--mono); }
.agents { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.agents code { color: var(--accent-hi); font-size: 13px; }
.agents .connect { list-style: none; margin: 0; padding: 0; font: 14px/1.6 var(--sans); display: grid; gap: 4px; }
.agents .connect b { color: var(--dim); font-weight: 600; }
.code { background: var(--glass); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.code .code-head:not(:first-child) { border-top: 1px solid var(--line); }
/* The guard's own mark: our emblem inside a shield, where the package is installed, and the link to what it does.
   It is the one picture in this section, so it stays small and quiet: the row's height does not change. */
.guard-head { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.guard-head:hover, .guard-head:focus-visible { color: var(--accent-hi); }
.guard-shield { display: block; margin: -3px 0; }
.guard-head:hover .guard-shield, .guard-head:focus-visible .guard-shield { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent-hi) 55%, transparent)); }
.code pre { margin: 0; padding: 10px 14px; font: 12.5px/1.6 var(--mono); color: var(--text); overflow-x: auto; }
/* The footer: brand and navigation on one row, the note, then rights, legal and the release. Links are quiet chips in
   the page's own style, not underlined text. */
/* The wall of findings: the cases of the week, in the site's table style. */
/* The one sentence that says what kind of service this is. It sits between what we check and what we flag, quiet:
   it is a position, not a banner, and the proofs around it are what make it true (owner, 16.11). */
.stance { max-width: 760px; margin: 28px auto 0; color: var(--dim); font: 15px/1.7 var(--sans); text-align: center; }
.stance b { color: var(--text); font-weight: 500; }
/* The seal block (seal.js): one card. Top: a line of our record whose answer is visibly editable, and a lock that says
   whether the seal still fits. Bottom strip of the same card: the seal as kept beside the record as it stands now. */
.seal { max-width: 980px; margin: 28px auto 0; }
.seal-card { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.seal-card.broken { border-color: var(--bad); }
.seal-top { padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.seal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.seal-head h3 { margin: 0; font: 600 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.seal-lock { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--mono); letter-spacing: .04em; padding: 7px 10px 7px 8px; border-radius: 999px; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); transition: color .3s, border-color .3s, background .3s, opacity .3s, transform .3s; }
.seal-lock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seal-lock .shackle { transition: transform .3s; transform-origin: 16px 10px; }
.seal-lock.broken { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, transparent); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.seal-lock.broken .shackle { transform: rotate(32deg) translateY(-1.5px); }
.seal-lock.off { opacity: 0; transform: translateY(-4px); }
.seal-rec { display: flex; flex-direction: column; gap: 10px; }
.seal-rec > div { transition: opacity .4s, transform .4s; }
.seal-rec > div.off { opacity: 0; transform: translateY(6px); }
.seal-when { font: 400 12.5px/1.6 var(--mono); color: var(--dim); }
.seal-what { font: 700 21px/1.5 var(--sans); }
.seal-q { color: var(--dim); font-weight: 400; }
.seal-token b { font-weight: 700; }
.seal-token span { color: var(--dim); font-weight: 400; margin-left: .4em; overflow-wrap: anywhere; }
.seal-token code { font: 400 12px/1 var(--mono); color: var(--faint); margin-left: .6em; white-space: nowrap; }
/* The editable answer: it looks like a field, says so on hover, and beckons until the first click. */
.seal-edit { position: relative; display: inline-flex; align-items: center; gap: .35em; font: inherit; color: var(--text); cursor: pointer; padding: .08em .42em .08em .5em; border-radius: 7px; background: color-mix(in srgb, var(--accent-hi) 12%, transparent); border: 1px dashed color-mix(in srgb, var(--accent-hi) 60%, transparent); transition: background .15s, border-color .15s, transform .15s; }
.seal-edit svg { width: .78em; height: .78em; fill: none; stroke: var(--accent-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.seal-edit:hover { background: color-mix(in srgb, var(--accent-hi) 24%, transparent); border-style: solid; transform: translateY(-1px); }
.seal-edit:focus-visible, .seal-btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.seal-edit s { color: var(--faint); font-weight: 400; margin-right: .35em; }
.seal-edit.changed { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 60%, transparent); }
.seal-edit.changed svg { stroke: var(--bad); }
.seal-edit.beacon::after { content: ""; position: absolute; top: -5px; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-hi); animation: seal-ping 1.5s ease-out infinite; }
@keyframes seal-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-hi) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.seal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 36px; }
.seal-cta p { margin: 0; color: var(--accent-hi); font: 500 14px/1.4 var(--sans); }
.seal-cta p.done { color: var(--dim); font-weight: 400; }
.seal-cta p:empty { display: none; }
.seal-btn { font: 500 14px/1.2 var(--sans); cursor: pointer; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 8px; padding: 9px 14px; }
.seal-btn.ghost { background: transparent; color: var(--dim); border: 1px solid var(--line); }
.seal-btn.ghost:hover { color: var(--text); border-color: var(--dim); }
.seal-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 26px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--ok) 7%, var(--glass-2)); transition: background .3s; }
.seal-strip.no { background: color-mix(in srgb, var(--bad) 9%, var(--glass-2)); }
.seal-strip.idle { background: var(--glass-2); }
.seal-cmp { display: flex; align-items: center; gap: 8px; }
.seal-cmp figure { margin: 0; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.seal-cmp figcaption { font: 400 10px/1.2 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.seal-eq { font: 700 30px/1 var(--sans); color: var(--ok); width: 22px; text-align: center; margin-bottom: 14px; }
.seal-strip.no .seal-eq { color: var(--bad); }
.seal-mosaic { display: grid; grid-template-columns: repeat(8, 12px); gap: 2px; padding: 7px; border-radius: 9px; background: var(--glass); border: 1px solid var(--line); }
.seal-mosaic i { width: 12px; height: 12px; border-radius: 2.5px; background: var(--line); transition: background .35s, transform .35s; }
.seal-mosaic i.flip { transform: scale(.2) rotate(90deg); }
.seal-strip.no #seal-now { border-color: var(--bad); }
.seal-say strong { display: block; font: 700 16px/1.3 var(--sans); color: var(--ok); }
.seal-strip.no .seal-say strong { color: var(--bad); }
.seal-strip.idle .seal-say strong { color: var(--text); }
.seal-say span { display: block; color: var(--dim); font: 400 13.5px/1.45 var(--sans); margin-top: 2px; }
.seal-wire { padding: 16px 26px 18px; border-top: 1px solid var(--line); }
.seal-wire-head { margin: 0 0 8px; font: 400 10.5px/1.2 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.seal-wire code { display: block; font: 400 13px/1.5 var(--mono); color: var(--accent-hi); background: var(--glass); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; overflow-wrap: anywhere; }
.seal-wire-say { margin: 8px 0 0; color: var(--dim); font: 400 13.5px/1.45 var(--sans); }
.seal-wire-say a, .seal-say a, .seal-note a { color: var(--dim); border-bottom: 1px dotted currentColor; text-decoration: none; }
.seal-note { margin: 10px 0 0; color: var(--faint); font-size: 12px; text-align: center; }
@media (max-width: 640px) { .seal-strip { grid-template-columns: minmax(0, 1fr); } .seal-what { font-size: 18px; } .seal-wire { padding: 14px 16px 16px; } .seal-wire code { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .seal-edit.beacon::after { animation: none; } .seal-rec > div, .seal-lock, .seal-lock .shackle, .seal-mosaic i, .seal-edit { transition: none; } }
.board { max-width: 980px; margin: 56px auto 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; }
.board-head h3 { font: 700 26px/1.2 var(--sans); margin: 0; }
.board-counts { margin: 0; color: var(--dim); font: 12.5px/1.5 var(--mono); }
/* The week's cases scroll inside their own frame, with the thin bar the terminal uses, so the list can be long
   without pushing the page down. The head stays put while the rows move under it. */
.board-wrap { margin-top: 12px; overflow: auto; max-height: 340px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass-2); overscroll-behavior: contain; }
.board-table { width: 100%; min-width: 620px; border-collapse: collapse; font: 13px/1.4 var(--mono); }
.board-table thead th { position: sticky; top: 0; z-index: 1; background: var(--glass-2); box-shadow: inset 0 -1px 0 var(--line); }
.board-table code { font: inherit; color: var(--text); }
/* What the token calls itself, and what it matched on. The name is its creator's text: shown dim, cut, never read
   as a word of ours (the note under the table says so). Most of these copy the company name, not the ticker. */
.board-name { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.board-why { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
/* A closed case is history, not a live flag: dimmed, whatever the width (the status column is off screen on a phone). */
.board tr.closed td { opacity: .5; }
.board tr.closed td code { text-decoration: line-through; }
.board-table td:nth-child(4) { white-space: nowrap; }
.board-table th { text-align: left; color: var(--faint); font-weight: 400; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.board-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--dim); }
.board-table tr:last-child td { border-bottom: 0; }
.board-table tr.click { cursor: pointer; }
.board-table tr.click:hover td, .board-table tr.click:focus-visible td { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.board-table tr.click:focus-visible { outline: 1px solid var(--accent-hi); }
.board-table td.warn { color: var(--warn); }
.board-empty { margin: 12px 0 0; color: var(--dim); }
.board-note { margin: 10px 0 0; color: var(--faint); font-size: 12px; }
.board-note a { color: var(--dim); border-bottom: 1px dotted currentColor; text-decoration: none; }
.foot { max-width: 980px; margin: 56px auto 0; padding: 20px 0 14px; border-top: 1px solid var(--line); color: var(--faint); font: 12.5px/1.6 var(--sans); }
.foot a { color: inherit; text-decoration: none; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.foot-mark { width: 28px; height: 32px; flex: none; display: block; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2092%22%20width%3D%2280%22%20height%3D%2292%22%20role%3D%22img%22%20aria-label%3D%22Proof%20of%20Stock%20guard%22%3E%3Ctitle%3EProof%20of%20Stock%20guard%3C%2Ftitle%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g-plate%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.35%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%231B2742%22%2F%3E%3Cstop%20offset%3D%220.45%22%20stop-color%3D%22%230D1526%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23070C18%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22g-rim%22%20x1%3D%220.1%22%20y1%3D%220%22%20x2%3D%220.9%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23A9C8FF%22%2F%3E%3Cstop%20offset%3D%220.35%22%20stop-color%3D%22%234B87FF%22%2F%3E%3Cstop%20offset%3D%220.75%22%20stop-color%3D%22%231E4FD8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2315347F%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22g-disc%22%20x1%3D%220.2%22%20y1%3D%220%22%20x2%3D%220.8%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239CC0FF%22%2F%3E%3Cstop%20offset%3D%220.4%22%20stop-color%3D%22%234B87FF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232A5FD8%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22g-gloss%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FFFFFF%22%20stop-opacity%3D%220.26%22%2F%3E%3Cstop%20offset%3D%220.55%22%20stop-color%3D%22%23FFFFFF%22%20stop-opacity%3D%220.06%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FFFFFF%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g-glow%22%20cx%3D%220.5%22%20cy%3D%220.42%22%20r%3D%220.6%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%234B87FF%22%20stop-opacity%3D%220.35%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%234B87FF%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3Cpath%20id%3D%22g-shape%22%20d%3D%22M40%204%2072%2013v30c0%2018.5-12.8%2032.4-32%2041.6C20.8%2075.4%208%2061.5%208%2043V13z%22%2F%3E%3CclipPath%20id%3D%22g-clip%22%3E%3Cuse%20href%3D%22%23g-shape%22%2F%3E%3C%2FclipPath%3E%3Cfilter%20id%3D%22f-drop%22%20x%3D%22-30%25%22%20y%3D%22-25%25%22%20width%3D%22160%25%22%20height%3D%22160%25%22%3E%3CfeDropShadow%20dx%3D%220%22%20dy%3D%223%22%20stdDeviation%3D%223.2%22%20flood-color%3D%22%2304070F%22%20flood-opacity%3D%220.75%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22f-emboss%22%20x%3D%22-20%25%22%20y%3D%22-20%25%22%20width%3D%22140%25%22%20height%3D%22140%25%22%3E%3CfeOffset%20in%3D%22SourceAlpha%22%20dx%3D%220%22%20dy%3D%221.4%22%20result%3D%22o%22%2F%3E%3CfeGaussianBlur%20in%3D%22o%22%20stdDeviation%3D%221.1%22%20result%3D%22b%22%2F%3E%3CfeFlood%20flood-color%3D%22%2304070F%22%20flood-opacity%3D%220.55%22%2F%3E%3CfeComposite%20in2%3D%22b%22%20operator%3D%22in%22%20result%3D%22sh%22%2F%3E%3CfeMerge%3E%3CfeMergeNode%20in%3D%22sh%22%2F%3E%3CfeMergeNode%20in%3D%22SourceGraphic%22%2F%3E%3C%2FfeMerge%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20filter%3D%22url%28%23f-drop%29%22%3E%3Cuse%20href%3D%22%23g-shape%22%20fill%3D%22url%28%23g-plate%29%22%2F%3E%3Cg%20clip-path%3D%22url%28%23g-clip%29%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2280%22%20height%3D%2292%22%20fill%3D%22url%28%23g-glow%29%22%2F%3E%3Cpath%20d%3D%22M8%2013%2040%204l32%209v16c-10%206.5-22%2010-32%2010S18%2035.5%208%2029z%22%20fill%3D%22url%28%23g-gloss%29%22%2F%3E%3Cg%20filter%3D%22url%28%23f-emboss%29%22%20transform%3D%22translate%2840%2043%29%20scale%282.55%29%20translate%28-8%20-8%29%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%227%22%20fill%3D%22url%28%23g-disc%29%22%2F%3E%3Cpath%20d%3D%22M-8%208h14V6h4v2h14v1H9V7H7v2H-8z%22%20fill%3D%22%230B1020%22%20fill-opacity%3D%220.92%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cuse%20href%3D%22%23g-shape%22%20fill%3D%22none%22%20stroke%3D%22url%28%23g-rim%29%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cuse%20href%3D%22%23g-shape%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-opacity%3D%220.18%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%20transform%3D%22translate%280%201.1%29%20scale%280.985%29%20translate%280.6%200%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.foot-name { color: var(--text); font: 600 14px/1.2 var(--sans); }
.foot-tag { color: var(--dim); font-size: 12.5px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass-2); color: var(--dim); font: 500 12px/1.2 var(--mono); transition: color .15s, border-color .15s, background .15s; }
.foot-link:hover, .foot-link:focus-visible { color: var(--text); border-color: var(--accent-hi); background: color-mix(in srgb, var(--accent) 12%, var(--glass-2)); outline: none; }
.foot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.foot-note { margin: 12px 0 0; max-width: 92ch; font-size: 12px; line-height: 1.55; color: var(--faint); }
.foot-note a { color: var(--dim); border-bottom: 1px dotted currentColor; } .foot-note a:hover { color: var(--accent-hi); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--faint); font: 11.5px/1.4 var(--mono); }
.foot-meta { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
/* X and Telegram: square keys in the footer's own glass and line, the icon in the site's stroke; the accent on hover. */
.i-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 2.6h3.1l7.7 10.8h-3.1z'/%3E%3Cpath d='M13.2 2.6L8.9 7.5M7.1 9.6l-4.3 3.8'/%3E%3C/svg%3E"); } .i-tg { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.1 2.3L1.9 7.2l4.5 1.7 1.7 4.6 2.4-3 3.1 2.3z'/%3E%3Cpath d='M6.4 8.9l7.7-6.6'/%3E%3C/svg%3E"); }
.foot-glama { display: inline-flex; align-items: center; }
.foot-glama img { display: block; width: 110px; height: 20px; }
.foot-social { display: inline-flex; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.foot-ic { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--glass-2); color: var(--dim); font-size: 13px; transition: color .15s, border-color .15s, background .15s, transform .15s; }
.foot-ic:hover, .foot-ic:focus-visible { color: var(--accent-hi); border-color: var(--accent-hi); background: color-mix(in srgb, var(--accent) 12%, var(--glass-2)); transform: translateY(-1px); outline: none; }
@media (prefers-reduced-motion: reduce) { .foot-ic { transition: none; } .foot-ic:hover { transform: none; } }
.foot-legal { color: var(--dim); border-bottom: 1px dotted transparent; transition: color .15s, border-color .15s; }
.foot-legal:hover, .foot-legal:focus-visible { color: var(--accent-hi); border-bottom-color: var(--accent-hi); outline: none; }

/* Questions: plain rows that open, the same window glass and line as the rest; no cards, no icons. */
/* Paid passes (x402): what an agent does over the free limit. The figures are the module's: 0.01 USDC, 10 minutes,
   600 calls a minute, 150 addresses a batch; the free tier is the limiter's (apps/stocks-web.mjs). */
.pay { max-width: 980px; margin: 64px auto 0; }
.pay h3 { font: 700 26px/1.2 var(--sans); margin: 0 0 12px; }
.pay h3 em { font-style: normal; color: var(--accent-hi); }
.pay > p { font: 15px/1.65 var(--sans); color: var(--dim); margin: 0 0 18px; max-width: 760px; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pay-steps li { display: grid; gap: 8px; padding: 18px 20px; }
.pay-steps li + li { border-left: 1px solid var(--line); }
.pay-n { font: 12px/1 var(--mono); color: var(--faint); }
.pay-big { font: 600 17px/1.3 var(--mono); color: var(--text); }
.pay-note { font: 13.5px/1.5 var(--sans); color: var(--dim); }
.pay-warn { color: var(--warn); } .pay-hi { color: var(--accent-hi); } .pay-ok { color: var(--ok); }
.pay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 20px; background: var(--glass); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.pay-pill { font: 600 12px/1 var(--mono); padding: 7px 12px; border-radius: 999px; text-decoration: none; }
.pay-pill-ok { color: var(--ok); background: rgba(79, 209, 139, .10); border: 1px solid rgba(79, 209, 139, .40); }
.pay-pill-ok:hover { background: rgba(79, 209, 139, .18); }
.pay-pill-free { color: var(--accent-hi); background: rgba(77, 139, 255, .10); border: 1px solid rgba(77, 139, 255, .40); }
@media (max-width: 760px) {
  .pay { margin-top: 40px; }
  .pay-steps { grid-template-columns: minmax(0, 1fr); }
  .pay-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pay-pill { white-space: normal; line-height: 1.4; }
}
.faq { max-width: 980px; margin: 64px auto 0; }
.faq h3 { font: 700 26px/1.2 var(--sans); margin: 0 0 14px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 4px; font: 600 16px/1.4 var(--sans); color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 1.6px solid var(--dim); border-bottom: 1.6px solid var(--dim); transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qa summary:hover, .qa summary:focus-visible { color: var(--accent-hi); outline: none; }
.qa p { font: 15px/1.65 var(--sans); color: var(--dim); margin: 0; padding: 0 4px 18px; max-width: 76ch; }
.faq-more { font: 14px/1.6 var(--sans); color: var(--faint); margin: 16px 4px 0; }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

@media (max-width: 860px) {
  .checks { grid-template-columns: 1fr; }
  .why, .agents { grid-template-columns: 1fr; gap: 18px; }
  }
@media (max-width: 700px) {
  /* A clause that reads well on a desktop is three more lines of scrolling on a phone. .wide-only is the part a phone
     does not get: the sentence it leaves behind is still a whole sentence (owner, 15.11). */
  .wide-only { display: none; }
  body { padding: 0 12px 16px; }
  .tape { margin-top: 18px; height: 38px; }
  .hero { padding: 36px 2px 22px; }
  .lede { font-size: 15.5px; }
  .term { height: 78vh; height: 78dvh; border-radius: 10px; border: 1px solid var(--line); min-height: 420px; }
  .term.large { max-width: none; height: 94vh; height: 94dvh; }
  .checks, .why, .agents { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glow { animation: none; }
  .tape-run { animation: none; }
  .tape-track { overflow-x: auto; }
}
.inline-link { color: var(--accent-hi); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent-hi) 40%, transparent); }
.inline-link:hover { border-bottom-color: var(--accent-hi); }
@media (max-width: 700px) { .foot { padding: 22px 2px 14px; } .foot-top { flex-direction: column; align-items: flex-start; } .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; } .foot-social { padding-left: 0; border-left: 0; } }

.foot-dot.late { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
.foot-dot.down { background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 22%, transparent); }

/* The GitHub mark, shown once the repository is public. */
.i-gh { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 .2a8 8 0 0 0-2.5 15.6c.4 0 .5-.2.5-.4v-1.5c-2.2.5-2.7-1-2.7-1-.4-.9-.9-1.2-.9-1.2-.7-.5.1-.5.1-.5.8.1 1.2.8 1.2.8.7 1.3 1.9.9 2.4.7 0-.5.3-.9.5-1.1-1.8-.2-3.6-.9-3.6-4 0-.9.3-1.6.8-2.1-.1-.2-.4-1 .1-2.1 0 0 .7-.2 2.2.8a7.6 7.6 0 0 1 4 0c1.5-1 2.2-.8 2.2-.8.4 1.1.2 1.9.1 2.1.5.6.8 1.3.8 2.1 0 3.1-1.9 3.8-3.6 4 .3.3.6.8.6 1.5v2.2c0 .2.1.5.6.4A8 8 0 0 0 8 .2z'/%3E%3C/svg%3E"); }

/* Embed this badge (23.11): the badge of the token on screen and its HTML and Markdown, each copied in one click. */
.embed { display: grid; gap: 10px; }
.embed-preview { display: block; max-width: 100%; height: auto; }
.embed-code { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass-2); }
.embed-k { font: 600 11px/1.6 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.embed-code code { font: 12px/1.6 var(--mono); color: var(--text); overflow-wrap: anywhere; word-break: break-all; }
.embed-copy { font: 600 12px var(--mono); color: var(--accent-hi); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.embed-copy:hover, .embed-copy:focus-visible { border-color: var(--accent-hi); }
@media (max-width: 560px) { .embed-code { grid-template-columns: 1fr; } }
/* The Telegram bot (23.11): a robot head, so it reads as a bot and not as the channel beside it. */
.i-bot { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.6' y='5.2' width='10.8' height='8' rx='2.2'/%3E%3Cpath d='M8 5.2V3'/%3E%3Ccircle cx='8' cy='2.3' r='0.7'/%3E%3Cpath d='M6 8.6v0.9M10 8.6v0.9M6.3 11.3h3.4M1.2 8.4v2M14.8 8.4v2'/%3E%3C/svg%3E"); }

/* the swap on an issuer-listed Base token (app.js swapBox): the one filled button in a passport */
.swapbox { margin-top: 10px; }
.btn.swap { display: inline-flex; align-items: center; padding: 7px 14px; border-color: var(--accent); background: var(--accent); color: var(--on-accent); font: 600 13.5px/1.2 var(--sans); }
.btn.swap:hover { border-color: var(--accent); color: var(--on-accent); filter: brightness(1.12); }
.swap-note { margin-top: 6px; font-size: 12px; }
