/* how.css — how-it-works: three pinned rows, one shared stage, nine interactive panel states.
   Every geometry/colour/timing value is measured: reference/frames/measure/styles-*.json (boxes),
   reference/TOKENS.md §4 (component tokens), reference/raw/css/2.css + 3.css (the live rules),
   reference/JS-RECON.md §3 and reference/RUNTIME-RECON.md §2.8-2.13 / §7 / §8 (runtime constants).
   Scoped under #howItWorks. Accent is Gnar orange; giga's --accent-orange becomes var(--accent). */

#howItWorks{
  position:relative;
  /* type scale — giga's clamps, which reproduce the measured table exactly:
     rail h3  26 / 26 / 20.48 / 20 / 20 px at 1440 / 1300 / 1024 / 768 / 390
     intro    15.84px at 1440 (1.1vw between 14 and 16) */
  --text-rail-h:clamp(1.25rem,2vw,1.625rem);
  --text-micro:clamp(.875rem,1.1vw,1rem);
  --fit-z:1;
  --how-pad-x:44px;                 /* measured: rail x=44 at 1440 and 1300 */
  --how-row-gap:64px;               /* CFG.ROW_GAP */
  --how-rail-h:660px;               /* overwritten per frame by how.js (live stage height) */
  --how-panel-h:660px;              /* measured rowInner h at 1440 */
  --how-vh:100vh;
  --how-stage-shift:0px;
}

/* ============================ row / rail / stepper shell ============================ */
#howItWorks .rowSection{position:relative;scroll-margin-top:96px}
#howItWorks .rowSection .sticky{position:sticky;top:0;display:flex;align-items:center;height:100vh;background:var(--bg)}
#howItWorks .rowInner{display:flex;gap:48px;width:100%;height:var(--how-rail-h,660px);margin:0}
#howItWorks .rail{display:flex;flex-direction:column;flex:none;justify-content:space-between;width:100%;height:100%}

#howItWorks .rail .eyebrow{
  display:flex;align-items:center;gap:8px;margin-bottom:16px;
  font-family:var(--font-mono);font-size:calc(var(--text-eyebrow) / var(--fit-z));font-weight:400;
  line-height:1.5;letter-spacing:.1px;text-transform:uppercase;color:var(--accent)}
#howItWorks .rail .eyebrow::before{
  content:"";flex:none;width:6px;height:6px;border-radius:2px;background:var(--accent);
  --pulse-color:var(--pulse-accent);animation:2s ease-out infinite pulse-dot-colored}
#howItWorks .rail h3{
  font-family:var(--font-sans);font-size:calc(var(--text-rail-h) / var(--fit-z));font-weight:400;
  line-height:1.33;letter-spacing:var(--tracking-headline);margin-bottom:16px;color:#fff}
#howItWorks .rail .intro{
  font-family:var(--font-sans);font-size:calc(var(--text-micro) / var(--fit-z));font-weight:400;
  line-height:1.5;color:#ffffff80}

#howItWorks .steps{padding-bottom:6px}
#howItWorks .step{position:relative;display:block;width:100%;padding:20px 0;text-align:left;cursor:pointer;background:none;border:0;font:inherit;color:inherit}
#howItWorks .step::before{content:"";position:absolute;top:0;left:0;width:100%;height:1px;background:#ffffff1a;transition:background .12s cubic-bezier(.4,0,.2,1)}
#howItWorks .step:hover::before{background:#ffffff38}
/* the orange progress rule, width written per state by how.js */
#howItWorks .step::after{content:"";position:absolute;top:0;left:0;height:1px;width:var(--step-progress,0%);background:var(--accent);pointer-events:none}
#howItWorks .step h4{
  font-family:var(--font-sans);font-size:calc(1rem / var(--fit-z));font-weight:500;line-height:1.5;
  color:#fff;opacity:var(--step-title-op,.35);transition:none}
#howItWorks .step.active h4{opacity:var(--step-title-op,1)}
#howItWorks .step .body{
  font-family:var(--font-sans);font-size:calc(.875rem / var(--fit-z));line-height:1.55;color:#ffffff8c;
  max-height:0;overflow:hidden;
  transition:max-height .6s cubic-bezier(.16,1,.3,1),margin .6s cubic-bezier(.16,1,.3,1)}
#howItWorks .step.active .body{max-height:calc(66px / var(--fit-z));margin-top:10px}
/* the ONE place reduced motion ADDS a transition rather than removing one (JS-RECON §3.4) */
@media (prefers-reduced-motion:reduce){
  #howItWorks .step h4{transition:opacity .35s}
}

/* ============================ panel + state layers ============================ */
#howItWorks .panel{
  position:relative;flex:none;width:1144px;height:819px;overflow:hidden;
  background:#141416;border-radius:8px;box-shadow:inset 0 0 0 .5px #ffffff1f}
#howItWorks .panel .pstate{
  position:absolute;inset:0;width:100%;height:100%;
  opacity:var(--pstate-op,0);pointer-events:none;transition:none}
#howItWorks .panel .pstate.on{opacity:var(--pstate-op,1);pointer-events:auto}
@media (prefers-reduced-motion:reduce){
  #howItWorks .panel .pstate{transition:opacity .35s}
}

/* light leak behind every panel — amber on Build, teal on Observe, green on Improve */
#howItWorks .panel[data-row]{
  --leak:.92;--leak-flare-w:7%;--leak-halo-w:26%;--leak-flare-h:44%;--leak-halo-h:34%;
  --leak-horizon-h:60%;--leak-burn-h:86%;--leak-burn-y:64%;--leak-grain-h:86%;
  --lk-h1:246,205,151;--lk-h2:233,166,90;--lk-h3:208,120,48;--lk-h4:170,78,30;--lk-h5:130,52,22;--lk-h6:98,40,20;
  --lk-b1:206,74,30;--lk-b2:178,60,26;--lk-b3:140,46,22;--lk-b4:104,36,20}
#howItWorks .panel[data-row=rowObserve]{
  --lk-h1:173,232,231;--lk-h2:110,205,214;--lk-h3:52,164,186;--lk-h4:26,116,146;--lk-h5:20,80,108;--lk-h6:16,58,82;
  --lk-b1:34,120,150;--lk-b2:28,98,130;--lk-b3:22,74,102;--lk-b4:16,52,76}
#howItWorks .panel[data-row=rowImprove]{
  --lk-h1:186,230,188;--lk-h2:128,204,140;--lk-h3:66,168,104;--lk-h4:34,124,76;--lk-h5:24,88,58;--lk-h6:18,64,44;
  --lk-b1:58,150,92;--lk-b2:46,124,78;--lk-b3:34,94,60;--lk-b4:26,70,46}
#howItWorks .panel[data-row]::before,#howItWorks .panel[data-row]::after{content:"";position:absolute;inset:0;pointer-events:none}
#howItWorks .panel[data-row]>*{z-index:1}
#howItWorks .panel[data-row]::before{opacity:var(--leak);background:
  radial-gradient(ellipse var(--leak-flare-w) var(--leak-flare-h) at 57% 103%, rgba(var(--lk-h2),.62) 0%, rgba(var(--lk-h3),.38) 20%, rgba(var(--lk-h4),.17) 46%, rgba(var(--lk-h5),.05) 72%, transparent 100%),
  radial-gradient(ellipse var(--leak-halo-w) var(--leak-halo-h) at 57% 105%, rgba(var(--lk-h3),.24) 0%, rgba(var(--lk-h4),.1) 44%, transparent 100%),
  radial-gradient(ellipse 54% var(--leak-burn-h) at -8% var(--leak-burn-y), rgba(var(--lk-b1),.44) 0%, rgba(var(--lk-b2),.3) 24%, rgba(var(--lk-b3),.17) 48%, rgba(var(--lk-b4),.065) 72%, transparent 100%),
  radial-gradient(ellipse 118% var(--leak-horizon-h) at 48% 106%, rgba(var(--lk-h1),.72) 0%, rgba(var(--lk-h2),.58) 13%, rgba(var(--lk-h3),.42) 29%, rgba(var(--lk-h4),.26) 47%, rgba(var(--lk-h5),.15) 65%, rgba(var(--lk-h6),.055) 82%, transparent 100%)}
