@font-face{font-family:BTCMono;src:url('assets/fonts/mono.woff2') format('woff2');font-display:swap;font-weight:400 700}
:root{--paper:#fff;--white:#fff;--ink:#23262a;--gold:#a45300;--yellow:#f7931a;--yellow-light:#fff4e8;--muted:#7b8289;--line:#dfe3e6;--soft-line:#eff1f3;--mono:BTCMono,'Courier New',monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:12px/1.7 var(--mono);-webkit-font-smoothing:antialiased}
button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}[hidden]{display:none!important}::selection{background:var(--yellow);color:var(--ink)}.gold{color:var(--gold)}
.app-shell{width:min(1420px,calc(100% - 96px));margin:0 auto}.skip-link{position:fixed;top:-120px;left:16px;z-index:90;padding:12px 18px;background:var(--ink);color:var(--white)}.skip-link:focus{top:16px}
/* Open command output, with no surrounding window or dashboard frame. */
.site-header{min-height:102px;display:flex;align-items:center;gap:34px}
.brand{display:inline-flex;align-items:center;flex:none;text-decoration:none;line-height:1}
.preview-brand{display:inline-block;font-size:27px;font-weight:500;letter-spacing:-1.8px;background:none;padding:0}
.brand-mark{color:var(--yellow);font-size:28px}.brand-cursor{color:var(--yellow)}
.header-path{color:var(--muted);font-size:10px}.header-actions{display:flex;gap:25px;margin-left:auto}
.header-actions button{border:0;padding:8px 0;background:transparent;color:#606972;font-size:10px}.header-actions button:hover{color:var(--gold)}
.terminal-shell{min-width:0;background:var(--paper)}
.shell-titlebar{display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 0 12px;font-size:9px;color:var(--muted)}
.window-indicator{display:block;width:4px;height:4px;background:var(--yellow);flex:none}
.shell-mode{margin-left:auto;font-size:8px;letter-spacing:.03em}.shell-mode>span{padding:0 10px;color:#b1b7bc}
.shell-nav{display:flex;align-items:stretch;min-width:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.terminal-tabs{display:flex;align-items:stretch;gap:26px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d1d7db #fff}
.terminal-tabs button{position:relative;flex:none;display:inline-flex;align-items:center;gap:10px;min-height:55px;padding:11px 0;border:0;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap;transition:color .15s ease}
.terminal-tabs button::before{content:attr(data-step);font-size:8px;color:#9da5ab}
.terminal-tabs button::after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:transparent}
.terminal-tabs button.is-active{color:var(--ink)}.terminal-tabs button.is-active::before{color:var(--gold)}.terminal-tabs button.is-active::after{background:var(--yellow)}.terminal-tabs button:hover{color:var(--ink)}
.config-toggle{flex:none;padding:0 0 0 24px;margin-left:28px;border:0;background:transparent;color:var(--muted);font-size:10px}.config-toggle:hover{color:var(--gold)}
.session-layout{display:block;min-width:0}.terminal-main{min-width:0;padding:0}
.terminal-view{width:min(100%,960px);min-height:430px;margin:0 auto;padding:47px 0 36px}
/* The opening has expressive typography and one wide technical drawing. */
.terminal-view.home-view{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:55px;width:100%;min-height:520px;padding:43px 0 38px}
.home-copy{min-width:0;align-self:center}.code-caption{margin:0 0 28px;color:var(--muted);font-size:10px}.code-caption>.gold{margin-right:9px}
.terminal-banner{margin:0 0 25px}.terminal-banner h1{margin:0;background:none;padding:0;font-size:clamp(54px,5.2vw,72px);line-height:1.07;font-weight:500;letter-spacing:-.072em}
.terminal-banner h1 span{color:var(--yellow)}.terminal-banner p{margin:19px 0 0;font-size:9px;color:var(--muted);letter-spacing:.12em}
.terminal-description{max-width:57ch;margin:0 0 25px;color:#626b73;font-size:15px;line-height:1.85;font-weight:400}
.home-copy .terminal-description{max-width:35ch;font-size:16px;line-height:1.7;margin-bottom:25px;letter-spacing:-.045em}
.terminal-kv{margin:0 0 24px;font-size:11px}.terminal-kv>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;padding:7px 0}
.terminal-kv dt{color:var(--muted)}.terminal-kv dd{margin:0;overflow-wrap:anywhere}
.home-copy .terminal-kv{max-width:43ch;font-size:10px}.home-copy .terminal-kv>div{padding:4px 0}.state-label{color:var(--gold)}
.terminal-note{max-width:80ch;margin:18px 0 0;color:var(--muted);font-size:10px;line-height:1.9}.home-copy .terminal-note{max-width:57ch;font-size:9px}
.overview-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:27px 0 25px}
.shell-button{min-height:41px;padding:9px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font-size:10px;text-align:center;transition:color .15s,background-color .15s,border-color .15s}
.shell-button:hover{color:var(--gold);border-color:var(--yellow)}.gold-button{border:1px solid var(--ink);border-radius:3px;padding:11px 19px;background:var(--ink);color:var(--white)}
.gold-button:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.shell-button:disabled{cursor:default;opacity:.35}
.overview-actions .shell-button{min-height:47px;font-size:10px}.overview-actions .shell-button:not(.gold-button){border-color:transparent}.overview-actions .shell-button:not(.gold-button):hover{border-color:var(--yellow)}
.diagram-pane{min-width:0;padding:0;align-self:center}
.pane-label{display:flex;justify-content:space-between;gap:15px;padding:0 0 15px;color:var(--muted);font-size:9px}.pane-label>span:last-child{color:var(--gold)}
.schema-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 0;font-size:8px;color:var(--muted)}.schema-bottom strong{color:var(--ink);font-weight:400}
.ascii-bars{color:var(--yellow);font-size:12px;line-height:1;letter-spacing:1px;animation:bars-glow 4s steps(3,end) infinite}
.diagram-footnote{margin:0;padding:12px 0 0;font-size:9px;color:var(--muted);line-height:1.8}
/* Every command opens its own readable output page. */
.module-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:62px;align-items:start}.module-layout>*{min-width:0}.module-layout .module-copy{max-width:47ch}
.module-label{color:var(--gold);font-size:9px;letter-spacing:.06em;margin:0 0 16px}
.output-title{margin:0 0 28px;font-size:26px;font-weight:400;line-height:1.35;letter-spacing:-.06em}
.result-kv{margin:22px 0;font-size:13px}.result-kv>div{padding:12px 0;border-bottom:1px solid var(--soft-line)}.result-kv dd{font-weight:500}.result-kv output{color:var(--gold);font-size:23px;letter-spacing:-.05em}
.formula{margin:27px 0;color:#626b73;font:11px/1.9 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}
.proof-actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:24px}.proof-kv{font-size:11px}.proof-kv>div{padding:11px 0;border-bottom:1px solid var(--soft-line)}
.proof-message{color:var(--muted);font-size:10px;line-height:1.8;margin:18px 0}
.source-row{display:flex;gap:25px;margin:0 0 24px;font-size:12px}.source-row>span{flex:none;color:var(--gold);font-size:9px;line-height:24px}.source-row>div{min-width:0}
.source-row a{text-decoration-thickness:1px;text-decoration-color:#c9cfd4;text-underline-offset:5px}.source-row a:hover{color:var(--gold);text-decoration-color:var(--yellow)}.source-row p{margin:5px 0 0;color:var(--muted);font-size:10px}
/* A shallow full-width log and a live prompt complete the terminal session. */
.console-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 12px;margin:0;border-top:1px solid var(--line);color:var(--muted);font-size:8px;letter-spacing:.04em}
.console-history{min-height:60px;max-height:140px;padding:0 0 12px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d6dde1 #fff}
.console-entry{margin:0 0 13px}.console-command{display:flex;gap:9px;margin:0 0 5px;font-size:10px;overflow-wrap:anywhere}
.console-output{margin:0;color:#67717a;font:10px/1.9 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.console-output.is-result{color:var(--gold)}.console-output.is-error{color:#b23c32}
.command-bar{display:flex;align-items:center;gap:16px;min-height:60px;padding:9px 0;border-bottom:1px solid var(--yellow)}
.command-bar label{display:inline-flex;gap:4px;flex:none;font-size:12px}.prompt-user{font-weight:500}.prompt-path{color:var(--muted)}.prompt-symbol{color:var(--yellow);margin-left:9px}
.command-bar input{flex:1;width:100%;min-width:0;border:0;padding:8px 0;background:transparent;color:var(--ink);outline:none;font-size:13px}
.command-bar input::placeholder{color:#9aa1a7;font-size:11px}.command-bar:focus-within{border-bottom-width:2px}
.command-bar button{flex:none;background:transparent;border:0;padding:9px 0 9px 14px;font-size:9px;color:var(--gold)}.command-bar button:hover{color:var(--ink)}
.command-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;color:var(--muted);font-size:8px}.command-hint>span{display:flex;align-items:center;gap:8px}kbd{font:inherit}
.cursor{display:block;width:4px;height:8px;background:var(--yellow);animation:cursor-blink 1.1s steps(1) infinite}
.config-panel{border-top:1px solid var(--soft-line);border-bottom:1px solid var(--soft-line)}
.config-panel summary{cursor:pointer;list-style:none;padding:16px 0;font-size:10px}.config-panel summary::-webkit-details-marker{display:none}.config-panel summary::before{content:'+';color:var(--gold);margin-right:14px}.config-panel[open] summary::before{content:'−'}
.config-panel summary>span{margin-left:14px;color:var(--muted);font-size:9px}
.config-panel form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;padding:12px 0 28px}.config-field{min-width:0}
.config-field label,.field-label{display:block;font-size:10px;margin-bottom:10px;overflow-wrap:anywhere}
.input-wrap{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;border-bottom:1px solid var(--line)}.input-wrap:focus-within{border-color:var(--yellow)}
.input-wrap input{width:100%;min-width:0;border:0;outline:0;padding:0;color:var(--ink);background:transparent;font-size:16px}.input-wrap>span{font-size:10px;color:var(--muted)}
input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.field-help{margin:9px 0 0;color:var(--muted);font-size:9px}
#volume-range{display:block;width:100%;height:4px;margin:14px 0 0;accent-color:var(--yellow)}
.segmented{display:flex;align-items:stretch;gap:14px}.segmented button{width:50%;min-height:44px;border:0;border-bottom:1px solid var(--line);background:transparent;font-size:10px;color:var(--muted)}.segmented button.is-active{border-bottom-color:var(--yellow);color:var(--ink)}
.config-actions{grid-column:1/-1;display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding-top:8px}.config-actions>span{margin-left:auto;color:var(--muted);font-size:9px}
.quote-strip{display:flex;align-items:center;gap:26px;flex-wrap:wrap;min-width:0;padding:18px 0}
.quote-strip h2{margin:0;color:var(--muted);font-size:9px;font-weight:400;white-space:nowrap}
.quote-strip button{display:inline-flex;align-items:center;gap:18px;min-width:0;max-width:100%;padding:0;border:0;background:transparent;text-align:left;font-size:9px}
.mint-value{min-width:0;overflow-wrap:anywhere}.copy-label{flex:none;color:var(--gold);white-space:nowrap}#copy-status{flex-basis:100%;font-size:9px;color:var(--gold)}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 0 28px;border-top:1px solid var(--line);color:var(--muted);font-size:8px}.site-footer>span:first-child{display:flex;align-items:center;gap:9px}.site-footer i{width:4px;height:4px;background:var(--yellow);flex:none}
.motion-paused *,.page-inactive *{animation-play-state:paused!important}
@keyframes cursor-blink{50%{opacity:0}}@keyframes bars-glow{50%{opacity:.45}}
@media(min-width:1500px){.terminal-view.home-view{min-height:590px;gap:78px}.home-copy .terminal-description{font-size:18px}}
@media(max-width:1120px){.app-shell{width:calc(100% - 64px)}.terminal-tabs{gap:20px}.terminal-tabs button{font-size:10px}.config-toggle{margin-left:21px;padding-left:14px}.terminal-view.home-view{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:34px;min-height:490px}.terminal-banner h1{font-size:56px}.home-copy .terminal-description{font-size:14px}.overview-actions{gap:14px}.overview-actions .shell-button{font-size:9px}.gold-button{padding-inline:14px}}
@media(max-width:900px){.app-shell{width:calc(100% - 44px)}.site-header{min-height:84px;gap:25px}.header-path{font-size:8px}.header-actions{gap:18px}.header-actions button{font-size:9px}.terminal-view.home-view{gap:28px;padding:35px 0}.terminal-banner h1{font-size:47px}.terminal-banner{margin-bottom:20px}.home-copy .terminal-description{font-size:12px}.home-copy .terminal-kv{font-size:9px}.home-copy .terminal-kv>div{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:8px}.overview-actions{align-items:flex-start;gap:7px 15px}.overview-actions .shell-button{min-height:40px}.module-layout{gap:40px}.config-panel form{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.quote-strip{gap:12px 24px}}
@media(max-width:700px){.app-shell{width:calc(100% - 36px)}.site-header{gap:16px;min-height:76px}.preview-brand{font-size:25px}.header-path{display:none}.header-actions{gap:16px}.header-actions button{font-size:8px}.shell-titlebar{font-size:8px}.shell-mode{font-size:7px}.shell-mode>span{padding-inline:5px}.terminal-tabs{gap:24px}.terminal-tabs button{min-height:50px;font-size:10px;gap:6px}.config-toggle{margin-left:15px;padding-left:10px;font-size:9px}.terminal-view{padding:35px 0 29px;min-height:390px}.terminal-view.home-view{grid-template-columns:minmax(0,1fr);min-height:0;gap:34px;padding-top:35px;padding-bottom:31px}.home-copy{max-width:470px}.code-caption{margin-bottom:23px;font-size:9px}.terminal-banner h1{font-size:clamp(39px,8.5vw,58px)}.terminal-banner p{font-size:8px}.home-copy .terminal-description{font-size:14px}.home-copy .terminal-kv{font-size:10px}.home-copy .terminal-kv>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px}.home-copy .terminal-note{max-width:57ch;font-size:9px}.overview-actions{gap:16px;margin:23px 0 18px}.diagram-pane{width:100%;max-width:580px;margin:auto}.output-title{font-size:23px}.terminal-description{font-size:13px}.terminal-kv{font-size:10px}.terminal-kv>div{gap:12px}.result-kv{font-size:11px}.result-kv output{font-size:19px}.module-layout{grid-template-columns:minmax(0,1fr);gap:26px}.proof-actions{gap:20px}.source-row{gap:18px;font-size:11px}.console-heading{padding-top:14px}.console-history{min-height:60px;max-height:130px}.console-command,.console-output{font-size:9px}.command-bar{flex-wrap:wrap;gap:0 10px;padding:8px 0}.command-bar label{font-size:10px}.command-bar input{font-size:16px;min-width:70px;flex-basis:calc(100% - 140px)}.command-bar input::placeholder{font-size:10px}.command-bar button{margin-left:auto;padding-block:6px}.command-hint{font-size:7px;gap:8px}.command-hint>span{gap:5px}.config-panel summary{font-size:9px}.config-panel summary>span{font-size:8px}.config-field label,.field-label{font-size:9px}.config-panel form{gap:18px}.config-actions{gap:15px}.config-actions>span{margin-left:0}.quote-strip{gap:8px;padding-block:17px}.quote-strip button{width:100%;justify-content:space-between;gap:16px;font-size:8px}.site-footer{align-items:flex-start;font-size:7px;gap:18px;padding-bottom:20px}.site-footer>span:last-child{text-align:right}}
@media(max-width:370px){.app-shell{width:calc(100% - 28px)}.header-actions{gap:12px}.header-actions button{font-size:7px}.shell-mode{max-width:132px;font-size:6px;text-align:right}.shell-mode>span{padding-inline:2px}.terminal-banner h1{font-size:39px}.home-copy .terminal-description{font-size:12px}.terminal-tabs{gap:20px}.terminal-tabs button{font-size:9px}.config-toggle{margin-left:12px;font-size:8px}.overview-actions{gap:6px 14px}.overview-actions .shell-button{font-size:9px}.terminal-kv>div{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.command-bar input{flex-basis:calc(100% - 122px)}.command-bar label{font-size:9px}.proof-kv{font-size:9px}.config-panel form{gap:16px}.field-help{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.btc-schema-v2{--btc-schema-orange:#f7931a;margin:0;min-width:0;background:#fff;color:#23262a;font-family:inherit;overflow:hidden}.btc-schema-v2 .btc-schema-chrome{min-height:35px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5e8ea;padding:0 5px;font-size:9px;letter-spacing:.03em}.btc-schema-v2 .btc-schema-mode{display:flex;align-items:center;gap:7px;color:#727a82;font-size:8px}.btc-schema-v2 .btc-schema-mode i{display:block;width:5px;height:5px;background:#f7931a}.btc-schema-v2 .btc-schema-svg{display:block;width:100%;height:auto;aspect-ratio:640/390;background:#fff;font-family:inherit}.btc-schema-v2 .btc-schema-grid{opacity:.19}
.btc-schema-v2-meta text{font-size:8px;letter-spacing:.08em;fill:#68727c}.btc-schema-v2-frame{fill:none;stroke:#b4bcc3;stroke-width:.8}.btc-schema-v2-bytecolumns text{font-size:8.5px;fill:#b0b8c0;letter-spacing:.02em}.btc-schema-v2-bytecolumns text:nth-child(3n){fill:#8d959c}.btc-schema-v2-circuit{fill:none;stroke:#a6b0b9;stroke-width:1}.btc-schema-v2-wire-secondary{stroke:#d0d6db;stroke-dasharray:2 4}.btc-schema-v2-wire-cross{stroke:#ced4d9}.btc-schema-v2-gates rect{fill:#fff;stroke:#a7b3bc;stroke-width:1}.btc-schema-v2-gates text{font-size:10px;fill:#596773}.btc-schema-v2-gates circle{fill:#f7931a}
.btc-schema-v2-pulse{fill:none;stroke:#f7931a;stroke-width:2.5;stroke-dasharray:14 586;animation:btc-schema-v2-flow 7.5s linear infinite}.btc-schema-v2-pulse-b{animation-delay:-2.5s}.btc-schema-v2-pulse-c{animation-delay:-5s}.btc-schema-v2-chip-outer{fill:#fff7ed;stroke:#f7931a;stroke-width:1.15}.btc-schema-v2-chip-inner{fill:#fff;stroke:#daa46b;stroke-width:.8}.btc-schema-v2-chip-pins{fill:none;stroke:#da7c12;stroke-width:3}.btc-schema-v2-chip-command{font-size:14px;letter-spacing:-.03em;fill:#23262a}.btc-schema-v2-chip-rule{fill:none;stroke:#e3e6e8;stroke-width:1}.btc-schema-v2-chip-bytes text{font-size:11px;fill:#596571;letter-spacing:.03em}.btc-schema-v2-bit-highlights rect{fill:#f7931a;opacity:.3;animation:btc-schema-v2-bits 4s steps(2,end) infinite}.btc-schema-v2-bit-highlights rect:nth-child(2){animation-delay:-1s}.btc-schema-v2-bit-highlights rect:nth-child(3){animation-delay:-2s}.btc-schema-v2-bit-highlights rect:nth-child(4){animation-delay:-3s}.btc-schema-v2-chip-scan{fill:none;stroke:#f7931a;stroke-width:1;opacity:.4;animation:btc-schema-v2-scan 5s ease-in-out infinite}.btc-schema-v2-cursor{fill:#f7931a;animation:btc-schema-v2-cursor 1.15s steps(1,end) infinite}
.btc-schema-v2 .btc-schema-endpoints text{font-size:10px;fill:#8d4b00;letter-spacing:.05em}.btc-schema-v2 .btc-schema-labels text{font-size:8px;fill:#74808b;letter-spacing:.04em}.btc-schema-v2 .btc-schema-labels .btc-schema-main-label{font-size:9px;fill:#323c45;letter-spacing:.14em}.btc-schema-v2-qubit-tags text{font-size:10px;fill:#8996a2}.btc-schema-v2 figcaption{display:flex;align-items:center;gap:7px;padding:9px 5px;border-top:1px solid #e5e8ea;color:#68737c;font-size:9px}.btc-schema-v2 .btc-schema-caption-dot{width:4px;height:4px;background:#f7931a;flex:none}.btc-schema-v2.is-proof .btc-schema-v2-chip-outer{fill:#fff2df}.btc-schema-v2.is-tampered .btc-schema-v2-chip-outer{stroke:#bb514a}.btc-schema-v2.is-tampered .btc-schema-v2-cursor{fill:#bb514a}
.motion-paused .btc-schema-v2 *,.page-inactive .btc-schema-v2 *,.btc-schema-v2.is-paused *{animation-play-state:paused!important}@keyframes btc-schema-v2-flow{to{stroke-dashoffset:-600}}@keyframes btc-schema-v2-bits{50%{opacity:.75}}@keyframes btc-schema-v2-scan{0%,100%{transform:translateY(1px);opacity:.05}50%{transform:translateY(69px);opacity:.5}}@keyframes btc-schema-v2-cursor{50%{opacity:0}}
@media(max-width:480px){.btc-schema-v2 .btc-schema-chrome{font-size:8px}.btc-schema-v2 .btc-schema-endpoints text{font-size:15px;letter-spacing:0}.btc-schema-v2 .btc-schema-labels text{font-size:12px;letter-spacing:0}.btc-schema-v2 .btc-schema-labels .btc-schema-main-label{font-size:13px;letter-spacing:.05em}.btc-schema-v2-chip-command{font-size:14px}.btc-schema-v2-meta text{font-size:10px;letter-spacing:0}.btc-schema-v2-bytecolumns{opacity:.55}.btc-schema-v2-qubit-tags text{font-size:12px}}
@media(prefers-reduced-motion:reduce){.btc-schema-v2 *{animation:none!important}.btc-schema-v2-chip-scan{display:none}.btc-schema-v2-pulse{stroke-dasharray:14 170}}
