*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html{scroll-behavior:smooth;scrollbar-gutter:stable;background:var(--bg-default);color:var(--text-default);font:400 16px/1.4 var(--font-sans);-webkit-font-smoothing:antialiased;text-wrap:pretty}
body{min-height:100%;background:var(--bg-default)}
html[data-theme="dark"] body{background:var(--bg-default) var(--grain)}
html[data-theme="dark"] .nav{background:color-mix(in srgb,var(--bg-default) 88%,transparent);backdrop-filter:blur(6px)}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;cursor:pointer}
img,svg,canvas{display:block}
ul,ol{list-style:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 16px;position:relative}
@media (min-width:788px){.container{padding:0 24px}}

/* type scale */
.h-base{font-size:16px;font-weight:600;line-height:1.4}
.h-lg{font-size:18px;font-weight:600;line-height:1.4}
.h-xl{font-size:20px;font-weight:600;line-height:1.4;letter-spacing:-.25px}
.h-2xl{font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.5px}
.h-3xl{font-size:32px;font-weight:600;line-height:1.1;letter-spacing:-.5px}
.h-4xl{font-size:48px;font-weight:600;line-height:1.1;letter-spacing:-2px}
.h-5xl{font-size:64px;font-weight:600;line-height:1.1;letter-spacing:-3px}
.eyebrow{font:500 12px/1 var(--font-mono);letter-spacing:-.5px;text-transform:uppercase}
.mono{font-family:var(--font-mono)}
.t-secondary{color:var(--text-secondary)}
.t-quaternary{color:var(--text-quaternary)}
.t-link{color:var(--text-link)}

/* icons */
.i16{width:16px;height:16px;flex:none}.i20{width:20px;height:20px;flex:none}.i24{width:24px;height:24px;flex:none}.i12{width:12px;height:12px;flex:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;white-space:nowrap;font-weight:500;transition:all var(--dur) var(--ease);border-radius:0;line-height:1}
.btn:active{transform:scale(.98)}
.btn-36{height:36px;padding:0 16px;font-size:14px}
.btn-40{height:40px;padding:0 16px;font-size:14px;font-weight:600}
.btn-48{height:48px;padding:0 24px;font-size:16px}
.btn-32{height:32px;padding:0 12px;font-size:12px;font-weight:600}
.btn-primary{background:var(--btn-primary-bg);color:var(--btn-primary-text)}
.btn-primary:hover{background:var(--btn-primary-hover)}
.btn-secondary{background:var(--btn-secondary-bg);color:var(--btn-secondary-text)}
.btn-secondary:hover{background:var(--btn-secondary-hover)}
.btn-tertiary{border-color:var(--btn-tertiary-border);color:var(--btn-tertiary-text)}
.btn-tertiary:hover{background:var(--btn-tertiary-hover)}
.btn-quaternary{color:var(--text-secondary)}
.btn-cta{background:var(--cta-bg);color:var(--cta-text)}
.btn-cta:hover{background:var(--btn-primary-hover)}
.btn-quaternary:hover{background:var(--btn-quaternary-hover)}
.btn-blue{background:var(--blue-9);color:#fff}
.btn-blue:hover{background:var(--blue-10)}

/* ---------------- NAV ---------------- */
.nav{position:sticky;top:0;z-index:50;background:var(--bg-default);border-bottom:.5px solid transparent;transition:border-color .15s var(--ease),background-color .15s var(--ease)}
.nav.scrolled{border-bottom-color:var(--border-default)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px}
.nav-left{display:flex;align-items:center;gap:2px}
.logo{display:flex;align-items:center;gap:6px;margin-right:16px;height:22px;color:var(--text-default)}
.logo-mark{width:18px;height:18px;border-radius:6px;background:var(--text-default);position:relative}
.logo-mark::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--bg-default)}
.nav-links{display:flex;align-items:center;gap:1px}
.nav-link{display:flex;align-items:center;gap:4px;height:36px;padding:0 12px;border-radius:0;font-size:14px;font-weight:500;color:var(--text-secondary);white-space:nowrap;transition:background .15s var(--ease)}
.nav-link:hover,.nav-link[aria-expanded=true]{background:var(--btn-quaternary-hover)}
.nav-link.has-menu{padding:0 8px 0 12px;border-radius:36px}
.nav-link .chev{width:18px;height:18px;color:var(--icon-secondary);transition:transform .3s ease-in-out}
.nav-link[aria-expanded=true] .chev{transform:rotate(180deg)}
.nav-link .ext{width:16px;height:16px;color:var(--icon-secondary)}
.nav-right{display:flex;align-items:center;gap:8px}
.nav-right .gh{padding:0 16px 0 12px;color:var(--text-secondary)}
.menu-btn{display:none;position:relative;width:36px;height:36px;border-radius:24px;background:var(--bg-element);align-items:center;justify-content:center}
.menu-btn span{position:absolute;width:14px;height:1.5px;border-radius:2px;background:var(--icon-default);left:11px;transition:transform .3s}
.menu-btn span:first-child{transform:translateY(-3px)}.menu-btn span:last-child{transform:translateY(3px)}
@media (max-width:1007.98px){.nav-links{display:none}.menu-btn{display:flex}}

/* mega menu */
.mega-overlay{position:fixed;left:0;right:0;top:68px;bottom:0;background:var(--overlay);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .3s ease-in-out;z-index:40}
.mega{position:absolute;left:0;right:0;top:100%;display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-in-out;z-index:45;pointer-events:none}
.mega>div{overflow:hidden;background:var(--bg-default)}
.mega.open{grid-template-rows:1fr;pointer-events:auto}
.nav.mega-open~.mega-overlay,.mega-overlay.open{opacity:1;pointer-events:auto}
.mega-panel{display:none;gap:16px;padding-top:40px;padding-bottom:64px;animation:fadeIn .3s ease-in-out}
.mega-panel.active{display:flex}
.mega-col{width:240px;display:flex;flex-direction:column;gap:24px}
.mega-col .eyebrow{color:var(--text-quaternary)}
.mega-col ul{display:flex;flex-direction:column;gap:8px}
.mega-col a{display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.4;font-weight:500}
.mega-col a:hover{color:var(--text-secondary)}
.chip{display:inline-flex;align-items:center;min-height:20px;padding:0 10px;border-radius:12px;background:var(--bg-element);color:var(--text-secondary);font-size:12px;font-weight:500;line-height:1.25}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* mobile sheet */
.sheet{position:fixed;inset:0;z-index:600;background:var(--bg-default);display:flex;flex-direction:column;transform:translateY(100%);visibility:hidden;transition:transform .45s var(--ease-out-quart),visibility 0s linear .45s;overflow:auto;overscroll-behavior:none}
.sheet.open{transform:none;visibility:visible;transition:transform .45s var(--ease-out-quart),visibility 0s}
@media (min-width:1008px){.sheet{display:none}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:16px}
.sheet-close{width:36px;height:36px;border-radius:24px;background:var(--bg-element);display:flex;align-items:center;justify-content:center}
.sheet-auth{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:1px 16px 0}
.sheet-auth .btn{font-size:14px}
.sheet-list{padding:22px 16px 32px}
.sheet-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:17px 16px;font-size:17px;font-weight:600;line-height:1.4;text-align:left}
.sheet-item .chev{width:16px;height:16px;color:var(--icon-secondary);transition:transform .3s}
.sheet-item[aria-expanded=true] .chev{transform:rotate(180deg)}
.sheet-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}
.sheet-sub>div{overflow:hidden}
.sheet-sub.open{grid-template-rows:1fr}
.sheet-sub ul{padding:0 16px 12px 32px;display:flex;flex-direction:column;gap:12px}
.sheet-sub a{font-size:15px;font-weight:500;color:var(--text-secondary)}
body.locked{overflow:hidden}

/* ---------------- HERO ---------------- */
.hero{position:relative;overflow-x:clip}
.hero .container{padding-bottom:32px}
.hero-grid{display:flex;flex-direction:column;align-items:center;gap:24px}
.burst{width:min(41rem,calc(100vw + 2rem));aspect-ratio:1;margin:-24px 0;touch-action:pan-y;user-select:none}
.hero-copy{position:relative;z-index:10;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;width:100%;max-width:448px}
.hero-copy h1{letter-spacing:-1.2px;text-wrap:balance}
.hero-ctas{display:flex;flex-direction:column;gap:8px;width:100%}
.hero-side{position:relative;z-index:10;display:flex;flex-direction:column-reverse;align-items:center;gap:24px;text-align:center;width:100%;max-width:448px}
.hero-side p{font-size:16px;font-weight:500;color:var(--text-secondary)}
.pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;border:.5px solid var(--border-default);background:color-mix(in srgb,var(--bg-subtle) 80%,transparent);padding:4px 10px 4px 4px;backdrop-filter:blur(2px);transition:all .3s}
.pill:hover{background:var(--bg-element);border-color:var(--border-secondary);box-shadow:var(--pill-hover-shadow)}
.pill-tag{display:inline-flex;align-items:center;gap:6px;border-radius:16px;border:.5px solid var(--border-default);background:var(--pill-tag-bg);padding:4px 10px;box-shadow:var(--shadow-sm);font-size:12px;transition:background-color .3s;font-weight:500;line-height:1}
.pill-dot{position:relative;width:8px;height:8px;display:flex;align-items:center;justify-content:center}
.pill-dot::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--green-7)}
.pill-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--green-9);animation:status-pulse 2.2s linear infinite}
.pill-dot i{position:relative;width:4px;height:4px;border-radius:50%;background:var(--green-11);z-index:1}
.pill-text{font-size:12px;line-height:20px;font-weight:500;color:var(--text-secondary);display:inline-flex;align-items:center;gap:8px}
.pill:hover .pill-text svg{transform:translateX(1.5px)}
.pill-text svg{transition:transform .3s}
@keyframes status-pulse{0%{opacity:0;transform:scale(1)}20%{opacity:.65}to{opacity:0;transform:scale(2.1)}}
@media (min-width:788px){.hero .container{padding-bottom:48px}}
@media (min-width:944px){
  .hero .container{padding-bottom:0}
  .hero-grid{display:grid;grid-template-columns:26rem minmax(0,1fr);align-items:center}
  .burst{grid-column:2;grid-row:1/span 2;margin:-64px auto;width:100%;max-width:41rem}
  .hero-copy{grid-column:1;grid-row:1;align-items:flex-start;text-align:left;max-width:none}
  .hero-ctas{flex-direction:row;width:auto}
  .hero-side{grid-column:1;grid-row:2;flex-direction:column;align-items:flex-start;text-align:left;max-width:none}
}
@media (min-width:1328px){
  .hero-grid{grid-template-columns:26rem minmax(0,1fr) 26rem}
  .hero-side{grid-column:3;grid-row:1;padding-left:64px;align-self:center}
  .burst{grid-row:1;width:41rem;max-width:none;justify-self:center;margin:-64px 0}
}
.burst .app-tile{filter:drop-shadow(0 10px 20px rgba(0,0,0,.1))}
.burst .rays{color:var(--text-secondary)}
.burst .rays .t0{stroke-opacity:var(--burst-t0)}.burst .rays .t1{stroke-opacity:var(--burst-t1)}.burst .rays .t2{stroke-opacity:var(--burst-t2)}
.burst .dots{fill:var(--text-secondary);opacity:var(--burst-dots)}
.burst .tile-bg{fill:#fff;stroke:var(--burst-tile-stroke)}
.burst .tile-mark{stroke:var(--burst-mark)}

/* ---------------- LOGO STRIP ---------------- */
.logos{display:flex;flex-direction:column;align-items:center;gap:24px;padding:24px 0}
.logos .caption{display:none;font:400 12px/1.6 var(--font-mono);text-transform:uppercase;color:var(--text-secondary);text-align:center}
.marquee{width:100%;max-width:768px;margin-bottom:-32px;height:72px;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 6rem,#000 calc(100% - 6rem),transparent);mask-image:linear-gradient(to right,transparent,#000 6rem,#000 calc(100% - 6rem),transparent)}
.marquee-track{display:flex;gap:12px;width:max-content;animation:logo-carousel 30s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.app-icon{width:40px;height:40px;border-radius:12px;box-shadow:var(--shadow-md);flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font:700 15px/1 var(--font-sans)}
@keyframes logo-carousel{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 6px))}}
@media (min-width:788px){.logos{padding-top:40px}.logos .caption{display:block}.marquee{margin-bottom:0}}
@media (min-width:1008px){.logos{padding-bottom:0}}

/* ---------------- BUILDING BLOCKS ---------------- */
.blocks{padding-bottom:16px}
.blocks-card{display:grid;grid-template-columns:1fr;border-radius:32px;background:var(--bg-subtle);padding:32px 24px 24px}
.blocks-card h2{text-align:center;text-wrap:balance}
.blocks-art{margin:0 -18px;aspect-ratio:342/318;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.blocks-art svg{position:absolute;height:100%;width:auto;left:50%;transform:translateX(-50%);transition:opacity .5s,visibility .5s}
.blocks-art svg:not(.on){opacity:0;visibility:hidden}
.steps{display:flex;flex-direction:column;gap:4px}
.steps li{padding:4px 0}
.steps li.on{padding-bottom:8px}
.step-row{display:flex;align-items:center;gap:8px;position:relative}
.step-btn{font-size:16px;font-weight:600;line-height:1.4;color:var(--text-secondary);text-align:left;transition:color .15s}
.step-btn:hover,.on .step-btn{color:var(--text-default)}
.ring{display:none;width:24px;height:24px;color:var(--icon-default)}
.on .ring{display:block}
.ring circle.prog{transition:stroke-dashoffset .2s linear}
.step-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease-out}
.on .step-body{grid-template-rows:1fr}
.step-body>div{overflow:hidden}
.step-body p{padding-top:16px;font-size:14px;line-height:1.4;font-weight:500;color:var(--text-secondary);opacity:0;transition:opacity .3s}
.on .step-body p{opacity:1}
@media (min-width:468px){.blocks-art{margin:0 auto;width:100%;max-width:448px}}
@media (min-width:1008px){
  .blocks{padding:16px 0}
  .blocks-card{grid-template-columns:minmax(0,1fr) minmax(0,min(600px,50%));grid-template-rows:auto 1fr;gap:16px;border-radius:40px;padding:40px}
  .blocks-card h2{grid-column:1;grid-row:1;max-width:384px;text-align:left;font-size:32px;line-height:1.1}
  .blocks-art{grid-column:2;grid-row:1/span 2;margin:0;max-width:none;aspect-ratio:6/5;align-self:center}
  .steps{grid-column:1;grid-row:2;max-width:384px;gap:16px;align-self:end}
  .steps li{padding:8px 0}
  .step-row{gap:12px}
  .step-btn{font-size:24px;line-height:1.2;letter-spacing:-.5px}
  .step-body p{font-size:16px}
}