#howItWorks .panel[data-row]::after{
  background-image:var(--grain-tile);background-size:140px 140px;opacity:calc(var(--leak) * .05);
  -webkit-mask-image:linear-gradient(to top,#000 0%,#000 calc(var(--leak-grain-h) * .4),#0006 calc(var(--leak-grain-h) * .72),transparent var(--leak-grain-h));
  mask-image:linear-gradient(to top,#000 0%,#000 calc(var(--leak-grain-h) * .4),#0006 calc(var(--leak-grain-h) * .72),transparent var(--leak-grain-h))}
@media (max-width:699px){
  #howItWorks .panel[data-row]{--leak:.62;--leak-flare-w:19%;--leak-flare-h:26%;--leak-halo-w:52%;--leak-halo-h:22%;--leak-horizon-h:40%;--leak-burn-h:56%;--leak-burn-y:80%;--leak-grain-h:56%}
}
#howItWorks .panel-chrome{position:absolute;inset:0;transform:none}
#howItWorks .panel.oi-simple,#howItWorks .panel.oi-simple *{-webkit-user-select:none;user-select:none}
#howItWorks .panel.oi-simple ::selection{background:0 0}

/* the frosted inner frame every panel except the two "bare" states sits in */
#howItWorks .panel .oi-frame{
  position:absolute;top:50%;left:50%;width:calc(100% - 68px);height:calc(100% - 60px);
  transform:translate(-50%,-50%);display:flex;flex-direction:column;overflow:hidden;
  font-family:var(--font-sans);background:#0b0c0fad;border:.5px solid #ffffff24;border-radius:14px;
  -webkit-backdrop-filter:blur(34px) saturate(1.25);backdrop-filter:blur(34px) saturate(1.25);
  box-shadow:0 28px 72px #00000073,inset 0 1px #ffffff14;
  transition:background .5s cubic-bezier(.16,1,.3,1),border-color .5s cubic-bezier(.16,1,.3,1),box-shadow .5s cubic-bezier(.16,1,.3,1)}
/* Build's chat state and Observe's ask phase float over the bare leak instead */
#howItWorks .panel .oi-frame:has(.pstate.on .oi-scout-stage),
#howItWorks .panel .oi-frame:has(.pstate.on .oi-ask-stage[data-phase=ask]){
  inset:0 auto auto 0;width:100%;height:100%;transform:none;background:0 0;border-color:#0000;
  box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#howItWorks .panel .oi-frame:has(.pstate.on .oi-scout-stage){overflow:visible;pointer-events:none}
#howItWorks .panel .oi-frame:has(.pstate.on .oi-scout-stage) .pstate.on .sc-win{pointer-events:auto}
#howItWorks .panel .oi-step-host{position:relative;flex:1;height:100%;min-height:0}
#howItWorks .panel .oi-step-fill{display:flex;flex-direction:column;height:100%;min-height:0}
#howItWorks .panel .oi-pad{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;padding:28px 32px 24px}

/* Replay control (JS-RECON §3.5 / RUNTIME-RECON §8.1) */
#howItWorks .panel>.reset{
  position:absolute;bottom:16px;right:18px;z-index:6;display:inline-flex;align-items:center;gap:6px;
  height:28px;padding:0 12px 0 10px;font-family:var(--font-sans);font-size:11px;font-weight:500;
  color:#ffffffb8;background:#0d0d0eb8;border:1px solid #ffffff2e;border-radius:999px;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;pointer-events:none;cursor:pointer;
  transition:opacity .35s cubic-bezier(.16,1,.3,1),color .12s cubic-bezier(.4,0,.2,1),border-color .12s cubic-bezier(.4,0,.2,1),background .12s cubic-bezier(.4,0,.2,1)}
#howItWorks .panel>.reset:hover{color:#fffffff2;background:#0d0d0ee0;border-color:#ffffff47}
#howItWorks .panel.can-reset>.reset,#howItWorks .panel.ap-done>.reset{opacity:1;pointer-events:auto}

/* ============================ desktop tier (>=1200) ============================ */
html[data-home-layout=desktop] #howItWorks{--how-stage-inset:88px}
html[data-home-layout=desktop] #howItWorks .how-layout{
  display:flex;align-items:flex-start;gap:clamp(24px,3vw,48px);
  box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:0 var(--how-pad-x)}
html[data-home-layout=desktop] #howItWorks .how-rails{flex:0 472px;min-width:340px;max-width:min(472px,34%)}
html[data-home-layout=desktop] #howItWorks .rowSection:not(:last-child){margin-bottom:var(--how-row-gap,64px)}
html[data-home-layout=desktop] #howItWorks .rowSection .sticky{
  position:sticky;top:var(--how-stage-inset);box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
  width:100%;height:calc(var(--how-vh,100vh) - var(--how-stage-inset));padding-top:0;background:var(--bg)}
html[data-home-layout=desktop] #howItWorks .rowSection .rowInner{
  position:sticky;top:calc(var(--how-stage-inset) + var(--how-stage-shift,0px));
  display:block;flex:none;width:100%;max-width:100%;height:var(--how-rail-h,660px);margin:0}
html[data-home-layout=desktop] #howItWorks .rowSection .rail{
  position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;
  width:100%;max-width:100%;height:100%;margin:0;padding:0;background:0 0;
  transition:opacity .4s cubic-bezier(.16,1,.3,1)}
html[data-home-layout=desktop] #howItWorks .rowSection:not(.how-focus) .rail{opacity:.28}
html[data-home-layout=desktop] #howItWorks .rowSection.how-focus .rail{opacity:1}
/* the row's own inline panel is hidden on desktop; the shared stage owns all three.
   The JavaScript-off path puts it back, from the <noscript> block in how.html. */
html[data-home-layout=desktop] #howItWorks .rowInner>.panel{display:none}
html[data-home-layout=desktop] #howItWorks .how-stage{
  position:sticky;top:var(--how-stage-inset);z-index:1;box-sizing:border-box;container-type:size;
  display:flex;flex-direction:column;flex:1 1 0;justify-content:flex-start;align-self:flex-start;align-items:flex-end;
  width:auto;min-width:0;height:calc(var(--how-vh,100vh) - var(--how-stage-inset));padding-top:0;background:var(--bg)}
html[data-home-layout=desktop] #howItWorks .how-stage-inner{
  position:sticky;top:calc(var(--how-stage-inset) + var(--how-stage-shift,0px));
  flex:none;width:100%;max-width:1144px;height:min(100cqh,var(--how-panel-h,660px))}
html[data-home-layout=desktop] #howItWorks .how-stage .panel{
  position:absolute;inset:0;width:100%;max-width:none;height:100%;
  opacity:0;pointer-events:none;transition:opacity .55s cubic-bezier(.16,1,.3,1)}
html[data-home-layout=desktop] #howItWorks .how-stage .panel.row-on{opacity:1;pointer-events:auto;z-index:1}

/* ============================ compact tier (<1200) ============================ */
html[data-home-layout=compact] #howItWorks{--how-pad-x:24px}
@media (max-width:480px){html[data-home-layout=compact] #howItWorks{--how-pad-x:20px}}
html[data-home-layout=compact] #howItWorks .how-layout{display:block}
html[data-home-layout=compact] #howItWorks .how-stage{display:none}
html[data-home-layout=compact] #howItWorks .how-rails{display:contents}
html[data-home-layout=compact] #howItWorks .rowSection{height:auto!important}
html[data-home-layout=compact] #howItWorks .rowSection .sticky{
  position:relative;top:auto;height:auto!important;align-items:stretch;padding:48px 0 56px;overflow:visible}
html[data-home-layout=compact] #howItWorks .rowInner{
  display:flex;flex-direction:column;gap:28px;width:100%;height:auto;margin:0;padding:0 var(--how-pad-x);transform:none}
html[data-home-layout=compact] #howItWorks .rail{display:contents;width:auto;height:auto}
html[data-home-layout=compact] #howItWorks .rail-copy{order:1;width:100%;max-width:36rem}
html[data-home-layout=compact] #howItWorks .rail .eyebrow{font-size:var(--text-eyebrow)}
html[data-home-layout=compact] #howItWorks .rail h3{font-size:var(--text-rail-h);max-width:20em}
html[data-home-layout=compact] #howItWorks .rail .intro{font-size:var(--text-micro);line-height:1.5}
html[data-home-layout=compact] #howItWorks .rowInner>.panel{display:block}
html[data-home-layout=compact] #howItWorks .panel{
  order:2;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:auto;border-radius:12px;overflow:hidden}
html[data-home-layout=compact] #howItWorks .panel .pstate{
  position:absolute;inset:0;width:100%!important;height:100%!important;
  transition:opacity .55s cubic-bezier(.16,1,.3,1)}
html[data-home-layout=compact] #howItWorks .steps{display:flex;flex-direction:column;order:3;width:100%;padding-bottom:0}
html[data-home-layout=compact] #howItWorks .step h4{font-size:1rem;transition:opacity .45s cubic-bezier(.16,1,.3,1)}
html[data-home-layout=compact] #howItWorks .step .body{
  height:0;max-height:none;font-size:.875rem;
  transition:height .5s cubic-bezier(.16,1,.3,1),margin .5s cubic-bezier(.16,1,.3,1)}
html[data-home-layout=compact] #howItWorks .step.active .body{height:var(--oi-body-h,4.5em);max-height:none;margin-top:10px}
html[data-home-layout=compact] #howItWorks .steps.oi-measuring .body{height:auto!important;max-height:none!important;transition:none!important}
@media (min-width:700px){
  html[data-home-layout=compact] #howItWorks .steps{flex-direction:row;align-items:flex-start;gap:24px}
  html[data-home-layout=compact] #howItWorks .step{flex:1 1 0;min-width:0}
}
/* the interactive frame keeps a phone-friendly floor instead of the 819px design height */
/* the compact panel floor. Measured: 658px at 1024 and 768 (the native card height), 524px at 390.
   giga's own rule below 700 is min(560px, 72svh); we keep it and record the 36px delta at 390. */
