/* blog pages: plain html, no runtime. header, footer and fonts mirror site/index.html */
@font-face{font-family:"Geist Mono";src:url("/assets/991a91ba4e5a4a9c5fc0b5946e8e8c81.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/assets/33b773542fa08aa0f5d9c714f16671a0.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
html{scrollbar-gutter:stable}
body{margin:0;background:#0A0F1A}
.t-root{font-family:"Geist Mono",ui-monospace,Menlo,monospace;color:#85A3B2;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;overflow:clip}
.px,p{font-family:"Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;letter-spacing:-0.01em}
h1,h2,h3{font-weight:500 !important;letter-spacing:-0.035em}
a{color:#5CE1E6;text-decoration:none}
a:hover{color:#8EEBEE;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
a:focus-visible{outline:2px solid #5CE1E6;outline-offset:4px}
.nav a{color:#85A3B2}
.nav a:hover{color:#5CE1E6;text-decoration:none}
.nav a.go[aria-current]{color:#F4F7F9}
a.go{display:inline-flex;align-items:center;gap:10px}
a.go:hover{text-decoration:none;color:#8EEBEE}
a.go .chev{transition:transform .12s steps(2)}
a.go:hover .chev{transform:translateX(5px)}
a.go:hover .chev.back{transform:scaleX(-1) translateX(5px)}
.chev.back{transform:scaleX(-1)}
a.go.gh{color:#85A3B2}
a.go.gh:hover{color:#5CE1E6}
.rg{color:#FF5C8D}

/* header and footer */
.nav-wrap{position:sticky;top:0;z-index:50;transition:background .2s,box-shadow .2s}
html[data-scrolled] .nav-wrap{background:rgba(10,15,26,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 3px 0 #22344A}
.hdr{max-width:1440px;margin:0 auto;padding:24px 64px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{color:#F4F7F9;font-size:30px;font-weight:500;letter-spacing:-0.04em;text-decoration:none;display:flex;align-items:center;gap:10px}
.nav a.logo{color:#F4F7F9}
.hdr-links{font-size:18px;font-weight:500;display:flex;align-items:center;gap:32px}
.site-foot{border-top:4px solid #22344A;background:#0D1420;margin-top:auto}
.foot{max-width:1440px;margin:0 auto;padding:20px 64px;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px}
.foot-links{display:flex;gap:24px;font-size:16px}

/* article */
.page{flex:1;box-sizing:border-box;padding:0 64px}
.post,.blog{max-width:720px;margin:0 auto;padding:88px 0 120px}
.kicker{font-size:21px;color:#5CE1E6}
.post-head{display:flex;flex-direction:column;gap:20px;padding-bottom:48px;margin-bottom:56px;border-bottom:4px solid #22344A}
.post-h1,.blog-h1{margin:0;color:#F4F7F9;font-size:64px;line-height:1.02;font-weight:600}
.lead{margin:0;color:#F4F7F9;font-size:26px;line-height:1.35}
.meta{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:#85A3B2}
.prose p,.prose li{font-size:20px;line-height:1.7;color:#85A3B2}
.prose p{margin:0 0 24px}
.prose h2{margin:72px 0 24px;color:#F4F7F9;font-size:38px;line-height:1.1}
.prose h3{margin:48px 0 16px;color:#F4F7F9;font-size:26px;line-height:1.2}
.prose h2 + h3{margin-top:32px}
.prose strong{color:#F4F7F9;font-weight:600}
.prose em{font-style:italic}
.prose a,.refs a{text-decoration:underline;text-decoration-color:#3E5A6B;text-underline-offset:4px;text-decoration-thickness:2px;transition:text-decoration-color .2s}
.prose a:hover,.refs a:hover{color:#8EEBEE;text-decoration-color:#5CE1E6}
.prose ul,.refs ul{list-style:none;margin:0 0 24px;padding:0}
.prose li,.refs li{position:relative;padding-left:32px;margin-bottom:10px;font-family:"Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;letter-spacing:-0.01em}
.prose li::before,.refs li::before{content:"";position:absolute;left:4px;top:.72em;width:8px;height:8px;background:#5CE1E6}
.prose blockquote{margin:0 0 16px;padding:2px 0 2px 24px;border-left:4px solid #5CE1E6}
.prose blockquote p{margin:0;color:#F4F7F9}
.prose code{font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:.84em;color:#F4F7F9;background:#142030;padding:2px 7px}
.code{margin:8px 0 32px;padding:24px 28px;background:#142030;box-shadow:0 -3px 0 #22344A,0 3px 0 #22344A,-3px 0 0 #22344A,3px 0 0 #22344A;overflow-x:auto;font-size:15px;line-height:1.65;color:#F4F7F9}
.code code{font-family:"Geist Mono",ui-monospace,Menlo,monospace;padding:0;background:none}
.diff code{display:block}
.diff .d{display:block;white-space:pre}
.d-add{background:rgba(92,225,230,.10)}
.d-del{background:rgba(255,92,141,.10)}
.d-m{display:inline-block;width:2ch;color:#3E5A6B;user-select:none}
.d-add .d-m{color:#5CE1E6}
.d-del .d-m{color:#FF5C8D}
.diff{font-size:14px}
.d-file,.d-file .c-dim,.d-add .c-dim{color:#85A3B2}
.fig{margin:8px 0 36px}
.art{display:flex;flex-direction:column;align-items:center;padding:8px 0}
.art figcaption{text-align:center}
.chimp{width:100%;max-width:520px;height:auto;display:block}
.fig .code{margin:0}
.fig figcaption{margin-top:12px;font-family:"Host Grotesk",system-ui,sans-serif;font-size:14px;line-height:1.5;color:#85A3B2}
.work table{width:100%;border-collapse:collapse;font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:14px}
.work th{text-align:left;font-weight:400;color:#85A3B2;padding:0 12px 10px 0;border-bottom:2px solid #22344A}
.work td{padding:9px 12px 9px 0;border-bottom:1px solid #1B2A3C;vertical-align:top}
.work tr:last-child td{border-bottom:0}
.ast{font-family:"Host Grotesk",system-ui,sans-serif;position:relative;top:-.12em}
.w-new{color:#5CE1E6}
.w-chg{color:#FF7A3D}
.w-none{color:#3E5A6B}
.c-dim{color:#3E5A6B}
.c-key,.c-sec{color:#FF7A3D}
.c-fn{color:#FF5C8D}
.c-con{color:#5CE1E6}
.c-lit{color:#8EEBEE}
.jelly-row{display:flex;justify-content:center;padding:24px 0 8px}
.jelly-hero{display:block}
.sig{margin:48px 0 0}
.prose .sig p{margin:0}
.prose .sig-name{color:#F4F7F9;font-size:20px}
.prose .sig-links{display:flex;gap:18px;margin-top:12px}
.prose .sig-links a{display:inline-flex;align-items:center;text-decoration:none;color:#85A3B2;transition:color .2s}
.prose .sig-links a:hover{color:#5CE1E6}
.tldr{margin:0 0 40px;padding:2px 0 2px 24px;border-left:4px solid #5CE1E6}
.tldr-title{margin-bottom:10px;font-size:14px;color:#85A3B2}
.tldr p{margin:0;font-size:20px;line-height:1.6;color:#F4F7F9}
.toc{margin:0 0 64px;padding:28px 32px;background:#0D1420;box-shadow:0 -3px 0 #22344A,0 3px 0 #22344A,-3px 0 0 #22344A,3px 0 0 #22344A}
.toc-title{margin-bottom:16px;font-size:14px;color:#85A3B2}
.toc ol{list-style:none;margin:0;padding:0;counter-reset:toc;font-family:"Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;letter-spacing:-0.01em}
.toc > ol > li{counter-increment:toc;position:relative;padding-left:40px;margin:0 0 8px;font-size:18px;line-height:1.45}
.toc > ol > li::before{content:counter(toc,decimal-leading-zero);position:absolute;left:0;top:.2em;font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:13px;color:#3E5A6B}
.toc ol ol{margin:8px 0 4px;padding-left:24px}
.toc ol ol li{margin:0 0 6px;font-size:16px}
.toc a{color:#F4F7F9;text-decoration:none;transition:color .2s}
.toc ol ol a{color:#85A3B2}
.toc a:hover{color:#8EEBEE}
.prose h2,.prose h3,.refs h2{scroll-margin-top:120px}
.refs{margin-top:72px;padding-top:40px;border-top:4px solid #22344A}
.refs h2{margin:0 0 20px;color:#F4F7F9;font-size:26px}
.refs li{font-size:16px;line-height:1.6}
.post-end{display:flex;justify-content:space-between;gap:24px;margin-top:64px;font-size:18px;font-weight:500}

/* blog index */
.blog-head{display:flex;flex-direction:column;gap:20px;margin-bottom:56px}
.posts{list-style:none;margin:0;padding:0;border-top:4px solid #22344A}
.posts li{border-bottom:4px solid #22344A}
.posts a{display:flex;flex-direction:column;gap:12px;padding:32px 0;color:#85A3B2}
.posts a:hover{text-decoration:none}
.posts h2{margin:0;color:#F4F7F9;font-size:34px;line-height:1.1;transition:color .2s}
.posts a:hover h2{color:#5CE1E6}
.posts p{margin:0;font-size:20px;line-height:1.5}

@media (max-width:1199px){
.hdr,.foot{padding-left:32px;padding-right:32px}
.page{padding:0 32px}
}
@media (max-width:760px){
.hdr{padding:16px 20px}
.foot{padding:20px}
.page{padding:0 20px}
.logo{font-size:24px}
.logo svg{width:28px;height:32px}
.hdr-links{gap:20px;font-size:16px}
.hdr-links svg{display:none}
.post,.blog{padding:48px 0 80px}
.post-h1,.blog-h1{font-size:42px}
.lead{font-size:21px}
.post-head{padding-bottom:32px;margin-bottom:40px}
.tldr{padding-left:18px;margin-bottom:32px}
.tldr p{font-size:17px}
.toc{padding:22px 20px;margin-bottom:48px}
.toc > ol > li{font-size:16px;padding-left:34px}
.toc ol ol li{font-size:15px}
.prose p,.prose li{font-size:18px}
.prose h2{margin-top:56px;font-size:30px}
.prose h3{font-size:22px}
.code{font-size:12.5px;padding:18px 16px}
.diff,.work table{font-size:12px}
.posts h2{font-size:28px}
.posts p{font-size:18px}
}
@media (max-width:360px){
.hdr-links{gap:14px;font-size:15px}
}

/* see it regenerate: copied from site/index.html (keep in step); built by regen.js, .rg-n is its narrow layout */
.rg-root{position:relative;z-index:1}
.rg-fit{position:relative;overflow:hidden}
.rg-tv{transform-origin:50% 50%}
.rg-stage{position:relative;transform-origin:0 0;font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:14px;line-height:27px;color:#85A3B2;width:1256px;height:600px}
.rg-cv{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:2}
.rg-head{font-size:16px;color:#E9D8C8;padding-bottom:10px;display:flex;justify-content:space-between;align-items:baseline}
.rg-head small{font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:12px;color:#3E5A6B;letter-spacing:0}
.rg-plain{position:absolute;left:0;top:0;width:610px;height:600px;box-sizing:border-box;padding:26px 26px 0;border-right:3px dashed #1E3442}
.rg-code{position:absolute;left:610px;top:0;width:646px;height:404px;box-sizing:border-box;padding:26px 26px 0 38px}
.rg-strip{position:absolute;left:610px;top:400px;width:646px;height:200px;box-sizing:border-box;padding:12px 26px 0;border-top:3px dashed #1E3442}
.rg-ln{display:flex;align-items:center;height:27px;margin:0 -26px;padding:0 26px}
.rg-ln.ed{background:#1E3442}
.rg-ln.src{box-shadow:inset 3px 0 0 #5CE1E6}
.rg-ln.gone{visibility:hidden}
.rg-no{width:32px;flex:none;color:#3E5A6B}
.rg-ln.ed .rg-no{color:#E9D8C8}
.rg-tx{flex:1 1 auto;min-width:0;white-space:pre}
.rg-tx .w{color:#F4F7F9}
.rg-tx .hd{color:#E9D8C8}
.rg-cur{display:inline-block;width:8px;height:16px;vertical-align:-3px;background:#F4F7F9}
.rg-cur.off{visibility:hidden}
.rg-cur.t{background:#5CE1E6}
.rg-chip{flex:none;display:flex;align-items:center;gap:8px;margin-left:12px;font-size:12px;line-height:18px;width:136px}
.rg-chip.gone{visibility:hidden}
.rg-chip b{font-weight:400}
.rg-dot{width:8px;height:8px;flex:none}
.rg-dot.off{visibility:hidden}
.rg-chip[data-s=planned] b{color:#85A3B2}.rg-chip[data-s=planned] .rg-dot{box-shadow:inset 0 0 0 2px #85A3B2}
.rg-chip[data-s=working] b{color:#FF7A3D}.rg-chip[data-s=working] .rg-dot{background:#FF7A3D}
.rg-chip[data-s=regenerated] b{color:#FF5C8D}.rg-chip[data-s=regenerated] .rg-dot{background:#FF5C8D}
.rg-chip[data-s=validating] b{color:#5CE1E6}.rg-chip[data-s=validating] .rg-dot{box-shadow:inset 0 0 0 2px #5CE1E6}
.rg-chip[data-s=writing] b{color:#5CE1E6}.rg-chip[data-s=writing] .rg-dot{background:#5CE1E6}
.rg-chip[data-s=conform] b{color:#5CE1E6}.rg-chip[data-s=conform] .rg-dot{background:#5CE1E6}
.rg-badge{width:18px;height:18px;flex:none;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;line-height:1;background:#22344A;color:#85A3B2}
.rg-badge.on{background:#FF5C8D;color:#0A0F1A}
.rg-badge.ok{background:#5CE1E6;color:#0A0F1A}
.rg-badge.gone{visibility:hidden}
.rg-card{position:absolute;left:26px;right:26px;bottom:26px;border:3px dashed #22344A;padding:10px 14px 10px;font-size:13px;line-height:26px}
.rg-card-h{display:flex;justify-content:space-between;align-items:baseline;color:#F4F7F9;font-size:12px;line-height:18px;margin-bottom:6px}
.rg-card-h small{font-size:12px;color:#3E5A6B}
.rg-tr{display:flex;align-items:center;gap:10px;height:26px;margin:0 -14px;padding:0 14px}
.rg-tr.gone{visibility:hidden}
.rg-tr.act{background:#1E3442;box-shadow:inset 3px 0 0 #5CE1E6}
.rg-tt{flex:1 1 auto;min-width:0;white-space:pre}
.rg-tt .w{color:#F4F7F9}
.rg-res{flex:none;width:72px;text-align:right;font-size:12px;color:#85A3B2}
.rg-res.pass{color:#5CE1E6}
.rg-blk{position:relative;display:flex;margin-left:-12px;padding-left:9px;border-left:3px solid transparent;margin-bottom:14px}
.rg-blk.regen{border-left-color:#FF5C8D}
.rg-blk.val{border-left-color:#3E5A6B}
.rg-blk.ok{border-left-color:#5CE1E6}
.rg-gut{width:36px;flex:none;position:relative}
.rg-gut .rg-badge{position:absolute;left:0;top:4px}
.rg-srcs{position:relative;flex:1 1 auto;min-width:0}
.rg-src{white-space:pre;text-shadow:0 0 6px rgba(92,225,230,.25)}
.rg-src + .rg-src{position:absolute;left:0;top:0}
.rg-c.h{color:transparent !important;text-shadow:none}
.rg-tag{position:absolute;right:0;top:0;font-size:12px;color:#85A3B2;visibility:hidden}
.rg-tag.on{visibility:visible}
.rg-chat{font-size:13px;line-height:20px}
.rg-hist{height:100px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}
.rg-msg{display:flex;flex:none}
.rg-who{width:56px;flex:none;color:#5CE1E6}
.rg-msg.you .rg-who{color:#85A3B2}
.rg-say{flex:1 1 auto;min-width:0;white-space:pre-wrap;color:#85A3B2}
.rg-msg.you .rg-say,.rg-msg.turri .rg-say{color:#F4F7F9}
.rg-say .o{color:#FF7A3D}
.rg-say .p{color:#FF5C8D}
.rg-say .c{color:#5CE1E6}
.rg-in{display:flex;align-items:center;gap:10px;height:26px;margin-top:6px;padding:0 10px;background:#0D1520;box-shadow:inset 0 0 0 2px #22344A;white-space:pre;color:#F4F7F9}
.rg-in b{font-weight:400;color:#FF5C8D}
.rg-in .ph{color:#3E5A6B}
.rg-in .rg-cur{height:14px;width:7px}
.rg-flow{display:grid;grid-template-columns:repeat(6,auto);gap:14px;margin-top:14px;font-size:12px;line-height:18px}
.rg-step{color:#3E5A6B;white-space:nowrap}
.rg-step.act{color:#FF7A3D}
.rg-step.done{color:#5CE1E6}
.rg-bar{display:flex;gap:2px;margin-top:5px}
.rg-bar i{flex:1;height:6px;background:#22344A}
.rg-step.act .rg-bar i.f{background:#FF7A3D}
.rg-step.done .rg-bar i{background:#5CE1E6}
/* narrow (phones): one column, only the functionality being changed: the chat, its ***plain line, its code, the workflow */
.rg-stage.rg-n{width:360px;height:auto;display:flex;flex-direction:column}
.rg-n .rg-plain,.rg-n .rg-code{position:relative;left:auto;top:auto;width:auto;height:auto}
.rg-n .rg-strip{display:contents}
.rg-n .rg-chat{order:1;padding:14px 14px 14px;border-bottom:3px dashed #1E3442}
.rg-n .rg-hist{height:120px}
.rg-n .rg-who{width:48px}
.rg-n .rg-plain{order:2;padding:14px 14px 12px;border-right:0;border-bottom:3px dashed #1E3442}
.rg-n .rg-code{order:3;padding:14px 14px 4px 26px}
.rg-n .rg-flow{order:4;grid-template-columns:repeat(3,1fr);gap:10px 12px;margin:0;padding:10px 14px 16px;font-size:13px;border-top:3px dashed #1E3442}
.rg-n .rg-head small,.rg-n .rg-card,.rg-n .rg-tag{display:none}
.rg-n .rg-ln{display:none;height:auto;flex-wrap:wrap;align-items:flex-start;margin:0 -14px;padding:4px 14px}
.rg-n.rg-fx3 .rg-ln.f3,.rg-n.rg-fx2 .rg-ln.f2{display:flex}
.rg-n .rg-no{width:24px}
.rg-n .rg-tx{flex:1 1 0;white-space:pre-wrap}
.rg-n .rg-chip{flex-basis:100%;margin:2px 0 0 24px;font-size:13px}
.rg-n .rg-blk{display:none;height:auto !important}
.rg-n.rg-fx3 .rg-blk.f3,.rg-n.rg-fx2 .rg-blk.f2{display:flex}
.rg-n .rg-gut{width:28px}
.rg-n .rg-src{white-space:pre-wrap}
/* multi-file code: smaller rows, each functionality is a few files (path row + indented code) */
.rg-code .rg-srcs{font-size:13px;line-height:20px}
.rg-code .rg-blk{margin-bottom:12px}
.rg-code .rg-gut .rg-badge{top:1px}
.rg-tag{line-height:20px}
.rg-n .rg-src > div{padding-left:4ch;text-indent:-4ch}

/* a figure wider than the text column (the regenerate crt) */
.wide{--w:min(1100px,calc(100vw - 128px));width:var(--w);margin:48px 0 48px calc(50% - var(--w) / 2)}
.crt{box-sizing:border-box;background:#142030;padding:28px;border-radius:28px;box-shadow:inset 0 0 0 3px #22344A,0 12px 0 #0D1520}
.crt-screen{position:relative;overflow:hidden;border-radius:14px;background:#070B14;box-shadow:inset 0 0 60px rgba(92,225,230,.08),inset 0 0 0 2px #1E3442}
.crt-lines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(rgba(0,0,0,.35) 0 1px,transparent 1px 3px);z-index:2}
.crt-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 8px 0}
.crt-name{font-size:15px;color:#3E5A6B}
.rg-toggle{display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 16px;font:500 15px "Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;color:#F4F7F9;background:#0D1520;border:2px solid #5CE1E6;border-radius:0;cursor:pointer;transition:background .2s,color .2s}
.rg-toggle:hover{background:#5CE1E6;color:#0A0F1A}
.rg-toggle:focus-visible{outline:2px solid #5CE1E6;outline-offset:4px}
.rg-toggle .ic-play,.rg-toggle.is-paused .ic-pause,.rg-toggle .lbl-play,.rg-toggle.is-paused .lbl-pause{display:none}
.rg-toggle.is-paused .ic-play,.rg-toggle.is-paused .lbl-play{display:inline}
.wide figcaption{max-width:720px;margin:20px auto 0;text-align:center}

/* try turri: download the desktop app, or install the cli (same picker as the landing page) */
.try{margin:48px 0 0;padding:32px;background:#0D1420;box-shadow:0 -3px 0 #22344A,0 3px 0 #22344A,-3px 0 0 #22344A,3px 0 0 #22344A}
.prose .try h2{margin:0 0 12px;scroll-margin-top:120px}
.prose .try p{margin:0 0 24px}
.try-cli{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:24px 0 0}
.try-cli .cmd{font-family:"Geist Mono",ui-monospace,Menlo,monospace;font-size:15px;color:#F4F7F9;white-space:nowrap}
.try-cli .cmd b{font-weight:400;color:#FF7A3D}
.try-label{font:15px "Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;color:#85A3B2}
.prose .try p.try-ex{margin:24px 0 0;font-size:17px}
.dl{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px}
.dlbtn{height:44px;padding:0 18px;box-sizing:border-box;display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:500;color:#F4F7F9;background:#142030;border:1px solid rgba(92,225,230,.35);box-shadow:0 0 28px -8px rgba(92,225,230,.35);transition:box-shadow .25s,border-color .25s,transform .08s steps(1)}
.prose .dlbtn{text-decoration:none}
.prose .dlbtn:hover{color:#F4F7F9;transform:translateY(-2px);border-color:rgba(92,225,230,.7);box-shadow:0 0 40px -6px rgba(92,225,230,.5)}
.dlbtn:active{transform:translateY(1px)}
.dl-for{font-size:16px}
.dl-os{display:inline-flex;flex-wrap:wrap;gap:4px 14px}
.dlos{height:36px;padding:0 2px;font-size:16px;font-weight:500;color:#85A3B2;background:none;border:0;border-bottom:2px solid #3E5A6B;border-radius:0;cursor:pointer;transition:color .2s,border-color .2s}
.dlos:hover{color:#5CE1E6}
.dlos:focus-visible{outline:2px solid #5CE1E6;outline-offset:4px}
.dl[data-os="mac"] .dlos[data-os="mac"],.dl[data-os="deb"] .dlos[data-os="deb"],.dl[data-os="appimage"] .dlos[data-os="appimage"]{color:#F4F7F9;border-bottom-color:#5CE1E6}
html[data-platform="mac"] .dl-for,html[data-platform="mac"] .dl-os{display:none}
html[data-platform="mac"] .dlbtn::after{content:"for macOS"}
html[data-platform="linux"] .dlos[data-os="mac"]{display:none}
/* windows has no desktop app, so the cli is the way in */
html[data-platform="win"] .dl{display:none}
.pbtn{height:36px;padding:0 12px;font-size:13px;font-weight:500;background:#FF5C8D;color:#0A0F1A;border:0;border-radius:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;box-shadow:inset -3px -3px 0 rgba(10,15,26,.28),inset 3px 3px 0 rgba(255,255,255,.28);transition:transform .08s steps(1)}
.pbtn:hover{background:#FF7FA6;transform:translateY(-2px)}
.pbtn:active{transform:translateY(1px)}
.pbtn.done{background:#5CE1E6;transform:none}
.pbtn:focus-visible{outline:2px solid #5CE1E6;outline-offset:4px}
.ic-check{display:none}
.done .ic-copy{display:none}
.done .ic-check{display:inline-block}
.lbl-done{display:none}
.done .lbl-def{display:none}
.done .lbl-done{display:inline}

/* the table of contents follows along on the left on wide screens, marking the section being read */
.toc-side{position:fixed;top:120px;left:max(32px,calc(50% - 360px - 300px));width:260px;max-height:calc(100vh - 160px);overflow-y:auto;scrollbar-width:none;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .3s;z-index:5}
.toc-side.on{opacity:1;visibility:visible}
.toc-side .toc-title{font-size:13px;margin-bottom:14px}
.toc-side ol{list-style:none;margin:0;padding:0;font-family:"Neue Montreal","PP Neue Montreal","Host Grotesk",system-ui,sans-serif;letter-spacing:-0.01em}
.toc-side li{margin:0}
.toc-side ol ol{padding-left:14px}
.toc-side a{display:block;padding:5px 0 5px 14px;font-size:15px;line-height:1.35;color:#85A3B2;text-decoration:none;box-shadow:inset 2px 0 0 #22344A;transition:color .2s,box-shadow .2s}
.toc-side ol ol a{font-size:14px;color:#5F7D8C}
.toc-side a:hover{color:#8EEBEE}
.toc-side a.active{color:#5CE1E6;box-shadow:inset 3px 0 0 #5CE1E6}
@media (max-width:1279px){.toc-side{display:none}}
@media (max-width:1199px){.wide{--w:calc(100vw - 64px)}}
@media (max-width:760px){
.wide{--w:calc(100vw - 40px)}
.crt{padding:10px;border-radius:16px}
.crt-foot{padding:12px 4px 0}
.try{padding:24px 20px}
.try-cli .cmd{font-size:13px}
}


/* the chat, as the turri desktop app draws it (turri-app src/styles.css, dark theme; keep in step) */
.app-chat{--fg:#f4f7f9;--fg2:#85a3b2;--fg3:#3e5a6b;--line:#22344a;--card:#142030;--hover:rgba(133,163,178,.08);width:400px;max-width:100%;margin:0 auto;zoom:1.3;background:#0d1420;border:1px solid var(--line);color:var(--fg);font:13px/1.5 system-ui,-apple-system,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;letter-spacing:0}
.app-top{display:flex;align-items:flex-end;gap:8px;height:52px;box-sizing:border-box;padding:0 8px 0 16px;border-bottom:1px solid var(--line)}
.app-lights{display:flex;gap:8px;align-self:center;margin-right:10px}
.app-lights i{width:12px;height:12px;border-radius:50%;background:#3e5a6b}
.app-tab{position:relative;top:1px;display:flex;align-items:center;height:42px;max-width:150px;box-sizing:border-box;padding:0 10px;border:1px solid var(--line);border-bottom:0;background:#0d1420;font-size:12px;line-height:28px;align-items:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-ib{display:grid;place-items:center;padding:4px;color:var(--fg2)}
.app-top .app-ib{align-self:flex-end;margin-bottom:12px}
.app-top .app-close{margin-left:auto}
.app-body{display:flex;flex-direction:column;gap:8px;padding:16px 16px 24px}
.app-msg{overflow-wrap:anywhere}
.app-user{align-self:flex-end;max-width:88%;padding:8px 12px;background:#5ce1e6;color:#0a0f1a;white-space:pre-wrap}
.prose .app-bot p{margin:4px 0 0;font:inherit;color:var(--fg);letter-spacing:0}
.app-tool{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin-top:4px;padding:4px 8px;background:var(--hover);font-size:12px;color:var(--fg2)}
.app-tool .ic{flex:none}
.app-con{color:#5ce1e6}
.app-composer{border-top:1px solid var(--line);padding:8px 12px 12px}
.app-ta{height:57px;box-sizing:border-box;padding:8px;border:1px solid var(--line);background:var(--card);color:#757575}
.app-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.app-meta{display:inline-flex;align-items:center;gap:8px;min-width:0}
.app-meter{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--fg2);font-variant-numeric:tabular-nums}
.app-cost,.app-model{padding-left:8px;border-left:1px solid var(--line)}
.app-model{font-size:11px;color:var(--fg2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-actions{display:flex;align-items:center;gap:8px}
.app-send{display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 8px;font-size:12px;font-weight:500;background:#ff5c8d;color:#0a0f1a;box-shadow:inset 3px 3px 0 rgba(255,255,255,.28),inset -3px -3px 0 rgba(10,15,26,.28);white-space:nowrap}
.app-send kbd{font:inherit;color:#3e5a6b}
@media (max-width:760px){.app-chat{zoom:1}}

/* the first section heading sits right under the table of contents */
.prose > h2:first-child{margin-top:0}
