/* MemoLink storytelling homepage.
   Static first: every chapter is readable without JavaScript, reduced motion or very short windows.
   html.st-motion turns chapters into full-screen pinned stages that story.js builds, one per scroll. */

.st-page{--cream:#fffcf5;--butter:#fff5cc;--lilac:#f0e7ff;--lilac-2:#e3d4ff;--purple:#6832bf;--purple-2:#7c3aed;--orange:#e9461c;--green:#2f6b4f;--green-soft:#dcefe4;--ink:#101727;--muted:#596174;--line:#eee5d7;--paper:#fffefa;--amber:#b7791f;--amber-soft:#fdf0d2;--red:#b42318;--red-soft:#fde4e1;
  --vh:100vh;overflow-x:clip}
@supports(height:100svh){.st-page{--vh:100svh}}
.st-page .hw-nav{position:relative;z-index:5}
.st-page .hw-footer{position:relative;z-index:2;background:var(--cream)}
.st-backdrop{position:fixed;inset:0;z-index:-1;background:var(--cream);pointer-events:none}
.st{position:relative;z-index:1}
.st img{max-width:100%;height:auto;display:block}
.st h1,.st h2,.st h3{margin:0;color:var(--ink)}
.st p{margin:0}
.st-eyebrow,.st-kicker{display:inline-block;font-size:13px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--purple)}