html[data-home-layout=compact] #howItWorks .panel{--oi-phone-h:min(560px,72svh)}

html[data-home-layout=compact] #howItWorks .panel .panel-chrome{position:relative;inset:auto;height:auto;transform:none}
html[data-home-layout=compact] #howItWorks .panel .oi-frame{
  position:relative;top:auto;left:auto;transform:none;width:100%;height:auto;max-height:none;
  min-height:var(--oi-phone-h);padding-bottom:34px;border-radius:10px}
/* Measured against giga at each compact width. Above 700 the 34px bottom padding is not in play,
   so the state fills the panel; below it the padding is what makes 390 land on 524. The Improve
   mock is shorter than Build/Observe in giga too, so it carries its own floor. */

@media (max-width:699px){
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove]{--oi-phone-h:575px}
  html[data-home-layout=compact] #howItWorks #ncImp1 .oi-obj-body{gap:10px}
  html[data-home-layout=compact] #howItWorks #ncImp1 .oi-obj-detail{gap:6px;padding:10px 14px}
  html[data-home-layout=compact] #howItWorks #ncImp1 .oi-obj-prev{padding-top:8px}
  html[data-home-layout=compact] #howItWorks #ncImp1 .oi-obj-foot{margin-top:12px;padding-top:6px}
}
html[data-home-layout=compact] #howItWorks .panel .oi-frame:has(.pstate.on .oi-scout-stage),
html[data-home-layout=compact] #howItWorks .panel .oi-frame:has(.pstate.on .oi-ask-stage[data-phase=ask]){inset:auto;width:100%;height:auto}
html[data-home-layout=compact] #howItWorks .panel .oi-step-fill{display:flex;flex-direction:column;flex:auto;height:auto;min-height:0}
html[data-home-layout=compact] #howItWorks .panel .oi-step-host{display:grid;flex:auto;height:auto;min-height:0}
html[data-home-layout=compact] #howItWorks .panel .oi-step-host .pstate{
  position:relative;grid-area:1/1;display:flex;flex-direction:column;min-width:0;height:auto;opacity:1}
html[data-home-layout=compact] #howItWorks .panel .oi-step-host .pstate:not(.on){visibility:hidden}
html[data-home-layout=compact] #howItWorks .panel .oi-pad{padding:20px 18px 18px}

@media (min-width:700px){
  html[data-home-layout=compact] #howItWorks .panel{--oi-phone-h:660px}
  html[data-home-layout=compact] #howItWorks .panel .oi-frame{padding-bottom:0}
  /* The Improve mock is inset inside the shared 660 box rather than filling it: measured
     976x660 panel with a 906x598 state at 1024, and 720x660 with 650x598 at 768. That is the
     desktop frame geometry, so the row keeps the shared box and the mock floats inside it. */
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove]{height:660px;min-height:660px}
  /* the chrome has to be the absolute 660 box again, or the frame's percentage height
     resolves against a zero-height in-flow parent */
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .panel-chrome{position:absolute;inset:0;height:auto}
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-frame{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:calc(100% - 68px);height:calc(100% - 60px);min-height:0;padding-bottom:0;border-radius:14px}
  /* with the frame absolute again, the content chain has to fill it rather than size to content */
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-step-fill{height:100%}
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-step-host{height:100%;flex:1}
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-step-host .pstate{height:100%}
  html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-pad{height:100%}
  html[data-home-layout=compact] #howItWorks #ncImp1 .oi-obj-foot{margin-top:14px}
}

/* ============================ sc-win — the Gnar chat window ============================ */
#howItWorks .sc-win{
  --sc-fg:#f4f4f5;--sc-fg-2:#ffffff9e;--sc-fg-3:#ffffff6b;--sc-line:#ffffff1a;--sc-fill:#ffffff0d;--sc-fill-2:#ffffff14;
  position:absolute;top:50%;left:50%;display:flex;flex-direction:column;overflow:hidden;
  width:min(460px,92%);max-height:calc(100% - 20px);
  transform:translate(calc(-50% + var(--sc-dx,0px)),calc(-50% + var(--sc-dy,0px)));cursor:grab;
  font-family:var(--font-sans);color:var(--sc-fg);background:#0d0d0eb3;border:1px solid #ffffff1f;border-radius:14px;
  -webkit-backdrop-filter:blur(20px) saturate(1.1);backdrop-filter:blur(20px) saturate(1.1);
  box-shadow:0 32px 80px #00000080,inset 0 1px #ffffff0f;
  transition:opacity .25s,width .28s cubic-bezier(.16,1,.3,1),max-height .28s cubic-bezier(.16,1,.3,1)}
#howItWorks .sc-win.expanded{width:min(600px,94%);max-width:none;max-height:calc(100% - 8px)}
/* measured: the window is 358px wide in the 847px shared panel at 1440, i.e. 42% capped at 360 */
#howItWorks .panel.oi-shared .sc-win{width:min(42%,360px);max-width:360px}
#howItWorks .panel.oi-shared .sc-win.expanded{width:min(600px,94%);max-width:none}
#howItWorks .sc-win.closed{opacity:0;pointer-events:none}
#howItWorks .sc-win.dragging{cursor:grabbing;will-change:transform;box-shadow:0 34px 90px #000000a6}
#howItWorks .sc-win.recentering{transition:transform .7s cubic-bezier(.16,1,.3,1)}
@media (prefers-reduced-motion:reduce){#howItWorks .sc-win.recentering{transition:none}}
#howItWorks .sc-i{display:inline-flex;flex:none;justify-content:center;align-items:center;width:12px;height:12px;color:currentColor}
#howItWorks .sc-i svg{display:block;width:12px;height:12px}
#howItWorks .sc-mark{width:16px;height:16px;border-radius:4px;overflow:hidden}
#howItWorks .sc-mark img{display:block;width:100%;height:100%;object-fit:contain}
#howItWorks .sc-head{
  display:flex;flex:none;justify-content:space-between;align-items:center;height:46px;padding:0 10px 0 14px;
  border-bottom:.5px solid var(--sc-line);cursor:grab;-webkit-user-select:none;user-select:none}
#howItWorks .sc-win.dragging .sc-head{cursor:grabbing}
#howItWorks .sc-head-l,#howItWorks .sc-head-r{display:flex;align-items:center;gap:6px}
#howItWorks .sc-head-t{font-size:13.5px;font-weight:500;color:var(--sc-fg)}
#howItWorks .sc-ib{display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;border-radius:6px;color:var(--sc-fg-3);cursor:pointer}
#howItWorks .sc-ib:hover{background:var(--sc-fill-2);color:var(--sc-fg)}
#howItWorks .sc-ib:active{transform:scale(.94)}
#howItWorks .sc-body{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#howItWorks .sc-hero{
  display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:18px;
  min-height:0;padding:24px;text-align:center;transition:opacity .4s}
#howItWorks .sc-ask{display:flex;align-items:center;gap:7px;font-size:20px;font-weight:600;letter-spacing:-.01em}
#howItWorks .sc-ask .sc-mark{width:19px;height:19px}
#howItWorks .sc-ask-sub{margin-top:-10px;font-size:13.5px;color:var(--sc-fg-2)}
#howItWorks .sc-suggest{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:360px}
#howItWorks .sc-sug{
  display:inline-flex;align-items:center;gap:7px;height:29px;padding:0 12px;font-size:13px;font-weight:500;
  color:var(--sc-fg);background:var(--sc-fill);border:.5px solid var(--sc-line);border-radius:999px;cursor:pointer;transition:background .2s}
#howItWorks .sc-sug:hover{background:var(--sc-fill-2)}
#howItWorks .sc-sug .sc-i{color:var(--sc-fg-3)}
#howItWorks .sc-hints{display:flex;gap:18px;font-size:12.5px;color:var(--sc-fg-3)}
#howItWorks .sc-hints span{display:inline-flex;align-items:center;gap:6px}
#howItWorks .sc-hints kbd{
  display:inline-flex;justify-content:center;align-items:center;min-width:15px;height:15px;padding:0 3px;
  font-family:var(--font-mono);font-size:10px;color:var(--sc-fg-2);background:var(--sc-fill);border:.5px solid var(--sc-line);border-radius:4px}
#howItWorks .sc-stream{display:none;flex-direction:column;flex:1;min-height:0;padding:16px 18px}
#howItWorks .sc-win.chatting .sc-hero,#howItWorks .sc-win:has(.sc-stream .ap-show) .sc-hero{position:absolute;inset:0;opacity:0;pointer-events:none}
#howItWorks .sc-win.chatting .sc-stream,#howItWorks .sc-win:has(.sc-stream .ap-show) .sc-stream{display:flex}
#howItWorks .sc-bubble{
  align-self:flex-end;max-width:85%;margin-bottom:14px;padding:10px 13px;font-size:13.5px;line-height:1.5;
  color:var(--sc-fg);background:var(--sc-fill-2);border-radius:12px 12px 4px}
