.brix-story{padding:70px 0 76px}
.brix-story .eyebrow{color:var(--accent);font-size:12px;font-weight:650;margin:0 0 18px}
.brix-story h2{font-size:clamp(29px,3.8vw,46px);line-height:1.3;letter-spacing:-.04em;word-break:keep-all;scroll-margin-top:110px}
.brix-story h2 em{font-style:normal;color:var(--accent)}
.brix-story p{color:#bfc9c4;line-height:1.8;word-break:keep-all}
.brix-story .story-heading>p:last-child{margin-top:22px;font-size:17px}
.brix-story .demo-stage{display:grid;grid-template-columns:300px minmax(0,1fr);margin-top:34px;border:1px solid #38403c;border-radius:12px;overflow:hidden;background:#101713}
.brix-story .demo-side{padding:28px 24px}
.brix-story .demo-explanation{margin:0 0 28px;min-height:165px;font-size:18px;line-height:1.65;letter-spacing:-.02em;word-break:keep-all;color:#f6faf7;white-space:pre-line}
.brix-story .demo-controls{display:grid;gap:10px}
.brix-story button{font:inherit;cursor:pointer}
.brix-story .demo-controls button{display:grid;grid-template-columns:25px 1fr;gap:5px 8px;text-align:left;padding:15px 12px;background:transparent;color:#bfc9c4;border:1px solid transparent;border-radius:6px}
.brix-story .demo-controls button[aria-pressed="true"]{background:#30202e;border-color:#88467b;color:#fff}
.brix-story .demo-controls button:hover{border-color:var(--accent)}
.brix-story .demo-controls span{grid-row:1 / 3;font-size:12px;color:var(--accent);padding-top:2px}
.brix-story .demo-controls b{font-size:15px;font-weight:600}
.brix-story .demo-controls small{grid-column:2;font-size:11px;line-height:1.6}
.brix-story .example-link{display:inline-block;color:var(--accent);font-size:13px;margin-top:24px}
.brix-story .demo-view{margin:0;min-width:0;background:#202020;border-left:1px solid #38403c}
.brix-story .demo-toolbar{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#171c19;font-size:12px;color:#c8d0cc;min-height:49px}
.brix-story .demo-toolbar button{padding:5px 10px;border:1px solid #66716b;color:#fff;background:transparent;border-radius:4px;font-size:11px}
.brix-story .demo-view img{display:block;width:100%;height:430px;object-fit:contain}
.brix-story figcaption{padding:12px 18px;font-size:11px;line-height:1.7;color:#b5beb9;background:#171c19}
.brix-story .web-example{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;padding:26px 0}
.brix-story .web-example h3{font-size:19px;margin-bottom:8px}
.brix-story .web-example p{margin:0;font-size:14px;max-width:65ch}
.brix-story .web-example a{color:var(--accent);font-size:13px;max-width:28ch;line-height:1.7;word-break:keep-all}
.brix-story .reasons{padding-top:54px;margin-top:22px;border-top:1px solid #303b34}
.brix-story .adoption-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;margin-top:32px}
.brix-story .free-runtime{padding:34px;background:#19151b;border:1px solid #493449;border-radius:10px;color:#f2eaf0}
.brix-story .free-runtime p{color:#c7bbc5}
.brix-story .free-runtime .fee-label{font-size:12px;font-weight:650;margin:0 0 18px;color:#efb5e2}
.brix-story .free-runtime h3{font-size:29px;line-height:1.4;letter-spacing:-.03em;word-break:keep-all}
.brix-story .free-runtime h3+p{margin-top:18px;font-size:14px}
.brix-story .free-runtime a{display:inline-block;background:#302331;border:1px solid #6b4a66;color:#f4daed;padding:12px 17px;border-radius:5px;margin-top:25px;font-size:13px}
.brix-story .free-runtime a:hover{background:#413044;border-color:#b77aa9}
.brix-story .free-runtime small{display:block;font-size:11px;color:#b1a2ad;margin-top:20px;line-height:1.6}
.brix-story .install-runtime{padding:32px;min-width:0;background:#111b15;border:1px solid #344239;border-radius:10px}
.brix-story .install-runtime h3{font-size:29px;line-height:1.4;letter-spacing:-.03em;word-break:keep-all}
.brix-story .install-runtime>p:not(.eyebrow){font-size:14px;margin-top:18px}
.brix-story .install-terminal{margin:25px 0 20px;background:#050b07;border:1px solid #3b4840;border-radius:6px;overflow:hidden}
.brix-story .terminal-head{padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #28372d;color:#bdc9c1;font-size:10px}
.brix-story .terminal-head button{background:#25332a;border:1px solid #506457;color:#fff;padding:7px 9px;border-radius:4px;font-size:11px;flex-shrink:0}
.brix-story pre{margin:0;padding:18px 16px;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 Consolas,monospace;color:#e4eee8;user-select:all}
.brix-story #copy-status:not(:empty){display:block;padding:0 16px 12px;font-size:12px;color:#ccecd7}
.brix-story .install-runtime>a{display:inline-block;color:#e9b9e0;font-size:12px;margin:0 18px 10px 0}
.brix-story a:focus-visible,.brix-story button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
body[data-product="senbrix"] .hero .lead{max-width:58ch;text-wrap:pretty;word-break:keep-all;overflow-wrap:break-word}
body[data-product="senbrix"] .hero h1{word-break:keep-all;text-wrap:balance}
@media(max-width:760px){
body[data-product="senbrix"] .hero h1{font-size:clamp(25px,6.7vw,38px)}
.brix-story{padding:44px 0}.brix-story .story-heading>p:last-child{font-size:15px}
.brix-story .demo-stage,.brix-story .adoption-grid,.brix-story .web-example{grid-template-columns:1fr}
.brix-story .demo-side{padding:22px 18px}.brix-story .demo-explanation{font-size:18px;min-height:150px;margin-bottom:18px}
.brix-story .demo-controls{gap:4px}.brix-story .demo-controls button{padding:10px}
.brix-story .demo-controls small{display:none}.brix-story .demo-controls span{grid-row:auto}
.brix-story .demo-view{border-left:0;border-top:1px solid #38403c}.brix-story .demo-view img{height:300px}
.brix-story .web-example{gap:16px}.brix-story .reasons{padding-top:34px}
.brix-story .free-runtime,.brix-story .install-runtime{padding:26px 22px}
}