/* ---------------- BENTO ---------------- */
.bento{padding-bottom:80px}
.bento-grid{display:grid;grid-template-columns:1fr;gap:16px}
.bcard{position:relative;display:block;overflow:hidden;border-radius:24px;background:var(--bg-subtle);border:1px solid transparent;transition:background-color .15s,border-color .15s}
.bcard:hover{background:var(--bg-element);border-color:var(--border-default)}
.bcard .corner{position:absolute;top:14px;right:19px;z-index:40;width:36px;height:36px;border-radius:50%;background:var(--corner-bg);display:flex;align-items:center;justify-content:center;opacity:0;box-shadow:0 4px 16px rgba(0,0,0,.12);transition:opacity .2s}
.bcard:hover .corner{opacity:1}
.sdk{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:32px;padding:40px 24px 48px;text-align:center}
.sdk-art{width:160px;height:160px;position:relative;flex:none}
.sdk-text{display:flex;flex-direction:column;align-items:center;gap:24px}
.sdk-text>div{display:flex;flex-direction:column;align-items:center;gap:12px}
.sdk-text p{font-size:18px;font-weight:500}
.sdk .btn{height:36px;padding:0 16px;font-size:14px}
.bento-right{display:grid;grid-template-columns:1fr;gap:16px}
.ai{position:relative;display:flex;height:100%;min-height:320px;align-items:center;justify-content:center;overflow:hidden;padding:40px 24px;text-align:center}
.glow{position:absolute;left:0;right:0;top:0;height:80px;filter:blur(40px);pointer-events:none}
.glow span{position:absolute;border-radius:999px}
.glow .g1{top:0;left:8%;height:56px;width:58%;background:#2788f3;animation:ai-glow 11s ease-in-out infinite}
.glow .g2{top:4px;right:7%;height:52px;width:50%;background:#f76809;animation:ai-glow 14s ease-in-out -5s infinite reverse}
.glow .g3{top:8px;left:25%;height:40px;width:40%;background:#fff;animation:ai-glow 9s ease-in-out -3s infinite}
@keyframes ai-glow{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(6%,8px) scale(1.08)}66%{transform:translate(-5%,-6px) scale(.95)}}
.ai-inner{position:relative;z-index:10;display:flex;flex-direction:column;align-items:center;gap:24px}
.tiles{display:grid;grid-template-columns:max-content;grid-template-rows:max-content;line-height:0}
.tiles>div{grid-column:1;grid-row:1;width:104px;height:104px;display:flex;align-items:center;justify-content:center}
.tiles>div:last-child{margin-left:81px}
.tile{width:91px;height:91px;border-radius:24px;display:flex;align-items:center;justify-content:center}
.tile.a{transform:rotate(-9deg);background:#d9775a}
.tile.b{transform:rotate(9deg);background:linear-gradient(135deg,#f76809,#2788f3);position:relative}
.tile.b::after{content:"";position:absolute;inset:6px;border-radius:17px;background:#000}
.tile.b b{position:relative;z-index:1;color:#fff;font:600 15px/1 var(--font-sans);letter-spacing:-.5px}
.ai-text{display:flex;flex-direction:column;align-items:center;gap:12px}
.ai-text h3{line-height:1.3}
.soft-pill{display:flex;align-items:center;border-radius:999px;background:var(--soft-pill-bg);padding:8px 16px;font-size:14px;font-weight:500;line-height:1.4;backdrop-filter:blur(2px)}
.bento-pair{display:grid;grid-template-columns:1fr;gap:16px}
.api{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:32px;padding-bottom:48px;text-align:center}
.phone{position:relative;width:calc(100% - 64px);max-width:288px;aspect-ratio:1;flex:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgb(0 0 0/.35) 22%,#000 45%);mask-image:linear-gradient(to bottom,transparent 0%,rgb(0 0 0/.35) 22%,#000 45%)}
.phone .screen{position:absolute;left:3%;right:3%;top:0;bottom:3%;border-radius:0 0 40px 40px;background:#111;border:7px solid #2a2a2e;border-top:0;padding:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;align-content:end}
.phone .screen i{display:block;aspect-ratio:1;border-radius:3px;background:linear-gradient(160deg,#7d8a99,#c9d0d8)}
.phone .screen i:nth-child(3n){background:linear-gradient(160deg,#5f6b77,#a9b3bd)}
.phone .screen i:nth-child(4n){background:linear-gradient(160deg,#9aa4ae,#e4e8ec)}
.phone .tabbar{grid-column:1/-1;height:34px;margin:6px 18px 4px;border-radius:20px;background:#2a2b30}
.bigline{display:flex;flex-direction:column;align-items:center;padding:0 16px;text-wrap:balance}
.bigline p{font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.5px}
.code-chip{display:inline-block;font-family:var(--font-mono);border-radius:6px;border:1px solid var(--border-default);background:var(--bg-element);padding:0 6px;vertical-align:middle;letter-spacing:-.6px;color:var(--text-secondary)}
.native{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:24px;padding:48px 0;text-align:center}
.arc{position:relative;width:100%;aspect-ratio:360/199;container-type:inline-size}
.arc .sweep{position:absolute;left:50%;top:100%;width:0;height:0;animation:arc-sweep 16s linear infinite}
.arc .sweep>div{position:absolute;width:20cqw;height:20cqw;left:-10cqw;top:calc(-78cqw);border-radius:25%;box-shadow:0 5px 10px rgba(0,0,0,.05),0 15px 25px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;color:#fff;font:700 5cqw/1 var(--font-mono)}
.arc .caret{position:absolute;top:73%;left:50%;width:6cqw;aspect-ratio:21/13;transform:translateX(-50%);color:var(--icon-quaternary)}
@keyframes arc-sweep{0%{opacity:0;transform:rotate(-58deg)}7.76%{opacity:1;transform:rotate(-49deg)}92.24%{opacity:1;transform:rotate(49deg)}to{opacity:0;transform:rotate(58deg)}}
@media (min-width:788px){
  .bento{padding-bottom:128px}
  .bento-grid{grid-template-columns:524fr 740fr}
  .bcard{border-radius:40px}
  .sdk{gap:40px;padding:48px 16px}
  .sdk-art{width:192px;height:192px}
  .sdk-text h3{font-size:32px;line-height:1.1}
  .sdk-text p{font-size:18px;font-weight:500;line-height:1.4}
  .sdk .btn{height:48px;padding:0 24px;font-size:16px}
  .bento-pair{grid-template-columns:1fr 1fr}
  .ai{padding:64px 24px 48px}
  .api{padding-bottom:24px}
  .bigline p{font-size:16px;line-height:1.4;letter-spacing:0}
  .bigline{padding:0 8px}
}
@media (min-width:1008px){
  .sdk{gap:48px;padding:64px 40px}
  .sdk-art{width:224px;height:224px}
  .sdk-text h3{font-size:48px;letter-spacing:-2px}
  .sdk-text p{font-size:24px;letter-spacing:-.5px;line-height:1.2}
  .api{padding-bottom:32px}
  .bigline p{font-size:18px}
  .bigline{padding:0 16px}
}
@media (min-width:1328px){
  .bento-grid{aspect-ratio:1280/650}
  .bento-right{height:100%;grid-template-rows:230fr 404fr}
  .bento-pair{height:100%}
  .sdk{padding:64px}
  .sdk-art{width:240px;height:240px}
  .ai{min-height:0;padding:40px 24px}
  .glow{top:auto;bottom:-32px}
  .glow .g1{left:12%;height:64px;width:60%}.glow .g2{right:10%;height:60px}.glow .g3{height:48px}
  .ai-inner{flex-direction:row;justify-content:center;gap:16px}
  .ai-text{align-items:flex-start;gap:8px}
  .ai-text h3{white-space:nowrap}
  .soft-pill{font-size:16px}
  .api{padding-bottom:48px}
  .bigline p{font-size:24px;line-height:1.2;letter-spacing:-.5px}
  .bigline{padding:0 32px}
  .code-chip{border-radius:8px}
}

/* ---------------- PLATFORM ---------------- */
.platform-head{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.platform-head h2{max-width:576px;text-wrap:balance}
.stack-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 24px}
.stack-list li{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.stack-list i{width:20px;height:20px;border-radius:6px;display:block}
.platform-head .btn{height:36px;padding:0 16px;font-size:14px}
.features{margin-top:80px;display:flex;flex-direction:column;gap:24px}
.frow{display:grid;grid-template-columns:1fr;gap:24px}
.fcard{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:24px;overflow:hidden;border-radius:24px;border:1px solid transparent;background:var(--bg-subtle);padding:32px}
.fcard.top{justify-content:flex-start;padding-bottom:0}
.ftext{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.ftext.narrow{max-width:448px}
.ftext h3 span{display:block;white-space:nowrap}
.ftext p{font-size:14px;font-weight:500;color:var(--text-secondary);text-wrap:pretty}
.more{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:500;color:var(--text-link)}
.more svg{width:16px;height:16px;transition:transform .15s}
.more:hover svg{transform:translateX(2px)}
.fart{width:100%;aspect-ratio:8/5;position:relative;display:flex;align-items:center;justify-content:center}
.fade-bottom{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 120px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 120px),transparent)}
/* placeholder mock UI blocks */
.mock{background:var(--mock-bg);border:1px solid var(--border-secondary);border-radius:16px;box-shadow:var(--shadow-sm)}
.mock-line{height:10px;border-radius:5px;background:var(--mock-line)}
.mock-line.dark{background:var(--mock-line-strong)}
.mock-line.blue{background:var(--blue-7)}
.wide-art{width:100%;position:relative;display:grid;grid-template-columns:1fr 1.3fr 1.4fr;gap:20px;align-items:start;height:520px;padding:0 16px}
.tree{position:relative;width:62%;height:70%;margin:auto}
.dev-node{position:absolute;width:56px;height:56px;border-radius:16px;background:var(--bg-element);border:1px solid var(--border-secondary)}
@media (min-width:788px){
  .features{margin-top:128px}
  .frow{grid-template-columns:1fr 1fr}
  .fcard{border-radius:40px;padding:32px 24px}
  .ftext{gap:24px}
  .ftext h3{font-size:32px;line-height:1.1}
  .ftext p{text-wrap:balance}
  .platform-head h2{font-size:48px;letter-spacing:-2px}
  .platform-head .btn{height:48px;padding:0 24px;font-size:16px}
}
@media (min-width:1008px){
  .features,.frow{gap:40px}
  .fcard{padding:64px;gap:32px}
  .fcard.top{padding:64px 64px 0}
}
@media (min-width:1328px){
  .features,.frow{gap:64px}
  .fcard{gap:48px}
  .fcard.top{gap:48px}
}
@media (max-width:787.98px){.wide-art{height:340px;grid-template-columns:1fr 1fr;width:calc(100% + 64px)}.wide-art>.col3{display:none}}

/* ---------------- STATS ---------------- */
.stats{padding:200px 0}
.stats .container{padding-left:0;padding-right:0}
.stat-lines{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-1px}
.stat-line{display:flex;align-items:center;justify-content:center;gap:4px}
.badge-pkg{display:inline-flex;align-items:center;justify-content:center;height:20px;width:51px;border-radius:4px;background:var(--slate-12);color:var(--bg-default);font:700 11px/1 var(--font-mono);letter-spacing:0;transform:translateY(4px)}
.avatars{display:flex}
.avatars i{width:24px;height:24px;border-radius:50%;border:2px solid var(--bg-default);display:block}
.avatars i+i{margin-left:-8px}
.shape-a{width:40px;height:40px;border-radius:30%;background:var(--stat-tile);border:1px solid var(--stat-tile-border);transform:rotate(18deg) scale(.8)}
.shape-b{width:42px;height:40px;border-radius:28%;background:linear-gradient(135deg,#5fb8ff,#1b6fe0);transform:rotate(-8deg) scale(.8);margin-right:-4px}
@media (min-width:788px){
  .stats .container{padding:0 24px}
  .stat-lines{font-size:48px;letter-spacing:-2px}
  .stat-line{gap:8px}
  .badge-pkg{height:36px;width:93px;font-size:18px;transform:translateY(6px)}
  .avatars i{width:40px;height:40px}.avatars i+i{margin-left:-12px}
  .shape-a{width:60px;height:60px}.shape-b{width:63px;height:60px;margin-right:-8px}
}
@media (min-width:1008px){
  .stat-lines{font-size:64px;letter-spacing:-3px}
  .badge-pkg{height:50px;width:129px;font-size:24px;transform:translateY(8px)}
  .avatars i{width:48px;height:48px}.avatars i+i{margin-left:-14px}
  .shape-a{width:80px;height:80px}.shape-b{width:84px;height:80px;margin-right:-12px}
}

/* ---------------- COMMUNITY ---------------- */
.community{padding-top:20px}
.community-inner{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}
.community-inner>div{display:flex;flex-direction:column;align-items:center;gap:16px}
.community-inner>div p{font-size:14px;font-weight:500;color:var(--text-secondary)}
.community .cta-group{gap:8px}
.community .btn{height:36px;padding:0 16px;font-size:14px;background:var(--bg-element);color:var(--text-default)}
.community .btn:hover{background:var(--bg-hover)}
.community .cta-group span{font-size:12px;font-weight:500;color:var(--text-tertiary)}
.quotes{padding-top:48px}
.quotes-mask{overflow:hidden;max-height:1120px;-webkit-mask-image:linear-gradient(to bottom,#000 50%,transparent 100%);mask-image:linear-gradient(to bottom,#000 50%,transparent 100%)}
.quotes-cols{columns:1;column-gap:16px}
.quote{display:inline-block;width:100%;break-inside:avoid;padding-bottom:16px;vertical-align:top;opacity:0;transform:translateY(8px);transition:opacity .6s,transform .6s}
.quote.in{opacity:1;transform:none}
.quote a{display:flex;flex-direction:column;gap:24px;border-radius:16px;border:1px solid var(--border-secondary);background:var(--bg-default);padding:32px;transition:all .3s ease-in-out}
.quote a:hover{border-color:var(--border-default);background:var(--bg-element)}
.who{display:flex;align-items:center;gap:8px}
.who i{width:48px;height:48px;border-radius:50%;flex:none;display:block}
.who b{display:block;font-size:14px;font-weight:600;line-height:1.25}
.who small{display:block;font-size:12px;font-weight:500;color:var(--text-secondary);line-height:1.6}
.quote p{font-size:16px;font-weight:500;line-height:1.4}
@media (min-width:788px){
  .community-inner>div h2{font-size:48px;letter-spacing:-2px;line-height:1.1}
  .community-inner>div p{font-size:16px}
  .community .btn{height:48px;padding:0 24px;font-size:16px}
  .quotes{padding-top:80px}
  .quotes-mask{max-height:600px}
  .quotes-cols{columns:2}
}
@media (min-width:1008px){.quotes-cols{columns:3}}
@media (min-width:1328px){.quotes-cols{columns:4}}

/* ---------------- CTA ---------------- */
.cta{position:relative;isolation:isolate;display:flex;align-items:center;min-height:560px;overflow:hidden}
.squircle{position:absolute;top:50%;left:50%;z-index:-10;width:540px;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none}
.squircle i{position:absolute;inset:0;border-radius:32%;display:block}
.squircle .s1{background:var(--bg-default);box-shadow:inset 0 2.5px 21px 0 rgba(255,255,255,.9),inset 8.4px 8.4px 168px 0 rgba(134,134,134,.16)}
.squircle .s2{background:rgba(134,134,134,.12);box-shadow:inset 8.4px 8.4px 168px 0 rgba(134,134,134,.28)}
[data-theme="dark"] .squircle .s1{box-shadow:inset 0 2.5px 40px 0 rgba(210,216,228,.07),inset 8.4px 8.4px 168px 0 rgba(148,152,158,.035)}
[data-theme="dark"] .squircle .s2{background:rgba(255,255,255,.03);box-shadow:inset 0 2.5px 24px 0 rgba(255,255,255,.1)}
.cta-fade{position:absolute;left:0;right:0;bottom:0;z-index:-10;height:244px;background:linear-gradient(to top,var(--cta-fade-to),transparent)}
.cta .container{text-align:center}
.cta-inner{display:flex;flex-direction:column;align-items:center;gap:32px}
.cta h2{text-wrap:balance}
@media (min-width:788px){.cta{min-height:620px}.squircle{width:535px}.cta h2{font-size:64px;letter-spacing:-3px}}

/* ---------------- TRUST ROW ---------------- */
.trust .container{padding:0 16px}
.trust-row{display:flex;align-items:center;justify-content:center;padding:32px 0}
.trust-items{display:flex;align-items:center;gap:24px}
.trust-item{display:flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}
.trust-item b{font-weight:600}
.trust-item span{font-weight:500;color:var(--text-secondary)}
.trust-item svg{width:20px;height:20px}
.trust-mobile{display:none;width:100%;align-items:flex-start;justify-content:space-between}
.trust-mobile>div{display:flex;flex-direction:column;gap:8px}
.rule{margin:0 16px;border-bottom:.5px solid var(--border-default)}
@media (min-width:788px){.trust .container{padding:0 8px}}
@media (min-width:1008px){.trust-items{gap:32px}}
@media (min-width:1328px){.trust-items{gap:40px}}
@media (max-width:1007.98px){.trust-item .lg{display:none}}
@media (max-width:787.98px){.trust-items{display:none}.trust-mobile{display:flex}.rule{margin:0}}

/* ---------------- FOOTER ---------------- */
.foot-nav{display:flex;flex-direction:column;gap:40px;padding:40px 0}
.foot-brand{display:flex;flex-direction:column;gap:24px}
.foot-logo{width:44px;height:44px;border-radius:12px;background:#000;position:relative;overflow:hidden;box-shadow:var(--tile-shadow)}
.foot-logo::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,#2bd98b,transparent 55%),radial-gradient(circle at 80% 90%,#3a6bff,transparent 60%);opacity:.9}
.foot-logo::after{content:"";position:absolute;inset:13px;border-radius:50%;border:4px solid #fff}
.newsletter{display:flex;flex-direction:row;align-items:center;gap:12px;border-radius:16px;background:var(--bg-subtle);padding:16px}
.newsletter>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.newsletter .eyebrow-row{display:flex;align-items:center;gap:6px;font:400 12px/1 var(--font-mono);text-transform:uppercase;color:var(--text-secondary)}
.newsletter .eyebrow-row i{display:inline-block;width:6px;height:10px;background:var(--accent)}
.newsletter p{font-size:14px;font-weight:500;line-height:1}
.newsletter .btn{margin-left:auto}
.foot-cols{display:grid;grid-template-columns:1fr;gap:40px 16px;width:100%}
.foot-cols h3{margin-bottom:20px;font-size:16px;font-weight:600}
.foot-cols ul{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:14px;line-height:22.4px}
.foot-cols a{color:var(--text-secondary);transition:color .15s}
.foot-cols a:hover{color:var(--text-default)}
.foot-bottom{padding:24px 0;font-size:12px;color:var(--text-secondary);border-top:1px solid var(--border-default)}
.foot-bottom-row{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;gap:12px}
.status{display:inline-flex;align-items:center;gap:6px;padding:0 4px;font-weight:500;color:var(--text-default)}
.status i{width:6px;height:6px;border-radius:50%;background:var(--green-9)}
.privacy{display:inline-flex;align-items:center;gap:6px}
.privacy i{width:26px;height:12px;border-radius:6px;background:var(--blue-9);display:block;position:relative}
.privacy i::after{content:"";position:absolute;right:2px;top:2px;width:8px;height:8px;border-radius:50%;background:#fff}
.socials{display:flex;gap:16px}
.socials a{width:26px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:32px;color:var(--text-secondary)}
.socials a:hover{color:var(--text-default);background:var(--bg-element)}
.socials svg{width:16px;height:16px}
.theme-select{position:relative}
.theme-btn{display:flex;align-items:center;gap:8px;height:32px;padding:8px;min-width:97px;border-radius:0;border:1px solid var(--border-default);background:var(--bg-default);font-size:12px;font-weight:500;color:var(--text-default)}
.theme-btn:hover{background:var(--theme-btn-hover)}
.theme-btn .grow{flex:1;text-align:left}
.theme-menu{position:absolute;bottom:38px;right:0;min-width:120px;padding:4px;border-radius:0;border:1px solid var(--border-default);background:var(--bg-default);box-shadow:var(--shadow-md);display:none;z-index:20}
.theme-menu.open{display:block}
.theme-menu button{display:block;width:100%;text-align:left;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:500}
.theme-menu button:hover,.theme-menu button[aria-checked=true]{background:var(--bg-element)}
.foot-right{display:flex;flex-direction:column;align-items:center;gap:12px}
@media (min-width:300px){.foot-cols{grid-template-columns:1fr 1fr}}
@media (min-width:788px){
  .foot-brand{flex-direction:row}
  .foot-logo{margin-right:auto}
  .newsletter{background:none;padding:0;gap:16px;border-radius:0}
  .newsletter .btn{margin-left:0}
  .foot-cols{grid-template-columns:repeat(5,1fr)}
  .foot-bottom{border-top:0}
  .foot-bottom-row{flex-direction:row;gap:8px}
  .foot-right{flex-direction:row;margin-left:auto;gap:16px}
}
@media (min-width:1008px){
  .foot-nav{flex-direction:row;gap:16px;padding:88px 0 48px}
  .foot-brand{flex-direction:column;width:100%;max-width:300px}
  .newsletter{flex-direction:column;align-items:flex-start;height:100%;justify-content:flex-start;padding-top:24px;gap:12px}
  .theme-btn{margin-left:8px}
}
@media (max-width:467.98px){.newsletter .eyebrow-row .sm{display:none}}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.wf{width:100%;height:300px;border-radius:16px 16px 0 0;display:grid;grid-template-columns:96px 1fr;overflow:hidden;box-shadow:none}
@media (min-width:788px){.wf{width:90%;height:560px;border-radius:20px 20px 0 0;grid-template-columns:200px 1fr}}

.pill:hover .pill-tag{background:var(--pill-tag-hover)}
.app-icon{outline:1px solid var(--app-icon-ring);outline-offset:-1px}
/* dark-only refinements */
[data-theme="dark"] .squircle .s1, [data-theme="dark"] .squircle .s2{background:transparent}
[data-theme="dark"] .squircle .s1{background:var(--bg-default)}
[data-theme="dark"] .squircle::after{content:"";position:absolute;inset:0;border-radius:32%;opacity:.024;background:repeating-conic-gradient(#fff 0 25%,transparent 0 50%) 0 0/3px 3px}
[data-theme="dark"] .burst .app-tile{filter:none}
[data-theme="dark"] .phone .screen{border-color:#3a3b40}
[data-theme="dark"] .quote a{background:var(--bg-default)}
@media (prefers-color-scheme: dark){
  :root:where(:not([data-theme="light"])) .squircle .s1{box-shadow:inset 0 2.5px 40px 0 rgba(210,216,228,.07),inset 8.4px 8.4px 168px 0 rgba(148,152,158,.035)}
  :root:where(:not([data-theme="light"])) .squircle .s2{background:rgba(255,255,255,.03);box-shadow:inset 0 2.5px 24px 0 rgba(255,255,255,.1)}
}

/* FAQ (placeholder content) */
.faq{padding:80px 0 40px}
.faq-head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-bottom:32px}
.faq-head .eyebrow{color:var(--text-tertiary)}
.faq-head p:last-child{font-size:14px;font-weight:500;color:var(--text-secondary)}
.faq-list{max-width:760px;margin:0 auto;border-top:1px solid var(--border-secondary)}
.faq-item{border-bottom:1px solid var(--border-secondary)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 4px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;letter-spacing:-.2px;color:var(--text-default)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--text-secondary)}
.faq-item summary:focus-visible{outline:2px solid var(--text-link);outline-offset:2px;border-radius:8px}
.faq-chev{flex:none;color:var(--icon-secondary,var(--text-tertiary));transition:transform var(--dur) var(--ease)}
.faq-item[open] .faq-chev{transform:rotate(180deg)}
.faq-item p{padding:0 4px 20px;max-width:640px;font-size:14px;line-height:1.55;color:var(--text-secondary)}
@media (min-width:1008px){.faq{padding:120px 0 60px}.faq-head h2{font-size:48px;letter-spacing:-2px;line-height:1.1}.faq-head p:last-child{font-size:16px}.faq-item summary{font-size:18px}.faq-item p{font-size:16px}}

/* Subpages: docs, pricing, about, contact, privacy (placeholder content) */
.page-top{border-bottom:1px solid var(--border-secondary)}
.page-top-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.page-top .logo{margin:0}
.page-nav{display:flex;gap:4px;flex-wrap:wrap}
.page-nav .nav-link{padding:6px 10px;border-radius:999px;font-size:14px;font-weight:500;color:var(--text-secondary)}
.page-nav .nav-link:hover,.page-nav .nav-link[aria-current=page]{color:var(--text-default);background:var(--bg-element)}
.prose{max-width:760px;padding-top:56px;padding-bottom:80px;font-size:16px;line-height:1.6;color:var(--text-secondary)}
.prose h1{font-size:40px;line-height:1.1;letter-spacing:-1.5px;font-weight:600;color:var(--text-default);margin:0 0 24px}
.prose h2{font-size:24px;line-height:1.25;letter-spacing:-.5px;font-weight:600;color:var(--text-default);margin:40px 0 12px}
.prose h3{font-size:18px;font-weight:600;color:var(--text-default);margin:28px 0 8px}
.prose p,.prose ul,.prose ol,.prose table,.prose pre,.prose blockquote{margin:0 0 16px}
.prose ul,.prose ol{padding-left:22px}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose li{margin:4px 0}
.prose a{color:var(--text-link);text-decoration:underline;text-underline-offset:2px}
.prose strong{color:var(--text-default)}
.prose blockquote{padding:12px 16px;border:1px solid var(--border-info);background:var(--bg-info);border-radius:12px;color:var(--text-default)}
.prose blockquote p{margin:0}
.prose code{font-family:var(--font-mono);font-size:.88em;background:var(--bg-element);padding:2px 5px;border-radius:6px;color:var(--text-default)}
.prose pre{background:var(--bg-subtle);border:1px solid var(--border-secondary);border-radius:12px;padding:16px;overflow:auto}
.prose pre code{background:none;padding:0;font-size:13px;line-height:1.6}
.prose table{width:100%;border-collapse:collapse;font-size:14px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--border-secondary);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--bg-subtle);color:var(--text-default);font-weight:600}
.page-foot{border-top:1px solid var(--border-secondary);padding:24px 0;font-size:13px;color:var(--text-tertiary)}
.page-foot-inner{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between}
.page-foot-links{display:flex;flex-wrap:wrap;gap:8px 16px}
.page-foot-links a:hover{color:var(--text-default)}
@media (max-width:600px){.prose h1{font-size:32px}.page-top-inner{height:auto;padding-top:12px;padding-bottom:12px;flex-direction:column;align-items:flex-start}}

/* wordmark + theme toggle (concepts brand) */
.logo img.wm{height:22px;width:auto;display:block}
.wm-dark{display:none!important}
html[data-theme="dark"] .wm-dark{display:block!important}
html[data-theme="dark"] .wm-light{display:none!important}
.theme-t{all:unset;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-left:0;border:1px solid var(--line2,var(--border-default));color:var(--ink,var(--text-default));flex:none}
.theme-t:hover{border-color:var(--ink,var(--text-default))}
.theme-t:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.theme-t svg{width:16px;height:16px;display:block}
.theme-t .i-sun{display:none}
html[data-theme="dark"] .theme-t .i-sun{display:block}
html[data-theme="dark"] .theme-t .i-moon{display:none}

/* 01 Intro, from concepts showcase.css */
.intro{padding:56px 0 36px;border-bottom:1px solid var(--line,var(--border-default))}
.intro-inner{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end}
.intro h1{font-size:clamp(30px,4.4vw,52px);line-height:1.04;letter-spacing:-.035em;font-weight:600;margin:0 0 14px}
.tw{position:relative}
.tw-run .tw-ghost{visibility:hidden}
.tw-live{display:none}
.tw-run .tw-live{display:block;position:absolute;inset:0}
.tw-caret{display:inline-block;width:.07em;height:.9em;margin-left:.06em;vertical-align:-.08em;background:var(--accent,currentColor);animation:tw-blink 1s steps(1) infinite}
.tw-done .tw-caret{animation:none;opacity:0;transition:opacity .4s}
@keyframes tw-blink{50%{opacity:0}}
.intro p{color:var(--dim,var(--text-secondary));margin:0;max-width:56ch}
.spec{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line,var(--border-default));margin:0}
.spec div{padding:10px 12px;border-right:1px solid var(--line,var(--border-default));border-bottom:1px solid var(--line,var(--border-default))}
.spec div:nth-child(2n){border-right:0}
.spec div:nth-last-child(-n+2){border-bottom:0}
.spec dt{font:500 10px/1 var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--mute,var(--text-tertiary))}
.spec dd{margin:6px 0 0;font:650 20px/1 var(--font-sans);letter-spacing:-.02em;color:var(--ink,var(--text-default))}
.spec dd.spec-acc{color:var(--accent)}
@media (max-width:860px){
  .intro{padding-top:36px}
  .intro-inner{grid-template-columns:1fr;gap:24px}
}

/* 05 H2m Run stream: 527 real quotes fall into seven columns.
   Section sits on the page background; the chart surface stays navy. */
.h2m{--h2m-bg:#0033A0;--h2m-fg:#fff;--h2m-dim:#B9C8EC;--h2m-faint:rgb(255 255 255 / .42);--h2m-line:rgb(255 255 255 / .3);--h2m-o:#FF5A1F;background:var(--bg-default);color:var(--ink,var(--text-default))}
html[data-theme="dark"] .h2m{--h2m-bg:#161719;--h2m-dim:#C9CBCF;--h2m-faint:rgb(255 255 255 / .4);--h2m-line:rgb(255 255 255 / .2);background:var(--bg-default);color:var(--ink,var(--text-default))}
.h2m-inner{display:flex;flex-direction:column;min-height:0;padding-top:24px;padding-bottom:32px}
.h2m-head{margin:0 0 16px}
.h2m-kicker{margin:0;font:500 10px/1.3 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim,var(--text-secondary))}
.h2m-title,.h7-title{margin:10px 0 0;font-size:clamp(28px,6vw,40px);font-weight:600;line-height:1.04;letter-spacing:-.035em;color:var(--accent,#0033A0)}
.h2m-sub{margin:16px 0 0;font-size:14.5px;line-height:1.45;color:var(--ink,var(--text-default))}
.h2m-sub b{font-weight:600}
.h2m-phone{display:flex;flex-direction:column;min-height:0;position:relative}
.h2m-bezel{display:none;color:var(--h2m-bg)}
.h2m-screen{flex:1;display:flex;flex-direction:column;min-height:max(480px,min(68svh,720px));padding:16px 20px 18px;background:var(--h2m-bg);color:var(--h2m-fg)}
html[data-theme="dark"] .h2m-screen{background:var(--h2m-bg) var(--grain)}
.h2m-top{display:flex;justify-content:flex-end}
.h2m-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--h2m-line);color:var(--h2m-dim);padding:4px 7px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}
.h2m-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--h2m-fg)}
.h2m-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:18px 0 0;font:500 10px/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--h2m-faint)}
.h2m-n{color:var(--h2m-dim);font-variant-numeric:tabular-nums}
.h2m-plot{flex:1;min-height:0;position:relative}
.h2m-plot canvas{position:absolute;inset:0;width:100%;height:100%}
@media (min-width:640px){
  .h2m-inner{flex-direction:column;align-items:stretch;padding-top:36px;padding-bottom:36px}
  .h2m-head{margin-bottom:20px}
  .h2m-phone{flex:none;align-self:center;width:420px;height:840px}
  .h2m-sub{margin-top:20px}
  .h2m-bezel{display:block;position:absolute;inset:0;width:100%;height:100%}
  .h2m-screen{position:absolute;left:7.04%;top:3.2025%;width:85.99%;height:93.5925%;min-height:0;border-radius:51.7px;overflow:hidden;padding:44px 18px 18px;background:var(--h2m-bg)}
  html[data-theme="dark"] .h2m-screen{background:var(--h2m-bg) var(--grain)}
}

/* Figure H7: store scorecard coverflow.
   Section uses the page frame; the cards themselves stay navy. */
.h7{scroll-margin-top:72px;--h7-card:#0033A0;--h7-card-fg:#fff;--h7-card-muted:#B9C8EC;--h7-o:#FF5A1F;--h7-s2:#B9C8EC;--h7-s3:rgb(255 255 255 / .35);--cf-card:clamp(150px,15vw,200px);background:var(--bg-default);color:var(--ink,var(--text-default));border-top:1px solid var(--line,var(--border-default))}
html[data-theme="dark"] .h7{--h7-card:#0033A0;--h7-card-fg:#fff;--h7-card-muted:#B9C8EC;--h7-s2:#9DB6F2;--h7-s3:rgb(255 255 255 / .35);background:var(--bg-default);color:var(--ink,var(--text-default))}
.h7-inner{padding-top:24px;padding-bottom:36px;display:flex;flex-direction:column;gap:4px}
.h7-head{margin:0 0 8px}
.h7-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 2px 4px}
.h7-kicker{margin:0;font:500 10px/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim,var(--text-secondary))}
.h7-logo{height:22px;width:auto;display:block;flex:none}
.h7-window{margin:8px 0 0;font:500 10px/1.3 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim,var(--text-secondary))}
.h7-chart{display:none}
.h7-qbars{margin:0}
.hb.h7-qbars li{display:block;padding:0}
.h7-chart .h7-qbars button{
  display:grid;grid-template-columns:minmax(88px,34%) 1fr auto;align-items:center;gap:10px;
  width:100%;padding:6px 8px;border-radius:6px;border:1px solid transparent;
  background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer
}
.h7-chart .h7-qbars button:focus-visible{outline:2px solid var(--accent,#0033A0);outline-offset:2px}
.h7-qbars li.is-on button,.h7-chart .h7-qbars button[aria-pressed="true"]{
  background:rgb(0 51 160 / .08);border-color:rgb(0 51 160 / .16)
}
html[data-theme="dark"] .h7-qbars li.is-on button,
html[data-theme="dark"] .h7-chart .h7-qbars button[aria-pressed="true"]{
  background:rgb(157 182 242 / .12);border-color:rgb(157 182 242 / .28)
}
@media (min-width:640px){
  .h7-box{
    display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
    gap:16px;align-items:stretch;background:#0033A0;padding:20px
  }
  html[data-theme="dark"] .h7-box{background:#0033A0}
  .h7-chart{display:flex;flex-direction:column;min-width:0}
  .h7-chart .ch{flex:1;border-radius:12px;overflow:hidden}
  .h7-box .h7-flow{max-width:none;width:100%;margin:0}
  .h7-cap{margin-top:16px}
}
.h7-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--accent,#0033A0);color:var(--accent,#0033A0);padding:4px 7px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}
.h7-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent,#0033A0)}
.h7-flow{position:relative;width:100%;max-width:610px;margin:0 auto;--cf-rotate:42;--cf-depth:.6;--cf-persp:3;--cf-falloff:.56;--cf-fade:.1;--cf-gap:.05}
@media (max-width:639.98px){.h7-flow{max-width:none;width:calc(100% + 16px);margin-left:-8px;margin-right:-8px}}
.h7-frame{cursor:grab;overflow:hidden;padding:40px 0;outline:none;touch-action:pan-y;perspective:calc(var(--cf-card) * var(--cf-persp))}
.h7-frame:focus-visible{outline:2px solid var(--accent,#0033A0);outline-offset:2px}
.h7-frame:active{cursor:grabbing}
.h7-stage{position:relative;height:var(--cf-card);transform-style:preserve-3d;user-select:none}
.h7-card{position:absolute;left:50%;top:0;width:var(--cf-card);aspect-ratio:1;overflow:hidden;background:var(--h7-card);color:var(--h7-card-fg);box-shadow:0 18px 40px -18px rgb(0 0 0 / .45);will-change:transform;display:flex;flex-direction:column;justify-content:space-between;padding:calc(var(--cf-card) * .07);transform:translateX(-50%)}
.h7-card-h{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
.h7-store{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.h7-store img{width:22px;height:22px;border-radius:3px;flex:none}
.h7-store b{font-size:14px;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.h7-mono{font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--h7-card-muted);flex:none}
@media (max-width:479.98px){
  .h7-mono{display:none}
  .h7-card{aspect-ratio:auto;height:calc(var(--cf-card) + 24px)}
  .h7-stage{height:calc(var(--cf-card) + 24px)}
}
.h7-mid,.h7-bot{flex:none;min-width:0}
.h7-num{font-size:clamp(38px,5vw,58px);font-weight:600;line-height:1;letter-spacing:-.03em}
.h7-sub{margin-top:4px;font-size:12px;line-height:1.3;color:var(--h7-card-muted)}
.h7-bar{display:flex;height:8px;width:100%;gap:2px}
.h7-bar i{display:block;height:100%}
.h7-kv{margin:10px 0 0;display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:11px;line-height:1.3}
.h7-kv dt{color:var(--h7-card-muted)}
.h7-kv dd{margin:0;text-align:right;font-weight:500;font-variant-numeric:tabular-nums}
.h7-nav{position:absolute;top:50%;z-index:200;transform:translateY(-50%);width:36px;height:36px;padding:8px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#F6F6F4;color:#0A1F5C;box-shadow:0 0 0 1px rgb(10 31 92 / .09),0 1px 2px rgb(10 31 92 / .06)}
html[data-theme="dark"] .h7-nav{background:#2A2B2E;color:#F2F2F0;box-shadow:0 0 0 1px rgb(255 255 255 / .06)}
.h7-nav:hover{filter:brightness(1.06)}
.h7-nav svg{width:20px;height:20px;display:block}
.h7-prev{left:12px}.h7-next{right:12px}
.h7-cap{margin:-26px auto 0;max-width:540px;padding:0 18px;text-align:center;font-size:14px;line-height:1.45;color:var(--dim,var(--text-secondary));position:relative;z-index:1}
.h7-cap b{font-weight:600;color:var(--ink,var(--text-default))}
@media (min-width:640px){
  .h7-cap{margin:16px auto 0}
}
@media (prefers-reduced-motion:reduce){
  .h7-card{transition:none}
}

/* H9 + H11: one navy panel in the page frame. Desktop H11 left / H9 right; phone H9 then H11. */
.h9h11{background:var(--bg-default);padding:0 0 36px}
.h9h11-panel{background:#0033A0;color:#fff;padding:20px 16px 24px;display:flex;flex-direction:column;gap:28px}
html[data-theme="dark"] .h9h11-panel{background:#0033A0}
.hx-row{display:flex;justify-content:flex-end;margin-bottom:10px}
.h7-badge.h9-on{border-color:rgb(255 255 255 / .35);color:#B9C8EC}
.h7-badge.h9-on::before{background:#fff}
.h11-ex{display:inline-flex;align-items:center;gap:6px;border:1px solid #FF8A5C;color:#FFB08F;padding:4px 7px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}
.h11-ex::before{content:"";width:5px;height:5px;border-radius:50%;background:#FF5A1F}
.hx-mono{font:500 10px/1.3 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:#B9C8EC}
.h9-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.h9-toggle{display:flex;border:1px solid rgb(255 255 255 / .3);padding:2px}
.h9-toggle button{padding:5px 10px;font-size:12px;font-weight:500;color:#B9C8EC}
.h9-toggle button[aria-pressed="true"]{background:#fff;color:#0033A0}
.h9-list{display:grid;gap:10px}
.h9-list li{display:grid;grid-template-columns:18px 92px minmax(0,1fr) 52px;align-items:center;gap:10px;transition:opacity .3s}
@media (min-width:640px){.h9-list li{grid-template-columns:22px 120px minmax(0,1fr) 64px}}
.h9-list li:not(.on){opacity:.8}
.h9-rank{font:500 11px/1 var(--font-mono);color:rgb(255 255 255 / .42)}
.h9-store{display:flex;align-items:center;gap:8px;min-width:0}
.h9-store img{width:18px;height:18px;border-radius:3px;flex:none}
.h9-store span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.h9-track{position:relative;height:26px}
.h9-fill{position:absolute;inset:0 auto 0 0;display:flex;overflow:hidden;width:0;height:26px}
.h9-board.in .h9-fill{width:var(--bw,100%);transition:width .7s cubic-bezier(.22,1,.36,1)}
@media (prefers-reduced-motion:reduce){.h9-board .h9-fill{width:var(--bw,100%);transition:none}}
.h9-ready{background:#fff}.h9-blocked{background:rgb(255 255 255 / .3)}.h9-prep{background:rgb(255 255 255 / .16)}
.h9-list li.on .h9-ready{background:#FF5A1F}
.h9-val{text-align:right;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.h9-suf{font-weight:600}
.h9-val .h9-suf.dim{font-size:11px;font-weight:400;color:rgb(255 255 255 / .42)}
.h9-roll{display:inline-flex;overflow:hidden;line-height:1;vertical-align:baseline}
.h9-roll i{display:inline-block}
.h9-roll i.up{animation:h9-up .32s cubic-bezier(.22,1,.36,1)}
@keyframes h9-up{from{transform:translateY(65%);opacity:0;filter:blur(2px)}to{transform:none;opacity:1;filter:none}}
.h9-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px;border-top:1px solid rgb(255 255 255 / .16);padding-top:12px}
.h9-legend span{display:flex;align-items:center;gap:6px}
.h9-legend i{display:block;width:10px;height:10px}
.h9-legend .lg-ready{background:#fff}.h9-legend .lg-held{background:rgb(255 255 255 / .3)}.h9-legend .lg-prep{background:rgb(255 255 255 / .16)}
.h11-card{background:#F6F6F4;color:#0A1F5C;padding:16px}
html[data-theme="dark"] .h11-card{background:#F6F6F4;color:#0A1F5C}
.h11-card-top{display:flex;justify-content:flex-end;margin:0 0 12px}
.h11-card .h11-ex{color:#C44714;border-color:#FF5A1F}
.h11-card .h11-ex::before{background:#FF5A1F}
.h11-form{display:flex;gap:8px}
.h11-field{display:flex;min-width:0;flex:1;align-items:center;gap:8px;border:1px solid rgb(10 31 92 / .24);background:#E6E6E6;padding:0 12px}
.h11-field svg{width:15px;height:15px;flex:none;color:rgb(10 31 92 / .62)}
.h11-field input{height:42px;min-width:0;flex:1;background:transparent;font-size:15px;outline:none;color:#0A1F5C}
.h11-run{display:flex;height:44px;align-items:center;gap:6px;background:#0033A0;padding:0 16px;font-size:13px;font-weight:600;color:#fff;white-space:nowrap;flex:none}
.h11-run svg{width:14px;height:14px}
.h11-steps{margin-top:14px;display:grid;gap:2px}
.h11-steps li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:10px;padding:6px 4px}
.h11-steps li.wait{opacity:.4}
.h11-ico{width:18px;height:18px;margin-top:1px;display:flex;align-items:center;justify-content:center}
.h11-ico svg{width:15px;height:15px;display:block}
.h11-ico .dot{display:block;width:8px;height:8px;border-radius:50%;background:rgb(10 31 92 / .24)}
.h11-ico .spin{display:block;width:12px;height:12px;border-radius:50%;border:2px solid #0033A0;border-top-color:transparent;animation:h11-spin .8s linear infinite}
@media (prefers-reduced-motion:reduce){.h11-ico .spin{animation:none;border-top-color:#0033A0}}
@keyframes h11-spin{to{transform:rotate(360deg)}}
.h11-l{display:block;font-size:13.5px;font-weight:500}
.h11-warn{display:none;font-size:12px;color:rgb(10 31 92 / .62);margin-top:2px}
.h11-steps li.done[data-warn] .h11-warn{display:block}
.h11-code{font:500 9.5px/1 var(--font-mono);color:rgb(10 31 92 / .4)}
@media (max-width:479.98px){.h11-code{display:none}}
.h11-result{margin-top:12px;display:flex;align-items:center;gap:16px;border-top:1px solid rgb(10 31 92 / .13);padding-top:14px}
.h11-result[hidden]{display:none}
.h11-score{display:flex;align-items:baseline;gap:4px;flex:none}
.h11-big{font-size:44px;font-weight:600;line-height:1;letter-spacing:-.03em}
.h11-out{font-size:13px;color:rgb(10 31 92 / .62)}
.h11-result p{margin:0;min-width:0;font-size:13px;line-height:1.45}
.h11-note{margin:12px 0 0;font:500 10px/1.35 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:rgb(10 31 92 / .4)}
@media (min-width:960px){
  .h9h11-panel{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:24px 28px 28px;align-items:start}
  .h11-col{order:0}.h9-col{order:1}
  .h11-card{padding:20px}
}

/* H13 Person and agent: example split on a navy box inside the page frame. */
.h13{background:var(--bg-default);padding:0 0 36px}
.h13-inner{padding-top:8px}
.h13-head{margin:0 0 16px}
.h13-box{background:#0033A0;color:#fff;padding:16px}
html[data-theme="dark"] .h13-box{background:#0033A0}
.h13-top{display:flex;justify-content:flex-end;margin-bottom:12px}
.h13-ex{display:inline-flex;align-items:center;gap:6px;border:1px solid #FF8A5C;color:#FFB08F;padding:4px 7px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}
.h13-ex::before{content:"";width:5px;height:5px;border-radius:50%;background:#FF5A1F}
.h13-grid{display:grid;gap:10px}
.h13-pane{display:flex;flex-direction:column;background:#F6F6F4;color:#0A1F5C;padding:14px;box-shadow:0 18px 50px rgb(0 0 0 / .28)}
html[data-theme="dark"] .h13-pane{background:#F6F6F4;color:#0A1F5C}
.h13-who{display:flex;align-items:center;gap:8px}
.h13-ico{display:flex;width:26px;height:26px;align-items:center;justify-content:center;flex:none}
.h13-ico svg{width:14px;height:14px;display:block}
.h13-ico.person{background:#E6E6E6;color:#0A1F5C}
.h13-ico.agent{background:#0033A0;color:#fff}
.h13-who-n{font-size:14px;font-weight:600}
.h13-clock{margin-left:auto;font:500 10px/1 var(--font-mono);font-variant-numeric:tabular-nums;color:rgb(10 31 92 / .4)}
.h13-bar{margin-top:10px;height:3px;background:rgb(10 31 92 / .13)}
.h13-bar i{display:block;height:100%;width:0;background:#FF5A1F;transition:width .2s linear}
.h13-steps{margin-top:10px;display:grid;gap:1px}
.h13-steps li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:5px 0}
.h13-steps li.wait{opacity:.35}
.h13-steps li.wait .h13-note{display:none}
.h13-st{margin-top:2px;display:flex;align-items:center;justify-content:center;width:16px;height:16px}
.h13-st .dot{display:none;width:7px;height:7px;border-radius:50%;background:rgb(10 31 92 / .24)}
.h13-st .ck,.h13-st .ptr,.h13-st .spin{display:none}
.h13-st .ck{width:14px;height:14px;color:#0033A0}
.h13-st .ptr{width:13px;height:13px}
.h13-st .spin{width:11px;height:11px;border-radius:50%;border:2px solid #FF5A1F;border-top-color:transparent;animation:h13-spin .8s linear infinite}
.h13-steps li.wait .dot{display:block}
.h13-steps li.done .ck{display:block}
.h13-steps li.run .ptr,.h13-steps li.run .spin{display:block}
.h13-l{font-size:13px;font-weight:500}
.h13-sl{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.h13-code{font:500 9px/1 var(--font-mono);color:rgb(10 31 92 / .4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46%}
.h13-note{display:block;font-size:11.5px;color:rgb(10 31 92 / .62);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h13-end{margin-top:auto;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgb(10 31 92 / .13);padding-top:10px;opacity:0;transition:opacity .3s}
.h13-end.show{opacity:1}
.h13-end span:first-child{font-size:12px;font-weight:600}
.h13-end span:last-child{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.h13-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}
@keyframes h13-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.h13-st .spin{animation:none;border-top-color:#FF5A1F}.h13-bar i,.h13-end{transition:none}}
@media (max-width:639.98px){.h13-code{display:none}}
@media (min-width:640px){
  .h13-grid{grid-template-columns:1fr 1fr}
  .h13-pane{padding:16px}
  .h13-box{padding:20px}
}

/* Moments M5, M3, M6, M7: navy frame inside the page, concept UI on a paper stage. */
.mo-sec{background:var(--bg-default);padding:0 0 36px;scroll-margin-top:72px}
.mo-inner{padding-top:8px}
.mo-box{background:#0033A0;color:#fff;padding:16px}
html[data-theme="dark"] .mo-box{background:#0033A0}
.mo-stage{
  --b-stage:#E6E6E6;--b-surface:#F6F6F4;--b-surface-2:#E9E9EC;--b-surface-3:#DCDCE2;
  --b-fg:#0A1F5C;--b-fg-muted:rgb(10 31 92 / .62);--b-fg-faint:rgb(10 31 92 / .4);
  --b-invert:#0033A0;--b-line:rgb(10 31 92 / .13);--b-line-2:rgb(10 31 92 / .24);
  --b-shadow:0 0 0 1px rgb(10 31 92 / .09),0 1px 2px rgb(10 31 92 / .06);
  --b-accent:#0033A0;--b-o:#FF5A1F;
  background:var(--b-stage);color:var(--b-fg);padding:18px 16px 20px
}
html[data-theme="dark"] .mo-stage{
  --b-stage:#1D1E20;--b-surface:#2A2B2E;--b-surface-2:#34363A;--b-surface-3:#3E4045;
  --b-fg:#F2F2F0;--b-fg-muted:rgb(242 242 240 / .62);--b-fg-faint:rgb(242 242 240 / .4);
  --b-invert:#0033A0;--b-line:rgb(255 255 255 / .08);--b-line-2:rgb(255 255 255 / .16);
  --b-shadow:0 0 0 1px rgb(255 255 255 / .06);
  --b-accent:#9DB6F2
}
.mo-top{display:flex;justify-content:flex-end;margin-bottom:16px}
.mo-ex{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--b-o);color:var(--b-o);padding:4px 7px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase}
.mo-ex::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--b-o);flex:none}
.mo-mono{font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--b-fg-muted)}
.mo-logo{width:16px;height:16px;border-radius:3px;flex:none;display:block}
.mo-stage button{font:inherit;color:inherit;background:none;cursor:pointer;border:0;padding:0}
.mo-stage ol,.mo-stage ul{list-style:none;margin:0;padding:0}
.mo-stage p{margin:0}
.mo-stage svg{display:block}
@media (min-width:640px){
  .mo-box{padding:20px}
  .mo-stage{padding:22px 34px}
}

/* M5 · Roll a test run */
.m5-body{display:flex;flex-direction:column;align-items:center;gap:20px}
.m5-row{display:flex;width:100%;max-width:680px;align-items:stretch;gap:4px}
.m5-goo{position:absolute;width:0;height:0}
.m5-tray{flex:1;min-width:0;background:var(--b-surface);padding:10px;box-shadow:var(--b-shadow)}
.m5-tiles{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.m5-tile{display:flex;flex-direction:column;justify-content:space-between;min-width:0;height:112px;padding:12px;color:#fff;border-radius:4px}
.m5-k{font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:rgb(255 255 255 / .7)}
.m5-v{display:flex;align-items:center;gap:7px;min-width:0}
.m5-v .mo-logo{background:#fff;padding:2px;border-radius:3px;box-sizing:content-box;width:16px;height:16px}
.m5-txt{font-size:15px;font-weight:600;line-height:1.15}
.mo-stage .m5-shuffle{flex:none;width:52px;display:flex;align-items:center;justify-content:center;background:var(--b-surface);color:var(--b-fg);box-shadow:var(--b-shadow)}
.m5-shuffle svg{width:18px;height:18px}
.m5-spin{display:flex;transition:transform .56s cubic-bezier(.4,0,.2,1)}
.m5-sent{max-width:600px;text-align:center;font-size:17px;line-height:1.45}
.m5-sent b{font-weight:600}
.m5-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center}
.mo-stage .m5-queue{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;background:var(--b-invert);color:#fff;font-size:14px;font-weight:500}
.m5-queue svg{width:15px;height:15px}
.m5-queued{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--b-fg-muted)}
.m5-queued[hidden]{display:none}
.m5-queued svg{width:14px;height:14px;color:var(--b-o);flex:none}
.m5-tiles.busy{filter:url(#m5-goo)}
.m5-tiles.busy .m5-tile{animation:m5-morph .56s cubic-bezier(.45,0,.2,1)}
@keyframes m5-morph{
  0%{transform:scale(1) translateY(0);border-radius:4px}
  45%{transform:scale(.79) translateY(-2.8px);border-radius:40px}
  100%{transform:scale(1) translateY(0);border-radius:4px}
}
@media (min-width:640px){
  .m5-tiles{grid-template-columns:repeat(4,1fr)}
  .m5-sent{font-size:19px}
}

/* M3 · Replay a run on a phone */
.m3-grid{display:grid;gap:24px;align-items:center}
.m3-device{position:relative;width:280px;max-width:100%;aspect-ratio:1/2;margin:0 auto;color:#000;flex:none}
.m3-bezel{position:absolute;inset:0;width:100%;height:100%}
.m3-screen{position:absolute;left:7.04%;top:3.2025%;width:85.99%;height:93.5925%;border-radius:12.31%/6.57%;overflow:hidden;background:#FBFBFA;color:#15171A}
.m3-status{display:flex;height:44px;align-items:flex-end;justify-content:space-between;padding:0 22px 4px;font-size:12px;font-weight:600}
.m3-batt{display:block;width:16px;height:9px;border:1px solid rgb(0 0 0 / .7);border-radius:2px}
.m3-nav{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgb(0 0 0 / .1);padding:9px 14px}
.m3-nav b{font-size:14px;font-weight:700;letter-spacing:-.02em}
.m3-cart{position:relative;display:flex}
.m3-cart svg{width:17px;height:17px}
.m3-cart-n{position:absolute;right:-5px;top:-5px;width:12px;height:12px;border-radius:50%;background:#FF5A1F;color:#fff;font-size:8px;font-weight:700;font-style:normal;display:flex;align-items:center;justify-content:center}
.m3-cart-n[hidden]{display:none}
.m3-pages{position:relative}
.m3-page{display:none;padding:14px}
.m3-page.on{display:block}
.m3-page[data-page="sign"]{padding:22px 16px 14px}
.m3-ph{font-size:16px;font-weight:600;letter-spacing:-.01em}
.m3-page[data-page="sign"] .m3-ph{font-size:18px}
.m3-pm{margin-top:4px;font-size:12px;color:rgb(0 0 0 / .55)}
.m3-field{margin-top:8px;display:flex;align-items:center;gap:6px;height:38px;border:1px solid rgb(0 0 0 / .15);border-radius:8px;padding:0 10px;font-size:12px;color:rgb(0 0 0 / .7)}
.m3-page[data-page="sign"] .m3-pm + .m3-field{margin-top:18px}
.m3-field svg{width:12px;height:12px;flex:none}
.m3-sbtn,.m3-abtn{margin-top:16px;display:flex;align-items:center;justify-content:center;gap:6px;height:40px;border-radius:8px;font-size:13px;font-weight:600;color:#fff;background:#0033A0}
.m3-abtn{margin-top:14px;background:#FF5A1F}
.m3-sbtn.dim{background:#0033A0;opacity:.8}
.m3-find{display:flex;align-items:center;gap:7px;height:36px;border-radius:18px;background:rgb(0 0 0 / .06);padding:0 12px;font-size:12px}
.m3-find svg{width:13px;height:13px;color:rgb(0 0 0 / .5);flex:none}
.m3-caret{display:block;width:1.5px;height:14px;background:#0033A0;animation:m3-blink .9s step-end infinite}
@keyframes m3-blink{50%{opacity:0}}
.m3-res{margin-top:12px;display:grid;gap:8px}
.m3-res[hidden]{display:none}
.m3-hit,.m3-line{display:flex;align-items:center;gap:10px;border:1px solid rgb(0 0 0 / .1);border-radius:10px;padding:8px}
.m3-hit.on{border-color:#0033A0;background:#0033A0/04;background:rgb(0 51 160 / .04)}
.m3-thumb{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:rgb(0 0 0 / .06)}
.m3-cable{width:26px;height:26px}
.m3-hit-n{min-width:0;flex:1}
.m3-hit-n span{display:block}
.m3-hit-n span:first-child{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m3-hit-n span:last-child{font-size:11px;color:rgb(0 0 0 / .55);font-weight:400}
.m3-hit-p{font-size:12px;font-weight:600;flex:none}
.m3-hero{display:flex;height:150px;align-items:center;justify-content:center;border-radius:12px;background:rgb(0 0 0 / .05)}
.m3-hero .m3-cable{width:96px;height:96px;stroke-width:2}
.m3-pname{margin-top:12px;font-size:15px;font-weight:600;line-height:1.2}
.m3-price{margin-top:4px;font-size:18px;font-weight:600}
.m3-opts{margin-top:8px;display:flex;gap:6px;font-size:11px}
.m3-opts span{border:1px solid rgb(0 0 0 / .15);border-radius:6px;padding:4px 8px;color:rgb(0 0 0 / .55)}
.m3-opts span.on{border-color:#0033A0;color:#15171A;font-weight:500}
.m3-abtn svg{width:14px;height:14px}
.m3-ship{margin-top:10px;border:1px solid rgb(0 0 0 / .1);border-radius:10px;padding:10px;font-size:11px;color:rgb(0 0 0 / .6)}
.m3-totals{margin-top:10px;border:1px solid rgb(0 0 0 / .1);border-radius:10px;padding:4px 10px}
.m3-rrow{display:none;justify-content:space-between;padding:5px 0;font-size:12px}
.m3-rrow.show{display:flex}
.m3-rrow span:first-child{color:rgb(0 0 0 / .55)}
.m3-rrow.strong{border-top:1px solid rgb(0 0 0 / .1);padding-top:8px;font-size:14px;font-weight:600}
.m3-rrow.strong span:first-child{color:#15171A}
.m3-ready{margin-top:12px;display:flex;align-items:flex-start;gap:6px;border:1px solid #FF5A1F;background:rgb(255 90 31 / .07);border-radius:10px;padding:10px}
.m3-ready[hidden]{display:none}
.m3-ready svg{width:14px;height:14px;flex:none;color:#C73E0C;margin-top:1px}
.m3-ready b{display:block;font-size:13px;font-weight:600;color:#C73E0C}
.m3-ready span span{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:rgb(0 0 0 / .65);font-weight:400}
.m3-island{position:absolute;left:50%;top:9px;z-index:20;transform:translateX(-50%)}
.m3-island-in{display:flex;align-items:center;background:#000;color:#fff;overflow:hidden;height:28px;width:96px;border-radius:14px;padding:0 11px 0 10px;transition:width .45s cubic-bezier(.22,1.2,.36,1),height .45s cubic-bezier(.22,1.2,.36,1),border-radius .45s}
.m3-island-in.open{width:196px;height:40px;border-radius:20px;gap:8px}
.m3-island-in.compact{justify-content:space-between}
.m3-pulse{display:block;width:7px;height:7px;border-radius:50%;background:#5B86EE;animation:m3-pulse 1.2s ease-in-out infinite;flex:none}
.m3-pulse.done{background:#FF5A1F}
@keyframes m3-pulse{50%{opacity:.35}}
.m3-island-t{font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}
.m3-island-in.open .m3-ok{display:flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#0033A0;flex:none}
.m3-island-in.open .m3-ok.done{background:#FF5A1F}
.m3-island-in.open .m3-ok svg{width:12px;height:12px}
.m3-island-in.open .m3-il{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}
.m3-island-in.open .m3-island-t{font-weight:400;color:rgb(255 255 255 / .55)}
.m3-cursor{position:absolute;z-index:10;pointer-events:none;width:0;height:0;transition:left .6s cubic-bezier(.22,1,.36,1),top .6s cubic-bezier(.22,1,.36,1)}
.m3-cursor[hidden]{display:none}
.m3-tip{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:#FF5A1F;box-shadow:0 0 0 3px rgb(255 90 31 / .25)}
.m3-ping{position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;border:2px solid #FF5A1F;animation:m3-ping .8s ease-out}
@keyframes m3-ping{from{transform:scale(.4);opacity:1}to{transform:scale(1.6);opacity:0}}
.m3-side{min-width:0}
.m3-steps{display:grid;gap:2px}
.mo-stage .m3-step{display:flex;width:100%;align-items:center;gap:10px;padding:7px 10px;text-align:left;background:transparent;color:var(--b-fg)}
.m3-step.on{background:var(--b-surface);box-shadow:var(--b-shadow)}
.m3-dot{flex:none;width:18px;height:18px;border-radius:50%;border:1px solid var(--b-line-2);display:flex;align-items:center;justify-content:center}
.m3-step.done .m3-dot{border-color:transparent;background:var(--b-invert);color:#fff}
.m3-step.on .m3-dot{border-color:var(--b-o)}
.m3-step.done.on .m3-dot{border-color:transparent;background:var(--b-invert)}
.m3-dot svg{width:11px;height:11px;display:none}
.m3-step.done .m3-dot svg{display:block}
.m3-step.on:not(.done) .m3-dot::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--b-o)}
.m3-sl{flex:1;min-width:0;font-size:14px;color:var(--b-fg-muted)}
.m3-step.on .m3-sl,.m3-step.done .m3-sl{font-weight:500;color:var(--b-fg)}
.m3-exl{margin-left:6px;font-size:11px;font-weight:400;color:var(--b-fg-faint)}
.m3-code{font:500 10px/1 var(--font-mono);color:var(--b-fg-faint);display:none}
.m3-t{width:44px;text-align:right;font-size:13px;font-variant-numeric:tabular-nums;color:var(--b-fg-muted);flex:none}
.m3-controls{margin-top:16px;display:flex;align-items:center;gap:12px}
.mo-stage .m3-play{flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--b-invert);color:#fff}
.m3-play svg{width:15px;height:15px}
.m3-controls input[type=range]{flex:1;height:4px;accent-color:#FF5A1F;cursor:pointer;min-width:0}
.m3-now{width:48px;text-align:right;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;flex:none}
@media (min-width:800px){
  .m3-grid{grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:center}
  .m3-code{display:inline}
  .m3-device{margin:0;width:280px;max-width:none}
}

/* M6 · One run as a graph of zones */
.m6-top{align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:6px}
.m6-case{display:flex;align-items:center;gap:8px}
.m6-scroll{overflow-x:auto;padding:78px 0 10px;scrollbar-width:thin}
.m6-row{display:flex;align-items:flex-start;width:max-content;padding-right:40px;margin:0 auto}
.m6-node{position:relative;flex:none;opacity:0;transform:translateY(12px);transition:opacity .4s,transform .4s}
.m6-node.in{opacity:1;transform:none}
.m6-node:nth-child(1){transition-delay:0s}
.m6-node:nth-child(3){transition-delay:.12s}
.m6-node:nth-child(5){transition-delay:.24s}
.m6-node:nth-child(7){transition-delay:.36s}
.m6-node:nth-child(9){transition-delay:.48s}
.m6-card{width:188px;background:var(--b-surface);color:var(--b-fg);padding:16px;box-shadow:var(--b-shadow);outline:none;position:relative}
.m6-card:focus-visible{box-shadow:var(--b-shadow),0 0 0 2px var(--b-accent)}
.m6-node.is-ready .m6-card{box-shadow:0 0 0 1.5px var(--b-o)}
.m6-hd{display:flex;align-items:center;gap:10px}
.m6-ico{flex:none;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:var(--b-surface-2)}
.m6-node.is-ready .m6-ico{background:var(--b-o);color:#fff}
.m6-ico svg{width:15px;height:15px}
.m6-zone{display:block;font-size:15px;font-weight:600;line-height:1.15}
.m6-time{display:block;margin-top:3px;color:var(--b-fg-faint)}
.m6-steps{margin-top:12px;display:grid;gap:5px}
.m6-steps li{display:flex;align-items:center;gap:6px}
.m6-ck{width:11px;height:11px;color:var(--b-accent);flex:none}
.m6-steps span{font:500 10px/1.3 var(--font-mono);color:var(--b-fg-muted)}
.m6-block{margin-top:12px;border-left:2px solid var(--b-o);background:color-mix(in oklab,var(--b-o) 9%,transparent);padding:7px 9px}
.m6-block-h{display:flex;align-items:center;gap:5px;color:var(--b-o)}
.m6-block-h svg{width:11px;height:11px;flex:none}
.m6-block-h span{font:500 9px/1.3 var(--font-mono);overflow-wrap:anywhere}
.m6-block p{margin-top:4px;font-size:12px;line-height:1.4}
.m6-note{margin-top:12px;font-size:12px;line-height:1.4;color:var(--b-fg-muted)}
.m6-note.ready{color:var(--b-fg);font-weight:500}
.m6-ready{margin-top:10px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--b-o)}
.m6-ready i{width:7px;height:7px;border-radius:50%;background:var(--b-o)}
.m6-tools{position:absolute;right:0;top:0;width:0;height:0;pointer-events:none}
.mo-stage .m6-tool{position:absolute;z-index:20;width:34px;height:34px;margin:-17px 0 0 -17px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--b-surface);color:var(--b-fg);box-shadow:0 0 0 1px var(--b-line-2),0 4px 12px rgb(0 0 0 / .18);opacity:0;transform:translate(-24px,24px) scale(.3);transition:opacity .18s,transform .4s cubic-bezier(.22,1.4,.36,1);pointer-events:none}
.m6-tool svg{width:15px;height:15px}
.m6-node:hover .m6-tool,.m6-node:focus-within .m6-tool{opacity:1;pointer-events:auto}
.m6-tool[data-k="0"]{--deg:111}
.m6-tool[data-k="1"]{--deg:67}
.m6-tool[data-k="2"]{--deg:23}
.m6-tool[data-k="3"]{--deg:-21}
.m6-node:hover .m6-tool,.m6-node:focus-within .m6-tool{
  transform:translate(calc(-24px + cos(var(--deg) * 1deg) * 58px),calc(24px - sin(var(--deg) * 1deg) * 58px)) scale(1)
}
.m6-node:hover .m6-tool[data-k="0"],.m6-node:focus-within .m6-tool[data-k="0"]{transition-delay:.0s}
.m6-node:hover .m6-tool[data-k="1"],.m6-node:focus-within .m6-tool[data-k="1"]{transition-delay:.045s}
.m6-node:hover .m6-tool[data-k="2"],.m6-node:focus-within .m6-tool[data-k="2"]{transition-delay:.09s}
.m6-node:hover .m6-tool[data-k="3"],.m6-node:focus-within .m6-tool[data-k="3"]{transition-delay:.135s}
.m6-tool:hover,.m6-tool:focus-visible{background:var(--b-invert);color:#fff}
.m6-wire{flex:none;width:34px;height:12px;margin-top:38px;align-self:flex-start}
.m6-wl{stroke:var(--b-line-2);stroke-width:1.5}
.m6-wd{stroke:var(--b-o);stroke-width:1.5;stroke-dasharray:4 6;animation:m6-dash .7s linear infinite}
@keyframes m6-dash{to{stroke-dashoffset:-10}}
.m6-live{display:flex;align-items:center;gap:10px;margin-top:6px;border-top:1px solid var(--b-line);padding-top:12px;font-size:14px}
.m6-live i{width:7px;height:7px;border-radius:50%;background:var(--b-o);flex:none}

/* M7 · Runs in progress */
.m7-grid{display:grid;gap:22px;align-items:start}
.m7-beam{position:relative;border-radius:2px}
.m7-beam::before{
  content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;
  background:conic-gradient(from var(--beam,0deg),transparent 0 55%,var(--b-accent) 70%,#5B86EE 78%,var(--b-accent) 86%,transparent 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:m7-beam 3.2s linear infinite;opacity:.85;pointer-events:none
}
.m7-beam.done::before{opacity:.25;animation-duration:8s}
@keyframes m7-beam{to{--beam:360deg}}
@property --beam{syntax:"<angle>";inherits:false;initial-value:0deg}
.m7-card{background:var(--b-surface);padding:20px;box-shadow:var(--b-shadow);position:relative}
.m7-main{display:flex;align-items:center;gap:16px}
.m7-orb{position:relative;flex:none;border-radius:50%;color:var(--b-accent);transform-style:preserve-3d;perspective:80px}
.m7-orb.lg{width:64px;height:64px}
.m7-orb.sm{width:20px;height:20px}
.m7-orb i{position:absolute;left:50%;top:50%;border-radius:50%;background:currentColor;margin:0}
.m7-orb.lg i{width:3px;height:3px;margin:-1.5px}
.m7-orb.sm i{width:1.5px;height:1.5px;margin:-.75px}
.m7-orb.spin{animation:m7-spin 5.5s linear infinite}
.m7-orb[data-state="searching"]{animation-duration:3.6s}
.m7-orb[data-state="solving"]{animation-duration:4.2s}
.m7-orb[data-state="weaving"]{animation-duration:3.2s}
.m7-orb[data-state="composing"]{animation-duration:2.8s}
.m7-orb[data-state="breathing"]{animation:m7-breathe 2.4s ease-in-out infinite;color:#FF5A1F}
.m7-orb.paused,.m7-orb[data-state="breathing"].paused{animation-play-state:paused}
@keyframes m7-spin{to{transform:rotateY(360deg) rotateX(18deg)}}
@keyframes m7-breathe{50%{transform:scale(1.06)}}
.m7-info{min-width:0;flex:1}
.m7-who{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--b-fg-muted);flex-wrap:wrap}
.m7-who span{white-space:nowrap}
.m7-lab{margin-top:4px;font-size:20px;font-weight:600;line-height:1.15;letter-spacing:-.01em}
.m7-lab.done{color:var(--b-o)}
.m7-clock{text-align:right;flex:none}
.m7-clock [data-sec]{display:block;font-size:28px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.m7-clock span:last-child{display:block;margin-top:4px;font-size:12px;color:var(--b-fg-muted)}
.m7-bars{margin-top:20px;display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.m7-bar{height:5px;overflow:hidden;background:var(--b-surface-2)}
.m7-bar i{display:block;height:100%;width:0;background:var(--b-accent);transition:width .12s linear}
.m7-bar:last-child i{background:var(--b-o)}
.m7-done{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--b-line);padding-top:14px;font-size:14px}
.m7-done[hidden]{display:none}
.m7-done span:last-child{font-weight:600;font-variant-numeric:tabular-nums}
.m7-side{display:grid;gap:10px}
.m7-count{display:flex;align-items:flex-end;justify-content:space-between;background:var(--b-surface);padding:16px;box-shadow:var(--b-shadow)}
.m7-cl{font-size:13px;color:var(--b-fg-muted)}
.m7-cn{margin-top:6px;font-size:36px;font-weight:600;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.m7-plus{color:var(--b-o)}
.m7-q{display:flex;align-items:center;gap:12px;background:var(--b-surface);padding:11px 14px;box-shadow:var(--b-shadow)}
.m7-qtxt{min-width:0;flex:1}
.m7-qtxt span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m7-qtxt span:first-child{font-size:14px;font-weight:500}
.m7-qtxt span:last-child{font-size:12px;color:var(--b-fg-muted)}
.m7-qt{font-size:13px;font-variant-numeric:tabular-nums;color:var(--b-fg-muted);flex:none}
@media (min-width:640px){
  .m7-card{padding:24px}
  .m7-lab{font-size:24px}
}
@media (min-width:900px){
  .m7-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
}

@media (prefers-reduced-motion:reduce){
  .m5-tiles.busy .m5-tile,.m5-spin{animation:none;transition:none}
  .m3-caret,.m3-pulse,.m3-ping,.m3-island-in,.m3-cursor{animation:none;transition:none}
  .m6-node{opacity:1;transform:none;transition:none}
  .m6-wd,.m7-beam::before,.m7-orb,.m7-orb[data-state="breathing"],.m7-bar i{animation:none;transition:none}
}
@media (max-width:639.98px){
  .m3-code{display:none}
  .m5-txt{font-size:14px}
}

/* H5 · Any model, any store (beam figure on the navy box) */
.h5-box{
  --h-bg:#0033A0;--h-fg:#fff;--h-acc:#FFB08F;--h-o:#FF5A1F;
  --h-dim:rgb(255 255 255 / .72);--h-faint:rgb(255 255 255 / .45);
  --h-line:rgb(255 255 255 / .18);--h-line-2:rgb(255 255 255 / .3);
  color:var(--h-fg)
}
.h5-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.1fr);align-items:center;gap:0 clamp(12px,5vw,72px)}
.h5-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.h5-stores{gap:8px}
.h5-cell{position:relative;z-index:10;display:flex;align-items:center;gap:9px;border:1px solid var(--h-line-2);background:var(--h-bg);padding:7px 10px;min-width:0;transition:border-color .3s,transform .3s}
.h5-model{justify-content:space-between;padding:9px 10px}
.h5-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.h5-runs{font:500 10px/1 var(--font-mono);color:var(--h-faint);flex:none;display:none}
.h5-n{font:500 11px/1 var(--font-mono);font-variant-numeric:tabular-nums;color:var(--h-faint);flex:none}
.h5-store.on{transform:translateX(4px);border-color:var(--h-o)}
.h5-store.on .h5-n{color:var(--h-acc)}
.h5-label{margin-top:2px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--h-faint)}
.h5-label-r{text-align:right}
.h5-agent{display:flex;flex-direction:column;align-items:center;gap:10px}
.h5-orb{position:relative;z-index:10;width:64px;height:64px;background:#0033A0;box-shadow:0 0 0 1px rgb(255 255 255 / .5)}
.h5-orb img{display:block;width:100%;height:100%}
.h5-ping{position:absolute;inset:-8px;border:1px solid var(--h-acc);pointer-events:none;animation:h5-ping 2.4s ease-in-out infinite}
.h5-agent-n{font-size:13px;font-weight:600}
.h5-line{display:flex;align-items:center;gap:14px;margin:22px 0 0;border-top:1px solid var(--h-line);padding-top:14px;font-size:14px;line-height:1.4;color:var(--h-dim)}
.h5-line i{display:block;width:8px;height:8px;border-radius:50%;background:var(--h-o);flex:none}
.h5-line b{font-weight:600;color:var(--h-fg)}
.h5-line [data-h5-sent]{transition:opacity .25s}
@keyframes h5-ping{50%{opacity:0;transform:scale(1.22)}}
@media (max-width:639.98px){
  .h5-store .h5-name{display:none}
}
@media (min-width:640px){
  .h5-runs{display:inline}
  .h5-orb{width:84px;height:84px}
}

/* I1 · Graded receipt */
.i1-stage [data-i1]{
  --cb-paper:#F6F6F4;--cb-ink:#0A1F5C;--cb-line:#CFCFD4;--cb-dim:#4A5578;--cb-accent:#0033A0
}
html[data-theme="dark"] .i1-stage [data-i1]{
  --cb-paper:#2A2B2E;--cb-ink:#F2F2F0;--cb-line:rgb(255 255 255 / .16);
  --cb-dim:rgb(242 242 240 / .62);--cb-accent:#9DB6F2
}
.cb-loupe{position:relative;overflow:hidden;padding:28px 16px;display:flex;justify-content:center;touch-action:pan-y;outline:none;cursor:none}
.cb-loupe:focus-visible{box-shadow:inset 0 0 0 1px var(--cb-accent,#0033A0)}
.cb-loupe .lr-paper{width:min(100%,380px);background:var(--cb-paper,#E6E6E6);color:var(--cb-ink,#0A1F5C);border:1px solid var(--cb-line,#CFCFD4);padding:18px 18px 14px;font:400 12px/1.55 var(--font-mono,"JetBrains Mono",ui-monospace,monospace);letter-spacing:-.01em}
.cb-loupe .lr-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:600;font-size:10.5px;letter-spacing:.04em;color:var(--cb-dim,#4A5578);padding-bottom:10px;border-bottom:1px dashed var(--cb-line,#CFCFD4);margin-bottom:8px}
.cb-loupe .lr-rows{list-style:none;margin:0;padding:0}
.cb-loupe .lr-row{display:grid;grid-template-columns:96px 1fr;gap:8px;padding:9px 0 1px;position:relative}
.cb-loupe .lr-k{color:var(--cb-dim,#4A5578)}
.cb-loupe .lr-v{text-align:right}
.cb-loupe .lr-rule{border-top:1px dashed var(--cb-line,#CFCFD4);margin:7px 0}
.cb-loupe .lr-foot{margin-top:10px;padding-top:8px;border-top:1px dashed var(--cb-line,#CFCFD4);text-align:center;color:var(--cb-dim,#4A5578);font-size:11px}
.cb-loupe .lr-lens{position:absolute;left:0;top:0;overflow:hidden;border:1px solid var(--cb-ink,#0A1F5C);background:var(--cb-paper,#E6E6E6);pointer-events:none;will-change:transform}
.cb-loupe .lr-inner{position:absolute;left:0;top:0;transform-origin:0 0}
.cb-loupe .lr-graded{background:var(--cb-paper,#E6E6E6)}
.cb-loupe .lr-graded .lr-has{background:color-mix(in srgb,var(--cb-accent,#0033A0) 7%,transparent);outline:1px solid color-mix(in srgb,var(--cb-accent,#0033A0) 45%,transparent)}
.cb-loupe .lr-g{position:absolute;right:0;top:0;font-size:7.5px;line-height:9px;white-space:nowrap;color:var(--cb-accent,#0033A0);font-weight:600;letter-spacing:.02em}
.cb-loupe .lr-g.lr-info{color:var(--cb-dim,#4A5578)}
.cb-loupe .lr-x{position:absolute;right:4px;bottom:3px;font:600 9px/1 var(--font-mono,"JetBrains Mono",monospace);color:var(--cb-accent,#0033A0)}
.cb-loupe .lr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (hover:none){.cb-loupe{cursor:auto}}
@media (max-width:420px){.cb-loupe .lr-paper{font-size:11px;padding:14px 12px}.cb-loupe .lr-row{grid-template-columns:82px 1fr}}

/* M1 · Who runs, where they go (above Figure 1) */
.m1-block{scroll-margin-top:72px;margin:0 0 28px}
.m1-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.m1-grid{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,.7fr) minmax(0,.9fr);align-items:center;gap:18px 14px;min-height:320px}
.m1-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.m1-col:last-of-type{gap:10px}
.m1-cell{position:relative;z-index:10;display:flex;align-items:center;gap:8px;background:var(--b-surface);padding:8px 9px;box-shadow:var(--b-shadow);min-width:0;transition:transform .3s,box-shadow .3s}
.m1-store.on{transform:translateX(3px);box-shadow:0 0 0 1.5px var(--b-o)}
.m1-code{display:flex;width:22px;height:22px;flex:none;align-items:center;justify-content:center;background:var(--b-surface-2);font:500 9px/1 var(--font-mono)}
.m1-name{display:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.m1-label{display:none;margin-top:2px;font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--b-fg-muted)}
.m1-agent{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.m1-orb{position:relative;z-index:10;display:flex;width:64px;height:64px;align-items:center;justify-content:center;background:var(--b-invert);box-shadow:0 0 0 6px color-mix(in oklab,var(--b-invert) 18%,transparent)}
.m1-orb img{display:block;width:100%;height:100%}
.m1-ping{position:absolute;inset:-6px;border:1px solid var(--b-accent);pointer-events:none;animation:m1-ping 2.6s ease-in-out infinite}
.m1-agent-n{font-size:14px;font-weight:600}
.m1-agent-s{display:none;font-size:12px;color:var(--b-fg-muted)}
.m1-quote{position:relative;z-index:10;grid-column:1 / -1;background:var(--b-surface);padding:14px;box-shadow:var(--b-shadow)}
.m1-qh{display:flex;align-items:center;gap:7px}
.m1-qh i{display:block;width:7px;height:7px;border-radius:50%;background:var(--b-o)}
.m1-qo{color:var(--b-o)}
.m1-who{display:flex;align-items:center;gap:8px;margin-top:12px}
.m1-who span{font-size:15px;font-weight:600}
.m1-who .mo-logo{width:22px;height:22px}
.m1-nums{display:flex;align-items:baseline;gap:8px;margin-top:8px}
.m1-big{font-size:40px;font-weight:600;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.m1-of{font-size:13px;color:var(--b-fg-muted)}
.m1-dl{margin:14px 0 0;display:grid;gap:6px;font-size:13px}
.m1-dl div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--b-line);padding-top:6px}
.m1-dl dt{color:var(--b-fg-muted)}
.m1-dl dd{margin:0;font-weight:500;font-variant-numeric:tabular-nums}
.h5-store .mo-logo,.m1-store .mo-logo{width:20px;height:20px}
@keyframes m1-ping{50%{opacity:0;transform:scale(1.18)}}
@media (min-width:640px){
  .m1-grid{grid-template-columns:minmax(0,1.15fr) auto minmax(0,.9fr) minmax(0,1.2fr);gap:28px;min-height:380px}
  .m1-name,.m1-label,.m1-agent-s{display:block}
  .m1-quote{grid-column:auto;padding:20px}
  .m1-big{font-size:52px}
  .m1-orb{width:78px;height:78px}
}

/* Shared animated beams */
.cb-beams{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:1}
.cb-beam-base{fill:none;stroke-linecap:round}
.cb-beam-flow{fill:none;stroke-linecap:round;stroke-dasharray:42 260;animation:cb-beam var(--dur,3s) linear var(--delay,0s) infinite}
@keyframes cb-beam{to{stroke-dashoffset:-302}}

@media (prefers-reduced-motion:reduce){
  .h5-ping,.m1-ping,.cb-beam-flow{animation:none}
  .h5-line [data-h5-sent]{transition:none}
}
.h5-box .cb-beam-base{stroke:var(--h-fg);stroke-opacity:.14;stroke-width:1.5}
.h5-box .cb-beam[data-kind="store"].on .cb-beam-base{stroke-opacity:.35;stroke-width:2.2}
.h5-box .cb-beam-flow{stroke:var(--h-acc);stroke-width:1.5}
.h5-box .cb-beam[data-kind="store"].on .cb-beam-flow{stroke:#FF5A1F;stroke-width:2.2}
.m1-grid .cb-beam-base{stroke:var(--b-fg);stroke-opacity:.12;stroke-width:1.5}
.m1-grid .cb-beam[data-kind="store"].on .cb-beam-base,
.m1-grid .cb-beam[data-kind="quote"].on .cb-beam-base{stroke-opacity:.3;stroke-width:2}
.m1-grid .cb-beam[data-kind="quote"]:not(.on) .cb-beam-base{stroke-opacity:.06;stroke-width:1}
.m1-grid .cb-beam-flow{stroke:var(--b-accent);stroke-width:1.5}
.m1-grid .cb-beam[data-kind="store"].on .cb-beam-flow,
.m1-grid .cb-beam[data-kind="quote"].on .cb-beam-flow{stroke:var(--b-o);stroke-width:2}
.m1-grid .cb-beam[data-kind="quote"]:not(.on) .cb-beam-flow{stroke:var(--b-o);stroke-opacity:.15;stroke-width:1}

/* Kit ports: H1 split funnel, H2 example leaderboard, H4 big number, shared tokens. */
.hk{
  --n:#0033A0;--ink:#0A1F5C;--o:#FF5A1F;--bg:#E6E6E6;--bg2:#F6F6F4;--card:#F6F6F4;
  --dim:#4A5578;--mute:#7A8299;--line:#CFCFD4;--line2:#BDBDC4;--n2:#8FA6D6;--n3:#D3DBEE;--o2:#FFB08F;
  color:var(--ink)
}
html[data-theme="dark"] .hk{
  --n:#9DB6F2;--ink:#F2F2F0;--bg:#1D1E20;--bg2:#2A2B2E;--card:#2A2B2E;
  --dim:rgb(242 242 240 / .62);--mute:rgb(242 242 240 / .45);
  --line:rgb(255 255 255 / .12);--line2:rgb(255 255 255 / .2);--n2:#5B86EE;--n3:#3B5BA8
}
.hk .mono{font-family:var(--font-mono),ui-monospace,monospace}
.hk .num{text-align:right;font-variant-numeric:tabular-nums}
.hk .dim{color:var(--mute)}
.hk-btn{display:inline-flex;align-items:center;height:40px;padding:0 16px;border:1px solid var(--n);color:var(--n);text-decoration:none;font-weight:600;font-size:14px;background:transparent}
.hk-btn.pri{background:var(--n);color:#fff}
html[data-theme="dark"] .hk-btn.pri{color:#0A1F5C}
.hk-btn:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.hk-ctas{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 0}
.hk-dl{display:grid;grid-template-columns:repeat(3,auto);gap:24px;margin:30px 0 0;justify-content:start}
.hk-dl dt{font:500 10.5px/1.2 var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--mute)}
.hk-dl dd{margin:6px 0 0;font-size:30px;font-weight:650;letter-spacing:-.03em}
.hk-dl dd.o,.hk .o{color:var(--o)}
.hk-panel{background:var(--card,#fff);border:1px solid var(--line);padding:20px}
.hk-panel-h{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--mute);margin-bottom:12px}
.hk-funnel{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hk-funnel li{display:grid;grid-template-columns:118px 1fr 40px 44px;gap:10px;align-items:center;font-size:13px}
.hk-funnel .bar{height:22px;background:var(--bg)}
.hk-funnel .bar i{display:block;height:100%;width:0;background:var(--n,#0033A0);transition:width 1s cubic-bezier(.2,.7,.2,1)}
.hk-funnel li:last-child .bar i{background:var(--o)}
.hk-funnel li:nth-child(5) .bar i{background:var(--n2)}
.hk-in .hk-funnel .bar i{width:var(--w)}
.hk-funnel li .bar i{transition-delay:calc(var(--d,0)*1ms)}
.hk-funnel b{text-align:right;font-variant-numeric:tabular-nums}
.hk-funnel .t{color:var(--mute);font-size:11.5px;text-align:right}
.hk-funnel li:hover .l{color:var(--n);font-weight:600}
.hk-foot{font-size:13px;color:var(--mute);margin:14px 0 0;line-height:1.45}
.hk-note{font-size:13px;color:var(--dim);margin:0;line-height:1.45}
.hk-copy p{color:var(--dim);font-size:16px;line-height:1.55;max-width:56ch;margin:0}
.hk-h1{display:grid;grid-template-columns:1fr 1.05fr;gap:36px;align-items:center}
.hk-seg{display:inline-flex;border:1px solid var(--line2);background:var(--card,#fff)}
.hk-seg button{font:500 12px/1 inherit;padding:9px 12px;border:0;background:transparent;color:var(--dim);cursor:pointer;white-space:nowrap}
.hk-seg button+button{border-left:1px solid var(--line2)}
.hk-seg button[aria-pressed="true"]{background:var(--n);color:#fff}
html[data-theme="dark"] .hk-seg button[aria-pressed="true"]{color:#0A1F5C}
.hk-seg button:disabled{cursor:not-allowed;opacity:.55}
.hk-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hk-t{width:100%;border-collapse:collapse;font-size:14px}
.hk-t th{font:500 10.5px/1.2 var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--mute);text-align:left;padding:10px 12px;border-bottom:1px solid var(--line2);white-space:nowrap}
.hk-t td{padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.hk-t tr:last-child td{border-bottom:0}
.hk-t th.w{width:34%}
.hk-h2-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.hk-lb td.rk{font-size:22px;font-weight:600;color:var(--n);width:40px}
.hk-lb tr:first-child td.rk{color:var(--o)}
.hk-lb td.mdl{font-weight:600;font-size:15px}
.hk-ci{position:relative;height:18px;min-width:160px;background-color:var(--bg2);background-image:linear-gradient(90deg,transparent calc(25% - .5px),var(--line) 0 calc(25% + .5px),transparent 0 calc(50% - .5px),var(--line) 0 calc(50% + .5px),transparent 0 calc(75% - .5px),var(--line) 0 calc(75% + .5px),transparent 0)}
.hk-ci i{position:absolute;top:7px;height:4px;left:calc(var(--lo)*1.6667);width:calc((var(--hi) - var(--lo))*1.6667);background:var(--n2)}
.hk-ci b{position:absolute;top:3px;width:12px;height:12px;left:calc(var(--s)*1.6667 - 6px);background:var(--n)}
.hk-lb tr:first-child .hk-ci b{background:var(--o)}
.h4-box{color:#fff}
.h4-box .hk-h4{color:#fff}
.hk-big{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:end;margin:8px 0 34px}
.hk-num{font-size:clamp(88px,16vw,200px);line-height:.8;font-weight:700;letter-spacing:-.06em;color:#fff;font-variant-numeric:tabular-nums}
.h4-box .hk-big p{color:#D3DBEE;font-size:20px;max-width:30ch;margin:0}
.hk-steps{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid rgb(255 255 255 / .25);display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.hk-steps li{display:grid;gap:4px;font-size:12px;color:#B8C8EC}
.hk-steps b{font-size:20px;color:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.hk-steps li:last-child b{color:#FF5A1F}
@media (max-width:1023.98px){
  .hk-h1{grid-template-columns:minmax(0,1fr);gap:28px}
}
@media (max-width:639.98px){
  .hk-dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .hk-dl dd{font-size:24px}
  .hk-panel{padding:14px 12px}
  .hk-funnel li{grid-template-columns:minmax(0,1fr) 40px 40px;grid-template-areas:"l n t" "bar bar bar";gap:4px 8px}
  .hk-funnel .l{grid-area:l}.hk-funnel .bar{grid-area:bar;height:14px}.hk-funnel b{grid-area:n}.hk-funnel .t{grid-area:t}
  .hk-h2-top{align-items:flex-start}
  .hk-lb thead{display:none}
  .hk-lb,.hk-lb tbody{display:block}
  .hk-lb tr{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;grid-template-areas:"rk mdl s ci" "rk bar bar bar" "rk st st st";gap:4px 10px;padding:12px 0;border-bottom:1px solid var(--line)}
  .hk-lb td{padding:0;border:0;white-space:normal}
  .hk-lb td.rk{grid-area:rk}.hk-lb td.mdl{grid-area:mdl}.hk-lb td:nth-child(3){grid-area:bar}.hk-lb td:nth-child(4){grid-area:s}.hk-lb td:nth-child(5){grid-area:ci}
  .hk-lb td:nth-child(6){grid-area:st;text-align:left;font-size:12px;color:var(--mute)}
  .hk-lb td:nth-child(6)::before{content:"Stores ≥30%: "}
  .hk-ci{min-width:0}
  .hk-seg{display:flex;width:100%;overflow-x:auto}
  .hk-seg button{flex:1 0 auto}
  .hk-big{grid-template-columns:1fr;gap:14px}
  .h4-box .hk-big p{font-size:17px}
  .hk-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .hk-steps li:last-child{grid-column:1/-1}
  .hk-copy p{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  .hk-funnel .bar i{transition:none;width:var(--w)}
}
.mo-stage .hk-foot{margin:14px 0 0}
.mo-stage .hk-copy p{margin:0}

/* Kit combo: H6 paper | KPI over example board; Kit M6 failure taxonomy */
.kit-combo{display:grid;gap:16px}
.kit-combo-side{display:grid;gap:16px;align-content:start}
.hk-eyebrow{display:inline-block;font:500 11px/1.4 var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--n,#0033A0)}
.hk-h6{font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif}
.hk-paper-h{text-align:center;max-width:820px;margin:0 auto 30px}
.hk-h6 h3{font-family:inherit;font-weight:600;letter-spacing:-.01em;max-width:none;font-size:clamp(22px,2.8vw,32px);line-height:1.15;margin:12px auto;color:var(--ink,#0A1F5C)}
.hk-auth{margin:0 auto;color:var(--n,#0033A0);font-size:17px}
.hk-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px;font-family:Inter,system-ui,sans-serif}
.hk-links a{border:1px solid var(--ink,#0A1F5C);padding:7px 14px;color:var(--ink,#0A1F5C);text-decoration:none;font-size:13px;font-weight:600}
.hk-links a:hover{background:var(--ink,#0A1F5C);color:#fff}
.hk-paper-b{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;border-top:1px solid var(--line);padding-top:24px}
.hk-paper-b h4{font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 10px}
.mo-stage .hk-paper-b p{font-size:16px;line-height:1.65;color:var(--ink,#1E2A4F);max-width:none;margin:0}
.hk-paper-b code{font-size:13px;font-family:var(--font-mono),ui-monospace,monospace}
.hk-t-paper{font-family:Inter,system-ui,sans-serif;font-size:13px}
.hk-t-paper caption{caption-side:top;text-align:left;font-size:13px;color:var(--dim);padding-bottom:8px;font-family:"Iowan Old Style",Georgia,serif;font-style:italic}
.hk-t-paper td,.hk-t-paper th{padding:7px 10px}
.hk-t-paper thead th{border-top:2px solid var(--ink,#0A1F5C);border-bottom:1px solid var(--ink,#0A1F5C)}
.hk-t-paper tbody tr:last-child td{border-bottom:2px solid var(--ink,#0A1F5C)}
.hk-bib{margin:18px 0 0;background:var(--bg2);border:1px solid var(--line);padding:12px;font-size:11.5px;line-height:1.55;overflow-x:auto;color:var(--ink);white-space:pre}
.hk-mod{min-width:0}
.hk-mod>header{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}
.hk-mod>header>div{flex:1;min-width:0}
.hk-mod h4{margin:0;font-size:16px;font-weight:600}
.mo-stage .hk-mod>header p{margin:4px 0 0;font-size:13px;color:var(--dim);line-height:1.45}
.hk-code{font:600 11px/1 var(--font-mono);color:#fff;background:var(--n,#0033A0);padding:4px 6px}
html[data-theme="dark"] .hk-code{color:#0A1F5C}
.hk-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line)}
.hk-kpi{padding:14px 16px;display:grid;gap:6px;align-content:start;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.hk-kpi:nth-child(3n){border-right:0}
.hk-kpi:nth-last-child(-n+3){border-bottom:0}
.hk-kpi span{font:500 10.5px/1.2 var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--mute)}
.hk-kpi b{font-size:24px;font-weight:650;letter-spacing:-.03em;line-height:1}
.hk-kpi:nth-child(3) b{color:var(--o)}
.hk-kpi small{font-size:12px;color:var(--dim)}
.hk-kpi.sp{grid-column:1/-1;border-right:0;border-bottom:0}
.hk-kpi.sp svg{width:100%;height:40px}
.hk-kpi.sp polyline{fill:none;stroke:var(--n,#0033A0);stroke-width:1.5;vector-effect:non-scaling-stroke}
.hk-forestl{list-style:none;margin:0;padding:0}
.hk-forestl li{display:grid;grid-template-columns:22px minmax(0,1fr) 76px;grid-template-areas:"rk m n" "rk f f";gap:8px 10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.hk-forestl .rk{grid-area:rk;font-weight:600;color:var(--n)}
.hk-forestl li:first-child .rk{color:var(--o)}
.hk-forestl .mdl{grid-area:m;font-weight:600}
.hk-forestl .num{grid-area:n}
.hk-forestl .hk-forest{grid-area:f}
.hk-forest{position:relative;height:16px;background-color:var(--bg2);background-image:linear-gradient(90deg,transparent calc(33.33% - .5px),var(--line) 0 calc(33.33% + .5px),transparent 0 calc(66.67% - .5px),var(--line) 0 calc(66.67% + .5px),transparent 0)}
.hk-forest i{position:absolute;top:7px;height:2px;left:var(--lo);width:calc(var(--hi) - var(--lo));background:var(--n,#0033A0)}
.hk-forest i::before,.hk-forest i::after{content:"";position:absolute;top:-4px;width:2px;height:10px;background:var(--n,#0033A0)}
.hk-forest i::after{right:0}
.hk-forest b{position:absolute;top:3px;left:calc(var(--s) - 5px);width:10px;height:10px;background:var(--o)}
.hk-ax{display:flex;justify-content:space-between;margin-left:32px;font-size:10.5px;color:var(--mute);padding-top:6px}
.hk-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--dim);margin:12px 0 0}
.hk-legend span{display:inline-flex;align-items:center;gap:6px}
.hk .k{display:inline-block;width:10px;height:10px;background:var(--n,#0033A0);flex:none}
.hk .k.rest{background:repeating-linear-gradient(45deg,var(--line2) 0 2px,transparent 2px 5px);border:1px solid var(--line2)}
.hk-stack{display:flex;height:20px;background:var(--bg)}
.hk-stack i{width:var(--w);background:var(--c)}
.hk-stack i+i{border-left:2px solid var(--b-stage,#fff)}
.hk-stack i.rest{background:repeating-linear-gradient(45deg,var(--line2) 0 2px,transparent 2px 6px)}
.hk-bl{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px}
.hk-bl li{display:grid;grid-template-columns:minmax(0,220px) 1fr 34px;gap:10px;align-items:center;font-size:12.5px}
.hk-bl .code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hk-bl i{height:12px;background:linear-gradient(var(--c),var(--c)) 0/var(--w) 100% no-repeat;background-color:var(--bg)}
.hk-bl b{text-align:right}
@media (min-width:900px){
  .kit-combo{grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);align-items:stretch}
}
@media (max-width:639.98px){
  .hk-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hk-kpi{border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
  .hk-kpi:nth-child(3n){border-right:1px solid var(--line)}
  .hk-kpi:nth-child(2n){border-right:0}
  .hk-kpi:nth-last-child(-n+3){border-bottom:1px solid var(--line)}
  .hk-kpi.sp{grid-column:1/-1;border-right:0;border-bottom:0}
  .hk-kpi b{font-size:22px}
  .mo-stage .hk-paper-b p{font-size:15px}
  .hk-t-paper td,.hk-t-paper th{padding:7px 6px}
  .hk-bl li{grid-template-columns:minmax(0,1fr) 34px;grid-template-areas:"c n" "b b";gap:3px 10px}
  .hk-bl .code{grid-area:c}.hk-bl i{grid-area:b}.hk-bl b{grid-area:n}
}

/* Results charts: on mobile the Real pill becomes an expand/collapse control. */
.rc-toggle{display:none}
.rc-chev{flex:none;display:block;transition:transform .15s ease}
@media (max-width:639.98px){
  .kit-charts .rc-static{display:none}
  .mo-stage .rc-toggle{
    display:inline-flex;align-items:center;gap:6px;
    border:1px solid var(--accent,#0033A0);color:var(--accent,#0033A0);
    padding:4px 7px;background:transparent;cursor:pointer;
    font:500 10px/1 var(--font-mono);letter-spacing:.05em;text-transform:uppercase
  }
  .rc-toggle:focus-visible{outline:2px solid var(--accent,#0033A0);outline-offset:2px}
  .rc-toggle[aria-expanded="true"] .rc-chev{transform:rotate(180deg)}
  .kit-charts:not(.is-open) .charts{display:none}
  .kit-charts:not(.is-open) .mo-top{margin-bottom:0}
  .kit-charts.is-open .charts{display:grid}
}
@media (prefers-reduced-motion:reduce){
  .rc-chev{transition:none}
}

/* H2 desktop run stream sits in the same #runstream navy box; H2m stays on phones. */
.h2-desktop{display:none}
.h2-stage{
  background:var(--h2m-bg);color:var(--h2m-fg);
  --cb-ink:var(--h2m-fg);--cb-dim:var(--h2m-dim);--cb-line:var(--h2m-line);--cb-accent:var(--h2m-o);
  padding:16px 16px 10px
}
html[data-theme="dark"] .h2-stage{background:var(--h2m-bg) var(--grain)}
.h2-plot{position:relative;height:min(520px,56vh);min-height:360px}
.h2-plot.cb-funnel,.cb-funnel{position:relative;overflow:hidden;min-height:360px}
.cb-funnel canvas{position:absolute;inset:0;display:block}
.cb-funnel .cb-spec{position:absolute;left:12px;bottom:8px;font:500 11px/1 var(--font-mono);color:var(--cb-dim,#8FA6D6);white-space:pre;pointer-events:none}
@media (min-width:640px){
  .h2-desktop{display:block}
  .h2m-phone{display:none}
}

/* Kit H6: slightly rounded rectangles on the paper, KPI strip and model board. */
#kit-h6 .kit-combo > .mo-stage,
#kit-h6 .kit-combo-side > .mo-stage{
  border-radius:12px;
  overflow:hidden
}