#howItWorks .sc-act{padding:5px 0;font-size:13.5px;color:var(--sc-fg-2)}
#howItWorks .sc-act b{margin-right:6px;font-weight:500;color:var(--sc-fg)}
#howItWorks .sc-drafting{display:none}
#howItWorks .sc-win.done .sc-drafting{display:block}
#howItWorks .sc-q{margin-top:12px;padding:14px;background:var(--sc-fill);border:.5px solid var(--sc-line);border-radius:12px;transition:opacity .3s}
#howItWorks .sc-q .qh{margin-bottom:8px;font-size:12px;font-weight:500;color:var(--sc-fg-2)}
#howItWorks .sc-q .qq{margin-bottom:10px;font-size:14.5px;font-weight:500;line-height:1.45;color:var(--sc-fg)}
#howItWorks .sc-opt{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;font:inherit;font-size:13.5px;text-align:left;color:var(--sc-fg);background:none;border:0;border-radius:8px;cursor:pointer}
#howItWorks .sc-opt:hover{background:var(--sc-fill)}
#howItWorks .sc-opt.sel{background:var(--sc-fill-2)}
#howItWorks .sc-opt b{
  display:flex;flex:none;justify-content:center;align-items:center;width:18px;height:18px;
  font-family:var(--font-mono);font-size:10px;font-weight:400;color:var(--sc-fg-3);border:.5px solid var(--sc-line);border-radius:5px}
#howItWorks .sc-qfoot{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:12px}
#howItWorks .sc-skip{font:inherit;font-size:13px;color:var(--sc-fg-2);background:none;border:0;cursor:pointer;transition:color .15s}
#howItWorks .sc-skip:hover{color:var(--sc-fg)}
#howItWorks .sc-cont{
  display:inline-flex;align-items:center;height:32px;padding:0 14px;font:inherit;font-size:13px;font-weight:500;
  color:#0d0d0e;background:var(--sc-fg);border:0;border-radius:8px;cursor:pointer;transition:background .15s,transform 80ms}
#howItWorks .sc-cont:hover{background:#fff}
#howItWorks .sc-cont:active,#howItWorks .sc-cont.pressed{transform:scale(.94);transition:transform .15s}
#howItWorks .sc-sum{display:none;margin:14px 0;font-size:13.5px;line-height:1.6;color:var(--sc-fg)}
#howItWorks .sc-pills{display:none;gap:8px;margin-top:2px}
#howItWorks .sc-pills span{
  display:inline-flex;align-items:center;height:34px;padding:0 16px;font-size:13px;font-weight:500;border-radius:8px;cursor:pointer;transition:background .15s}
#howItWorks .sc-pills span:active{transform:scale(.97)}
#howItWorks .sc-pills .w{color:#0d0d0e;background:var(--sc-fg)}
#howItWorks .sc-pills .w:hover{background:#fff}
#howItWorks .sc-pills .g{color:var(--sc-fg);border:.5px solid var(--sc-line)}
#howItWorks .sc-pills .g:hover{background:var(--sc-fill);border-color:#ffffff2e}
#howItWorks .sc-win.done .sc-q{display:none}
#howItWorks .sc-win.done .sc-sum{display:block}
#howItWorks .sc-win.done .sc-pills{display:flex}
#howItWorks .sc-composer{
  display:flex;flex-direction:column;flex:none;gap:8px;margin:10px;padding:12px;
  background:var(--sc-fill);border:.5px solid var(--sc-line);border-radius:12px;transition:border-color .15s}
#howItWorks .sc-composer:focus-within{border-color:#ffffff57}
#howItWorks .sc-comp-tags{display:flex}
#howItWorks .sc-tag{
  display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 3px 0 8px;font-size:12px;font-weight:500;
  color:var(--sc-fg);background:var(--sc-fill-2);border-radius:8px}
#howItWorks .sc-tag .sc-i{color:var(--sc-fg-2)}
#howItWorks .sc-tag-x{display:inline-flex;justify-content:center;align-items:center;width:18px;height:18px;color:var(--sc-fg-3);background:none;border:0;border-radius:5px;cursor:pointer}
#howItWorks .sc-tag-x:hover{color:var(--sc-fg);background:#ffffff14}
#howItWorks .sc-input{
  width:100%;padding:2px;font-family:inherit;font-size:14px;line-height:1.4;color:var(--sc-fg);background:0 0;border:0;outline:none}
#howItWorks .sc-input::placeholder{color:var(--sc-fg-3)}
#howItWorks .sc-comp-bar{display:flex;justify-content:space-between;align-items:center}
#howItWorks .sc-comp-l{display:flex;align-items:center;gap:6px}
#howItWorks .sc-cbtn{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;color:var(--sc-fg-2);background:none;border:0;border-radius:999px;cursor:pointer}
#howItWorks .sc-cbtn:hover{background:var(--sc-fill-2);color:var(--sc-fg)}
#howItWorks .sc-model{
  display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px 0 10px;font-family:inherit;font-size:13.5px;font-weight:500;
  color:var(--sc-fg-2);background:none;border:0;border-radius:8px;cursor:pointer}
#howItWorks .sc-model:hover{background:var(--sc-fill-2);color:var(--sc-fg)}
#howItWorks .sc-model .sc-i{color:var(--sc-fg-3)}
#howItWorks .sc-send{
  display:inline-flex;justify-content:center;align-items:center;width:32px;height:32px;
  color:#0d0d0e;background:var(--sc-fg);border:0;border-radius:999px;cursor:pointer}
#howItWorks .sc-send:hover{background:#fff}
#howItWorks .sc-send.ap-press{transform:scale(.93)}
#howItWorks .sc-win.chatting .sc-composer{flex-direction:row;align-items:center;gap:8px}
#howItWorks .sc-win.chatting .sc-comp-tags,#howItWorks .sc-win.chatting .sc-comp-l{display:none}
#howItWorks .sc-win.chatting .sc-input{flex:1;width:auto}
#howItWorks .sc-win.chatting .sc-comp-bar{flex:none}
#howItWorks .sc-resp{display:flex;flex-direction:column;gap:9px;margin-top:10px;padding:11px 12px;background:var(--sc-fill);border:.5px solid var(--sc-line);border-radius:12px}
#howItWorks .sc-win.done .sc-resp{display:none}
#howItWorks .sc-resp-h{font-size:13px;font-weight:500;color:var(--sc-fg-2)}
#howItWorks .sc-resp-k{margin-bottom:6px;font-family:var(--font-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--sc-fg-3)}
#howItWorks .sc-resp-foot{display:flex;justify-content:flex-end}
#howItWorks .sc-vchips{display:flex;flex-wrap:wrap;gap:8px}
#howItWorks .sc-vchip{
  display:inline-flex;align-items:center;height:32px;padding:0 12px;font-family:inherit;font-size:13px;font-weight:500;
  color:var(--sc-fg-2);background:var(--sc-fill-2);border:.5px solid var(--sc-line);border-radius:8px;cursor:pointer;
  transition:background .15s,color .15s,border-color .15s}
#howItWorks .sc-vchip:hover{color:var(--sc-fg)}
#howItWorks .sc-vchip.on{color:#0d0d0e;background:var(--sc-fg);border-color:#0000}
#howItWorks .sc-vpreview{padding:8px 11px;background:#0003;border-radius:8px}
#howItWorks .sc-vsample{font-size:13.5px;line-height:1.55;color:var(--sc-fg)}
#howItWorks .sc-pol-list{display:flex;flex-direction:column;gap:1px}
#howItWorks .sc-pol{
  display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;font-family:inherit;font-size:14px;
  text-align:left;color:var(--sc-fg);background:0 0;border:0;border-radius:8px;cursor:pointer;transition:background .15s}
#howItWorks .sc-pol .name{font-weight:500}
#howItWorks .sc-pol:hover,#howItWorks .sc-pol.on{background:var(--sc-fill-2)}
#howItWorks .sc-pol-status{padding:2px 8px;font-size:11px;font-weight:500;color:#00c8a0;background:#00c8a01f;border-radius:999px}
#howItWorks .sc-pol-status.draft{color:var(--sc-fg-3);background:var(--sc-fill-2)}
#howItWorks .sc-pol-test{padding:8px 11px;background:#0003;border-radius:8px}
#howItWorks .sc-pol-t{margin-bottom:3px;font-size:14px;color:var(--sc-fg)}
#howItWorks .sc-pol-r{font-size:12px}
#howItWorks .sc-pol-r.ok{color:#00c8a0}
#howItWorks .sc-pol-r.fail{color:#e5484d}
#howItWorks .sc-launcher{
  position:absolute;top:50%;left:50%;z-index:6;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 18px;
  font-family:var(--font-sans);font-size:13px;font-weight:500;color:#f4f4f5;background:#0d0d0eb8;
  border:.5px solid #ffffff1f;border-radius:999px;cursor:pointer;transform:translate(-50%,-50%);
  -webkit-backdrop-filter:blur(20px) saturate(1.1);backdrop-filter:blur(20px) saturate(1.1);
  box-shadow:0 16px 44px #00000080;transition:background .15s,transform .12s}
#howItWorks .sc-launcher[hidden]{display:none}
#howItWorks .sc-launcher:hover{background:#18181ad1}
#howItWorks .sc-launcher:active{transform:translate(-50%,-50%) scale(.97)}
#howItWorks .oi-scout-stage{height:100%;min-height:320px}