/* ---------- hero: one clean first screen ---------- */
.st-hero{min-height:calc(var(--vh) - var(--st-hdr,104px) + 1px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:clamp(14px,2.4vh,24px);padding:clamp(24px,5vh,60px) 20px clamp(56px,9vh,96px);box-sizing:border-box;position:relative}
.st-hero h1{font-size:clamp(50px,7.4vw,112px);font-weight:850;letter-spacing:-.06em;line-height:.92;color:var(--ink)}
.st-lede{font-size:clamp(17px,1.5vw,21px);color:var(--muted);max-width:40ch;line-height:1.45}
.st-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.st-scroll-cue{position:absolute;left:50%;bottom:clamp(14px,3vh,28px);transform:translateX(-50%);display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650;color:var(--muted);white-space:nowrap}
.st-scroll-cue span{width:20px;height:32px;border:2px solid #c9bfd8;border-radius:12px;position:relative;flex:none}
.st-scroll-cue span::after{content:"";position:absolute;left:50%;top:6px;width:4px;height:7px;margin-left:-2px;border-radius:2px;background:var(--purple);animation:st-cue 1.6s ease-in-out infinite}
.st-hero .st-scroll-cue{z-index:2}
.st-hero{flex-direction:row;text-align:left;gap:clamp(40px,6vw,110px)}
.st-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,2.2vh,22px);max-width:700px;min-width:0}
.st-hero-copy h1{font-size:clamp(44px,5.3vw,94px);white-space:nowrap}
.st-hero-copy .st-actions{justify-content:flex-start}
/* Product shot: a signed MemoLink document with live status chips. */
.st-shot{position:relative;flex:none;width:min(470px,38vw);font-size:clamp(12px,1vw,16px)}
.st-shot-doc{background:#fff;border-radius:1.15em;box-shadow:0 2.5em 5em #2d1b5a2b,0 .25em .9em #2d1b5a14;padding:1.9em 1.9em 1.6em;display:grid;gap:.9em;transform:rotate(-2deg);animation:st-shot-in .9s cubic-bezier(.2,.8,.2,1) both}
.st-shot-head{display:flex;align-items:center;gap:.6em;font-size:.7em;font-weight:750;letter-spacing:.12em;color:var(--muted)}
.st-shot-mark{display:grid;place-items:center;width:2.3em;height:2.3em;border-radius:.7em;background:var(--orange);color:#fff;font-weight:900;letter-spacing:0}
.st-shot-title{font-size:1.4em;letter-spacing:-.02em;line-height:1.15;color:var(--ink)}
.st-shot-lines{display:grid;gap:.6em}.st-shot-lines i{display:block;height:.5em;border-radius:.3em;background:#ece6f2}.st-shot-lines i:nth-child(3n){width:80%}.st-shot-lines i:last-child{width:55%}
.st-shot-sig{margin-top:.5em;border:2px dashed var(--orange);border-radius:.8em;padding:.65em .9em;background:#fff8f4;display:grid;gap:.1em}
.st-shot-sig small{font-size:.62em;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}
.st-shot-sig svg{display:block;width:70%;height:2.9em;color:#2f4ad0}
.st-shot-sig path{stroke-dasharray:1;stroke-dashoffset:0;animation:st-ink 1.1s .7s ease-out both}
.st-shot-sig span{font-size:.7em;color:var(--muted)}
.st-shot-chip{position:absolute;display:flex;align-items:center;gap:.6em;background:#fff;border-radius:999px;padding:.5em .9em .5em .5em;box-shadow:0 .9em 2.1em #2d1b5a26;font-size:.88em;font-weight:700;white-space:nowrap;color:var(--ink);animation:st-chip .5s cubic-bezier(.2,1.4,.4,1) both}
.st-shot-chip em{display:grid;place-items:center;width:1.9em;height:1.9em;border-radius:50%;font-style:normal;font-size:.8em;font-weight:800}
.st-sc-1{left:-4.5em;top:46%;animation-delay:1.6s}.st-sc-1 em{background:var(--lilac-2);color:#6832bf}
.st-sc-2{right:-2.5em;top:38%;animation-delay:1.9s}.st-sc-2 em{background:var(--green-soft);color:var(--green)}
.st-sc-3{left:-1.8em;bottom:-1.5em;background:var(--ink);color:#fff;animation-delay:2.2s}.st-sc-3 em{background:var(--orange);color:#fff}
.st-shot-doc{position:relative;z-index:2}
.st-shot-chip{z-index:3}
/* The paper sheet MemoLink replaces, tucked behind the digital document. */
.st-paper{position:absolute;z-index:1;right:-16%;top:-17%;width:68%;padding:1.6em 1.3em 1.2em;background:#f6f3ec;border-radius:.3em;box-shadow:0 1.2em 2.4em #38240c1f;transform:rotate(8deg);display:grid;gap:.7em;filter:saturate(.6);animation:st-paper-in 1s .2s cubic-bezier(.2,.8,.2,1) both}
.st-paper b{font-size:.78em;color:#5b5f6b;font-family:Georgia,'Times New Roman',serif}
.st-paper-clip{position:absolute;top:-.7em;left:50%;width:4em;height:1.4em;margin-left:-2em;border-radius:.4em;background:#9aa1ad;box-shadow:inset 0 -.3em 0 #7d8592}
.st-paper-rows{display:grid;gap:.45em}
.st-paper-rows span{display:flex;justify-content:space-between;align-items:flex-end;gap:.6em;font:italic .72em Georgia,serif;color:#6b6f7a;border-bottom:1px dashed #c9c3b6;padding-bottom:.2em}
.st-paper-rows i{display:block;width:4.5em;height:1em}
.st-paper-rows i.ok{background:no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpath d='M2 10c6-8 9-7 6-2s4 3 8-3 4 4 9-1 5 3 10-1 6 2 13-2' fill='none' stroke='%233a4255' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.st-paper-note{font:italic .66em Georgia,serif;color:#9b5b3b}
.st-paper-tag,.st-shot-tag{position:absolute;font-size:.72em;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.4em .8em;border-radius:999px;white-space:nowrap}
.st-paper-tag{right:.6em;top:-1.1em;background:#fde4e1;color:#b42318}
.st-shot-tag{z-index:3;right:.4em;bottom:-2.2em;background:var(--green-soft);color:var(--green);animation:st-chip .5s 2.4s cubic-bezier(.2,1.4,.4,1) both}
@keyframes st-paper-in{from{opacity:0;transform:translate(-20%,20%) rotate(0)}to{opacity:1;transform:rotate(8deg)}}
@keyframes st-shot-in{from{opacity:0;transform:translateY(40px) rotate(2deg)}to{opacity:1;transform:rotate(-2deg)}}
@keyframes st-ink{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes st-chip{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes st-cue{0%{opacity:0;transform:translateY(-3px)}40%{opacity:1}100%{opacity:0;transform:translateY(9px)}}

/* ---------- chapters ---------- */
.st-scene{position:relative;min-height:var(--vh);padding:clamp(64px,9vh,110px) clamp(20px,5vw,80px);box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}
.st-intro,.st-recipients{background:var(--butter)}
#intro,#recipients,#proof,#start{background:var(--butter)}#upload,#place,#sign,#track{background:var(--lilac)}#write,#send,#insights{background:var(--cream)}

.st-copy h2,.st-intro-copy h2{font-size:clamp(34px,3.6vw,58px);font-weight:830;letter-spacing:-.05em;line-height:1.02;text-wrap:balance}
.st-copy{display:flex;flex-direction:column;gap:14px;max-width:470px;min-width:0}
.st-copy p{font-size:clamp(16px,1.2vw,19px);line-height:1.55;color:var(--muted)}
.st-copy p b,.st-points b{color:var(--ink);font-weight:700}
.st-points{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:10px}
.st-points li{position:relative;padding-left:26px;font-size:clamp(14px,1.05vw,16px);line-height:1.5;color:var(--muted)}
.st-points li::before{content:"";position:absolute;left:0;top:.38em;width:14px;height:14px;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 4px var(--purple)}

.st-feature{gap:clamp(28px,5vw,90px)}
.st-feature .st-copy{flex:0 1 470px}
.st-stage{position:relative;flex:0 1 640px;min-width:0;font-size:clamp(11px,.95vw,14.5px)}
.st-flip .st-copy{order:2}
.st-wide .st-stage{flex-basis:720px}
.st-accent{position:absolute;width:44%;right:-12%;bottom:-16%;z-index:0;filter:drop-shadow(0 20px 26px #6832bf24);pointer-events:none}
.st-flip .st-accent{right:auto;left:-14%}

/* intro */
.st-intro{flex-direction:column;text-align:center;gap:clamp(10px,2vh,24px)}
.st-intro-copy{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:860px;position:relative;z-index:2}
.st-intro-copy p{font-size:clamp(15px,1.2vw,19px);color:var(--muted);max-width:62ch;line-height:1.55}
.st-intro-art{position:relative;width:min(760px,88vw,calc((var(--vh) - 330px)*1.71))}
.st-intro-art img{width:100%;filter:drop-shadow(0 28px 36px #6832bf1f)}
.st-tag{position:absolute;display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:var(--paper);box-shadow:0 10px 30px #38240c1f;font-size:14px;font-weight:750;white-space:nowrap;color:var(--ink)}
.st-tag i{font-style:normal;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--purple);color:#fff;font-size:12px}
.st-tag-a{left:2%;top:30%}.st-tag-b{left:44%;top:-2%}.st-tag-c{right:2%;top:26%}.st-tag-d{right:8%;bottom:10%}
.st-tag-d i{background:var(--green)}

.st-compare{display:flex;align-items:stretch;justify-content:center;gap:clamp(14px,2vw,28px);width:min(1060px,100%);position:relative;z-index:2}
.st-col{flex:1 1 0;min-width:0;border-radius:22px;padding:clamp(18px,2vw,28px);display:flex;flex-direction:column;gap:14px;text-align:left}
.st-col-old{background:#f6f3ec;border:1px dashed #cfc7b8;color:#6b6f7a}
.st-col-new{background:var(--paper);box-shadow:0 24px 50px #2d1b5a1f;border:1px solid #efe7f8}
.st-col-head{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.st-col-old .st-col-head{color:#b42318}.st-col-new .st-col-head{color:var(--green)}
.st-col ol{margin:0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:s}
.st-col li{counter-increment:s;display:flex;gap:12px;align-items:flex-start;font-size:clamp(15px,1.2vw,18px);line-height:1.35}
.st-col li::before{content:counter(s);flex:none;display:grid;place-items:center;width:1.6em;height:1.6em;border-radius:50%;font-size:.8em;font-weight:800}
.st-col-old li{text-decoration:line-through;text-decoration-color:#b4231866}
.st-col-old li::before{background:#e8e2d6;color:#6b6f7a}
.st-col-new li{color:var(--ink);font-weight:600}
.st-col-new li::before{background:var(--orange);color:#fff}
.st-compare-arrow{align-self:center;flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--ink);color:#fff;font-size:22px;font-weight:800}

/* ---------- UI mock kit (em-based so it scales with .st-stage) ---------- */
.ui{position:relative;z-index:1;background:var(--paper);border:1px solid #ebe3d6;border-radius:1.2em;box-shadow:0 2.4em 4.8em #2d1b5a24,0 .3em 1em #2d1b5a12;overflow:hidden;color:var(--ink);font-size:1em;width:100%;max-width:46em}
.ui-bar{display:flex;align-items:center;gap:.45em;padding:.8em 1.1em;border-bottom:1px solid var(--line);background:#fcf8f0}
.ui-bar i{width:.7em;height:.7em;border-radius:50%;background:#e4dccd}
.ui-bar span{margin-left:.6em;font-weight:700;font-size:.92em;color:var(--muted)}
.ui-body{padding:1.3em;display:grid;gap:1em;position:relative}
.ui-label{display:block;font-size:.72em;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ui-drop{border:2px dashed #c9b3ee;border-radius:1em;background:#faf6ff;padding:2em 1em;text-align:center;display:grid;gap:.35em}
.ui-drop b{font-size:1.05em}.ui-drop span{font-size:.82em;color:var(--muted)}
.ui-file{display:flex;align-items:center;gap:.9em;padding:.9em 1em;border:1px solid var(--line);border-radius:1em;background:#fff;box-shadow:0 .6em 1.4em #2d1b5a14}
.ui-file div{display:flex;flex-direction:column;flex:1;min-width:0}.ui-file b{font-size:1em}.ui-file small{font-size:.8em;color:var(--muted)}
.ui-file-icon{display:grid;place-items:center;width:2.6em;height:3.1em;border-radius:.5em;background:var(--orange);color:#fff;font-weight:800;font-size:.8em}
.ui-ok{display:grid;place-items:center;width:1.8em;height:1.8em;border-radius:50%;background:var(--green-soft);color:var(--green);font-weight:900}
.ui-row2,.ui-row3{display:flex;gap:.6em;flex-wrap:wrap}
.ui-ghost{display:inline-flex;align-items:center;gap:.4em;padding:.55em .9em;border-radius:.8em;border:1px solid var(--line);background:#fff;font-size:.85em;font-weight:650;white-space:nowrap}
.ui-ghost.on{border-color:var(--purple);color:var(--purple);background:#f6f0ff}
.ui-scan{display:flex;flex-wrap:wrap;gap:.45em}
.ui-scan span{font-size:.78em;font-weight:700;padding:.35em .7em;border-radius:999px;background:var(--green-soft);color:var(--green)}
.ui-btn{display:inline-flex;align-items:center;justify-content:center;padding:.75em 1.2em;border-radius:999px;background:var(--ink);color:#fff;font-weight:750;font-size:.9em;white-space:nowrap;justify-self:start}
.ui-btn-orange{background:var(--orange)}.ui-btn-purple{background:var(--purple-2)}.ui-wide{justify-self:stretch}
.ui-grid2{grid-template-columns:1fr 1.15fr;align-items:start}
.ui-form{display:grid;gap:.8em}
.ui-field{display:grid;gap:.3em}
.ui-field small{font-size:.72em;font-weight:700;color:var(--muted)}
.ui-select{display:flex;justify-content:space-between;align-items:center;gap:.5em;padding:.6em .8em;border:1px solid #ddd6cb;border-radius:.8em;background:#fff;font-size:.9em;font-weight:650}
.ui-cycle{position:relative;flex:1;height:1.3em;overflow:hidden}
.ui-cycle b{position:absolute;inset:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-cycle b:not(:last-child){opacity:0}
.ui-text{display:block;padding:.6em .8em;border:1px solid #ddd6cb;border-radius:.8em;background:#fff;font-size:.85em;line-height:1.4;min-height:3.6em}
.ui-draft{display:grid;gap:.7em;padding:1em;border-radius:1em;background:#fcf8f0;border:1px solid var(--line)}
.ui-draft-title{font-size:.95em}
.ui-lines{display:grid;gap:.55em}
.ui-lines i{display:block;height:.45em;border-radius:.3em;background:#e7e0ee;transform-origin:left}
.ui-lines i:nth-child(3n){width:82%}.ui-lines i:nth-child(4n){width:90%}.ui-lines i:last-child{width:55%}
.ui-check{display:flex;gap:.6em;align-items:flex-start;font-size:.78em;line-height:1.35;color:var(--ink)}
.ui-check i{flex:none;display:grid;place-items:center;width:1.4em;height:1.4em;border-radius:.35em;background:var(--purple);color:#fff;font-style:normal;font-size:.9em}
.ui-toggle{display:inline-flex;gap:.3em;padding:.3em;border-radius:999px;background:#f4efe6;justify-self:start}
.ui-toggle span{padding:.45em .9em;border-radius:999px;font-size:.85em;font-weight:650;color:var(--muted)}
.ui-toggle .on{background:#fff;color:var(--ink);box-shadow:0 .2em .6em #2d1b5a14}
.ui-table{display:grid;border:1px solid var(--line);border-radius:.9em;overflow:hidden;background:#fff}
.ui-tr{display:grid;grid-template-columns:1fr 1.5fr 1.1fr .9fr;gap:.6em;padding:.6em .9em;font-size:.82em;border-top:1px solid var(--line);align-items:center}
.ui-tr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-th{border-top:0;background:#fcf8f0;font-weight:750;color:var(--muted);font-size:.74em;letter-spacing:.04em;text-transform:uppercase}
.ui-more{grid-template-columns:1fr;color:var(--purple);font-weight:700}
.ui-inline{display:flex;flex-direction:column;padding:.5em .8em;border:1px solid var(--line);border-radius:.8em;background:#fff;min-width:9em}
.ui-inline b{font-size:.9em}
.ui-placer .ui-tools{display:flex;gap:.6em;align-items:center;padding:.6em 1em;border-bottom:1px solid var(--line);font-size:.78em;color:var(--muted);flex-wrap:wrap}
.ui-tools b{color:var(--ink)}.ui-tool-on{color:var(--purple);font-weight:750}
.ui-pdf{position:relative;margin:1.2em auto;width:72%;aspect-ratio:1/1.12;background:#fff;border-radius:.4em;box-shadow:0 .6em 2em #2d1b5a1f;padding:7% 8%;box-sizing:border-box}
.ui-pdf-lines{display:grid;gap:.7em}
.ui-pdf-lines i{display:block;height:.4em;border-radius:.3em;background:#ebe5f1}
.ui-pdf-lines i:nth-child(odd){width:88%}
.ui-pdf-line-label{position:absolute;left:8%;top:57%;font-size:.7em;font-weight:700;color:var(--muted)}
.ui-sigbox{position:absolute;left:8%;top:63%;width:56%;border:2px dashed var(--purple);border-radius:.5em;background:#f8f3ffee;padding:.45em .6em;display:grid;gap:.1em;box-sizing:border-box}
.ui-sigbox small,.ui-datebox small,.ui-stamp small{font-size:.62em;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--purple)}
.ui-sig-slot{display:block;height:1.6em;border-bottom:1px solid #c9b3ee}
.ui-sigbox span{font-size:.62em;color:var(--muted)}
.ui-datebox{position:absolute;right:8%;top:63%;width:22%;border:2px dashed var(--orange);border-radius:.5em;background:#fff6f2ee;padding:.45em .5em;display:grid;gap:.25em;box-sizing:border-box}
.ui-datebox small{color:var(--orange)}.ui-datebox span{font-size:.62em;font-weight:700}
.ui-cursor{position:absolute;left:46%;top:76%;font-size:1.6em;color:var(--ink);text-shadow:0 2px 0 #fff}
.ui-foot{display:flex;justify-content:flex-end;gap:.6em;padding:.8em 1em;border-top:1px solid var(--line);background:#fcf8f0}
.ui-email{max-width:34em}
.ui-mailhead{display:grid;gap:.25em;padding:1em 1.2em;border-bottom:1px solid var(--line);background:#fcf8f0;font-size:.85em}
.ui-mailhead span{display:flex;gap:.6em}.ui-mailhead small{width:4.5em;color:var(--muted);font-weight:650}
.ui-mailbody{padding:1.4em;display:grid;gap:.8em}
.ui-mailmark{display:grid;place-items:center;width:2.4em;height:2.4em;border-radius:.7em;background:var(--orange);color:#fff;font-weight:900}
.ui-mailbody>b{font-size:1.15em}.ui-mailbody p{font-size:.85em;line-height:1.5;color:var(--muted)}
.ui-due{display:grid;grid-template-columns:auto 1fr;gap:.3em 1em;padding:.8em 1em;border-radius:.8em;background:#f7f4ee;font-size:.85em}
.ui-due small{color:var(--muted);font-weight:700;text-transform:uppercase;font-size:.78em;letter-spacing:.05em;align-self:center}
.ui-sent{display:flex;flex-wrap:wrap;gap:.5em;margin-top:1.2em;position:relative;z-index:2}
.ui-sent span{display:inline-flex;align-items:center;gap:.5em;padding:.5em .8em;border-radius:999px;background:#fff;box-shadow:0 .6em 1.4em #2d1b5a1f;font-size:.82em;font-weight:700}
.ui-sent i{font-style:normal;font-size:.85em;padding:.15em .55em;border-radius:999px;background:var(--green-soft);color:var(--green)}
.ui-phone{position:relative;z-index:1;width:20em;max-width:100%;margin:0 auto;padding:.8em;border-radius:2.6em;background:#1b1f2b;box-shadow:0 2.4em 4.8em #2d1b5a33}
.ui-phone-screen{position:relative;border-radius:2em;background:var(--paper);padding:1.6em 1.1em 1.2em;display:grid;gap:.55em;overflow:hidden}
.ui-mini-doc{display:grid;gap:.4em;padding:.7em;border:1px solid var(--line);border-radius:.7em;background:#fff}
.ui-mini-doc b{font-size:.8em}.ui-mini-doc i{display:block;height:.35em;border-radius:.2em;background:#ebe5f1}.ui-mini-doc i:last-child{width:60%}
.ui-pad{border:1.5px solid #ddd6cb;border-radius:.7em;background:#fff;height:4.2em;display:grid;place-items:center;color:#2f4ad0}
.ui-pad svg{width:80%;height:3em}
.ui-input{display:block;padding:.55em .7em;border:1px solid #ddd6cb;border-radius:.7em;background:#fff;font-size:.85em;font-weight:650;min-height:1.3em}
.ui-input span{display:inline-block}
.ui-consent{font-size:.66em;line-height:1.4;color:var(--muted);padding:.6em;border-radius:.6em;background:#f7f4ee}
.ui-done{position:absolute;inset:auto 0 0 0;padding:1.4em 1em 1.6em;background:var(--green);color:#fff;display:grid;gap:.2em;text-align:center;border-radius:1.4em 1.4em 2em 2em}
.ui-done b{font-size:1.1em}.ui-done small{font-size:.8em;opacity:.9}
.ui-docs{position:relative;display:grid;grid-template-columns:1fr 1.15fr;gap:1em;align-items:start}
.ui-doc{background:#fff;border-radius:.9em;padding:1.2em;box-shadow:0 1.6em 3.6em #2d1b5a24;border:1px solid #efe7f8;display:grid;gap:.7em}
.ui-doc>b{font-size:.95em}
.ui-stamp{border:1.5px solid #c9b3ee;border-radius:.6em;padding:.5em .6em;display:grid;gap:.1em;background:#faf6ff}
.ui-stamp svg{width:70%;height:2em;color:#2f4ad0}.ui-stamp span{font-size:.62em;color:var(--muted)}
.ui-doc-cert dl{margin:0;display:grid;gap:.1em}
.ui-doc-cert dl div{display:flex;justify-content:space-between;gap:.8em;padding:.4em 0;border-bottom:1px solid var(--line);font-size:.78em}
.ui-doc-cert dt{color:var(--muted)}.ui-doc-cert dd{margin:0;font-weight:700;text-align:right}
.ui-hash{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600}
.ui-zip{grid-column:1/-1;justify-self:center;display:flex;align-items:center;gap:.9em;padding:.9em 1.2em;border-radius:1.1em;background:var(--ink);color:#fff;box-shadow:0 1.4em 3em #10172740}
.ui-zip>span{display:grid;place-items:center;width:2.6em;height:2.6em;border-radius:.7em;background:var(--orange);font-weight:900;font-size:.8em}
.ui-zip div{display:flex;flex-direction:column}.ui-zip small{font-size:.78em;opacity:.75}
.ui-zip i{font-style:normal;display:grid;place-items:center;width:1.9em;height:1.9em;border-radius:50%;background:#ffffff26;font-weight:900}
.ui-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7em}
.ui-kpi{padding:.8em .9em;border-radius:.9em;border:1px solid var(--line);background:#fff;display:grid;gap:.15em;min-width:0}
.ui-kpi small{font-size:.72em;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-kpi b{font-size:1.6em;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ui-kpi span{font-size:.68em;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-warn{color:var(--red)!important;font-weight:750}
.ui-filters{display:flex;gap:.5em;align-items:center;font-size:.8em;flex-wrap:wrap}
.ui-filters>span:not(.ui-ghost):not(.ui-sp){padding:.45em .8em;border-radius:.7em;border:1px solid var(--line);background:#fff;font-weight:650}
.ui-sp{flex:1}
.ui-table-dash .ui-tr{grid-template-columns:1.2fr 1fr 1fr 1.1fr .5fr}
.ui-pill{position:relative;display:inline-grid;font-size:.95em}
.ui-pill b{grid-area:1/1;justify-self:start;padding:.25em .65em;border-radius:999px;background:var(--lilac);color:var(--purple);font-size:.92em;white-space:nowrap}
.ui-pill b:first-child{opacity:0}
.ui-pill .ok{background:var(--green-soft);color:var(--green)}.ui-pill .op{background:var(--amber-soft);color:var(--amber)}.ui-pill .late{background:var(--red-soft);color:var(--red)}
.ui-example{justify-self:end;font-size:.72em;color:var(--muted)}
.ui-charts{display:grid;grid-template-columns:1.2fr 1fr;gap:.8em}
.ui-chart{padding:.9em;border:1px solid var(--line);border-radius:.9em;background:#fff;display:grid;gap:.7em;min-width:0}
.ui-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:.8em;height:8em;align-items:end}
.ui-bars div{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:.25em}
.ui-bars i,.ui-bars b,.ui-legend i,.ui-legend b{display:block;width:.9em;border-radius:.25em .25em 0 0}
.ui-bars i{height:calc(var(--h)*100%);background:var(--lilac-2);transform-origin:bottom}
.ui-bars b{height:calc(var(--h)*100%);background:var(--purple);transform-origin:bottom}
.ui-bars span{position:absolute;bottom:-1.5em;font-size:.68em;color:var(--muted)}
.ui-legend{display:flex;gap:1em;font-size:.7em;color:var(--muted);margin-top:.8em}
.ui-legend span{display:flex;align-items:center;gap:.4em}.ui-legend i{height:.7em;background:var(--lilac-2)}.ui-legend b{height:.7em;background:var(--purple)}
.ui-hbars{display:grid;gap:.6em}
.ui-hbars div{display:grid;grid-template-columns:6.4em 1fr 1.6em;gap:.5em;align-items:center;font-size:.76em}
.ui-hbars i{display:block;height:.7em;border-radius:.35em;background:var(--orange);width:calc(var(--w)*100%);transform-origin:left}
.ui-hbars b{text-align:right;font-variant-numeric:tabular-nums}

/* close */
.st-close{flex-direction:column;text-align:center}
.st-close-orbit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(900px,100%);margin-bottom:28px}
.st-close-orbit img{filter:drop-shadow(0 18px 24px #6832bf22)}
.st-close-copy{display:flex;flex-direction:column;align-items:center;gap:16px;position:relative;z-index:2}
.st-close h2{font-size:clamp(44px,6.4vw,104px);font-weight:850;letter-spacing:-.06em;line-height:.92}
.st-close p{color:var(--muted);font-size:clamp(16px,1.3vw,20px)}

/* ---------- progress bar: every chapter is a jump target ---------- */
.st-progress{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translate(-50%,0);z-index:20;display:flex;align-items:center;gap:2px;padding:5px;border-radius:999px;background:#fffefaeb;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 12px 40px #2d1b5a26;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s;opacity:1;max-width:calc(100vw - 24px)}
.st-progress.is-visible{transform:translate(-50%,0);opacity:1}
.st-progress a{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:650;padding:7px 11px;border-radius:999px;color:var(--muted);white-space:nowrap;transition:background .25s,color .25s;-webkit-tap-highlight-color:transparent;cursor:pointer}
.st-progress a i{width:7px;height:7px;border-radius:50%;background:#cfc4de;flex:none;transition:background .25s,transform .25s}
.st-progress a.is-done i{background:var(--purple)}
.st-progress a:hover{background:#f3edfb;color:var(--ink)}
.st-progress a[aria-current="true"]{background:var(--ink);color:#fff}
.st-progress .st-home{gap:6px;margin-right:4px;padding-right:13px;color:var(--ink);font-weight:750;border-right:1px solid var(--line);border-radius:999px 0 0 999px}
.st-progress .st-home svg{width:15px;height:15px;flex:none}
.st-progress a[aria-current="true"] i{background:var(--orange)}
.st-progress a:focus-visible{outline:3px solid #d8c4fa;outline-offset:2px}
.st-curtain{position:fixed;inset:0;z-index:15;background:var(--cream);opacity:0;pointer-events:none;will-change:opacity}

/* ---------- motion mode ---------- */
html.st-motion{scroll-behavior:auto;overscroll-behavior-y:none;scrollbar-width:none;-ms-overflow-style:none}
html.st-motion::-webkit-scrollbar,html.st-motion body::-webkit-scrollbar{display:none;width:0;height:0}
.st-motion .st-scene{height:var(--vh);min-height:0}

/* ---------- narrower screens: the bar shows dots plus the current part's name ---------- */
@media (max-width:1300px){
  .st-progress{padding:6px 8px;gap:0}
  .st-progress a{padding:9px 6px;gap:0}
  .st-progress a span{display:none}
  .st-progress .st-home{padding:7px 10px;margin-right:4px}
  .st-progress a i{width:9px;height:9px}
  .st-progress a[aria-current="true"]{padding:7px 12px;gap:6px}
  .st-progress a[aria-current="true"] span{display:inline}
  .st-progress a:hover span{display:inline}
}
@media (max-width:900px){.st-progress a:hover span{display:none}.st-progress a[aria-current="true"]:hover span{display:inline}}

/* ---------- laptops with short windows ---------- */
@media (min-width:901px) and (max-width:1180px){.st-paper{right:-6%}}
@media (min-width:901px) and (max-height:760px){
  .st-copy h2{font-size:clamp(30px,3vw,46px)}
  .st-points{gap:6px}.st-points li{font-size:14px}
  .st-stage{font-size:clamp(10px,.85vw,13px)}
}

/* ---------- phones & narrow windows ---------- */
@media (max-width:900px){
  .st-hero-copy{align-items:center}.st-hero-copy h1{white-space:normal;font-size:clamp(44px,12vw,64px)}.st-hero-copy .st-actions{justify-content:center}
  .st-shot{width:min(300px,74vw);font-size:11px}.st-sc-1{left:-2em}.st-sc-2{right:-1em}.st-sc-3{left:-.6em}
  .st-hero{flex-direction:column;text-align:center;gap:26px;min-height:calc(var(--vh) - var(--st-hdr,80px) + 1px);justify-content:center;padding-top:16px;padding-bottom:64px}
  .st-scene{flex-direction:column;justify-content:flex-start;padding:clamp(28px,5vh,56px) 18px 84px;gap:18px}
  .st-flip .st-copy{order:0}
  .st-copy{max-width:none;gap:8px;flex:none}
  .st-copy h2,.st-intro-copy h2{font-size:clamp(26px,7.4vw,38px)}
  .st-copy p{font-size:15px;line-height:1.45}
  .st-points{gap:5px;margin:0}
  .st-points li{font-size:13.5px;line-height:1.4;padding-left:20px}
  .st-points li::before{width:11px;height:11px;box-shadow:inset 0 0 0 3px var(--purple)}
  .st-stage{flex:none;width:100%;font-size:clamp(9px,2.7vw,12.5px)}
  .st-accent{width:34%;right:-6%;bottom:-10%}.st-flip .st-accent{left:auto;right:-6%}
  .st-intro{justify-content:center}
  .st-compare{flex-direction:column;gap:10px}
  .st-compare-arrow{width:34px;height:34px;font-size:16px;transform:rotate(90deg)}
  .st-col{padding:14px 16px;gap:8px;border-radius:16px}
  .st-col ol{gap:5px}.st-col li{font-size:13.5px;gap:8px}
  .st-paper{right:-6%;top:-5%;width:52%;font-size:.8em}
  .st-scroll-cue{display:none}.st-shot-tag{bottom:-2em}
  .st-intro-art{width:min(560px,100%)}
  .st-tag{font-size:12px;padding:6px 11px 6px 6px}.st-tag i{width:18px;height:18px;font-size:10px}
  .ui-grid2{grid-template-columns:1fr 1fr}
  .ui-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ui-charts{grid-template-columns:1fr}
  .ui-hbars{display:none}.ui-charts .ui-chart:last-child{display:none}
  .ui-phone{width:17em}
  .st-close-orbit{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px) and (max-height:780px){
  .st-points li:nth-child(n+3){display:none}
  .st-copy p{font-size:14px}
}

.st-page a,.st-page button{-webkit-tap-highlight-color:transparent}
.st-page a:focus-visible{outline:3px solid #d8c4fa;outline-offset:3px;border-radius:8px}
@media (prefers-reduced-motion:reduce){.st-scroll-cue span::after,.st-shot-doc,.st-shot-chip,.st-shot-sig path,.st-paper,.st-shot-tag{animation:none!important}}
@media (max-width:900px) and (max-height:760px){
  .st-hero{gap:16px}.st-hero-copy{gap:10px}
  .st-scroll-cue{display:none}
  .st-hero-copy h1{font-size:clamp(38px,10.5vw,52px)}
  .st-lede{font-size:14px;line-height:1.4}
  .st-shot{width:min(230px,60vw);font-size:9px}
}

/* A complete last screen, reached by the next step after Get started. */
.st-site-footer{position:relative;z-index:2;background:var(--cream);border-top:1px solid var(--line);min-height:var(--vh);padding:max(calc(var(--ml-bar-offset,78px) + 20px),4vh) clamp(18px,5vw,80px) max(80px,calc(env(safe-area-inset-bottom) + 72px));display:flex;align-items:center}
.st-footer-inner{width:100%;max-width:1120px;margin:auto}
.st-footer-intro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 24px;padding-bottom:clamp(20px,4vh,42px)}
.st-footer-brand{display:block;width:190px;line-height:0;max-width:100%}
.hw-theme .st-footer-brand .ml-supplied-full{width:100%!important;height:auto!important}
.st-footer-intro p{margin:0;font-size:14px;line-height:1.6;color:var(--muted);grid-column:1}
.st-footer-intro>.hw-button{grid-column:2;grid-row:1 / span 2;align-self:center}
.st-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.st-footer-links nav{display:flex;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line);padding-top:16px;min-width:0}
.st-footer-links h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--purple);margin:0 0 10px;font-weight:700}
.st-footer-links a{font-size:14px;line-height:1.4;padding:7px 0;color:var(--ink);max-width:100%;overflow-wrap:anywhere}
.st-footer-links a:hover{color:var(--purple);text-decoration:underline;text-underline-offset:4px}
.st-footer-bottom{display:flex;justify-content:space-between;gap:12px 24px;border-top:1px solid var(--line);padding-top:18px;margin-top:clamp(20px,4vh,42px)}
.st-footer-bottom p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
@media(max-width:600px){
 .st-footer-intro{gap:10px;grid-template-columns:1fr}.st-footer-brand{width:156px}.st-footer-intro p{font-size:13px}.st-footer-intro>.hw-button{grid-column:1;grid-row:auto;justify-self:start;min-height:44px;padding:10px 18px}
 .st-footer-links{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.st-footer-links nav:last-child{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;gap:0 18px}.st-footer-links nav:last-child h2{width:100%}.st-footer-links a{font-size:12px;padding:8px 0;min-height:34px}.st-footer-bottom{flex-wrap:wrap;gap:4px}.st-footer-bottom p{font-size:11px}
 .st-progress{padding:4px;gap:0;width:max-content;max-width:calc(100vw - 16px)}.st-progress a{padding:10px 4px;flex:0 1 auto;min-width:0}.st-progress a i{width:6px;height:6px}.st-progress a[aria-current="true"]{padding:8px 7px;gap:4px;min-width:0}.st-progress a[aria-current="true"] span{overflow:hidden;text-overflow:ellipsis;max-width:84px;font-size:11px}.st-progress .st-home{padding:8px 6px;margin-right:2px}.st-progress .st-home span{display:none!important}.st-progress .st-home svg{width:13px;height:13px}
}

.st-page .hw-uat-label{bottom:max(64px,calc(env(safe-area-inset-bottom) + 64px));pointer-events:none}
@media(max-width:600px) and (max-height:700px){
 .st-site-footer{padding-top:calc(var(--ml-bar-offset,70px) + 16px);padding-bottom:64px}
 .st-footer-intro{gap:6px;padding-bottom:16px}.st-footer-intro>.hw-button{display:none}.st-footer-brand{width:146px}.st-footer-intro p{font-size:12px;line-height:1.4}
 .st-footer-links{gap:12px}.st-footer-links nav{padding-top:12px}.st-footer-links a{font-size:11px;padding:4px 0;min-height:28px}.st-footer-links h2{font-size:11px;margin-bottom:8px}
 .st-footer-bottom{margin-top:16px;padding-top:12px}.st-footer-bottom p{font-size:10px}
}

.st-page.st-at-end .hw-uat-label{display:none}
