/* W13 component layer. Ports/adaptations of registry components, skinned per option by the --cx-* tokens below.
   Every component works with JS off (content visible, native <details>), and motion is 150-240 ms and off under reduced motion. */
.v-a2{--cx-accent:var(--brass);--cx-ink:var(--ink);--cx-surface:var(--tone);--cx-on:var(--green);--cx-onfg:#fff;--cx-line:rgba(23,35,28,.35)}
.v-d{--cx-accent:var(--accent);--cx-ink:var(--ink);--cx-surface:var(--field2);--cx-on:var(--ink);--cx-onfg:#fff;--cx-line:rgba(31,43,77,.35)}
.v-e{--cx-accent:var(--accent);--cx-ink:var(--ink);--cx-surface:var(--surface);--cx-on:var(--accent);--cx-onfg:#18191b;--cx-line:rgba(239,240,241,.35)}
.v-f{--cx-accent:var(--yel);--cx-ink:#fff;--cx-surface:rgba(255,255,255,.12);--cx-on:var(--yel);--cx-onfg:#111;--cx-line:rgba(255,255,255,.55)}

/* Functional transitions everywhere (150-200 ms) */
a,.btn,.mech button,.mech dl div,.tier,.cmp>div>span,.frag li,.n,.s{transition:background-color .16s ease,color .16s ease,transform .18s ease,box-shadow .18s ease,border-color .16s ease}
.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}
.tier:hover{transform:translateY(-3px)}
.mech{position:relative}

/* Magic UI "Animated Beam": a path from the selected form answer to the Salesforce field it writes */
.beam{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.beam path{fill:none;stroke-linecap:round}
.beam .b0{stroke:var(--cx-line);stroke-width:2}
.beam .b1{stroke:var(--cx-accent);stroke-width:3;stroke-dasharray:var(--len,300);stroke-dashoffset:var(--len,300);animation:beam-go .24s ease-out forwards}
@keyframes beam-go{to{stroke-dashoffset:0}}
.beam circle{fill:var(--cx-accent);stroke:var(--cx-ink);stroke-width:1}

/* Magic UI "Number Ticker" */


/* Cult UI "Direction Aware Tabs", used as the billing toggle (pill slides toward the chosen tab) */
.seg{display:none;position:relative;margin:20px 0 0;padding:4px;border-radius:999px;background:var(--cx-surface);width:max-content;max-width:100%;font-weight:600;font-size:16px;line-height:1;font-family:inherit;color:var(--cx-ink)}
.js .seg{display:inline-flex}
.seg button{position:relative;z-index:1;font:inherit;color:inherit;background:none;border:0;padding:12px 18px;border-radius:999px;cursor:pointer;min-height:44px;transition:color .18s ease,background-color .18s ease}
.seg button[aria-pressed=true]{background:var(--cx-on);color:var(--cx-onfg)}

/* shadcn/ui "Accordion" on native <details name>: one open at a time, chevron turns, panel height eases */
.acc{display:grid;gap:8px;max-width:46em}
.acc details{background:var(--cx-surface);border-radius:8px;overflow:hidden;color:var(--cx-ink)}
.acc summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;cursor:pointer;list-style:none;font-weight:700;font-size:1.15em;min-height:44px}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"";flex:none;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
.acc details[open] summary::after{transform:rotate(-135deg)}
.acc summary:hover{text-decoration:underline;text-underline-offset:4px}
.acc .acc-p{padding:0 20px 20px;max-width:38em}.acc .acc-p p+p{margin-top:10px}
@supports (interpolate-size:allow-keywords){.acc{interpolate-size:allow-keywords}.acc details::details-content{block-size:0;overflow:clip;transition:block-size .2s ease,content-visibility .2s allow-discrete}.acc details[open]::details-content{block-size:auto}}
.ink .acc details,.deep .acc details,.dark .acc details{background:rgba(255,255,255,.1);color:inherit}

/* Proof strip (adapted from Magic UI "Marquee", made static: the detector and impeccable both flag endless auto-scroll) */
.marq{padding:16px clamp(20px,2.4vw,32px);margin:0 clamp(24px,3vw,40px);border-radius:8px;background:var(--cx-surface);color:var(--cx-ink);font-weight:700}
.marq ul{display:flex;flex-wrap:wrap;gap:8px 36px}.marq li::before{content:"\25C6\00a0\00a0";color:var(--cx-accent)}

/* Magic UI "Highlighter": marker swipe behind the key phrase when it enters view */
mark.hl{position:relative;background:none;color:inherit;padding:0}
mark.hl::after{content:"";position:absolute;left:0;right:0;bottom:-.04em;height:.14em;background:var(--cx-accent);transform-origin:0 50%;transition:transform .24s ease-out}
.js mark.hl:not(.in)::after{transform:scaleX(0)}

/* Aceternity "Text Generate Effect": words resolve in sequence */
.js .tg span{opacity:0;filter:blur(6px);display:inline-block;transition:opacity .2s ease,filter .2s ease;transition-delay:calc(var(--i)*22ms)}
.js .tg.in span{opacity:1;filter:none}

/* Magic UI "Scroll Progress" */
.sprog{position:fixed;left:0;top:0;height:3px;width:100%;z-index:30;background:var(--cx-accent);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}

@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{transition-duration:0s!important;transition-delay:0s!important;animation-duration:0s!important;animation-iteration-count:1!important}
 .beam .b1{stroke-dashoffset:0}.sprog{display:none}
 .js .tg span{opacity:1;filter:none}
}
.marq{font-size:20px;line-height:1.4}
@media(max-width:600px){.marq{margin:0 16px;padding:16px 16px;font-size:18px}.marq ul{display:grid;gap:8px}}
@media(max-width:600px){.acc details{background:none;border-radius:0;padding:0 0 0 14px;border-left:4px solid var(--cx-accent)}.acc{gap:14px}}
@media(max-width:600px){.acc summary{padding:18px 12px}.acc .acc-p{padding:0 12px 18px}}
/* Persona round (P09, P04): the not-offered line is where a buyer looks for limits; do not make it small print */
.not{font-size:18px;font-weight:600;line-height:1.5}

/* ---- Round 5: flatter composition (critique 4). Shared across options; colors come from --cx tokens and currentColor.
   Separation by tone and 3-4 px blocks, never hairlines. ---- */
body[class^=v-] .cmp{gap:0}
body[class^=v-] .cmp>div{gap:0}
body[class^=v-] .cmp>div>span{background:none;color:inherit;border-radius:0;padding:18px 20px}
body[class^=v-] .cmp>div:nth-child(even)>span:not(.us){background:color-mix(in srgb,currentColor 8%,transparent)}
body[class^=v-] .cmp>.cmp-h>span{color:inherit!important;background:none!important;border-bottom:4px solid color-mix(in srgb,currentColor 35%,transparent)}
body[class^=v-] .cmp>div>span.us{background:var(--cx-on);color:var(--cx-onfg)}
body[class^=v-] .cmp>.cmp-h>span.us{background:none!important;color:inherit!important;border-bottom-color:var(--cx-on)}
body[class^=v-] .buy{display:flex;flex-wrap:wrap;gap:0;counter-reset:b;border-top:4px solid var(--cx-accent);margin:20px 0}
body[class^=v-] .buy li{flex:1 1 180px;background:none;color:inherit;border-radius:0;padding:16px 20px 0 0;counter-increment:b}
body[class^=v-] .buy li::before{content:counter(b);display:block;font-weight:800;font-size:1.6em;line-height:1;margin-bottom:6px;color:var(--cx-accent)}
body[class^=v-] .tiers.flat{gap:24px}
body[class^=v-] .tiers.flat .tier{background:none;color:inherit;border-radius:0;border-top:4px solid var(--cx-accent);padding:16px 0 8px}
.tier:hover{transform:none}
body[class^=v-] .grid4 .n,body[class^=v-] .grid3 .s{background:none;color:inherit;border-radius:0;padding:16px 0 0;border-top:4px solid var(--cx-accent)}
body[class^=v-] .grid4 .n p,body[class^=v-] .grid3 .s p{color:inherit}
body[class^=v-] .grid4{gap:36px}

/* ---- Round 6: signature section transition (critique 5). Each section's top edge draws in and the section wipes into place as it enters
   (CSS scroll-driven animation, 100% CSS, no JS). Browsers without animation-timeline, JS off and reduced motion get the finished state. ---- */
body[class^=v-] main>section{position:relative}
body[class^=v-] main>section::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--cx-rule,currentColor);transform-origin:0 50%;pointer-events:none}
@keyframes edge-draw{from{transform:scaleX(0)}to{transform:none}}
@keyframes sec-wipe{from{clip-path:var(--wipe-from,inset(0))}to{clip-path:inset(0)}}
@keyframes row-tick{from{opacity:.15;transform:translateY(-10px)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  body[class^=v-]:not(.shot) main>section::before{animation:edge-draw linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
  body.v-a2:not(.shot) .frag li{animation:row-tick linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
 }
}

/* ===== W14-W16: story (pinned scroll sequence), handoff, set-up time, data path ===== */
.story{--sp:0;position:relative;background:var(--st-bg,var(--cx-on));color:var(--st-fg,var(--cx-onfg));padding:0}
.story .wrap{width:100%}
.st-track{position:relative}
.st-stick{padding:64px 0}
.st-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.story h2{max-width:11em;margin-bottom:28px}
.st-steps{display:grid;gap:0;counter-reset:st}
.st-step{padding:16px 0 16px 44px;position:relative;border-top:1px solid currentColor;opacity:.62;transition:opacity .18s ease}
.st-step::before{counter-increment:st;content:counter(st);position:absolute;left:0;top:16px;font-weight:700;font-variant-numeric:tabular-nums}
.st-step h3{font-size:1.2em}.st-step p{margin-top:6px;max-width:30em}
.st-step.on{opacity:1}
.st-rule{display:none}
.st-stage{position:relative;min-width:0}
.st-scene{padding:8px 0;min-width:0}
.st-scene p.ft{margin-bottom:14px;font-size:.95em;letter-spacing:.04em;text-transform:uppercase}
.st-scene code{font:inherit;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em}
.sc-map li{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1.2fr);align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid currentColor}
.sc-map i{height:2px;background:currentColor;transform-origin:left;display:block}
.sc-note{margin-top:14px;font-size:.92em;max-width:34em;opacity:.9}
.sc-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px}
.sc-live label{display:grid;gap:4px;margin-bottom:12px;font-size:.92em}
.sc-live input{font:inherit;color:inherit;background:transparent;border:0;border-bottom:2px solid currentColor;padding:8px 2px;min-height:44px;border-radius:0;width:100%}
.sc-live input:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.sc-live .btn{margin-top:6px;background:var(--st-btn,var(--cx-accent));color:var(--st-btnfg,#111);border:0;cursor:pointer;font:inherit;font-weight:700;padding:12px 18px}
.sc-rec dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;padding:9px 0;border-bottom:1px solid currentColor;overflow-wrap:anywhere}
.sc-rec dd{transition:background-color .2s ease}.sc-rec dd.flash{background:var(--st-btn,var(--cx-accent));color:var(--st-btnfg,#111)}
.sc-stamp{margin-top:12px;font-weight:700;opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease}.sc-stamp.on{opacity:1;transform:none}
.sc-file ol li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px;padding:14px 0;border-bottom:1px solid currentColor;position:relative}
.sc-file ol li+li::before{content:"";position:absolute;left:12px;top:-14px;height:14px;border-left:2px solid currentColor}
.sc-perm table{width:100%;border-collapse:collapse}.sc-perm th,.sc-perm td{text-align:left;padding:11px 8px 11px 0;border-bottom:1px solid currentColor;font-weight:400;vertical-align:top}.sc-perm thead th,.sc-perm tbody th{font-weight:700}
/* live: sticky scene change driven by scroll position (native scroll, no hijack) */
.story.live .st-track{height:calc(100vh * 3.2)}
.story.live .st-stick{position:sticky;top:0;height:100vh;padding:0;display:flex;align-items:center}
.story.live .st-scene{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;transform:translateY(18px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.story.live .st-scene.on{opacity:1;transform:none;pointer-events:auto}
.story.live .st-stage{min-height:min(420px,60vh)}
.story.live .st-rule{display:block;margin-top:22px;height:3px;background:rgba(127,127,127,.35)}.story.live .st-rule i{display:block;height:100%;background:currentColor;transform-origin:left;transform:scaleX(var(--sp))}
.story:not(.live) .st-scene{padding:28px 0}
.story:not(.live) .st-step{opacity:1}
.story:not(.live) .st-grid{align-items:start}
/* handoff: ground wipe + drawn rule between hero and story, driven by --p */
.hand{--p:1;position:relative;height:14vh;min-height:80px;margin-bottom:-1px;overflow:hidden}
.hand i{position:absolute;left:0;right:0;bottom:0;height:100%;background:var(--st-bg,var(--cx-on));clip-path:inset(calc((1 - var(--p)) * 100%) 0 0 0)}
/* set-up time */
.setup{padding:96px 0}
.setup .figure{font-size:clamp(1.9rem,1.2rem + 3vw,3.4rem);font-weight:700;line-height:1.05;margin:14px 0 14px;max-width:16em}
.clock{margin:36px 0 18px;max-width:52em;counter-reset:ck}
.clock li{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:20px;align-items:baseline;padding:16px 0;border-top:1px solid currentColor}
.clock li:last-child{border-bottom:1px solid currentColor}
.clock time{font-weight:700;font-variant-numeric:tabular-nums;font-size:1.3em}
.clock p{margin-top:2px;max-width:34em}
.clock b{font-size:.8em;letter-spacing:.06em;text-transform:uppercase}
.setup .rec,.setup .small{margin-top:14px;max-width:44em}
/* data path */
.datapath{padding:96px 0}
.dp-wrap{margin:30px 0 14px;overflow-x:auto}
.dp{width:100%;min-width:640px;height:auto;display:block;font-size:15px}
.dp text{fill:currentColor;font-family:inherit}.dp .dp-h{font-weight:700}
.dp line,.dp path{stroke:currentColor;stroke-width:2;fill:none}.dp .dp-gap{stroke-dasharray:6 8;opacity:.8}.dp .dp-n{font-weight:700;font-size:20px}
.dp-none{font-weight:700;max-width:40em;margin-bottom:22px}
.proofs{max-width:56em;margin-bottom:22px}.proofs li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:18px;padding:12px 0;border-top:1px solid currentColor}
.bdef{margin-top:12px;max-width:40em}
@media(max-width:900px){.st-grid{grid-template-columns:1fr;gap:20px}.story.live .st-stick{align-items:flex-start;padding-top:12px}.st-step:not(.on) p{display:none}.story.live .st-stage{min-height:300px}.story h2{font-size:1.5rem;margin-bottom:10px}.sc-two{grid-template-columns:1fr}.story.live .st-copy .st-steps{margin-bottom:0}.story.live .sc-note{display:none}.clock li{grid-template-columns:56px minmax(0,1fr)}.clock b{grid-column:2}.proofs li{grid-template-columns:1fr;gap:4px}}
@media(prefers-reduced-motion:reduce){.story.live .st-scene,.sc-stamp,.sc-rec dd{transition:none}}
/* per-option ground and transitions */
.v-a2{--st-bg:var(--deep);--st-fg:#f2f5f0;--st-btn:#f3e6c8;--st-btnfg:#17231c}
.v-a2 .hand i{clip-path:inset(0 0 0 calc((1 - var(--p)) * 100%))}
.v-a2 .setup{background:var(--paper)}.v-a2 .datapath{background:var(--tone)}
.v-d{--st-bg:var(--field);--st-fg:#fff;--st-btn:var(--accent);--st-btnfg:#1f2b4d}
.v-d .st-grid{grid-template-columns:1fr;gap:18px}.v-d .st-step:not(.on) p{display:none}.v-d .story h2{font-size:1.6rem;margin-bottom:12px}.v-d .story.live .st-stage{min-height:300px}.v-d .story .sc-two{grid-template-columns:1fr}.v-d .story.live .sc-note{display:none}
.v-d .hand i{clip-path:inset(0 calc((1 - var(--p)) * 50%) 0 calc((1 - var(--p)) * 50%))}
.v-e{--st-bg:var(--accent);--st-fg:#18191b;--st-btn:#18191b;--st-btnfg:#eff0f1}
.v-e .hand i{clip-path:inset(calc((1 - var(--p)) * 100%) 0 0 0)}
.v-e .setup{background:var(--paper);color:var(--paper-ink)}.v-e .datapath{background:var(--bg);color:var(--ink)}
.v-f{--st-bg:var(--blue);--st-fg:#fff;--st-btn:var(--yel);--st-btnfg:#111}
.v-f .story{background:var(--red)}.v-f .hand i{background:var(--red);clip-path:inset(0 calc((1 - var(--p)) * 100%) 0 0)}
.v-f .setup{background:var(--yel);color:#111}.v-f .datapath{background:var(--bg);color:#fff}
/* contrast + hierarchy fixes after detector pass */
.story p,.setup p,.datapath p,.story .lede,.setup .lede,.datapath .lede{color:inherit}
.st-step{opacity:1}.st-step:not(.on) h3,.st-step:not(.on) p{opacity:.78}
.sc-note{opacity:1}
.st-step h3,.clock h3{font-size:1em}
.v-f{--blue:#0c0c0c}.v-f .story{background:#0c0c0c}.v-f .hand i{background:#0c0c0c}
.v-d .st-grid{padding:0 28px}
.bdef{color:inherit}
.st-step:not(.on) h3,.st-step:not(.on) p{opacity:1}
.st-step{border-top-width:1px}.st-step.on{border-top-width:4px;padding-top:13px}.st-step.on::before{top:13px}
.v-e .story{--st-fg:#0b0b0c}
.st-step:not(.on) h3,.st-step:not(.on) p{opacity:1}.st-step:not(.on){opacity:.92}
.v-e .story .st-step:not(.on){opacity:1}.v-e .story .st-step:not(.on) h3{font-weight:500}.v-e .story .st-step:not(.on) p{display:none}
.v-f .red p,.v-f .red .lede,.v-f .red li{color:#fff}
.st-step,.sc-map li,.sc-rec dl>div,.sc-file ol li,.sc-perm th,.sc-perm td,.clock li,.proofs li,.ev th,.ev td{border-width:2px}
.sc-map li,.sc-rec dl>div,.sc-perm th,.sc-perm td{border-bottom-width:0}
.clock li:last-child{border-bottom-width:2px}
.clock b{font-size:1em;letter-spacing:0;text-transform:none;font-weight:600}
.sc-perm th,.sc-perm td{padding:12px 8px 12px 0}
.sc-map li,.sc-rec dl>div{border-bottom:2px solid currentColor}

.shot .story .st-track{height:auto}.shot .story.live .st-stick{position:static;height:auto;padding:64px 0}.shot .story.live .st-scene{position:static;opacity:1;transform:none;padding:24px 0}
.v-e .acc,.v-f .acc{max-width:none}.v-e #care .wrap,.v-f #care .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2fr);gap:40px;align-items:start}.v-e #go .wrap,.v-f #go .wrap{text-align:center}.v-e #go .lede,.v-f #go .lede{margin-inline:auto}
@media(max-width:899px){.v-e #care .wrap,.v-f #care .wrap{display:block}}
.clock .ck-h{font-weight:700;font-size:1em}
.dp-list{display:none}.dp-list li{padding:14px 0 14px 20px;border-left:4px solid currentColor;display:grid;gap:2px}.dp-list li+li{margin-top:0}.dp-list .gap{border-left-style:dashed;opacity:1}
@media(max-width:700px){.dp{display:none}.dp-list{display:block}.dp-wrap{overflow:visible}}
.v-d .story .st-step:not(.on){display:none}
.v-d .story.live .st-stage{min-height:470px}
.v-d .story .sc-rec dl>div{padding:5px 0}.v-d .story .sc-live label{margin-bottom:4px}.v-d .story .sc-live input{min-height:40px;padding:4px 2px}
.v-d .story .st-step{padding:10px 0 10px 44px}.v-d .story h2{margin-bottom:8px}
.v-d .story.live .st-stick{padding:0}
@media(max-width:900px){
 .story.live .st-step:not(.on){display:none}.story.live .st-step.on p{display:none}.story.live .st-steps{margin-bottom:6px}.story.live .st-step{padding:8px 0 8px 36px}
 .story.live .st-stage{min-height:560px}.story.live .st-rule{margin-top:8px}.story.live .st-stick{padding-top:14px}
 .story .sc-two{gap:8px}.story .sc-live label{margin-bottom:2px;font-size:.85em}.story .sc-live input{min-height:36px;padding:2px}.story .sc-live p.ft,.story .sc-rec p.ft{margin-bottom:6px}
 .story .sc-rec dl>div{padding:5px 0;font-size:.9em}.story.live .sc-rec dl>div:nth-child(n+4){display:none}.story.live .sc-live .btn{padding:8px 14px;margin-top:2px}
 .story.live .sc-rec .sc-stamp{margin-top:6px}
}
.st-step{padding-right:14px}.sc-map li,.sc-rec dl>div,.sc-file ol li,.clock li,.proofs li{padding-left:10px;padding-right:10px}
.dp-list li{padding-right:10px}
.story .sc-rec dl>div,.story.live .sc-rec dl>div{padding-left:10px;padding-right:10px}
.v-d .st-step{padding-right:14px}.v-d .st-grid{padding-inline:28px}
.v-f h3{font-size:1.1rem}
.v-d .story .st-step{padding:16px 16px 16px 44px}.v-d .story .sc-rec dl>div{padding:9px 14px}.v-d .story .st-grid{padding-inline:32px}
/* D: story sits in the narrow column, so the stage gets its own room and scenes start at the top */
.v-d .story.live .st-stick{align-items:flex-start;padding-top:20px}
.v-d .story.live .st-grid{grid-template-rows:auto 1fr;align-content:start;width:100%}
.v-d .story.live .st-stage{align-items:start}
.v-d .story.live .st-scene{justify-content:flex-start}
.v-d .story .sc-live label{margin-bottom:6px}.v-d .story .sc-live input{min-height:38px;padding:4px 2px}
.v-d .story .sc-rec dl>div,.v-d .story.live .sc-rec dl>div{padding:6px 14px}.v-d .story .sc-live .btn{margin-top:2px;padding:8px 16px}
.v-d .story h2{margin-bottom:8px}.v-d .story .st-step{padding-top:8px;padding-bottom:8px}
/* round 9 critique fixes */
.cmp{margin-top:32px}
.hand{height:64px;min-height:64px}
.hand i::after{content:"A submission becomes a record";position:absolute;left:max(20px,calc((100vw - 1100px)/2));bottom:12px;color:var(--st-fg,#fff);font-weight:700;font-size:.95rem;letter-spacing:.02em}
.story.live .st-stage{display:grid;min-height:0;align-items:center}
.story.live .st-scene{grid-area:1/1;position:static;inset:auto}
.v-d .story{--st-bg:var(--ink)}.v-d .hand i{background:var(--ink)}
.v-e .sc-rec dd.flash{background:#18191b;color:#eff0f1}.v-e .sc-rec dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
@media(min-width:901px){
.v-f .blocks .blue{transform:translate(-36px,32px);position:relative;z-index:2}
.v-a2 .split2{grid-template-columns:5fr 7fr}.v-a2 .split2>[data-r=right]{margin-top:56px}.v-a2 .split2>[data-r=left]{margin-left:-28px}
}
.st-step::before{content:attr(data-n)}
.v-d .story.live .st-step:not(.on){display:none}.v-d .story.live .sc-rec dl>div:nth-child(2){display:none}
/* round 10: scenes 3 and 4 move (file chip travels to ContentVersion, permission row lights), scene sits high, compare rows tick in */
.story.live .st-stage{align-items:start;padding-top:4vh}
@media(prefers-reduced-motion:no-preference){
 .story.live .sc-file ol li{opacity:.25;transform:translateX(-14px);transition:opacity .2s ease,transform .2s ease}
 .story.live .st-scene.on .sc-file ol li{opacity:1;transform:none}
 .story.live .st-scene.on .sc-file ol li:nth-child(2){transition-delay:.35s}
 .story.live .st-scene.on .sc-file ol li:nth-child(3){transition-delay:.7s}
 .story.live .sc-file ol li+li::before{transform:scaleY(0);transform-origin:top;transition:transform .2s ease .2s}
 .story.live .st-scene.on .sc-file ol li+li::before{transform:none}
 .story.live .sc-file ol li:first-child b::after{content:"";display:inline-block;width:.7em;height:.7em;margin-left:.5em;background:var(--st-btn,currentColor);border-radius:50%;transform:translateY(0);transition:transform .9s ease}
 .story.live .st-scene.on .sc-file ol li:first-child b::after{transform:translateY(5.2em)}
 .story.live .sc-perm tbody tr{transition:background-color .2s ease}
 .story.live .st-scene.on .sc-perm tbody tr{animation:perm-hi 4.8s steps(1) 1 both}
 .story.live .st-scene.on .sc-perm tbody tr:nth-child(2){animation-delay:1.2s}
 .story.live .st-scene.on .sc-perm tbody tr:nth-child(3){animation-delay:2.4s}
 .story.live .st-scene.on .sc-perm tbody tr:nth-child(4){animation-delay:3.6s}
 @keyframes perm-hi{0%{background:var(--st-btn,transparent);color:var(--st-btnfg,inherit)}25%,100%{background:transparent;color:inherit}}
}
.cmp>div:not(.cmp-h){transition:background-color .16s ease}
.cmp>div:not(.cmp-h):hover,.cmp>div:not(.cmp-h):focus-within{background:color-mix(in srgb,currentColor 10%,transparent)}
/* round 10b: D story keeps the record table inside the viewport; two rows are enough to show the landing */
.v-d .story.live .sc-rec dl>div:nth-child(n+4){display:none}
.v-d .story.live .sc-live label:nth-of-type(2){display:none}
/* round 10c: builder palette in two columns so the canvas is not followed by a blank half screen */
@media(min-width:901px){.bld{grid-template-columns:260px 1fr 200px}.bld .pal{grid-template-columns:1fr 1fr;column-gap:14px;align-self:start}}
/* round 10d: record table keeps field names whole; plans without a monthly option say so */
.sc-rec dt{white-space:nowrap}.sc-rec dl>div{grid-template-columns:auto minmax(0,1fr)}
.tier .ann{font-weight:600}

/* ===== slice 2 (critique 10 defects) ===== */
/* A2/all: Lightning-style record card for the story's record view */
.story .sc-rec{background:#fff;color:#16325c;border:1px solid #c9c9c9;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.18);overflow:hidden;padding:0}
.story .sc-rec>p.ft{margin:0;padding:10px 14px;background:#f3f3f3;border-bottom:3px solid #0176d3;color:#16325c;font-weight:700;display:flex;align-items:center;gap:10px}
.story .sc-rec>p.ft::before{content:"";width:22px;height:22px;border-radius:4px;background:#0176d3;flex:none}
.story .sc-rec dl>div{display:block;border-bottom:1px solid #e5e5e5!important;padding:8px 14px!important;color:#16325c}
.story .sc-rec dt{font-size:.78em;color:#5c5c5c;letter-spacing:.01em}
.story .sc-rec dd{margin:0;font-weight:600;color:#16325c}
.story .sc-rec dd.flash{background:#cfe8ff;color:#032d60}
.story .sc-rec .sc-stamp{margin:0;padding:9px 14px;background:#e3f3e8;color:#0b5c2a;font-weight:700}
.story .sc-rec .sc-note{padding:8px 14px;color:#444;font-size:.85em}
/* A2: handoff caption stays whole while the wipe runs */
.hand i::after{opacity:calc((var(--p) - .55) * 3)}
/* E/F: breathing room above h1, honest leading, CTA spacing */
.v-e main>section:first-child,.v-f main>section:first-child,.v-e .poster,.v-f .poster{padding-top:clamp(32px,5vw,64px)}
.v-e h1,.v-f h1{line-height:1.14;padding-block:.06em}
.v-e .acts,.v-f .acts{margin-top:28px}
/* F: no accidental stagger in pricing; mobile nav keeps every link */
.v-f .tier:nth-child(n){padding-top:28px}
.v-f .tiers{align-items:stretch}
@media(max-width:600px){
 .v-f nav a:nth-child(n){display:inline-block}
 .v-f nav{display:flex;flex-wrap:wrap;gap:0 14px}
 .v-f nav a{font-size:14px;padding:8px 0}
 .v-f .top .wrap{flex-wrap:wrap}
 .v-e nav{gap:0 14px}.v-e nav a{font-size:14px}
}
/* D: clean swap of stage panels (no overlapped half state) */
.v-d .pp{transition:none}
.v-d .pp:not(.on){visibility:hidden}
@media(prefers-reduced-motion:no-preference){.v-d .pp.on{animation:pp-in .22s ease}}
@keyframes pp-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* D: the stage becomes a sticky bottom sheet under 900px instead of vanishing */
@media(max-width:900px){
 .v-d .pin{display:flex;position:sticky;top:auto;bottom:0;height:auto;max-height:36svh;order:3;padding:10px 14px;border-radius:14px 14px 0 0;z-index:6;overflow:auto;align-items:flex-start}
 .v-d .pin .mech,.v-d .pin .frag{font-size:.95rem;padding:10px}
}

/* ===== Round 11 fixes from fresh stills ===== */
.v-e .st-step b,.v-f .st-step b{letter-spacing:0;word-spacing:.1em}
.fc,.fc *{min-width:0;overflow-wrap:anywhere}.bld .canvas{min-width:0}.fc code,.fc span{font-size:.92em}
@media(max-width:700px){
 .sc-file ol li{grid-template-columns:1fr;gap:2px;padding:10px 0}.sc-file ol li b,.sc-file ol li code{overflow-wrap:anywhere}
 .story.live .st-scene.on .sc-file ol li:first-child b::after{transform:none}
 .sc-perm table{font-size:.8em}.sc-perm th,.sc-perm td{padding:8px 4px 8px 0}.sc-perm td:nth-child(3){white-space:normal}
 .sc-perm thead th{font-size:.9em}
}
/* lint fixes (r11): no resting shadow, no hairlines, 13px floor, li inset; D sheet in flow so it never covers headings */
.story .sc-rec{box-shadow:none;border:2px solid #c9c9c9}
.story .sc-rec dl>div{border-bottom:2px solid #e5e5e5!important}
.story .sc-rec dt{font-size:max(13px,.78em)}
@media(max-width:700px){.sc-file ol li{padding:10px}}
@media(max-width:900px){.v-d .pin{position:relative;bottom:auto;max-height:none;overflow:visible;margin-top:24px}}
/* R11b: lint regressions (no resting shadow, no hairlines, 13px floor, inset on stacked file rows) */
.story .sc-rec{box-shadow:none;border:2px solid #16325c}
.story .sc-rec dl>div{border-bottom:2px solid #dbe3ee}
.story .sc-rec dt{font-size:max(13px,.78em)}.story .sc-rec .sc-note{font-size:max(13px,.85em)}
@media(max-width:700px){
 .sc-file ol li{padding:10px}
 .sc-perm table{font-size:13px}.sc-perm thead th{font-size:13px}
}

.hand i::after{opacity:calc((var(--p) - .97) * 33)}