/* autoplay reveal primitives (RUNTIME-RECON §8.1) */
#howItWorks .ap-hide{opacity:0;transform:translateY(6px)}
#howItWorks .ap-show{opacity:1;transform:none;transition:opacity .45s,transform .45s}
#howItWorks .ap-press{transform:scale(.94);transition:transform .15s cubic-bezier(.4,0,.2,1)}

/* ============================ oi-* panel internals ============================ */
#howItWorks .oi-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
#howItWorks .oi-head h2,#howItWorks .oi-title{margin:0;font-family:var(--font-sans);font-size:28px;font-weight:600;letter-spacing:-.03em;color:#fff}
#howItWorks .oi-lbl{margin:0 0 8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9ea1a6}
#howItWorks .oi-code{font-family:var(--font-mono);font-size:12px;color:#9b9b9b}
#howItWorks .oi-code.teal{color:#12b39d}
#howItWorks .oi-unit{margin-left:2px;font-size:13px;font-weight:400;letter-spacing:0;color:#9ea1a6}
#howItWorks .oi-tag{padding:3px 7px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#9b9b9b;background:#ffffff0f;border-radius:5px}
#howItWorks .oi-xaxis{display:flex;justify-content:space-between;padding:4px 4px 0;font-family:var(--font-mono);font-size:10px;color:#9ea1a6}
#howItWorks .oi-btn-primary{
  height:44px;padding:0 20px;font:inherit;font-size:14px;font-weight:500;white-space:nowrap;
  color:#000;background:#fff;border:0;border-radius:999px;cursor:pointer;transition:transform 90ms cubic-bezier(.4,0,.2,1),opacity .12s}
#howItWorks .oi-btn-primary:hover{opacity:.92}
#howItWorks .oi-btn-primary:active{transform:scale(.98)}
#howItWorks .oi-btn-primary.done,#howItWorks .oi-btn-primary:disabled{opacity:.55;cursor:default}
#howItWorks .oi-btn-ghost{
  height:44px;padding:0 18px;font:inherit;font-size:14px;font-weight:500;white-space:nowrap;
  color:#fff;background:0 0;border:1px solid #ffffff2e;border-radius:999px;cursor:pointer}
#howItWorks .oi-btn-ghost:hover{background:#ffffff0d}
#howItWorks .oi-chip{
  display:inline-flex;align-items:center;height:36px;padding:0 16px;font:inherit;font-size:14px;white-space:nowrap;
  color:#fff;background:#19191a;border:0;border-radius:999px;cursor:pointer}
#howItWorks .oi-chip:hover{background:#2b2b2d}
#howItWorks .oi-chip.on{color:#000;background:#fff}
#howItWorks .oi-pill{display:inline-flex;align-items:center;padding:3px 10px;font-size:12px;font-weight:500;color:#c8c8c8;background:#ffffff14;border-radius:6px}

/* -- Observe 1: ask bar → milestone slice -- */
#howItWorks .oi-ask-stage{
  --sc-fg:#f4f4f5;--sc-fg-2:#ffffff9e;--sc-fg-3:#ffffff6b;--sc-line:#ffffff1a;--sc-fill:#ffffff0d;--sc-fill-2:#ffffff14;
  position:relative;box-sizing:border-box;height:100%;min-height:0;font-family:var(--font-sans);color:var(--sc-fg)}
#howItWorks .oi-ask-phase,#howItWorks .oi-result-phase{
  position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;min-height:0;
  transition:opacity .5s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-ask-phase{justify-content:center;align-items:center;padding:22px 30px}
#howItWorks .oi-result-phase{padding:24px 30px 20px}
#howItWorks .oi-ask-stage[data-phase=ask] .oi-result-phase{opacity:0;pointer-events:none;transform:translateY(12px)}
#howItWorks .oi-ask-stage[data-phase=result] .oi-ask-phase{opacity:0;pointer-events:none;transform:translateY(-12px)}
#howItWorks .oi-ask{
  display:flex;flex:none;align-items:center;gap:11px;width:100%;max-width:560px;height:54px;padding:0 9px 0 15px;
  background:#121317f5;border:.5px solid #ffffff29;border-radius:14px;
  -webkit-backdrop-filter:blur(24px) saturate(1.2);backdrop-filter:blur(24px) saturate(1.2);box-shadow:0 20px 50px #0000006b}
#howItWorks .oi-ask .sc-mark{width:18px;height:18px}
#howItWorks .oi-ask .sc-input{flex:1;width:auto;font-size:15px}
#howItWorks .oi-ask .sc-send{flex:none}
#howItWorks .oi-ask-note{
  display:none;flex-direction:column;align-items:flex-start;gap:12px;width:100%;max-width:560px;margin-top:16px;padding:0 2px;
  font-size:13px;line-height:1.55;color:var(--sc-fg-2)}
#howItWorks .oi-ask-stage[data-note] .oi-ask-note{display:flex;animation:.42s cubic-bezier(.16,1,.3,1) backwards oi-note-in}
#howItWorks .oi-ask-note-t{max-width:44ch}
@keyframes oi-note-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
#howItWorks .oi-asked{display:flex;flex:none;align-items:center;gap:9px;margin-bottom:16px;font-size:13px;color:var(--sc-fg-2)}
#howItWorks .oi-asked .sc-mark{width:15px;height:15px}
#howItWorks .oi-asked-q{color:var(--sc-fg)}
#howItWorks .oi-slice-count{display:flex;flex:none;align-items:baseline;gap:11px;padding:0 0 14px}
#howItWorks .oi-slice-v{font-size:42px;font-weight:600;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#fff}
#howItWorks .oi-slice-lbl{font-size:13px;color:var(--sc-fg-2)}
#howItWorks .oi-views-h{margin-bottom:16px;font:500 10px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#7a7a7a}
#howItWorks .oi-bubbles{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
#howItWorks .oi-bubbles--pick{gap:8px}
#howItWorks .oi-bub{
  position:relative;padding:13px 15px;background:#ffffff0b;border-radius:12px 12px 12px 4px;
  animation:.42s cubic-bezier(.16,1,.3,1) both oi-bub-in;animation-delay:calc(var(--i,0) * 50ms)}
#howItWorks .oi-bubbles--pick .oi-bub{width:100%;text-align:left;font:inherit;color:inherit;border:0;padding:11px 14px;cursor:pointer;transition:background .12s cubic-bezier(.4,0,.2,1)}
#howItWorks .oi-bubbles--pick .oi-bub:hover{background:#ffffff12}
#howItWorks .oi-bub.sel{background:#ffffff17}
#howItWorks .oi-bub.ap-press{background:#ffffff1c}
#howItWorks .oi-bub-q{margin:0;font-size:14px;line-height:1.45;color:#fff}
#howItWorks .oi-bubbles--pick .oi-bub-q{font-size:13.5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#howItWorks .oi-bub-ch{margin-right:9px;font:500 9.5px/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#7f7f7f}
#howItWorks .oi-sigs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;font-size:12px}
#howItWorks .oi-bubbles--pick .oi-sigs{margin-top:6px;font-size:11.5px}
#howItWorks .oi-sig{display:inline-flex;align-items:center;color:#9b9b9b}
#howItWorks .oi-emo{display:inline-flex;align-items:center}
#howItWorks .oi-emo.neg{color:#e5687d}
#howItWorks .oi-emo.pos{color:#00c8a0}
#howItWorks .oi-emo.neu{color:#a0a0a0}
#howItWorks .oi-arc{margin:0 5px;color:#5a5a5a}
#howItWorks .oi-sig-sep{margin:0 1px;color:#4d4d4d}
@keyframes oi-bub-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* -- Observe 2: the audit detail -- */
#howItWorks .oi-audit-stage{position:relative;box-sizing:border-box;height:100%;min-height:0}
#howItWorks .oi-audit-listphase,#howItWorks .oi-audit-detailphase{
  position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;min-height:0;padding:24px 28px 20px;
  transition:opacity .5s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-audit-stage[data-phase=list] .oi-audit-detailphase{opacity:0;pointer-events:none;transform:translateX(14px)}
#howItWorks .oi-audit-stage[data-phase=detail] .oi-audit-listphase{opacity:0;pointer-events:none;transform:translateX(-14px)}
#howItWorks .oi-back{
  flex:none;align-self:flex-start;margin-bottom:12px;font:inherit;font-size:13px;white-space:nowrap;
  color:#9b9b9b;background:0 0;border:0;cursor:pointer}
#howItWorks .oi-back:hover{color:#fff}
#howItWorks .oi-detail-h{margin-bottom:14px}
#howItWorks .oi-detail-h h3{margin:0 0 8px;font-size:18px;font-weight:600;line-height:1.35;color:#fff}
#howItWorks .oi-thread{display:flex;flex-direction:column;flex:1;align-items:flex-start;gap:9px;min-height:0;padding-bottom:6px;overflow:hidden}
#howItWorks .oi-turn{
  display:flex;flex-direction:column;gap:4px;max-width:88%;padding:9px 13px;
  animation:.5s cubic-bezier(.16,1,.3,1) both oi-turn-in;animation-delay:calc(var(--ti,0) * .16s + .12s)}
