/* Burner architecture: the approved palette and type, organized around a trade's path. */
.story-page .container{max-width:1160px}
.story-page h2{font-size:clamp(30px,3.1vw,44px);line-height:1.12;letter-spacing:-.045em}
.story-page h3{letter-spacing:-.025em}
.story-page p{line-height:1.7}
.story-page .hero{min-height:0;padding-block:58px 54px;gap:36px;grid-template-columns:1.25fr .75fr}
.story-page .hero h1{font-size:clamp(44px,4.5vw,68px);margin-top:26px}
.story-page .hero-description{max-width:35ch;font-size:19px;margin-top:24px}
.story-page .hero-art{max-width:340px;justify-self:end}
.story-page .hero-art img{width:100%;height:auto;border-radius:22px}
.story-page .hero .preview-status{margin-top:20px;font-size:12px;color:var(--muted)}
.section-kicker{font-size:13px;color:var(--purple);margin-bottom:16px}
.story-heading{display:grid;grid-template-columns:1.15fr 1fr;align-items:end;gap:44px;margin-bottom:32px}
.story-heading>p{max-width:45ch;color:var(--muted);font-size:16px}
.mechanism{border-top:1px solid var(--line);padding-block:48px 52px}
.mechanism-switch{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.mechanism-switch button{border:1px solid var(--line);border-radius:7px;background:transparent;padding:10px 20px;min-height:44px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer}
.mechanism-switch button[aria-pressed=true]{background:var(--purple);color:white;border-color:var(--purple)}
.mechanism-switch>span{font-size:12px;color:var(--muted);margin-left:auto}
.trade-path{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--line)}
.trade-path>li{position:relative;padding:22px 20px 20px;display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line)}
.trade-path>li:first-child{padding-left:0}.trade-path>li:last-child{border-right:0;padding-right:0}
.path-index{font-size:12px;color:var(--muted)}
.path-art{height:112px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;position:relative}
.path-art:before{content:'';position:absolute;left:0;right:0;top:50%;border-top:1px solid #c7b6da;z-index:0}
.path-art span,.path-art i{position:relative;z-index:1;background:var(--cream,#fff5e9);font-style:normal}
.path-art>span{padding:9px 7px;border:1px solid #c7b6da;border-radius:5px}
.path-art .note-symbol{background:#eee8fa;border-color:#b68fe7;color:#5900ed;box-shadow:3px 3px 0 #e1d3f5}
.path-art .proof-symbol{border-style:dashed;color:#5900ed}
.path-art .pool-core{border-radius:50%;width:58px;height:58px;display:grid;place-items:center;color:white;background:#5900ed;border:0}
.trade-path h3{font-size:21px;line-height:1.25;margin:0 0 14px}
.trade-path p{font-size:14px;color:var(--muted);margin:0 0 20px;flex:1}
.path-boundary{font-size:11px;color:var(--muted);border-top:2px solid #b7a9bd;padding-top:12px}
.private-boundary{color:#5900ed;border-color:#5900ed}
.mechanism-foot{display:flex;gap:24px;justify-content:space-between;align-items:baseline;margin-top:20px;font-size:13px}
.mechanism-foot p{color:var(--muted)}.mechanism-foot a{flex-shrink:0;font-weight:600}
.visibility-section{background:#eee8fa;padding:48px 0;margin-block:12px 16px}
.visibility-layout{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.visibility-intro>p:not(.section-kicker){max-width:42ch;color:#62536f;margin-top:22px}
.observer-ledger{border-top:2px solid #5900ed}
.observer-head{display:flex;gap:12px;justify-content:space-between;align-items:baseline;padding-top:20px}
.observer-head h3{font-size:20px}.observer-head span{font-size:12px;color:#62536f}
.observer-ledger ul{list-style:none;padding:8px 0 20px;margin:0}
.observer-ledger li{padding:10px 0;border-bottom:1px solid #d9cde7;font-size:14px}
.public-head{border-top:2px solid #9c8ca9}
.observer-link{display:inline-block;padding-top:6px;font-size:13px;font-weight:600}
.routing-section,.technical-section{padding-block:48px}
.route-comparison{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid var(--line)}
.route-comparison article{padding:26px 28px 26px 0}.route-comparison article+article{padding-left:28px;border-left:1px solid var(--line);padding-right:0}
.route-comparison h3{font-size:22px;margin:0 0 20px}
.route-line{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--purple);font-size:14px;font-weight:600;min-height:48px}
.route-line b{font-weight:400}.route-line span{max-width:20ch}
.route-comparison p{font-size:15px;color:var(--muted);max-width:48ch}
.section-note{font-size:13px;color:var(--muted);margin-top:20px;max-width:85ch;line-height:1.7}
.story-page .product-section{padding-block:34px 48px;border-top:1px solid var(--line)}
.story-page .product-demo{max-width:100%;margin-top:26px}
.story-page .mini-chart{height:180px}
.story-page .mini-content{padding:16px 20px}
.progress-section{display:grid;grid-template-columns:1fr 1fr;gap:24px 72px;padding-block:48px;border-block:1px solid var(--line)}
.progress-section>div>p:not(.section-kicker){max-width:45ch;margin:20px 0;color:var(--muted)}
.status-ledger{margin:0}.status-ledger>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0;font-size:14px;line-height:1.5}
.status-ledger dd{margin:0;text-align:right;color:#5900ed;font-weight:600}
.status-date{grid-column:1/-1;font-size:12px;color:var(--muted)}
.story-page .faq{padding-block:48px}.story-page .closing{padding-block:30px}
.story-intro{padding-block:52px 38px}.story-intro h1{font-size:clamp(38px,4.5vw,60px);line-height:1.12;letter-spacing:-.045em;font-weight:700}
.story-intro>p:not(.section-kicker){font-size:18px;max-width:60ch;margin-top:24px;color:var(--muted)}
.story-anchors{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px;font-size:14px}
.story-anchors a{min-height:36px;display:flex;align-items:center;border-bottom:1px solid var(--line)}
.technical-copy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.technical-copy h3{font-size:21px;margin:0 0 16px}.technical-copy p{font-size:15px;color:var(--muted)}
.technical-detail{border-block:1px solid var(--line);margin-top:30px;padding:18px 0}.technical-detail summary{cursor:pointer;font-weight:600;min-height:32px}.technical-detail p{margin:16px 0;max-width:85ch;font-size:15px;color:var(--muted)}
.table-scroll{overflow-x:auto}.story-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.65;text-align:left}.story-table caption{text-align:left;color:var(--muted);font-size:13px;padding-bottom:16px}.story-table th,.story-table td{padding:18px 20px 18px 0;border-bottom:1px solid var(--line);vertical-align:top}.story-table th{font-weight:600}.story-table thead{color:var(--purple)}.story-table th:first-child{min-width:130px}
.release-notice{border-left:3px solid #5900ed;background:#eee8fa;padding:20px 24px;margin-bottom:30px}.release-notice p{margin-top:6px;max-width:78ch;font-size:15px}
.capability{display:grid;grid-template-columns:1fr 1.5fr;gap:50px;padding:30px 0;border-bottom:1px solid var(--line)}
.capability h2{font-size:24px}.capability-state{display:inline-block;margin-top:14px;font-size:13px;color:var(--purple)}.capability h3{font-size:14px;margin:0 0 8px}.capability p{font-size:15px;color:var(--muted)}.capability p+h3{margin-top:20px}
.release-gates{padding-left:22px;max-width:75ch;margin:24px 0 30px}.release-gates li{padding:7px 0;line-height:1.6}
.story-page .site-footer{flex-wrap:wrap;gap:20px}.story-page .site-footer nav{flex-wrap:wrap;gap:20px}
.context-note{font-size:13px;line-height:1.7;color:var(--muted);padding:16px 0;border-top:1px solid var(--line);margin-top:22px;max-width:75ch}
.account-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}.account-map>div{border-top:2px solid #d5c2ee;padding-top:14px}.account-map h3{font-size:16px}.account-map p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:8px}
.guide-index{align-self:start}.guide-index a{line-height:1.4}.guide-main .story-table{font-size:14px}.guide-content .guide-callout{line-height:1.7}
/* Fewer terminal layers: categories live in the existing market picker. */
.market-browse{display:none}.trading-navigation{margin-bottom:16px}.pair-select:after{content:'Browse';font-size:11px;color:var(--purple);margin-left:auto;margin-right:10px}.market-toolbar .pair-select>svg{flex-shrink:0}
.market-metrics{border-block:1px solid var(--line)}.market-metrics summary{padding:10px 18px;font-size:12px;color:var(--muted);cursor:pointer}.market-metrics .terminal-stats{border:0}
#order-sheet .ticket-submit{position:sticky;bottom:0;background:#fffaf3;padding-block:10px 0;z-index:2}
#order-sheet .ticket-body{min-height:0}.ticket-context{display:block;font-size:12px;line-height:1.6;margin:12px 0 0;color:var(--muted)}
@media(min-width:1001px){.market-metrics summary{display:none}.market-metrics:not([open])>.terminal-stats{display:grid}.sidebar nav{gap:3px}.sidebar>.wordmark{margin-bottom:24px}.sidebar nav a{font-size:13px}}
@media(max-width:1100px){.trade-path{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-path>li{padding:22px!important;border-bottom:1px solid var(--line)}.trade-path>li:nth-child(2){border-right:0}.trade-path>li:nth-child(n+3){border-bottom:0}.visibility-layout{gap:32px}.progress-section{gap:24px 36px}}
@media(max-width:650px){
 .story-page .hero{padding-block:30px 26px;gap:18px;grid-template-columns:1fr;position:relative}
 .story-page .hero h1{font-size:42px;margin-top:24px;letter-spacing:-.055em}.story-page .hero-description{font-size:17px;max-width:32ch;margin-top:18px}
 .story-page .hero-art{max-width:105px;margin:0;position:absolute;right:20px;top:20px;opacity:1}.story-page .hero-art img{border-radius:14px}.story-page .ecosystem-link{max-width:190px;font-size:12px;min-height:100px;align-items:flex-start;padding-top:12px}.story-page .ecosystem-link img{width:22px;height:22px}.story-page .hero h1{margin-top:0}
 .story-page .hero-actions{gap:18px;flex-wrap:wrap}.story-page .hero-actions .button{padding-inline:16px}.story-page .hero-actions .text-link{font-size:13px}.story-page .hero .preview-status{font-size:12px;max-width:34ch}
 .story-heading,.visibility-layout,.route-comparison,.progress-section,.technical-copy,.capability{grid-template-columns:1fr;gap:22px}.story-heading{margin-bottom:24px}.story-heading>p{font-size:15px}
 .mechanism,.routing-section,.technical-section{padding-block:32px}.story-page h2{font-size:30px}.mechanism-switch>span{margin:6px 0 0;flex-basis:100%;font-size:11px}
 .trade-path{grid-template-columns:1fr;border:0}.trade-path>li{padding:20px 0 20px 24px!important;border:0!important;border-left:2px solid #d5c2ee!important;display:grid;grid-template-columns:1fr 100px;gap:8px 12px}.trade-path>li:before{content:'';position:absolute;left:-5px;top:25px;width:8px;height:8px;background:#5900ed;border-radius:50%}.path-index{grid-column:1}.path-art{grid-column:2;grid-row:1/3;height:75px;gap:4px;font-size:10px}.path-art>span{padding:7px 4px}.path-art .pool-core{width:38px;height:38px}.pool-art{gap:2px}.trade-path h3{grid-column:1;font-size:21px}.trade-path p{grid-column:1/-1;font-size:14px;margin:4px 0 8px}.path-boundary{grid-column:1/-1;width:fit-content;padding-top:8px}.mechanism-foot{display:block;font-size:12px}.mechanism-foot a{display:inline-block;margin-top:12px}
 .visibility-section{padding-block:32px}.visibility-intro h2 br{display:none}.observer-head{flex-wrap:wrap;gap:4px}.observer-head h3{font-size:19px}.observer-ledger li{font-size:14px}
 .route-comparison article,.route-comparison article+article{padding:22px 0;border-left:0}.route-comparison article+article{border-top:1px solid var(--line)}.route-line{font-size:13px;gap:14px}.route-comparison p{font-size:14px}
 .story-page .product-section{padding-block:30px}.story-page .mini-chart{height:160px}.story-page .mini-content{padding:14px}.story-page .preview-cta{gap:12px}.story-page .preview-cta .button{padding-inline:12px;font-size:12px}.story-page .preview-cta p{font-size:12px}
 .progress-section{padding-block:32px}.status-ledger>div{font-size:13px;gap:12px}.status-ledger dd{max-width:18ch}.status-date{font-size:11px}.story-page .faq{padding-block:32px}.story-page .faq-list{margin-top:0}
 .story-intro{padding-block:32px}.story-intro h1{font-size:38px}.story-intro>p:not(.section-kicker){font-size:16px}.story-anchors{gap:6px 18px;font-size:13px}.technical-copy h3{font-size:20px}.technical-copy article+article{border-top:1px solid var(--line);padding-top:22px}
 .story-table th,.story-table td{padding:12px 12px 12px 0}.story-table{font-size:13px;min-width:570px}.story-table caption{white-space:normal}.table-scroll{border-right:1px solid var(--line)}
 .capability{padding-block:24px;gap:18px}.capability h2{font-size:23px}.release-notice{padding:18px}.release-gates{font-size:15px}.account-map{grid-template-columns:1fr;gap:16px}
 body[data-view=trade] .app-page-heading{margin:8px 0 12px}body[data-view=trade] .app-page-heading h1{font-size:22px}body[data-view=trade] .app-page-heading .button{min-height:36px;font-size:12px;padding:8px 12px}
 .trading-navigation{gap:8px;margin-bottom:12px!important}.quick-markets{display:none}.trading-pnl{font-size:11px}.market-toolbar{padding:10px 12px 0}.pair-select:after{font-size:10px}.price-heading{padding:6px 12px 12px}.price-heading strong{font-size:28px}.market-metrics summary{padding:10px 12px;min-height:40px}.market-metrics .terminal-stats{padding:10px 12px}.chart-controls{margin-top:6px}
 #order-sheet .order-panel{padding:16px}#order-sheet .ticket-heading{margin-bottom:12px}#order-sheet .ticket-footer{margin-top:10px}#order-sheet .ticket-full-breakdown{gap:6px}#order-sheet .ticket-submit{padding-top:8px}#order-sheet .ticket-note{margin-top:6px}#order-sheet .order-details{margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.story-page *, .story-page *:before,.story-page *:after{scroll-behavior:auto!important}}

.guide-account-list>div{padding:16px 0;border-bottom:1px solid var(--line)}.guide-account-list dt{font-weight:600}.guide-account-list dd{margin:8px 0 0;line-height:1.7;color:var(--muted)}.guide-content .fee-table{min-width:0}.fee-table th:first-child{min-width:0}

/* Keep the skip link clipped until focused, including full-document/anchor views. */
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0}
.skip:focus{clip-path:none;width:auto;height:auto;padding:12px;top:10px}

.table-scroll:focus-visible{outline:2px solid var(--purple);outline-offset:4px}

.ticket-primary-fee{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;padding:12px 0;color:var(--muted)}.ticket-primary-fee strong{color:var(--ink)}.ticket-accounting{border-top:1px solid var(--line);margin-block:6px}.ticket-accounting summary{font-size:12px;color:var(--muted);cursor:pointer;min-height:36px;padding-block:10px}.ticket-accounting .ticket-full-breakdown{padding:8px 0}.ticket-accounting[open]{padding-bottom:6px}