#howItWorks .oi-turn.user{align-self:flex-start;background:#ffffff0e;border-radius:13px 13px 13px 4px}
#howItWorks .oi-turn.agent{align-self:flex-end;background:#00a08c21;border-radius:12px 12px 4px}
#howItWorks .oi-who{font:500 10px/1 var(--font-mono);letter-spacing:.09em;text-transform:uppercase;color:#6b6b6b}
#howItWorks .oi-turn.agent .oi-who{color:#0d9b8a}
#howItWorks .oi-turn-t{margin:0;font-size:14px;line-height:1.5;color:#d4d4d4}
#howItWorks .oi-turn.user .oi-turn-t{color:#fff}
#howItWorks .oi-turn.hot{transition:background .35s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-audit-stage.show-hot .oi-turn.hot{background:#e5687d29;animation:1.5s cubic-bezier(.16,1,.3,1) oi-hot-pulse}
#howItWorks .oi-turn-flag{
  display:inline-flex;align-self:flex-start;margin-top:2px;font:500 9.5px/1 var(--font-mono);letter-spacing:.06em;
  text-transform:uppercase;color:#e5687d;opacity:0;transform:translateY(-2px);transition:opacity .3s,transform .3s}
#howItWorks .oi-audit-stage.show-hot .oi-turn-flag{opacity:1;transform:none}
#howItWorks .oi-audit-result{
  display:flex;flex-direction:column;flex:none;gap:6px;padding-top:14px;
  transition:opacity .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-audit-result.is-hidden{opacity:0;pointer-events:none;transform:translateY(9px)}
#howItWorks .oi-verdict{display:flex;align-items:baseline;gap:7px;font-size:14px;font-weight:600}
#howItWorks .oi-verdict.ok{color:#00c8a0}
#howItWorks .oi-verdict.flag{color:#e5484d}
#howItWorks .oi-verdict-d{font-weight:400;color:#9b9b9b}
#howItWorks .oi-audit-meta{font-size:12px;color:#9b9b9b}
@keyframes oi-turn-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes oi-hot-pulse{0%{box-shadow:0 0 #e5687d73}70%,to{box-shadow:0 0 0 10px #e5687d00}}

/* -- Observe 3: the milestone KPI chart -- */
#howItWorks .oi-kw{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;padding:26px 30px 22px}
#howItWorks .oi-kw-eyebrow{flex:none;margin-bottom:22px;font:500 10px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#7a7a7a}
#howItWorks .oi-kw-hero{flex:none}
#howItWorks .oi-kw-label{font-size:13px;color:#9b9b9b}
#howItWorks .oi-kw-figure{display:flex;align-items:baseline;gap:14px;margin-top:8px}
#howItWorks .oi-kw-figure.kw-pop{animation:.5s cubic-bezier(.16,1,.3,1) kw-pop}
#howItWorks .oi-kw-v{font-size:56px;font-weight:600;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#fff}
#howItWorks .oi-kw-delta{font-size:13px;font-weight:500;color:#00c8a0}
#howItWorks .oi-kw-chart{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;margin-top:16px}
#howItWorks .oi-kw-line{display:block;flex:1;width:100%;min-height:0}
#howItWorks .oi-kw-path{stroke-dasharray:1;stroke-dashoffset:0}
#howItWorks .oi-kw-path.draw{animation:.95s cubic-bezier(.16,1,.3,1) kw-draw}
#howItWorks .oi-kw-area.draw{animation:.7s .3s both kw-fill}
#howItWorks .oi-kw-axis{display:flex;flex:none;justify-content:space-between;padding-top:8px;font:10px/1 var(--font-mono);letter-spacing:.04em;color:#5f5f5f}
#howItWorks .oi-kw-sec-row{display:flex;flex:none;gap:40px;margin-top:20px}
#howItWorks .oi-kw-sec{
  display:flex;flex-direction:column;gap:6px;padding:0;font:inherit;text-align:left;
  background:0 0;border:0;opacity:.6;cursor:pointer;transition:opacity .15s}
#howItWorks .oi-kw-sec:hover,#howItWorks .oi-kw-sec.on{opacity:1}
#howItWorks .oi-kw-sec-k{font-size:12px;color:#9b9b9b}
#howItWorks .oi-kw-sec-v{font-size:22px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;color:#fff}
#howItWorks .oi-kw-sec-d{font-size:11px;color:#00c8a0}
@keyframes kw-pop{0%{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes kw-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}
@keyframes kw-fill{0%{opacity:0}to{opacity:1}}

/* -- Improve 1: the outcome picker -- */
#howItWorks .oi-obj{gap:0}
#howItWorks .oi-obj-head{margin-bottom:22px}
#howItWorks .oi-obj-sub{margin:6px 0 0;font-size:15px;color:#9b9b9b}
#howItWorks .oi-obj-body{display:grid;flex:1;grid-template-columns:.82fr 1.18fr;align-content:start;gap:28px;min-height:0}
#howItWorks .oi-obj-list{display:flex;flex-direction:column;gap:2px}
#howItWorks .oi-obj-row{
  display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:11px 12px;
  font:inherit;font-size:15px;text-align:left;color:#c4c6ca;background:0 0;border:0;border-radius:9px;cursor:pointer;
  transition:background .14s cubic-bezier(.4,0,.2,1),color .14s}
#howItWorks .oi-obj-row:hover{background:#ffffff0b}
#howItWorks .oi-obj-row.on{color:#fff;background:#ffffff12}
#howItWorks .oi-obj-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#howItWorks .oi-obj-val{font-size:12px;font-variant-numeric:tabular-nums;color:#a4a7ac}
#howItWorks .oi-obj-row.on .oi-obj-val{color:#cfd2d6}
#howItWorks .oi-obj-arrow{width:12px;font-size:12px;text-align:center;color:#12b39d}
#howItWorks .oi-obj-detail{display:flex;flex-direction:column;gap:14px;padding:18px 20px;background:#ffffff09;border-radius:14px;box-shadow:inset 0 0 0 .5px #ffffff17}
#howItWorks .oi-obj-dh{display:flex;align-items:center;gap:10px}
#howItWorks .oi-obj-dh-name{font-size:17px;font-weight:500;letter-spacing:-.01em;color:#fff}
#howItWorks .oi-obj-def{font-size:16px;line-height:1.5;color:#cfd2d6}
#howItWorks .oi-obj-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#howItWorks .oi-obj-meta .oi-lbl{margin-bottom:5px}
#howItWorks .oi-obj-prev{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-top:2px;padding-top:16px;border-top:.5px solid #ffffff12}
#howItWorks .oi-obj-prev-head{min-width:0}
#howItWorks .oi-obj-prev-row{display:flex;align-items:baseline;gap:10px;margin-top:6px}
#howItWorks .oi-prev-v{font-size:34px;font-weight:600;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#fff}
#howItWorks .oi-obj-delta{padding:2px 8px;font-size:12px;font-weight:500;color:#12b39d;background:#12b39d1f;border-radius:6px}
#howItWorks .oi-prev-m{margin-top:8px;font-size:12px;line-height:1.4;color:#a4a7ac}
#howItWorks .oi-spark{display:block;flex:none;width:150px;height:44px}
#howItWorks .oi-obj>.oi-obj-foot{margin-top:auto}
#howItWorks .oi-obj-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:28px;padding-top:18px}
#howItWorks .oi-auto{display:flex;align-items:center;gap:11px}
#howItWorks .oi-auto-txt{display:flex;flex-direction:column;gap:2px;line-height:1.3}
#howItWorks .oi-auto-txt b{font-size:13px;font-weight:500;color:#fff}
#howItWorks .oi-auto-txt span{font-size:11.5px;color:#a4a7ac}
#howItWorks .oi-switch{position:relative;flex:none;width:34px;height:20px;background:#12b39d;border:0;border-radius:999px;cursor:pointer}
#howItWorks .oi-switch::after{content:"";position:absolute;top:3px;left:17px;width:14px;height:14px;background:#fff;border-radius:50%;transition:left .2s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-switch[aria-checked=false]{background:#ffffff24}
#howItWorks .oi-switch[aria-checked=false]::after{left:3px}
#howItWorks .oi-toast{
  position:absolute;bottom:28px;left:50%;z-index:5;padding:8px 16px;font-size:12px;color:#fff;
  background:#19191a;border:.5px solid #ffffff24;border-radius:999px;opacity:0;pointer-events:none;
  transform:translateX(-50%) translateY(8px);transition:opacity .25s,transform .25s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* -- Improve 2: the risk register kanban -- */
#howItWorks .oi-kan .oi-head{align-items:flex-start;margin-bottom:20px}
#howItWorks .oi-kan-sub{margin-top:4px;font-size:12.5px;color:#a4a7ac}
#howItWorks .oi-kanban{display:grid;flex:auto;grid-template-columns:repeat(4,1fr);gap:12px;min-height:0}
#howItWorks .oi-kcol{display:flex;flex-direction:column;min-height:0;padding:12px 11px;background:#ffffff06;border-radius:12px;transition:box-shadow .12s,background .12s}
#howItWorks .oi-kcol.drop{background:#ffffff0a;box-shadow:inset 0 0 0 1px #12b39d66}
#howItWorks .oi-kcol-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 2px;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#a4a7ac}
#howItWorks .oi-kcol-h .n{
  display:inline-flex;justify-content:center;align-items:center;min-width:18px;padding:1px 5px;font-size:10.5px;
  font-variant-numeric:tabular-nums;color:#cfd2d6;background:#ffffff0f;border-radius:6px}
#howItWorks .oi-kcol-body{display:flex;flex-direction:column;flex:1;gap:8px;min-height:40px}
#howItWorks .oi-kcard{position:relative;padding:12px 13px;background:#ffffff0b;border-radius:10px;cursor:grab;box-shadow:inset 0 0 0 .5px #ffffff14;transition:background .14s,box-shadow .14s}
#howItWorks .oi-kcard:hover{background:#ffffff14}
#howItWorks .oi-kcard.sel{box-shadow:inset 0 0 0 1px #12b39d8c}
#howItWorks .oi-kcard.dragging{opacity:.55}
#howItWorks .oi-kcard.ap-glide{pointer-events:none;transition:transform .45s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-kcard-rank{
  position:absolute;top:11px;right:11px;display:none;justify-content:center;align-items:center;width:17px;height:17px;
  font-size:10px;font-weight:600;color:#a4a7ac;background:#ffffff0f;border-radius:50%}
#howItWorks .oi-kcol[data-col=triage] .oi-kcard-rank{display:flex}
#howItWorks .oi-kcard .t{margin-bottom:11px;padding-right:14px;font-size:15px;line-height:1.4;color:#fff}
#howItWorks .oi-kcard-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:7px}
#howItWorks .oi-kcard .lift{display:inline-flex;padding:2px 8px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;color:#12b39d;background:#12b39d24;border-radius:6px}
#howItWorks .oi-kcol[data-col=adopted] .lift{background:#12b39d38}
#howItWorks .oi-kconf{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:#a4a7ac}
#howItWorks .oi-kconf::before{content:"";width:5px;height:5px;background:#6a6d73;border-radius:50%}
#howItWorks .oi-kconf.high::before{background:#12b39d}
#howItWorks .oi-kconf.medium::before{background:#d99a3a}
#howItWorks .oi-kcard-vol{font-size:11px;font-variant-numeric:tabular-nums;color:#a4a7ac}

/* -- Improve 3: the prototype-vs-spec experiment -- */
#howItWorks .oi-validate{position:relative;--ab-gutter:132px}
#howItWorks .oi-validate .oi-head{align-items:flex-start;margin-bottom:20px}
#howItWorks .oi-status{display:inline-flex;padding:4px 10px;font-size:12px;font-weight:500;white-space:nowrap;color:#00c8a0;background:#00c8a021;border-radius:999px}
#howItWorks .oi-status.adopted{background:#00c8a033}
#howItWorks .oi-status.stopped{color:#e5484d;background:#e5484d26}
#howItWorks .oi-val-stats{display:grid;grid-template-columns:auto auto;justify-content:start;gap:16px clamp(48px,7vw,84px);margin-bottom:18px;column-gap:40px}
#howItWorks .oi-val-stats .k{margin-bottom:7px;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:#a2a5aa}
#howItWorks .oi-val-stats .v{font-size:21px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:#fff}
#howItWorks .oi-val-stats .v.hero{font-size:30px;line-height:1;letter-spacing:-.02em}
#howItWorks .oi-val-stats .v.teal{color:#12b39d}
#howItWorks .oi-val-stats .oi-bar{width:150px}
#howItWorks .oi-bar{height:4px;margin-top:8px;background:#ffffff14;border-radius:999px;overflow:hidden}
#howItWorks .oi-bar i{display:block;height:100%;background:#0d9b8a;border-radius:999px;transition:width .35s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-val-chart{position:relative;display:flex;flex-direction:column;flex:auto;min-height:0}
#howItWorks .oi-ab-wrap{position:relative;flex:auto;min-height:0}
#howItWorks .oi-ab-plot{position:absolute;inset:0 var(--ab-gutter) 0 0}
#howItWorks .oi-ab{display:block;width:100%;height:100%}
#howItWorks .oi-ab-wrap.ap-show .oi-ab{animation:1.15s cubic-bezier(.22,1,.36,1) both oiWipe}
#howItWorks .oi-ab-tag{
  position:absolute;left:100%;box-sizing:border-box;display:flex;align-items:center;gap:7px;width:var(--ab-gutter);
  padding-left:14px;font-size:12px;line-height:1;white-space:nowrap;color:#9ea1a6;transform:translateY(-50%)}
#howItWorks .oi-ab-tag::before{content:"";flex:none;width:8px;height:8px;margin-left:-18px;background:currentColor;border-radius:50%}
#howItWorks .oi-ab-tag b{font-weight:500;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
#howItWorks .oi-ab-tag.var{top:11.8%;color:#12b39d}
#howItWorks .oi-ab-tag.var::before{box-shadow:0 0 0 4px #12b39d29;transition:box-shadow .6s cubic-bezier(.16,1,.3,1)}
#howItWorks .oi-ab-tag.var b{color:#fff}
#howItWorks .oi-ab-tag.ctrl{top:86.4%;color:#8a8d92}
#howItWorks .oi-validate[data-state=adopted] .oi-ab-tag.var::before{box-shadow:0 0 0 6px #12b39d3d}
#howItWorks .oi-validate .oi-xaxis{padding:6px var(--ab-gutter) 0 0;font-family:inherit}
#howItWorks .oi-val-cta{display:flex;align-items:center;gap:10px;min-height:44px}
@keyframes oiWipe{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}

/* container queries the Improve panel uses to stay legible as the stage narrows */
#howItWorks .panel[data-row=rowImprove] .oi-step-host{container:improve/inline-size}
@container improve (max-width:680px){
  #howItWorks .oi-kanban{grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(0,1fr);align-content:stretch;gap:10px}
  #howItWorks .oi-kcol{min-height:0;padding:9px 8px}
  #howItWorks .oi-kcol-h{margin-bottom:8px}
  #howItWorks .oi-kcard{padding:10px 11px}
  #howItWorks .oi-kcard .t{margin-bottom:7px}
  #howItWorks .oi-kcard-meta{margin-bottom:4px}
  #howItWorks .oi-val-stats{column-gap:40px}
}
@container improve (max-width:700px){
  #howItWorks .oi-obj-body{grid-template-columns:1fr;gap:14px}
  #howItWorks .oi-obj-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
  #howItWorks .oi-obj-detail{gap:10px;padding:14px 16px}
  #howItWorks .oi-kanban{gap:8px}
  #howItWorks .oi-validate{--ab-gutter:104px}
  #howItWorks .panel[data-row=rowImprove] .oi-pad{padding:22px 24px 20px}
  #howItWorks .panel[data-row=rowImprove] .oi-title,#howItWorks .panel[data-row=rowImprove] .oi-head h2{font-size:22px}
}
/* compact tail: the Improve views reflow instead of shrinking */
html[data-home-layout=compact] #howItWorks .oi-obj-body{height:auto}
html[data-home-layout=compact] #howItWorks .oi-obj-meta{grid-template-columns:1fr 1fr;gap:12px}
html[data-home-layout=compact] #howItWorks .oi-obj-head{margin-bottom:10px}
html[data-home-layout=compact] #howItWorks .oi-obj-row{padding:6px 11px}
html[data-home-layout=compact] #howItWorks .oi-obj-detail{gap:8px;padding:12px 16px}
html[data-home-layout=compact] #howItWorks .oi-obj-prev{gap:12px;padding-top:12px}
html[data-home-layout=compact] #howItWorks .oi-spark{width:88px;height:34px}
html[data-home-layout=compact] #howItWorks .oi-obj-foot{margin-top:18px;padding-top:10px}
/* giga scrolls the four columns sideways at compact rather than stacking them into two rows;
   stacking roughly doubled the Improve row's height (measured 1436 against giga's 1182). */
html[data-home-layout=compact] #howItWorks .oi-kanban{
  flex:none;grid-template-columns:repeat(4,72%);gap:8px;padding-bottom:6px;
  overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
html[data-home-layout=compact] #howItWorks .oi-kcol{scroll-snap-align:start}
/* the Improve pad is content-sized at compact, so .oi-obj-body stops being stretched by flex:1 */
html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-step-fill{height:auto;display:flex}
html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-pad{width:auto;height:auto;transform:none}
html[data-home-layout=compact] #howItWorks .panel[data-row=rowImprove] .oi-frame{container-type:normal}
html[data-home-layout=compact] #howItWorks .oi-validate{--ab-gutter:74px}
html[data-home-layout=compact] #howItWorks .oi-ab-tag{padding-left:12px;font-size:11px}
html[data-home-layout=compact] #howItWorks .panel.oi-shared .sc-win{width:min(92%,360px)}
@media (max-width:699px){
  html[data-home-layout=compact] #howItWorks .oi-val-stats{grid-template-columns:1fr;column-gap:0;row-gap:12px}
  html[data-home-layout=compact] #howItWorks .oi-val-stats .oi-bar{width:100%;max-width:180px}
}
/* giga keeps the footer inline with a small pill at 1024 and 768 and only wraps it, with a
   full-width button, at phone width. Measured from sweep-1024x768, sweep-768x1024 and
   sweep-390x844 y04600. */
@media (max-width:699px){
  html[data-home-layout=compact] #howItWorks .oi-obj-foot,
  html[data-home-layout=compact] #howItWorks .oi-validate .oi-obj-foot{flex-wrap:wrap;gap:12px}
  html[data-home-layout=compact] #howItWorks .oi-val-cta{flex-wrap:wrap}
  html[data-home-layout=compact] #howItWorks .oi-btn-primary,
  html[data-home-layout=compact] #howItWorks .oi-btn-ghost{flex:1 1 auto;min-width:0}
  html[data-home-layout=compact] #howItWorks .oi-auto{flex:1 1 100%}
}
html[data-home-layout=compact] #howItWorks .oi-head h2,html[data-home-layout=compact] #howItWorks .oi-title{font-size:20px}
html[data-home-layout=compact] #howItWorks .oi-val-stats .v{font-size:18px;line-height:1.2}
html[data-home-layout=compact] #howItWorks .oi-val-stats .v.hero{font-size:24px;line-height:1}
html[data-home-layout=compact] #howItWorks .oi-kw-v{font-size:40px}
html[data-home-layout=compact] #howItWorks .oi-slice-v{font-size:40px}
html[data-home-layout=compact] #howItWorks .oi-obj-def,html[data-home-layout=compact] #howItWorks .oi-obj-row,html[data-home-layout=compact] #howItWorks .oi-obj-sub{font-size:13.5px}
html[data-home-layout=compact] #howItWorks .oi-kcard .t{font-size:13px}

@media (max-height:820px){
  #howItWorks .sc-head{height:44px}
  #howItWorks .sc-hero{gap:14px;padding:18px}
  #howItWorks .sc-suggest{gap:7px}
  #howItWorks .sc-sug{height:28px;font-size:13.5px}
  #howItWorks .sc-stream{padding:13px 16px}
  #howItWorks .sc-bubble{margin-bottom:9px;padding:9px 12px;font-size:14px}
  #howItWorks .sc-act{padding:2.5px 0;font-size:13.5px}
  #howItWorks .sc-q{margin-top:9px;padding:11px}
  #howItWorks .sc-q .qq{margin-bottom:8px;font-size:15px}
  #howItWorks .sc-opt{padding:5px 9px;font-size:13.5px}
  #howItWorks .sc-qfoot{margin-top:9px}
  #howItWorks .sc-sum{margin:9px 0;font-size:14px}
  #howItWorks .sc-composer{margin:8px;padding:9px 10px 8px}
  #howItWorks .sc-pills span{padding:8px 16px}
}

/* reduced motion: every panel entrance lands instantly (RUNTIME-RECON §11.5) */
@media (prefers-reduced-motion:reduce){
  #howItWorks .oi-bub,#howItWorks .oi-turn,#howItWorks .oi-kw-figure.kw-pop,
  #howItWorks .oi-kw-path.draw,#howItWorks .oi-kw-area.draw,
  #howItWorks .oi-audit-stage.show-hot .oi-turn.hot,
  #howItWorks .oi-ab-wrap.ap-show .oi-ab,
  #howItWorks .oi-ask-stage[data-note] .oi-ask-note{animation:none}
  #howItWorks .ap-show{transition:none}
  #howItWorks .rail .eyebrow::before{animation:none}
}

/* JS-off / failsafe. The markup ships step 1 .active and state 1 .on, so the at-rest page is
   already readable. core.js adds .is-failsafe at 20s on EVERY visit, not only a broken one, so
   these rules also check that how.js never marked the section ready. Without that check a reader
   who spends 20 seconds here watches the pinned stage unstack itself (measured: the panel jumps
   from y164 to y824 and every step body forces open). */
html.is-failsafe #howItWorks:not([data-how-ready]) .panel .pstate{opacity:1!important;position:static}
html.is-failsafe #howItWorks:not([data-how-ready]) .step .body{max-height:none;height:auto;margin-top:10px}
html.is-failsafe #howItWorks:not([data-how-ready]) .step h4{opacity:1}
html.is-failsafe #howItWorks:not([data-how-ready]) .rowSection .rail{opacity:1}
html.is-failsafe #howItWorks:not([data-how-ready]) .how-stage .panel{opacity:1;position:relative}
html.is-failsafe #howItWorks:not([data-how-ready]) .ap-hide{opacity:1;transform:none}
html.is-failsafe #howItWorks:not([data-how-ready]) .oi-audit-result.is-hidden{opacity:1;transform:none}
/* a dead how.js never reparents the panels, so the failsafe also has to unroll the desktop row
   the same way the <noscript> block does, or the panels stay display:none and nothing shows */
html.is-failsafe #howItWorks:not([data-how-ready]) .how-stage{display:none}
html.is-failsafe #howItWorks:not([data-how-ready]) .rowSection .sticky{position:static;height:auto;padding:48px 0 56px}
html.is-failsafe #howItWorks:not([data-how-ready]) .rowSection .rowInner{position:static;display:flex;flex-direction:column;gap:28px;height:auto}
html.is-failsafe #howItWorks:not([data-how-ready]) .rowSection .rail{height:auto;gap:28px}
html.is-failsafe #howItWorks:not([data-how-ready]) .rowInner>.panel{display:block;width:100%;height:auto;min-height:560px;aspect-ratio:auto}
html.is-failsafe #howItWorks:not([data-how-ready]) .panel .oi-frame{position:relative;top:auto;left:auto;transform:none;width:100%;height:auto;min-height:560px;padding-bottom:34px}

/* ---- step trigger: the whole row is the control, the heading keeps its semantics ---- */
#howItWorks .step h4{margin:0}
#howItWorks .step-btn{display:block;width:100%;padding:0;font:inherit;color:inherit;text-align:left;background:none;border:0;cursor:pointer}
#howItWorks .step-btn:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:4px}

/* ---- the inline demo CTA inside the Build window (accent ink on orange, never white) ---- */
#howItWorks .sc-cta{
  display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 18px;font-family:inherit;font-size:13.5px;font-weight:600;
  color:var(--accent-ink);background:var(--accent);border:0;border-radius:8px;cursor:pointer;transition:filter .15s,transform 80ms}
#howItWorks .sc-cta:hover{filter:brightness(1.08)}
#howItWorks .sc-cta:active{transform:scale(.97)}
#howItWorks .sc-cta-lead{font-size:13.5px;color:var(--sc-fg-2,#ffffff9e)}
#howItWorks .sc-cta-inline{display:none;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}
#howItWorks .sc-win.done .sc-cta-inline{display:flex}

/* ---- the experiment footer's evidence line sits below the two hero stats ---- */
#howItWorks .oi-validate .oi-obj-foot{align-items:flex-end;margin-top:auto;padding-top:14px}
#howItWorks .oi-validate .oi-obj-foot .v{margin:0;font-size:13px;font-weight:600;color:#fff}
#howItWorks .oi-validate .oi-obj-foot .oi-kan-sub{margin-top:2px}
#howItWorks .oi-verdict-mark{font-size:14px}

/* ---- live-status pulse: giga runs this 2.4s cubic-bezier(0,0,.2,1) loop on its running-experiment pill ---- */
#howItWorks .oi-status.collecting{animation:2.4s ease-out infinite ap-pulse}
@keyframes ap-pulse{0%,to{box-shadow:0 0 #00c8a059}70%{box-shadow:0 0 0 6px #0000}}
@media (prefers-reduced-motion:reduce){#howItWorks .oi-status.collecting{animation:none}}

/* ---- nf-* typing vocabulary, verbatim from JS-RECON §3.7.
   RUNTIME-RECON §8.12 shows these belong to a different surface: grepping both runtime files for
   nf-d / nf-type / nf-wipe / nf-row / data-nf returns zero matches, and no panel markup emits them.
   The nine panels stage with .ap-hide -> .ap-show plus the beat delays instead. Kept here, scoped
   and inert, so the dialect is one attribute away if a panel ever wants it. ---- */
#howItWorks [data-nf-copy] .nf-type{display:inline-block;overflow:hidden;white-space:nowrap;animation:nf-type .18s steps(9) var(--nf-d,0s) backwards}
#howItWorks [data-nf-copy] .nf-wipe{animation:nf-wipe .22s linear var(--nf-d,0s) backwards}
#howItWorks [data-nf-copy] .nf-row{animation:nf-wipe .14s linear var(--nf-d,0s) backwards}
@keyframes nf-type{0%{width:0}to{width:var(--nf-ch,100%)}}
@keyframes nf-wipe{0%{clip-path:inset(-2% 100% -2% -2%)}to{clip-path:inset(-2%)}}
@media (prefers-reduced-motion:reduce){
  #howItWorks [data-nf-copy] .nf-type,#howItWorks [data-nf-copy] .nf-wipe,#howItWorks [data-nf-copy] .nf-row{animation:none}
}
