/* HealthOS v7: v6 system, re-set in Mercury's typographic voice (one family, General Sans, light display weights, open tracking). */
/* HealthOS landing v6. Calm, sure, unshakeable. Motion system measured from alliance.nubarewards.com:
   one curve (cubic-bezier(.22,1,.36,1)); header drops 12px over 900ms; floating UI rises 14px over 1.2s after .4s;
   media rises 40px into place as it enters; tabs crossfade over 700ms; marquee 48s linear; glass is blur(26px).
   Colour: cool off-white page, ink text, one committed deep-teal band. Type: General Sans. */
@font-face{font-family:"General Sans";src:url(../fonts/GeneralSans-Variable.woff2) format("woff2");font-weight:200 700;font-display:swap}

:root{
  --bg:oklch(0.985 0.004 205);
  --ink:oklch(0.22 0.035 250);
  --ink-2:oklch(0.38 0.03 250);          /* body, 8.9:1 */
  --ink-3:oklch(0.48 0.025 250);         /* small print, 6.1:1 */
  --mute:oklch(0.55 0.02 250);           /* second tone of two-tone headings, 4.6:1 */
  --line:oklch(0.22 0.035 250 / 0.13);
  --deep:oklch(0.29 0.052 205);
  --deep-2:oklch(0.86 0.03 195);
  --deep-line:oklch(1 0 0 / 0.16);
  --pulse:oklch(0.88 0.075 180);
  --teal:oklch(0.5 0.09 190);
  --night:oklch(0.17 0.03 250);
  --f-d:"General Sans",ui-sans-serif,system-ui,sans-serif;
  --f-t:"General Sans",ui-sans-serif,system-ui,sans-serif;
  --gx:20px;--max:1312px;
  --sec:clamp(80px,11vw,160px);
  --ease:cubic-bezier(.22,1,.36,1);
  --z-nav:30;--z-skip:40;
}
@media (min-width:1024px){:root{--gx:64px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 var(--f-t);-webkit-font-smoothing:antialiased;overflow-x:clip}
@media (min-width:700px){body{font-size:18px}}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;z-index:var(--z-skip);background:var(--ink);color:var(--bg);padding:12px 16px}.skip:focus{left:8px}
.mute{color:var(--mute)}

/* ---------- buttons: Alliance's lift on hover, no arrows ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:10px;font:500 16px/1 var(--f-d);letter-spacing:-.02em;text-decoration:none;white-space:nowrap;transition:background-color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px oklch(0 0 0 / .14)}
.btn:active{transform:none}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:oklch(1 0 0 / .9)}
@media (min-width:700px){.btn-light{min-height:52px;padding:0 26px;font-size:18px}}
.btn-nav{min-height:44px;padding:0 18px;background:#fff;color:var(--ink)}

/* ---------- nav: glass bar that drops in ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:var(--z-nav);height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--gx);color:#fff;
  background:oklch(0.2 0.025 240 / .22);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);
  animation:header-in .9s var(--ease) both;transition:background-color .5s var(--ease),color .5s var(--ease),box-shadow .5s var(--ease)}
.nav.solid{background:oklch(0.985 0.004 205 / .78);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.nav.solid .btn-nav{background:var(--ink);color:#fff}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none}
.mark{width:30px;height:30px}
.wm{font:600 20px/1 var(--f-d);letter-spacing:-.01em}.wm b{font-weight:600;color:var(--pulse);transition:color .5s}
.nav.solid .wm b{color:var(--teal)}
.btn-nav{opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .4s var(--ease),transform .4s var(--ease),background-color .3s,color .3s,box-shadow .3s}
.nav.solid .btn-nav{opacity:1;transform:none;pointer-events:auto}
@keyframes header-in{from{opacity:0;transform:translateY(-12px)}}

/* ---------- hero: up from black, slow push, headline comes into focus ---------- */
.hero{position:relative;height:100svh;min-height:620px;max-height:1100px;display:flex;align-items:flex-end;color:#fff;background:#000;overflow:clip}
.hero-ph{position:absolute;inset:0;animation:from-black 1.6s .1s var(--ease) both}
.hero-ph img{width:100%;height:100%;object-fit:cover;object-position:85% 40%;transform-origin:70% 40%;animation:push 2.6s .1s var(--ease) both,drift 26s 2.7s ease-in-out infinite alternate}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,oklch(0.15 0.03 250 / .88) 0%,oklch(0.15 0.03 250 / .5) 34%,oklch(0.15 0.03 250 / 0) 62%),
             linear-gradient(to right,oklch(0.15 0.03 250 / .45) 0%,oklch(0.15 0.03 250 / 0) 55%)}
.hero-in{position:relative;z-index:1;width:100%;max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:0 var(--gx) clamp(48px,9vh,104px)}
h1{font:460 clamp(40px,1.5rem + 2.6vw,58px)/1.06 var(--f-d);letter-spacing:-.026em;max-width:13em;text-wrap:balance}
h1 .ln{display:block}
h1 .ln>span{display:block;animation:focus 1.2s .45s var(--ease) both}
h1 .ln:nth-child(2)>span{animation-delay:.6s}
.lede{margin-top:20px;max-width:30em;font-size:18px;line-height:1.5;color:oklch(0.93 0.01 220);animation:rise 1.2s .8s var(--ease) both}
.hero .btn{margin-top:32px;animation:rise 1.2s .95s var(--ease) both}
@media (min-width:700px){.lede{font-size:20px;margin-top:24px}.hero .btn{margin-top:36px}}
@keyframes from-black{from{opacity:0}}
@keyframes push{from{transform:scale(1.08)}}
@keyframes drift{to{transform:scale(1.045) translate(-.6%,.4%)}}
@keyframes focus{from{opacity:0;filter:blur(12px);transform:translateY(14px)}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}}
/* copy drifts up and dims as the hero scrolls away (scroll-linked where supported) */
@supports (animation-timeline:view()){
  .hero-in{animation:hero-out linear both;animation-timeline:view();animation-range:exit 0% exit 70%}
  @keyframes hero-out{to{transform:translateY(-90px);opacity:.15}}
}

/* ---------- glass chips: HealthOS moments floating over real scenes ---------- */
.chip{position:absolute;z-index:2;display:flex;align-items:center;gap:14px;padding:14px 18px 14px 14px;border-radius:16px;color:var(--ink);
  background:oklch(1 0 0 / .8);-webkit-backdrop-filter:blur(26px) saturate(1.5);backdrop-filter:blur(26px) saturate(1.5);
  box-shadow:0 0 0 1px oklch(1 0 0 / .5) inset,0 12px 40px oklch(0.15 0.03 250 / .18)}
.chip-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.chip-tx b{font:500 16px/1.25 var(--f-d);letter-spacing:-.01em;white-space:nowrap}
.chip-tx small{font-size:14px;line-height:1.3;color:var(--ink-3);white-space:nowrap}
.chip-t{margin-left:auto;padding-left:10px;font:500 14px/1 var(--f-d);font-variant-numeric:tabular-nums;color:var(--ink-3)}
.chip-badge{height:30px;width:auto;mix-blend-mode:multiply}
.chip-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px oklch(0.5 0.09 190 / .16);margin-left:6px}

@keyframes float-in{from{opacity:0;transform:translateY(14px)}}
.chip-row{left:20px;bottom:20px;max-width:calc(100% - 40px)}
@media (min-width:700px){.chip-row{left:28px;bottom:28px}}
.js .chip-row{opacity:0;transform:translateY(14px);transition:opacity 1.2s .4s var(--ease),transform 1.2s .4s var(--ease)}
.js .in .chip-row{opacity:1;transform:none}

/* ---------- marquee strip ---------- */
.strip{border-bottom:1px solid var(--line);padding:30px 0}

@keyframes marquee{to{transform:translateX(-50%)}}
@media (min-width:1024px){.strip{padding:40px 0}}

/* ---------- sections ---------- */
.sec{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--sec) var(--gx)}
.head{max-width:46rem;margin:0 auto clamp(40px,6vw,72px);text-align:center}
h2{font:460 clamp(30px,1.15rem + 2.2vw,46px)/1.1 var(--f-d);letter-spacing:-.024em;text-wrap:balance}
.head p{margin:20px auto 0;max-width:36em;color:var(--ink-2);text-wrap:pretty}
h3{font:480 clamp(22px,1rem + .8vw,28px)/1.2 var(--f-d);letter-spacing:-.015em;text-wrap:balance}

/* media rises 40px into place as it enters (transform only: content is never hidden) */
.js .rv{transform:translateY(40px);transition:transform .9s var(--ease)}
.js .rv.in{transform:none}

.shot{position:relative;box-shadow:0 0 0 1px var(--line);border-radius:6px;overflow:hidden;background:#fff}
.shot img{width:100%}

/* offline: the real badge from the real app, swapped in place over the screenshot */
.tl{margin-top:28px;display:grid;border-top:1px solid var(--line)}
.tl li{display:flex}
.tl button{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:72px 1fr;align-items:baseline;gap:4px 16px;width:100%;min-height:52px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink-3);transition:color .4s var(--ease)}
.tl time{font:500 18px/1 var(--f-d);font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:inherit;transition:color .4s var(--ease)}
.tl span{font-size:16px;line-height:1.4}
.tl button[aria-pressed=true]{color:var(--ink)}
.tl button[aria-pressed=true] time{color:var(--teal)}
.tl button:hover{color:var(--ink)}
.tl button:focus-visible{outline-offset:-3px}
@media (min-width:900px){
  .tl{grid-template-columns:repeat(5,1fr);border-top:0}
  .tl button{position:relative;display:flex;flex-direction:column;justify-content:flex-start;padding:20px 20px 0 0;border-bottom:0;border-top:2px solid var(--line);min-height:96px}
  .tl button::before{content:"";position:absolute;left:0;top:-2px;height:2px;width:0;background:var(--teal)}
  .tl button[aria-pressed=true]::before{width:100%;transition:width var(--step,2.6s) linear}
  .tl time{display:block;margin-bottom:8px;font-size:20px}
  .tl.still button[aria-pressed=true]::before{transition:none}
}

/* desks: the one committed colour band, tabs crossfade */
.desks{max-width:none;background:var(--deep);color:#fff}
.desks>*{max-width:var(--max);margin-inline:auto}
.desks .head p{color:var(--deep-2)}
.desks .mute{color:oklch(0.78 0.035 195)}
.tabs{display:flex;justify-content:center;gap:4px 36px;flex-wrap:wrap;margin-bottom:36px}
.tabs button{all:unset;box-sizing:border-box;cursor:pointer;white-space:nowrap;min-height:44px;padding:10px 0 8px;font:500 18px/1.2 var(--f-d);letter-spacing:-.01em;color:oklch(0.78 0.035 195);border-bottom:2px solid transparent;transition:color .3s var(--ease),border-color .5s var(--ease)}
.tabs button[aria-selected=true]{color:#fff;border-color:var(--pulse)}
.tabs button:hover{color:#fff}
@media (min-width:700px){.tabs button{font-size:20px}}
.panels{display:grid}
.panel{grid-area:1/1;opacity:0;transition:opacity .7s var(--ease)}
.panel.on{opacity:1}
.panel img{width:100%;border-radius:6px;box-shadow:0 0 0 1px var(--deep-line)}
.panel figcaption{margin-top:22px;text-align:center;color:var(--deep-2);font-size:16px}
@media (max-width:699px){.tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gx));padding-inline:var(--gx);gap:28px}.tabs::-webkit-scrollbar{display:none}}

/* building: photo rows with a HealthOS moment floating on each */
.row{display:grid;gap:24px;align-items:center;margin-top:clamp(56px,8vw,120px)}
.row:first-of-type{margin-top:0}
.row-ph{position:relative;display:block;overflow:hidden;aspect-ratio:4/3;border-radius:6px}
.row-ph picture{display:block;height:100%}
.row-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.js .row-ph img{transform:scale(1.06);transition:transform 1.6s var(--ease)}
.js .row.in .row-ph img{transform:none}
.row-tx p{margin-top:14px;color:var(--ink-2);max-width:30em;text-wrap:pretty}
@media (min-width:1100px){
  .row{grid-template-columns:7fr 5fr;gap:clamp(48px,6vw,96px)}
  .row.flip{grid-template-columns:5fr 7fr}
  .row.flip .row-ph{order:2}
}
.mods{margin-top:clamp(80px,10vw,144px);padding-top:40px;border-top:1px solid var(--line);display:grid;gap:24px}
.mods ul{columns:2;column-gap:24px;color:var(--ink-2);font-size:16px}
.mods li{break-inside:avoid;padding:7px 0}
@media (min-width:900px){.mods{grid-template-columns:4fr 8fr;gap:48px}.mods ul{columns:3}}

/* close: dark photo band, the one CTA again */
.close{position:relative;display:grid;background:var(--night);color:#fff;overflow:clip}
.close .mute{color:oklch(0.72 0.02 240)}
.close-ph{grid-area:1/1;position:relative;overflow:hidden}
.close-ph img{width:100%;height:100%;object-fit:cover;object-position:40% 25%;min-height:520px}
.close::after{content:"";grid-area:1/1;pointer-events:none;background:linear-gradient(to top,oklch(0.17 0.03 250 / .9) 0%,oklch(0.17 0.03 250 / .55) 45%,oklch(0.17 0.03 250 / .1) 80%)}
.close-in{grid-area:1/1;z-index:1;align-self:end;width:100%;max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--sec) var(--gx) clamp(56px,8vw,112px)}
.close-in h2{max-width:14em}
.close-in p{margin-top:20px;max-width:32em;color:oklch(0.92 0.01 220)}
.close-in .btn{margin-top:32px}
@media (min-width:700px){
  .close{grid-template-columns:1fr 1fr;min-height:min(92svh,860px)}
  .close-ph{grid-area:1/2/2/3}
  .close::after{grid-area:1/1/2/3;background:linear-gradient(to right,var(--night) 0%,var(--night) 46%,oklch(0.17 0.03 250 / .2) 70%,oklch(0.17 0.03 250 / 0) 100%)}
  .close-in{grid-area:1/1/2/3;align-self:center;padding-block:clamp(80px,10vw,140px)}
  .close-in>*{max-width:min(30rem,44vw)}
  .close-ph img{min-height:0}
}
@supports (animation-timeline:view()){
  .close-ph img{animation:close-par linear both;animation-timeline:view();animation-range:cover}
  @keyframes close-par{from{transform:scale(1.12) translateY(-3%)}to{transform:scale(1.12) translateY(3%)}}
}

/* footer */
.foot{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:32px var(--gx) 40px;display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:space-between;align-items:center;font-size:14px;color:var(--ink-3)}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.foot a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-2);text-underline-offset:4px}
.foot a:hover{color:var(--ink)}

@media (max-width:699px){
  .hero{background:var(--night)}
  .hero-ph{inset:0 0 33% 0}
  .hero-ph img{object-position:50% 30%;transform-origin:50% 30%}
  .hero::after{background:linear-gradient(to top,var(--night) 0%,var(--night) 33%,oklch(0.17 0.03 250 / .55) 44%,oklch(0.17 0.03 250 / 0) 62%)}
  .shot picture,.panel picture{display:block}
  .close-ph img{aspect-ratio:4/5;min-height:0;height:auto}
  .close::after{background:linear-gradient(to top,var(--night) 0%,oklch(0.17 0.03 250 / 0) 28%)}
  .close-in{grid-area:2/1;padding-top:8px}
  .chip-row{padding:10px 14px 10px 10px;gap:10px;border-radius:12px}
  .chip-tx b{font-size:14px}.chip-tx small,.chip-t{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important}
  .js .rv,.js .chip-row,.js .row-ph img{transform:none;opacity:1}
}

/* v6b: storyboard (Mercury pattern: one framed scene, steps below that progress on their own),
   the scroll-push into the medical director's laptop, the pharmacy feature, and the glass HealthOS cards.
   Motion values follow Alliance: curve .22,1,.36,1, rise 14px over 1.2s, glass blur 26px; slides swap with a 4px blur over .6s. */

/* hero: the outage corridor, the nurse sits right of centre */
.hero-ph img{object-position:58% 45%}
@media (max-width:699px){.hero-ph img{object-position:50% 30%}}

/* ---------- glass HealthOS card (one per frame, always bottom-left) ---------- */
.card{position:absolute;left:clamp(16px,2.4vw,32px);bottom:clamp(16px,2.4vw,32px);z-index:2;width:min(340px,calc(100% - 32px));
  display:flex;flex-direction:column;gap:12px;padding:16px 18px;border-radius:16px;color:var(--ink);
  background:oklch(1 0 0 / .9);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);
  box-shadow:0 0 0 1px oklch(1 0 0 / .55) inset,0 18px 50px -14px oklch(0.15 0.03 250 / .4);
  font:400 14px/1.35 var(--f-d)}
.card b{font-weight:600}.card small{display:block;font-size:13px;color:var(--ink-2)}
.card-top{display:flex;align-items:center;justify-content:space-between}
.card-top time{font:500 18px/1 var(--f-d);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.card-h{font-size:16px}
.card .cf{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#145A40}
.card .cf::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.card .cf.off{color:#7A4205}
.bdg{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px 0 10px;border-radius:999px;border:1px solid #BFE3D2;background:#E7F5EE;color:#19674A;font:600 13px/1 var(--f-d);white-space:nowrap}
.bdg .d{width:8px;height:8px;border-radius:50%;background:#1E9E68}
.bdg[data-net=offline]{background:#FDF3E6;border-color:#F2D2A6;color:#8A4B06}.bdg[data-net=offline] .d{background:#D97706}
.bdg[data-net=sync]{background:#EDF0FD;border-color:#C9D0F4;color:#3B4FB8}
.bdg .sp{width:11px;height:11px;border-radius:50%;border:1.7px solid currentColor;border-right-color:transparent;animation:sb-spin .8s linear infinite}
@keyframes sb-spin{to{transform:rotate(360deg)}}
.qc{position:relative;display:grid;grid-template-columns:40px 1fr auto;align-items:center;column-gap:12px;padding:10px 12px 10px 14px;background:#fff;border:1px solid #C9CDEA;border-radius:12px;overflow:hidden}
.qc::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#4351AF}
.qc .n{width:40px;height:40px;border-radius:9px;background:#4351AF;color:#fff;display:grid;place-items:center;font:600 13px/1 var(--f-d)}
.qc .id b{display:block;font-size:15px}
.qc .st{font-style:normal;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:#E9EAF5;color:#36409A}
.vit{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.vit span{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:oklch(0.97 0.004 250);font-size:12.5px;color:var(--ink-2)}
.vit b{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}
.amt{display:flex;align-items:center;justify-content:space-between}.amt b{font-size:24px;letter-spacing:-.01em}
.pay{font-style:normal;font-size:13px;font-weight:600;padding:4px 12px;border-radius:999px;background:#DFF3EA;color:#19674A}
.sync b{display:block;font-size:16px;margin-bottom:10px}
.sync .bar{display:block;position:relative;height:6px;border-radius:9px;background:oklch(0.92 0.01 250);overflow:hidden}
.sync .bar i{position:absolute;inset:0;width:0;background:#1E9E68;border-radius:9px}
.sb-slide.on .sync .bar i{width:100%;transition:width 2.4s .5s var(--ease)}

/* ---------- storyboard ---------- */
.story{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--sec) var(--gx)}
.sb-frame{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--night);isolation:isolate}
.sb-slide{position:absolute;inset:0;margin:0;opacity:0;filter:blur(4px);transition:opacity .6s var(--ease),filter .6s var(--ease)}
.sb-slide.on{opacity:1;filter:none;z-index:1}
.sb-slide picture,.sb-slide img{display:block;width:100%;height:100%}
.sb-slide img{object-fit:cover;transform:scale(1.04);transition:transform 7s linear}
.sb-slide.on img{transform:none}
.sb-slide[data-i="0"] img{object-position:60% 50%}
.sb-slide[data-i="1"] img{object-position:70% 40%}
.sb-slide[data-i="2"] img{object-position:40% 45%}
.sb-slide[data-i="3"] img{object-position:50% 35%}
.sb-slide .card{opacity:0;transform:translateY(14px);transition:opacity 1s .35s var(--ease),transform 1.2s .35s var(--ease)}
.sb-slide.on .card{opacity:1;transform:none}
.sb-pause{position:absolute;right:16px;top:16px;z-index:3;width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:oklch(0.15 0.03 250 / .5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff}
.sb-pause svg{width:16px;height:16px;fill:currentColor}
.sb-pause.paused svg{display:none}.sb-pause.paused::before{content:"";border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;margin-left:3px}
.sb-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0 24px;margin-top:24px}
.sb-steps button{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;flex-direction:column;gap:4px;width:100%;padding:18px 0 4px;border-top:2px solid var(--line);color:var(--ink-3);transition:color .4s var(--ease)}
.sb-steps button::before{content:"";position:absolute;left:0;top:-2px;height:2px;width:0;background:var(--teal)}
.sb-steps button[aria-pressed=true]{color:var(--ink)}
.sb-steps button[aria-pressed=true]::before{animation:sb-fill var(--dur,6.5s) linear forwards}
.sb.paused .sb-steps button[aria-pressed=true]::before{animation-play-state:paused}
.sb.still .sb-steps button[aria-pressed=true]::before{animation:none;width:100%}
@keyframes sb-fill{to{width:100%}}
.sb-steps time{font:500 15px/1 var(--f-d);font-variant-numeric:tabular-nums}
.sb-steps button[aria-pressed=true] time{color:var(--teal)}
.sb-steps b{font:500 18px/1.3 var(--f-d);letter-spacing:-.01em;margin-top:6px}
.sb-steps span{font-size:15px;line-height:1.45}
.sb-steps button:focus-visible{outline-offset:4px}
@media (max-width:899px){
  .sb-frame{aspect-ratio:4/5}
  .sb-steps{grid-template-columns:1fr;gap:0;margin-top:8px}
  .sb-steps button{padding:14px 0;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px;border-top-width:1px}
  .sb-steps b{margin:0;font-size:17px}
  .sb-steps span{flex-basis:100%;display:none}
  .sb-steps button[aria-pressed=true] span{display:block}
}

/* ---------- push into the laptop ---------- */
.push{position:relative;height:280vh;background:var(--bg)}
.push-stick{position:sticky;top:0;height:100svh;overflow:hidden}
.push-ph{position:absolute;inset:0;overflow:hidden}
.push-ph img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;will-change:transform}
.push-veil{position:absolute;inset:0;background:var(--bg);opacity:0;pointer-events:none}
.push-copy{position:absolute;right:var(--gx);top:clamp(110px,17vh,170px);z-index:2;width:min(30rem,40vw);color:var(--ink)}
.push-end{position:absolute;left:0;right:0;top:calc(72px + 3vh);z-index:4;text-align:center;opacity:0;padding:0 var(--gx)}
.push-end h3{font:460 clamp(24px,1rem + 1.4vw,34px)/1.15 var(--f-d);letter-spacing:-.02em}
.push-end p{margin-top:8px;color:var(--ink-2);font-size:16px}
.push-t{margin:0 0 10px;font:500 20px/1 var(--f-d);color:var(--teal);font-variant-numeric:tabular-nums}
.push-copy p:last-child{margin-top:16px;color:var(--ink-2);max-width:26em}
.push-dash{position:absolute;left:50%;top:calc(50% + 60px);z-index:3;width:min(1100px,86vw,calc((100svh - 260px) * 1.6));margin:0;transform:translate(-50%,-50%) scale(.94);opacity:0;
  border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px var(--line),0 40px 90px -30px oklch(0.22 0.035 250 / .35)}
.push-dash img{display:block;width:100%;height:auto}
/* no sticky push on phones or with reduced motion: the photo, then the dashboard */
@media (max-width:899px),(prefers-reduced-motion:reduce){
  .push{height:auto;padding:var(--sec) 0 0}
  .push-stick{position:relative;height:auto;overflow:visible;display:flex;flex-direction:column}
  .push-copy{position:static;order:1;padding:0 var(--gx);width:auto;max-width:none;margin-bottom:32px}
  .push-ph{position:relative;order:2;aspect-ratio:4/5;max-height:80vh}
  .push-ph img{position:static;width:100%;height:100%;object-fit:cover;object-position:70% 60%;transform:none!important}
  .push-veil,.push-end{display:none}
  .push-dash{position:relative;order:3;left:auto;top:auto;transform:none!important;opacity:1!important;width:auto;margin:-12% var(--gx) 0}
}

/* ---------- pharmacy feature ---------- */
.feat{display:grid;gap:28px;align-items:center}
.feat-ph{position:relative;aspect-ratio:4/3;border-radius:8px;overflow:hidden}
.feat-ph picture,.feat-ph img{display:block;width:100%;height:100%;object-fit:cover}
.feat-tx p{margin-top:14px;color:var(--ink-2);max-width:30em;text-wrap:pretty}
.card-in{opacity:0;transform:translateY(14px);transition:opacity 1.2s .4s var(--ease),transform 1.2s .4s var(--ease)}
.feat.in .card-in{opacity:1;transform:none}
.no-js .card-in{opacity:1;transform:none}
@media (min-width:1100px){.feat{grid-template-columns:7fr 5fr;gap:clamp(48px,6vw,96px)}}

/* close: reception, dark band */
.close-ph img{object-position:30% 50%}

@media (prefers-reduced-motion:reduce){
  .sb-slide,.sb-slide img,.sb-slide .card,.card-in{transition:none!important}
}

/* clips sit exactly over their photo and fade in once playing */
[data-video]:not(picture){position:relative}
.clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s var(--ease);pointer-events:none}
.clip.on{opacity:1}
.hero .clip{object-position:58% 45%}
.sb-slide[data-i="0"] .clip{object-position:60% 50%}.sb-slide[data-i="1"] .clip{object-position:70% 40%}
.sb-slide[data-i="2"] .clip{object-position:40% 45%}.sb-slide[data-i="3"] .clip{object-position:50% 35%}
@media (max-width:699px){.hero .clip{inset:0 0 auto 0;height:67%;object-position:68% 30%}}

/* ================= v7 ================= */
/* Mercury's voice: lighter display weights, generous size steps, a hair of positive tracking on text */
body{font-weight:430;letter-spacing:.005em}
h1{font-weight:440;letter-spacing:-.022em}
h2{font-weight:450;letter-spacing:-.018em}
h3{font-weight:500;letter-spacing:-.01em}
.btn{font-weight:500;letter-spacing:0}
.lede,.head p{letter-spacing:.005em}

/* nav: wordmark, four section links, WhatsApp and the one button */
.nav-links{display:none;gap:28px;margin-left:auto;margin-right:28px}
.nav-links a,.nav-wa{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:450;text-decoration:none;opacity:.86;transition:opacity .25s}
.nav-links a:hover,.nav-wa:hover{opacity:1}
.nav-cta{display:flex;align-items:center;gap:20px}
.nav-wa{display:none}
.btn-nav{background:#fff;color:var(--ink)}
.nav.solid .btn-nav{background:var(--ink);color:#fff}
@media (min-width:1024px){.nav-links{display:flex}.nav-wa{display:inline-flex}}

/* hero: two actions, button + quiet link */
.acts{display:flex;align-items:center;flex-wrap:wrap;gap:16px 28px}
.hero .acts{margin-top:32px;animation:rise 1.2s .95s var(--ease) both}
.hero .acts .btn{margin:0;animation:none}
.link-light{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-weight:450;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;opacity:.92}
.link-light:hover{opacity:1;text-decoration-thickness:2px}
.lede{max-width:34em}

/* problem: one large left-aligned statement, then the four tools in a hairline row */
.problem .big{font-size:clamp(32px,1.2rem + 3vw,58px);line-height:1.08;max-width:17em;text-wrap:balance}

/* storyboard: five steps now, captions only */
.sb-steps{grid-template-columns:repeat(5,1fr)}
.sb-steps b{margin-top:0}
.sb-slide[data-i="2"] img{object-position:55% 45%}
.sb-slide[data-i="4"] img,.sb-slide[data-i="4"] .clip{object-position:50% 35%}
.sb-slide[data-i="3"] .clip{object-position:40% 45%}
.row2{display:flex;align-items:center;justify-content:space-between;gap:12px}
.row2>span{font-size:15px;font-weight:500}
.row2 small{font-weight:430}
.pay{white-space:nowrap}
@media (max-width:899px){.sb-steps{grid-template-columns:1fr}}

/* where the money goes: the one dark band, a list of quotes and one answer */
.leaks{background:var(--night);color:#fff}
.leaks-in{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--sec) var(--gx)}
.head.left{text-align:left;margin-left:0;max-width:48rem}
.head.left p{margin-left:0}
.leaks .mute{color:oklch(0.7 0.02 240)}
.leaks .head p{color:oklch(0.86 0.015 230)}
.lx{display:grid;gap:32px}
.lx-list{counter-reset:lx}
.lx-list button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:18px;width:100%;min-height:56px;padding:16px 0;border-top:1px solid oklch(1 0 0 / .14);
  font-size:clamp(18px,1rem + .5vw,22px);line-height:1.35;letter-spacing:-.005em;color:oklch(0.78 0.02 240);transition:color .3s var(--ease)}
.lx-list button::before{counter-increment:lx;content:counter(lx,decimal-leading-zero);flex:none;width:28px;padding-top:4px;font-size:13px;font-variant-numeric:tabular-nums;color:oklch(0.68 0.02 240)}
.lx-list li:last-child button{border-bottom:1px solid oklch(1 0 0 / .14)}
.lx-list button:hover{color:#fff}
.lx-list button[aria-selected=true]{color:#fff}
.lx-list button[aria-selected=true]::before{color:var(--pulse)}
.lx-list button:focus-visible{outline-offset:2px}
.lx-a{align-self:start;padding:28px;border-radius:12px;background:oklch(1 0 0 / .06);box-shadow:0 0 0 1px oklch(1 0 0 / .12) inset}
.lx-where{font-size:14px;color:var(--pulse)}
.lx-ans{margin-top:14px;font-size:clamp(20px,1rem + .8vw,26px);line-height:1.35;letter-spacing:-.01em;color:#fff;text-wrap:pretty}
.lx-a.swap .lx-ans,.lx-a.swap .lx-where{animation:lx-in .6s var(--ease)}
@keyframes lx-in{from{opacity:0;transform:translateY(8px);filter:blur(3px)}}
@media (min-width:1000px){.lx{grid-template-columns:7fr 5fr;gap:56px}.lx-a{position:sticky;top:110px}}

/* outages */
.out-grid{display:grid;gap:40px}
.out-lede{margin-top:24px;color:var(--ink-2);max-width:34em}
.out-hub{margin-top:18px;max-width:34em;padding-top:18px;border-top:1px solid var(--line);color:var(--ink)}
.out-lists{display:grid;gap:28px;align-content:start}
.out-lists h3{font-size:16px;font-weight:500;margin-bottom:10px}
.out-lists ul{border-top:1px solid var(--line)}
.out-lists li{padding:11px 0;border-bottom:1px solid var(--line);font-size:18px}
.out-lists .dim li{color:var(--ink-3)}
.fine{font-size:14px;color:var(--ink-3)}
@media (min-width:1000px){.out-grid{grid-template-columns:7fr 5fr;gap:clamp(48px,6vw,96px)}.out-lists{grid-template-columns:1fr 1fr}.out-lists .fine{grid-column:1/-1}}

/* teams */
.tm-tabs{display:flex;flex-wrap:wrap;gap:6px 26px;border-bottom:1px solid var(--line);margin-bottom:36px}
.tm-tabs button{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:10px 0;margin-bottom:-1px;font-size:17px;font-weight:450;color:var(--ink-3);border-bottom:2px solid transparent;transition:color .25s,border-color .4s var(--ease)}
.tm-tabs button[aria-selected=true]{color:var(--ink);border-color:var(--teal)}
.tm-tabs button:hover{color:var(--ink)}
.tm-p{display:grid;gap:28px;align-items:center}
.tm-tx h3{font-size:clamp(24px,1rem + 1.4vw,36px);line-height:1.15;font-weight:450;letter-spacing:-.015em;max-width:16em}
.tm-tx p{margin-top:14px;color:var(--ink-2);max-width:32em}
.tm-tx ul{margin-top:24px;border-top:1px solid var(--line)}
.tm-tx li{padding:12px 0;border-bottom:1px solid var(--line)}
.tm-ph{aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:var(--line)}
.tm-ph img{width:100%;height:100%;object-fit:cover;transition:opacity .5s var(--ease)}
.tm-p.swap .tm-tx{animation:lx-in .6s var(--ease)}
@media (min-width:1000px){.tm-p{grid-template-columns:6fr 5fr;gap:clamp(48px,6vw,96px)}}
@media (max-width:699px){.tm-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gx));padding-inline:var(--gx)}.tm-tabs::-webkit-scrollbar{display:none}.tm-tabs button{white-space:nowrap}}

/* rollout: a real four-step sequence, so the numbers carry meaning */
.steps4{display:grid;gap:0;border-top:1px solid var(--line)}
.steps4 li{display:grid;grid-template-columns:44px 1fr;column-gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}
.sn{grid-row:1/3;font-size:15px;font-variant-numeric:tabular-nums;color:var(--teal);padding-top:4px}
.steps4 h3{font-size:20px}
.steps4 p{margin-top:6px;color:var(--ink-2);font-size:16px}
.co{margin-top:32px;font-size:15px;color:var(--ink-3)}
.co b{color:var(--ink);font-weight:500}
.co a{color:var(--ink-2)}
@media (min-width:1000px){.steps4{grid-template-columns:repeat(4,1fr);border-top:0}.steps4 li{grid-template-columns:1fr;border-bottom:0;border-top:1px solid var(--line);padding:22px 28px 0 0}.sn{grid-row:auto;margin-bottom:14px}}

/* config finder: the committed teal band */
.config{background:var(--deep);color:#fff}
.cfg-in{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--sec) var(--gx);display:grid;gap:40px}
.cfg-q h2{margin-bottom:28px}
.config fieldset{border:0;margin:0 0 22px;padding:0}
.config legend{padding:0;margin-bottom:10px;font-size:15px;color:var(--deep-2)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:10px 18px;border-radius:999px;font-size:16px;font-weight:450;color:#fff;box-shadow:0 0 0 1px oklch(1 0 0 / .3) inset;transition:background .25s,color .25s,box-shadow .25s}
.chips button:hover{box-shadow:0 0 0 1px oklch(1 0 0 / .7) inset}
.chips button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:none}
.chips button:focus-visible{outline:3px solid var(--pulse);outline-offset:2px}
.cfg-s{align-self:start;padding:32px;border-radius:14px;background:oklch(1 0 0 / .07);box-shadow:0 0 0 1px oklch(1 0 0 / .14) inset}
.cfg-k{font-size:14px;color:var(--pulse)}
.cfg-s h3{margin-top:10px;font-size:clamp(28px,1rem + 1.6vw,40px);font-weight:450;letter-spacing:-.02em}
.cfg-s p[data-k=why]{margin-top:14px;font-size:18px;color:#fff;max-width:30em}
.cfg-s .fine{margin-top:14px;color:var(--deep-2)}
.cfg-s .acts{margin-top:26px}
.cfg-s.swap h3,.cfg-s.swap p[data-k=why]{animation:lx-in .5s var(--ease)}
@media (min-width:1000px){.cfg-in{grid-template-columns:6fr 5fr;gap:clamp(48px,6vw,96px)}}

/* close */
.close .acts{margin-top:32px}
.close-in .btn{margin-top:0}

/* footer */
.foot{display:block;padding:56px var(--gx) 36px}
.foot-top{display:grid;gap:32px;padding-bottom:36px;border-bottom:1px solid var(--line)}
.foot .wm{font-size:22px;color:var(--ink)}.foot .wm b{color:var(--teal)}
.foot-brand p{margin-top:12px;max-width:24em;color:var(--ink-2);font-size:15px}
.foot h3{font-size:14px;font-weight:500;color:var(--ink);margin-bottom:6px}
.foot nav,.foot-talk{display:flex;flex-direction:column;align-items:flex-start}
.foot-talk p{margin-top:8px;font-size:14px;color:var(--ink-3)}
.foot-legal{margin-top:24px;font-size:13px;color:var(--ink-3)}
.foot-legal a{display:inline;min-height:0;color:var(--ink-3)}
@media (min-width:900px){.foot-top{grid-template-columns:2fr 1fr 1fr 1.4fr}}
/* inline links in small print still get a 44px tap area */
.co a,.foot-legal a{display:inline-block;padding:12px 2px;margin:-12px 0}

/* Amaka's story: eight numbered steps (a real sequence), one caption line under them */
.sb8{grid-template-columns:repeat(8,1fr);gap:0 14px}
.sb8 button{flex-direction:row;align-items:baseline;gap:8px;padding:16px 0 4px}
.sb8 b{font-size:16px;margin:0}
.sn2{font-size:13px;font-variant-numeric:tabular-nums;color:var(--ink-3)}
.sb8 button[aria-pressed=true] .sn2{color:var(--teal)}
.sb-cap{margin-top:18px;font-size:clamp(18px,1rem + .4vw,21px);color:var(--ink);max-width:40em;min-height:2.9em;text-wrap:pretty}
.pay.crit{background:#FDE8E8;color:#A5312B}
.sb-slide[data-i="2"] img,.sb-slide[data-i="2"] .clip{object-position:50% 40%}
.sb-slide[data-i="3"] img,.sb-slide[data-i="3"] .clip{object-position:45% 45%}
.sb-slide[data-i="4"] img,.sb-slide[data-i="4"] .clip{object-position:50% 35%}
.sb-slide[data-i="6"] img,.sb-slide[data-i="6"] .clip{object-position:55% 45%}
.sb-slide[data-i="5"] img,.sb-slide[data-i="5"] .clip{object-position:45% 45%}
.sb-slide[data-i="7"] img,.sb-slide[data-i="7"] .clip{object-position:50% 50%}
@media (max-width:899px){
  .sb8{grid-template-columns:repeat(4,1fr);gap:0 12px}
  .sb8 button{padding:12px 0 2px;border-top-width:2px}
  .sb8 b{font-size:14px}
  .sb8 span:not(.sn2){display:none}
}
@media (max-width:499px){.sb8 b{display:none}.sb8 button{justify-content:center}.sn2{font-size:15px}}
@media (max-width:899px){
  .sb-frame{aspect-ratio:1/1}
  .sb-slide .card{left:10px;right:10px;bottom:10px;width:auto;padding:10px 12px;gap:6px;border-radius:12px}
  .sb-slide .card .cf,.sb-slide .card .row2+.row2{display:none}
  .sb-slide .card .card-h{font-size:14px}
  .sb-slide .card .qc{padding:6px 8px 6px 10px}.sb-slide .card .qc .n{width:32px;height:32px}
  .sb-slide .card .vit span{padding:5px 8px}.sb-slide .card .amt b{font-size:19px}
  .sb8 button{min-height:44px;padding:0;border-top-width:3px}
  .sb-steps.sb8 button .sn2,.sb-steps.sb8 button b{display:none}
  .sb-steps.sb8{grid-template-columns:repeat(8,1fr);gap:0 6px}
  .sb-cap{margin-top:4px}
  .sb-cap b{display:block;font-size:14px;font-weight:500;color:var(--teal);margin-bottom:4px}
  .sb-slide[data-i="0"] img,.sb-slide[data-i="0"] .clip{object-position:78% 40%}
  .sb-slide[data-i="2"] img,.sb-slide[data-i="2"] .clip{object-position:30% 40%}
  .sb-slide[data-i="3"] img,.sb-slide[data-i="3"] .clip{object-position:30% 40%}
  .sb-slide[data-i="6"] img,.sb-slide[data-i="6"] .clip{object-position:70% 40%}
  .sb-slide[data-i="5"] img,.sb-slide[data-i="5"] .clip{object-position:60% 40%}
}
@media (min-width:900px){.sb-cap b{font-weight:500;color:var(--teal);margin-right:10px}}
.sb8 button{min-height:48px}
@media (max-width:899px){.sb-cap{min-height:6.2em}}

/* storyboard motion: dissolve (no blur pop), and a slow push-in that runs across the whole step,
   on the still and the clip alike, so nothing ever sits frozen */
.sb-slide{transition:opacity 1s var(--ease);filter:none}
.sb-slide.on{filter:none}
.sb-slide img,.sb-slide .clip{transform:scale(1.0);transition:none;will-change:transform}
.sb-slide.go img,.sb-slide.go .clip{animation:sb-push var(--d,7000ms) linear both}
@keyframes sb-push{from{transform:scale(1)}to{transform:scale(1.06)}}
.sb-slide .clip{transition:opacity .5s var(--ease)}
@media (prefers-reduced-motion:reduce){.sb-slide.go img,.sb-slide.go .clip{animation:none}}

/* ===== loop piece 1: hero pill, proof strip, problem object ===== */
h1{font-size:clamp(38px,1.4rem + 3.1vw,64px);line-height:1.05;max-width:12em}
.hero .lede{max-width:31em}

@media (max-width:699px){
  .hero-in{text-align:center;padding-bottom:32px}
  h1{font-size:36px;margin:0 auto;max-width:9em}
  .hero .lede{font-size:16px;margin:16px auto 0}
  .hero .acts{flex-direction:column;align-items:stretch;gap:4px;margin-top:24px}
  .hero .acts .btn{width:100%;min-height:52px}
  .link-light{justify-content:center}
  
  
}

/* proof strip: four true product facts */
.strip{padding:0;border-bottom:1px solid var(--line)}
.facts{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:0 var(--gx);display:grid;grid-template-columns:repeat(2,1fr)}
.facts li{padding:28px 16px 28px 0;border-bottom:1px solid var(--line)}
.facts li:nth-child(even){padding-left:16px;border-left:1px solid var(--line)}
.facts li:nth-last-child(-n+2){border-bottom:0}
.facts b{display:block;font:350 clamp(40px,2rem + 2vw,64px)/1 var(--f-d);letter-spacing:-.03em}
.facts span{display:block;margin-top:10px;font-size:16px;line-height:1.35;color:var(--ink-2);max-width:14em}
@media (min-width:900px){
  .facts{grid-template-columns:repeat(4,1fr)}
  .facts li,.facts li:nth-child(even){padding:44px 32px 44px 32px;border-bottom:0;border-left:1px solid var(--line)}
  .facts li:first-child{padding-left:0;border-left:0}
  .facts span{font-size:18px}
}

/* problem: statement, then one dominant object */
.sec.problem{padding-top:clamp(56px,5vw,72px);padding-bottom:clamp(56px,5vw,72px)}
.problem .head{max-width:52rem;margin-bottom:clamp(36px,4.5vw,56px)}
.problem .big{font-size:clamp(28px,1.2rem + 2.4vw,46px);line-height:1.1;max-width:none}
.problem .head p{font-size:clamp(16px,1rem + .3vw,20px)}

/* the lines draw, then the record fills in (only with JS; reduced motion shows the finished object) */

/* ===== loop piece 1, round 2 ===== */
/* four sizes per viewport: display, lede-1, body/label, small */
.nav-links a,.nav-wa{font-size:14px}
.btn-nav{font-size:14px}
.nav .wm{font-size:18px}
h1{font-size:clamp(38px,1.4rem + 2.6vw,56px)}

.hero .lede{font-size:18px;max-width:34em}
@media (min-width:700px){.hero .lede{font-size:18px}}

.facts span,.facts li{font-size:18px}

.problem .head p{font-size:18px}
@media (max-width:699px){
  
  .hero .lede{font-size:16px}
  
  .facts span,.problem .head p{font-size:16px}
}

/* hero: the photo sits right of the text so the headline never crosses the corridor figures */
@media (min-width:900px){
  .hero-ph{left:26%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%);mask-image:linear-gradient(90deg,transparent,#000 22%)}
  .hero-ph img,.hero .clip{object-position:50% 45%}
  .hero::after{background:linear-gradient(to top,oklch(0.15 0.03 250 / .85) 0%,oklch(0.15 0.03 250 / .35) 30%,oklch(0.15 0.03 250 / 0) 55%)}
  
}

/* proof strip */
.facts b{font-weight:300}

/* problem */
.sec.problem{padding-top:clamp(104px,9vw,128px);padding-bottom:clamp(56px,5vw,72px);scroll-margin-top:0}

/* round 2b */
@media (min-width:900px){
  h1{font-size:clamp(44px,1.4rem + 2vw,52px)}
  .hero-ph{left:36%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%);mask-image:linear-gradient(90deg,transparent,#000 18%)}
  .hero-ph img,.hero .clip{object-position:30% 45%}
  .hero .lede{max-width:26em}
  .sec.problem{padding-top:104px;padding-bottom:56px}
  .problem .head{margin-bottom:44px}
  
  
  
  
}
@media (min-width:900px){.hero-ph{left:40%}.hero-ph img,.hero .clip{object-position:22% 45%}}

/* round 3: calm hero */
.mute-h{color:oklch(1 0 0 / .72)}
.hero .lede{font-size:18px;max-width:24em;margin-top:20px;color:oklch(1 0 0 / .9)}
.hero .acts{margin-top:28px}
@media (min-width:900px){
  h1{font-size:clamp(52px,2rem + 2.4vw,68px);max-width:10em;line-height:1.04}
  .hero-in{padding-bottom:clamp(64px,11vh,120px)}
}
@media (max-width:699px){
  h1{font-size:38px;max-width:8em}
  .hero .lede{font-size:16px;margin-top:16px}
  .hero .acts{margin-top:24px}
}

@media (min-width:900px){h1{font-size:clamp(48px,1.6rem + 2vw,60px)}}
@media (max-width:699px){h1{font-size:36px;max-width:none}}

/* ===== round 4: one scale (desktop 52/20/16/14, phone 34/18/16/14), one object ===== */
:root{--t1:34px;--t2:18px;--t3:16px;--t4:14px}
@media (min-width:900px){:root{--t1:52px;--t2:20px}}
h1,h2,.problem .big{font-size:var(--t1);line-height:1.08}
.facts b{font-size:var(--t1);font-weight:300}
.facts span,.facts li{font-size:var(--t3)}
.hero .lede,.problem .head p{font-size:var(--t2)}
.hero .lede{max-width:25em;color:oklch(1 0 0 / .95)}
.mute-h{color:oklch(1 0 0 / .85)}
.btn,.btn-light,.link-light{font-size:var(--t3)}
.nav .wm{font-size:var(--t3)}
.nav-links a,.nav-wa,.btn-nav{font-size:var(--t4)}
@media (min-width:700px){.btn-light{font-size:var(--t3)}.lede{font-size:var(--t2)}}
@media (min-width:900px){h1{font-size:var(--t1)}}
@media (max-width:699px){h1{font-size:var(--t1)}.hero .lede{font-size:var(--t2)}}
/* hero scrim: stronger at the left and bottom, faces stay clear */
.hero::after{background:linear-gradient(to top,oklch(0.14 0.03 250 / .92) 0%,oklch(0.14 0.03 250 / .6) 26%,oklch(0.14 0.03 250 / 0) 52%),linear-gradient(to right,oklch(0.14 0.03 250 / .62) 0%,oklch(0.14 0.03 250 / .3) 30%,oklch(0.14 0.03 250 / 0) 50%)}
@media (max-width:699px){.hero::after{background:linear-gradient(to top,var(--night) 0%,var(--night) 33%,oklch(0.17 0.03 250 / .55) 44%,oklch(0.17 0.03 250 / 0) 62%)}}

/* the record: four old tools on its top edge fold into it */

/* revealed as one unit; then the tabs slide in behind the card */

.sec.problem{padding-top:clamp(96px,8vw,112px);padding-bottom:56px}
.problem .head{margin-bottom:32px}

/* ===== round 5: photo-led problem, quiet strip, clean hero nav and scrim ===== */
/* nav over the hero: clean, transparent, soft top gradient */
.nav{background:linear-gradient(to bottom,oklch(0 0 0 / .35),oklch(0 0 0 / 0));-webkit-backdrop-filter:none;backdrop-filter:none}
.nav.solid{background:oklch(0.985 0.004 205 / .82);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.nav-links a,.nav-wa{opacity:.9}
/* hero scrim: neutral near-black */
.hero::after{background:linear-gradient(to top,oklch(0.1 0 0 / .88) 0%,oklch(0.1 0 0 / .55) 32%,oklch(0.1 0 0 / 0) 64%),linear-gradient(to right,oklch(0.1 0 0 / .55) 0%,oklch(0.1 0 0 / .25) 30%,oklch(0.1 0 0 / 0) 50%)}
.hero .lede{color:#fff;font-size:var(--t2)}
@media (max-width:699px){
  .hero{background:oklch(0.12 0 0)}
  .hero::after{background:linear-gradient(to top,oklch(0.12 0 0) 0%,oklch(0.12 0 0) 33%,oklch(0.12 0 0 / .55) 44%,oklch(0.12 0 0 / 0) 62%)}
}
/* strip: spacing only */
.strip{border-bottom:0}
.facts li,.facts li:nth-child(even),.facts li:first-child{border:0}
.facts li{padding:28px 16px 12px 0}
.facts li:nth-child(even){padding-left:16px}
@media (min-width:900px){.facts li,.facts li:nth-child(even){padding:48px 32px 32px 32px}.facts li:first-child{padding-left:0}}
.story .head p{font-size:var(--t2)}

/* problem: statement, then one photograph with two glass pills */
.sec.problem{padding-top:clamp(88px,8vw,112px);padding-bottom:56px}
.problem .head{margin-bottom:28px}
@media (max-width:699px){.sec.problem{padding-top:72px}.problem .head{margin-bottom:24px}}

@media (min-width:900px){.sec.problem{padding-top:72px;padding-bottom:48px}.problem .head{margin-bottom:24px}}

/* ===== round 6 ===== */
/* nav: opaque off-white after the hero, transparent over it */
.nav.solid{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 1px 0 var(--line)}
.nav.solid .wm b{color:var(--ink)}
/* hero scrim: neutral, darkest at the bottom, ends at ~45% of the frame */
.hero::after{background:linear-gradient(to top,oklch(0.08 0 0 / .9) 0%,oklch(0.08 0 0 / .72) 20%,oklch(0.08 0 0 / .36) 34%,oklch(0.08 0 0 / 0) 46%),linear-gradient(to right,oklch(0.08 0 0 / .32) 0%,oklch(0.08 0 0 / 0) 40%)}
.hero h1,.hero .lede{text-shadow:0 1px 20px oklch(0 0 0 / .45)}
@media (max-width:699px){
  .hero{background:oklch(0.1 0 0)}
  .hero-ph{inset:0}
  .hero-ph img{object-position:50% 20%}
  .hero .clip{inset:0;height:100%;object-position:50% 20%}
  .hero::after{background:linear-gradient(to top,oklch(0.08 0 0 / .96) 0%,oklch(0.08 0 0 / .92) 26%,oklch(0.08 0 0 / .55) 38%,oklch(0.08 0 0 / 0) 52%)}
}
/* strip: four equal columns, equal gutters */
.facts{grid-template-columns:repeat(2,1fr);column-gap:24px}
.facts li,.facts li:nth-child(even),.facts li:first-child{padding:28px 0 12px}
.facts b{font-size:var(--t1);font-weight:300;line-height:1}
@media (min-width:900px){
  .facts{grid-template-columns:repeat(4,1fr);column-gap:40px}
  .facts li,.facts li:nth-child(even),.facts li:first-child{padding:52px 0 36px}
}
/* problem pills */

@media (max-width:699px){
  
  
  
  
  
  
  
  
  .sec.problem{padding-top:64px;padding-bottom:40px}
  .problem .head{margin-bottom:20px}
  .problem .head p{margin-top:12px}
}
@media (max-width:699px){
  
  .hero-ph img,.hero .clip{object-position:88% 20%}
}

/* ===== round 7 ===== */
/* strip: centred on the statement's axis, same max width, 14px captions */
.facts{max-width:52rem;padding:0 var(--gx);margin:0 auto;text-align:center}
.facts span{margin:10px auto 0;font-size:var(--t4);max-width:11em}
@media (min-width:900px){.facts{grid-template-columns:repeat(4,1fr);column-gap:24px;padding:0}.facts span{max-width:14em}}
/* problem pills */

/* hero */
.hero::after{background:linear-gradient(to top,oklch(0.08 0 0 / .86) 0%,oklch(0.08 0 0 / .62) 12%,oklch(0.08 0 0 / .32) 26%,oklch(0.08 0 0 / .1) 38%,oklch(0.08 0 0 / 0) 45%),linear-gradient(to right,oklch(0.08 0 0 / .38) 0%,oklch(0.08 0 0 / .16) 30%,oklch(0.08 0 0 / 0) 55%)}
.hero h1,.hero .lede{text-shadow:0 0 24px oklch(0 0 0 / .55),0 1px 3px oklch(0 0 0 / .35)}
@media (min-width:900px){
  .hero .lede{max-width:22em}
  .hero-in{padding-bottom:clamp(40px,7vh,72px)}
}
@media (max-width:699px){
  .hero::after{background:linear-gradient(to top,oklch(0.08 0 0 / .96) 0%,oklch(0.08 0 0 / .92) 26%,oklch(0.08 0 0 / .55) 38%,oklch(0.08 0 0 / 0) 52%)}
}
/* still image on wide screens: slow one-way push-in */
.hero.still .hero-ph img{animation:still-push 16s linear .1s both;transform-origin:70% 45%;object-position:22% 45%}
@keyframes still-push{from{transform:scale(1)}to{transform:scale(1.05)}}
@media (min-width:900px){.hero .lede{max-width:20em}}
@media (min-width:900px){.hero.still .hero-ph{left:0;-webkit-mask-image:none;mask-image:none}}
.hero.still .hero-ph img{transform-origin:68% 45%}

.facts span{text-wrap:balance}

/* ===== round 8 ===== */
:root{--t1:30px}
@media (min-width:700px){:root{--t1:34px}}
@media (min-width:900px){:root{--t1:52px}}
.hero .btn-light{background:var(--bg)}
.hero .btn-light:hover{background:oklch(0.99 0.004 205)}
/* pills */

/* spacing */
.facts li,.facts li:nth-child(even),.facts li:first-child{padding-bottom:12px}
@media (min-width:900px){
  .facts li,.facts li:nth-child(even),.facts li:first-child{padding-bottom:40px}
  .sec.problem{padding-top:72px}
  .problem .head{margin-bottom:56px}
}
@media (max-width:699px){
  .sec.problem{padding-top:60px}
  .problem .head{margin-bottom:36px}
}


/* ===== problem: four tools converge into one record ===== */
.sec.problem{padding-top:72px;padding-bottom:56px}
.problem .head{max-width:52rem;margin-bottom:44px}
.problem .head p{font-size:var(--t2)}
@media (max-width:699px){.sec.problem{padding-top:60px}.problem .head{margin-bottom:32px}.problem .head p{margin-top:14px}}
.dg{position:relative;display:grid;grid-template-columns:5fr 3fr 6fr;height:520px;padding:48px;width:min(100%,1180px);margin:0 auto;background:oklch(0.95 0.01 85);border-radius:6px}
.dg-slips{display:flex;flex-direction:column;justify-content:space-between;height:424px;align-self:center}
.dg-slip{display:flex;flex-direction:column;justify-content:center;gap:3px;height:88px;padding:0 24px;background:var(--bg);border:1px solid var(--line);border-radius:4px}
.dg-slip b{font:500 var(--t3)/1.25 var(--f-d)}
.dg-slip small{font-size:var(--t4);line-height:1.3;color:var(--ink-3);text-decoration:line-through;text-decoration-color:oklch(0.48 0.025 250 / .55)}
.dg-wires{align-self:center;width:100%;height:424px;overflow:visible}
.dg-wires-v{display:none}
.dg-wires path{fill:none;stroke:var(--teal);stroke-width:1.25;opacity:.8}
.dg-rec{align-self:center;height:424px;display:flex;flex-direction:column;padding:28px 32px;background:var(--night);color:#fff;border-radius:6px}
.dg-top{display:flex;flex-direction:column;gap:2px;padding-bottom:18px;border-bottom:1px solid var(--deep-line)}
.dg-top small{font-size:var(--t4);color:oklch(0.88 0.015 240)}
.dg-top b{font:450 var(--t2)/1.2 var(--f-d)}
.dg-rec dl{margin:0;flex:1;display:flex;flex-direction:column;justify-content:space-around}
.dg-rec dl div{display:flex;gap:16px;align-items:baseline}
.dg-rec dt{flex:none;width:6.4em;font-size:var(--t4);color:oklch(0.88 0.07 180)}
.dg-rec dd{margin:0;font-size:var(--t3);line-height:1.35}
.dg-rec p{padding-top:16px;border-top:1px solid var(--deep-line);font-size:var(--t3);color:oklch(0.9 0.012 240)}
.dg-rec strong{font-weight:500;color:#fff}
@media (max-width:899px){
  .dg{grid-template-columns:1fr;grid-template-rows:auto auto;height:auto;padding:20px 16px 16px;row-gap:40px}
  .dg-slips{position:relative;flex-direction:column;gap:8px;height:auto;align-self:stretch;padding-right:20px;justify-content:flex-start}
  .dg-slip{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;height:56px;padding:0 16px}
  .dg-slip small{text-align:right}
  .dg-slips::before{content:"";position:absolute;right:0;top:28px;bottom:-40px;width:1px;background:var(--teal);opacity:.8;transform-origin:top}
  .dg-slips::after{content:"";position:absolute;right:0;top:0;bottom:0;width:20px;pointer-events:none;background:repeating-linear-gradient(to bottom,transparent 0 28px,oklch(0.5 0.09 190 / .8) 28px 29px,transparent 29px 64px)}
  .dg-wires{display:none}
  .dg-rec{height:auto;padding:22px 20px;gap:18px}
  .dg-rec dl{gap:14px;justify-content:flex-start}
  .dg-rec dl div{flex-direction:column;gap:2px}
  .dg-rec dt{width:auto}
  .dg-rec p{padding-top:14px}
}
/* nothing shows until the object reveals as one unit; then slips, lines, record in sequence */
.js .dg{opacity:0;transform:translateY(32px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.js .dg.in{opacity:1;transform:none}
.js .dg .dg-slip{opacity:0;transform:translateY(14px);transition:opacity 1s var(--ease),transform 1s var(--ease);transition-delay:calc(.15s + var(--i,0) * .12s)}
.js .dg .dg-wires-h{clip-path:inset(0 100% 0 0);transition:clip-path 1.6s .6s var(--ease)}
.js .dg .dg-wires-v{clip-path:inset(0 0 100% 0);transition:clip-path 1.4s .6s var(--ease)}
.js .dg .dg-rec{opacity:0;transform:translateY(24px);transition:opacity 1.2s 1.1s var(--ease),transform 1.2s 1.1s var(--ease)}
.js .dg.in .dg-slip,.js .dg.in .dg-rec{opacity:1;transform:none}
.js .dg.in .dg-wires{clip-path:inset(-4px)}
@media (max-width:899px){
  .js .dg .dg-slips::before{transform:scaleY(0);transition:transform 1.4s .6s var(--ease)}
  .js .dg .dg-slips::after{opacity:0;transition:opacity 1s .9s var(--ease)}
  .js .dg.in .dg-slips::before{transform:none}
  .js .dg.in .dg-slips::after{opacity:1}
}
.dg-slip:nth-child(2){--i:1}.dg-slip:nth-child(3){--i:2}.dg-slip:nth-child(4){--i:3}
@media (prefers-reduced-motion:reduce){
  .js .dg,.js .dg .dg-slip,.js .dg .dg-rec{opacity:1;transform:none}
  .js .dg .dg-wires{clip-path:inset(-4px)}
  .js .dg .dg-slips::before{transform:none}
  .js .dg .dg-slips::after{opacity:1}
}


/* == piece3 outage-devices begin == */
/* One scroll-linked variable, --dk (0 light, 1 dark), is written on <html> by js/v7.js. The page background and the
   photo scrim read it, so light -> dark -> light is one continuous move. Without script (or with reduced motion)
   --dk stays 0 and the devices sit on a static dark band instead. */
:root{--dk:0}
body{background:color-mix(in oklab,var(--bg),var(--night) calc(var(--dk) * 100%))}

.outage,.devices,.tryit{--fg:var(--ink);--fg2:var(--ink-2);--fg3:var(--mute);--ln:var(--line)}
html.is-dark .outage,html.is-dark .devices,html.is-dark .tryit{--fg:#fff;--fg2:oklch(0.88 0.015 232);--fg3:oklch(0.76 0.02 240);--ln:oklch(1 0 0 / .18)}
.outage h2,.devices h2,.tryit h2,.outage .out-lede,.outage .out-hub,.outage .out-lists li,.outage .out-lists h3,.outage .fine,
.devices .head p,.devices .dv-c b,.devices .dv-c span,.tryit .head p,.outage .mute,.devices .mute,.tryit .mute{transition:color .7s var(--ease),border-color .7s var(--ease)}
.outage h2,.devices h2,.tryit h2,.outage .out-hub,.outage .out-lists h3,.devices .dv-c b{color:var(--fg)}
.outage .out-lede,.outage .out-lists li,.devices .head p,.devices .dv-c span,.tryit .head p{color:var(--fg2)}
.outage .out-lists .dim li,.outage .fine{color:var(--fg3)}
.outage .mute,.devices .mute,.tryit .mute{color:var(--fg3)}
.outage .out-hub,.outage .out-lists ul,.outage .out-lists li{border-color:var(--ln)}
html:not(.js) .devices,html:not(.js) .devices .head,
.devices.static{--fg:#fff;--fg2:oklch(0.88 0.015 232);--fg3:oklch(0.76 0.02 240);--ln:oklch(1 0 0 / .18)}
@media (prefers-reduced-motion:reduce){.devices{--fg:#fff;--fg2:oklch(0.88 0.015 232);--fg3:oklch(0.76 0.02 240);--ln:oklch(1 0 0 / .18)}}
html:not(.js) .devices{background:var(--night)}
@media (prefers-reduced-motion:reduce){.devices{background:var(--night)}}

/* the nav follows the page into the dark band */
.nav.solid{transition:background-color .7s var(--ease),color .7s var(--ease),box-shadow .7s var(--ease)}
html.is-dark .nav.solid{background:oklch(0.17 0.03 250 / .96);color:#fff;box-shadow:0 1px 0 oklch(1 0 0 / .14)}
html.is-dark .nav.solid .btn-nav{background:#fff;color:var(--ink)}
html.is-dark .nav.solid .wm b{color:var(--pulse)}

/* ---- outage: statement, then one object ---- */
.sec.outage{position:relative;padding-top:clamp(88px,9vw,128px);padding-bottom:clamp(72px,7vw,104px)}
.sec.outage::before{display:none}
.outage .head{position:relative;max-width:52rem;margin-bottom:clamp(28px,3.4vw,44px)}
.out-stage{position:relative;margin:0 auto;max-width:var(--max);aspect-ratio:16/8;border-radius:12px;overflow:hidden;background:var(--night);box-shadow:0 0 0 1px var(--ln);transition:box-shadow .7s var(--ease)}
.out-stage picture,.out-stage picture img{display:block;width:100%;height:100%;object-fit:cover}
.out-stage picture img{object-position:68% 38%}
.out-dim{position:absolute;inset:0;background:oklch(0.13 0.03 250);opacity:calc(var(--dk) * .6);pointer-events:none}
.out-net,.out-rec{position:absolute;z-index:2;color:#fff;background:oklch(0.15 0.03 250 / .76);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);border:1px solid oklch(1 0 0 / .16);border-radius:14px}
.out-net{left:24px;top:24px;display:grid;gap:10px;padding:16px 18px 14px;max-width:calc(100% - 48px)}
.out-rec{right:24px;bottom:24px;display:grid;gap:2px;padding:12px 18px;max-width:calc(100% - 48px)}
.out-rec b{font:500 var(--t3)/1.3 var(--f-d)}
.net-b{position:relative;display:block;width:87px;height:40px;border-radius:999px;overflow:hidden;background:#fff;transition:width .7s var(--ease)}
.out-stage[data-net=offline] .net-b{width:92px}
.net-b img{position:absolute;left:0;top:0;height:40px;width:auto;max-width:none;opacity:0;transform:scale(1.04);transition:opacity .7s var(--ease)}
.out-stage[data-net=cloud] .nb-cloud,.out-stage[data-net=offline] .nb-offline{opacity:1}
.net-t{display:grid;font-size:var(--t3);line-height:1.35}
.out-rec .net-t{font-size:var(--t4);color:oklch(0.9 0.012 240)}
.net-t span{grid-area:1/1;transition:opacity .7s var(--ease)}
.net-t .down,.out-stage[data-net=offline] .net-t .up{opacity:0}
.out-stage[data-net=offline] .net-t .down{opacity:1}
.out-info{display:grid;gap:36px;max-width:var(--max);margin:clamp(40px,5vw,72px) auto 0}
.out-info .out-lede{margin-top:0;max-width:34em;font-size:var(--t2)}
.out-info .out-hub{font-size:var(--t3)}
.out-lists h3{font:500 var(--t3)/1.3 var(--f-d);margin-bottom:10px}
.out-lists li{font-size:var(--t3)}
.outage .fine{font-size:var(--t4)}
@media (min-width:1000px){.out-info{grid-template-columns:7fr 5fr;gap:clamp(48px,6vw,96px)}.out-lists{grid-template-columns:1fr 1fr}.out-lists .fine{grid-column:1/-1}}
@media (max-width:699px){
  .out-stage{aspect-ratio:4/5}
  .out-stage picture img{object-position:50% 40%}
  .out-net{left:12px;top:12px;right:auto;padding:12px 14px 10px;max-width:calc(100% - 24px)}
  .out-rec{left:12px;right:12px;bottom:12px;max-width:none}
}

/* ---- devices ---- */
.sec.devices{padding-top:clamp(72px,7vw,104px);padding-bottom:clamp(120px,14vw,200px)}
.devices .head{max-width:46rem}
.dvs{display:grid;gap:64px;max-width:var(--max);margin:clamp(36px,5vw,64px) auto 0}
.dv{display:flex;flex-direction:column;gap:22px;align-items:center}
.dv-c{max-width:24em;text-align:center}
.dv-c b{display:block;font:500 var(--t2)/1.25 var(--f-d)}
.dv-c span{display:block;margin-top:6px;font-size:var(--t3);line-height:1.45}
.dev{position:relative;width:100%}
.dev img{display:block;width:100%;height:auto}
.scr{position:relative;overflow:hidden;background:oklch(0.968 0.004 245)}
.wake{position:absolute;inset:0;background:oklch(0.12 0.03 250);opacity:0;pointer-events:none}
.dev-laptop .lid{background:oklch(0.14 0.02 250);border-radius:14px 14px 3px 3px;padding:2.1% 2.1% 2.6%;box-shadow:0 0 0 1px oklch(1 0 0 / .14)}
.dev-laptop .scr{aspect-ratio:1.6;border-radius:3px}
.dev-laptop .base{height:clamp(8px,1.6vw,14px);margin:0 -2%;background:oklch(0.78 0.012 245);border-radius:0 0 16px 16px;position:relative}
.dev-laptop .base::after{content:"";position:absolute;left:50%;top:0;width:16%;height:50%;transform:translateX(-50%);background:oklch(0.66 0.012 245);border-radius:0 0 8px 8px}
.dev-tablet .body{background:oklch(0.14 0.02 250);border-radius:22px;padding:3.6%;box-shadow:0 0 0 1px oklch(1 0 0 / .14)}
.dev-tablet .scr{aspect-ratio:1.6;border-radius:8px}
.dev-phone{width:min(230px,62vw)}
.dev-phone .body{background:oklch(0.14 0.02 250);border-radius:30px;padding:9px;box-shadow:0 0 0 1px oklch(1 0 0 / .14)}
.dev-phone .scr{aspect-ratio:1/1.7;border-radius:22px;padding-top:30px;display:flex;flex-direction:column}
.dev-phone .scr img{flex:none}
.isl{position:absolute;left:50%;top:9px;width:30%;height:10px;transform:translateX(-50%);background:oklch(0.14 0.02 250);border-radius:6px;z-index:2}
.dev-phone .scr::after{content:"";position:absolute;left:50%;bottom:7px;width:34%;height:4px;transform:translateX(-50%);background:oklch(0.14 0.02 250 / .55);border-radius:2px}
@media (min-width:900px){
  .dvs{grid-template-columns:6fr 4fr 2fr;grid-template-rows:auto auto;gap:28px clamp(24px,3vw,48px)}
  .dv{display:contents}
  .dv .dev{grid-row:1;align-self:end;width:100%}
  .dv .dv-c{grid-row:2;text-align:left;max-width:none;justify-self:start}
  .dv-l .dev,.dv-l .dv-c{grid-column:1}
  .dv-t .dev,.dv-t .dv-c{grid-column:2}
  .dv-p .dev,.dv-p .dv-c{grid-column:3}
  .dev-phone{width:100%}
  .dev-laptop .base{margin:0 -4.5%}
  .dev-phone .body{padding:clamp(5px,.7vw,9px);border-radius:clamp(20px,2.6vw,30px)}
  .dev-phone .scr{border-radius:clamp(15px,1.9vw,22px);padding-top:clamp(20px,2.2vw,30px)}
  .isl{top:clamp(5px,.6vw,9px);height:clamp(7px,.8vw,10px)}
  .dev-tablet .body{border-radius:clamp(14px,1.7vw,22px)}
  .dev-laptop .lid{border-radius:clamp(8px,1.1vw,14px) clamp(8px,1.1vw,14px) 3px 3px}
  .dv{--dl:calc(var(--i) * .42s)}
}
@media (min-width:700px) and (max-width:899px){.dev-tablet{max-width:640px;margin:0 auto}.dev-laptop{max-width:720px;margin:0 auto}}
/* rise in turn: 40px for the laptop, 32 for the tablet, 24 for the phone, 1s, the screen wakes after */
.js .dev{opacity:0;transform:translateY(40px);transition:opacity 1s var(--ease) var(--dl,0s),transform 1s var(--ease) var(--dl,0s)}
.js .dv-t .dev{transform:translateY(32px)}
.js .dv-p .dev{transform:translateY(24px)}
.js .dv .dv-c{opacity:0;transform:translateY(14px);transition:opacity 1s var(--ease) calc(var(--dl,0s) + .35s),transform 1s var(--ease) calc(var(--dl,0s) + .35s),color .7s var(--ease)}
.js .dv .wake{opacity:.92;transition:opacity 1.2s var(--ease) calc(var(--dl,0s) + .55s)}
.js .dv.in .dev,.js .dv.in .dv-c{opacity:1;transform:none}
.js .dv.in .wake{opacity:0}
@media (prefers-reduced-motion:reduce){.js .dev,.js .dv .dv-c{opacity:1;transform:none}.js .dv .wake{opacity:0}}

/* ---- try it ---- */
.sec.tryit{padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(72px,8vw,120px)}
.tryit .head{max-width:46rem}
.ti{max-width:1100px;margin:0 auto}
.ti-app{background:oklch(0.968 0.004 245);border-radius:16px;overflow:hidden;color:var(--ink);box-shadow:0 0 0 1px var(--line),0 40px 90px -40px oklch(0.22 0.035 250 / .35)}
.ti-bar{display:flex;align-items:center;gap:16px;min-height:64px;padding:10px 20px;background:#fff;border-bottom:1px solid var(--line)}
.ti-brand{display:inline-flex;align-items:center;gap:10px;font:500 var(--t3)/1 var(--f-d)}
.ti-brand svg{width:28px;height:28px}
.ti-sample{margin-left:auto;font-size:var(--t4);color:var(--ink-3);text-align:right}
.ti-net{position:relative;flex:none;display:block;width:104px;height:40px}
.ti-net img{position:absolute;left:0;top:0;height:40px;width:auto;max-width:none;opacity:0;transition:opacity .5s var(--ease)}
.ti[data-net=cloud] .nb-cloud,.ti[data-net=offline] .nb-offline,.ti[data-net=syncing] .nb-syncing{opacity:1}
.ti-body{display:grid;grid-template-columns:200px 1fr}
.ti-steps{background:#fff;border-right:1px solid var(--line);padding:12px}
.ti-steps button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--ink-2);font:500 var(--t3)/1 var(--f-d);text-align:left;cursor:pointer;transition:background-color .4s var(--ease),color .4s var(--ease)}
.ti-steps button:hover{background:oklch(0.96 0.006 245)}
.ti-steps button[aria-current=step]{background:oklch(0.4 0.09 255);color:#fff}
.ti-steps i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:oklch(0.94 0.008 245);color:var(--ink-2);font:500 var(--t4)/1 var(--f-d);font-style:normal;transition:background-color .4s var(--ease),color .4s var(--ease)}
.ti-steps button[aria-current=step] i{background:oklch(1 0 0 / .2);color:#fff}
.ti-steps button.done i{background:oklch(0.9 0.05 175);color:oklch(0.35 0.07 180)}
.ti-main{display:flex;flex-direction:column;min-width:0}
.ti-panels{display:grid;padding:28px 32px 8px;flex:1}
.ti-p{grid-area:1/1;visibility:hidden;opacity:0;transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease),visibility 0s .7s;min-width:0}
.ti-p.on{visibility:visible;opacity:1;transform:none;transition-delay:0s}
.ti-p h3{font:500 var(--t2)/1.2 var(--f-d);margin-bottom:20px;color:var(--ink)}
.ti-p [data-post]{display:none}
.ti-p.done [data-pre]{display:none}
.ti-p.done [data-post]{display:block}
.ti-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ti-form div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px}
.ti-form dt{font-size:var(--t4);color:var(--ink-3)}
.ti-form dd{margin:2px 0 0;font-size:var(--t3);color:var(--ink)}
.ti-res{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;align-items:center}
.ti-p.done .ti-res{display:grid}
.ti-q{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:oklch(0.52 0.09 175);color:#fff;font:500 var(--t2)/1 var(--f-d)}
.ti-id b{display:block;font:500 var(--t3)/1.3 var(--f-d)}
.ti-id small{font-size:var(--t4);color:var(--ink-3)}
.ti-big{font:300 var(--t1)/1.1 var(--f-d);letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.ti-res .ti-big{grid-column:1/-1;margin-top:12px}
.ti-res p,.ti-note{grid-column:1/-1;margin-top:8px;font-size:var(--t3);color:var(--ink-2)}
.ti-row{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px;font-size:var(--t3);color:var(--ink)}
.ti-row small{display:block;font-size:var(--t4);color:var(--ink-3)}
.ti-row i,.ti-lines i{font-style:normal;font-weight:500;font-variant-numeric:tabular-nums}
.ti-lines{display:grid;gap:8px;margin-bottom:16px}
.ti-lines div{display:flex;justify-content:space-between;gap:16px;font-size:var(--t3);color:var(--ink-2);padding-bottom:8px;border-bottom:1px solid var(--line)}
.ti-split{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.ti-split div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px}
.ti-split small{display:block;font-size:var(--t4);color:var(--ink-3)}
.ti-split b{font:500 var(--t2)/1.3 var(--f-d);color:var(--ink);font-variant-numeric:tabular-nums}
.ti-foot{padding:16px 32px 28px}
.ti-go{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:0;border-radius:10px;background:oklch(0.4 0.09 255);color:#fff;font:500 var(--t3)/1 var(--f-d);cursor:pointer;transition:background-color .3s var(--ease)}
.ti-go:hover{background:oklch(0.34 0.09 255)}
.ti-go:disabled{background:oklch(0.55 0.02 250);cursor:default}
.ti-steps button:focus-visible,.ti-go:focus-visible{outline:2px solid oklch(0.5 0.09 190);outline-offset:2px}
@media (min-width:900px){.ti-panels{min-height:300px}}
@media (max-width:899px){
  .ti-body{grid-template-columns:1fr}
  .ti-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border-right:0;border-bottom:1px solid var(--line);padding:8px}
  .ti-steps button{flex-direction:column;justify-content:center;gap:4px;min-height:56px;padding:0 2px;text-align:center;font-size:var(--t4)}
  .ti-panels{padding:22px 16px 4px}
  .ti-foot{padding:14px 16px 20px}
  .ti-go{width:100%}
  .ti-form{grid-template-columns:1fr 1fr}
  .ti-sample{display:none}
  .ti-net{margin-left:auto}
  .ti-bar{padding:8px 16px;min-height:60px}
}
@media (prefers-reduced-motion:reduce){.js .ti-p{transform:none}}

/* ---- push: the closing dashboard shows only the part of the screen that has content ---- */
.push-copy p{font-size:var(--t2)}
.push-end h3{font-size:var(--t1);line-height:1.08}
.push-end p{font-size:var(--t3)}
.devices .head p,.tryit .head p{font-size:var(--t2)}
/* == piece3 outage-devices end == */

/* == piece4 lower begin == */
/* leaks, teams, rollout, editions, close, footer: statement, then one dominant object. Text sizes only --t1..--t4. */
:root{--p4:clamp(56px,6vw,88px);--p4g:clamp(32px,3.2vw,44px);--warm:oklch(0.95 0.01 85);--night-2:oklch(0.225 0.03 250);--p4w:1180px;--tl:oklch(0.8 0.09 190);--dl:oklch(1 0 0 / .14)}
@keyframes p4-in{from{opacity:0;transform:translateY(14px)}}
.sec.p4{padding-block:var(--p4)}
.p4 .head{max-width:46rem;margin:0 auto var(--p4g);text-align:center}
.p4 .head h2{font-size:var(--t1);line-height:1.08;max-width:none;text-wrap:balance}
.p4 .head p{margin:16px auto 0;max-width:34em;font-size:var(--t2);line-height:1.45;text-wrap:pretty}
.leaks .head{max-width:58rem}
.nb{white-space:nowrap}
/* the objects rise 40px into place as one unit */
.js .lk[data-rv],.js .tb[data-rv],.js .rl[data-rv],.js .cf[data-rv]{opacity:0;transform:translateY(40px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.js .lk.in,.js .tb.in,.js .rl.in,.js .cf.in{opacity:1;transform:none}

/* ---- leaks: the section is light; the ledger is the one dark object ---- */
.leaks{background:var(--bg);color:var(--ink)}
.leaks-in{max-width:calc(var(--max) + 2 * var(--gx));margin:0 auto;padding:var(--p4) var(--gx)}
.leaks .mute{color:var(--mute)}
.leaks .head p{color:var(--ink-2)}
.lk{width:min(100%,var(--p4w));margin:0 auto;border-radius:8px;background:var(--night);color:#fff;padding:20px 0 12px}
.lk-list{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:0 20px 4px;scrollbar-width:none}
.lk-list::-webkit-scrollbar{display:none}
.lk-i{flex:0 0 84%;scroll-snap-align:start;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:8px;background:oklch(1 0 0 / .06)}
.lk-b{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;cursor:default}
.lk-n{font-size:var(--t4);line-height:1;font-variant-numeric:tabular-nums;color:var(--tl)}
.lk-t{display:flex;flex-direction:column;gap:12px}
.lk-q{font:450 var(--t2)/1.3 var(--f-d);letter-spacing:-.01em;color:#fff;text-wrap:pretty}
.lk-w{font-size:var(--t4);line-height:1.4;color:oklch(0.82 0.02 240)}
.lk-a{margin-top:auto;padding-top:16px;border-top:1px solid var(--dl);font-size:var(--t3);line-height:1.5;color:oklch(0.92 0.01 230);text-wrap:pretty}
.hot{color:var(--tl);padding-bottom:2px;background:linear-gradient(var(--tl),var(--tl)) 0 100%/100% 2px no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.lk-ctl{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 0}
.lk-ctl button{all:unset;box-sizing:border-box;min-height:44px;min-width:96px;display:grid;place-items:center;padding:0 16px;border-radius:6px;cursor:pointer;font-size:var(--t3);font-weight:450;color:#fff;box-shadow:0 0 0 1px oklch(1 0 0 / .3) inset;transition:background-color .4s var(--ease),box-shadow .4s var(--ease)}
.lk-ctl button:hover{box-shadow:0 0 0 1px oklch(1 0 0 / .7) inset}
.lk-ctl button:focus-visible,.lk-b:focus-visible{outline:3px solid var(--tl);outline-offset:2px}
.lk-ctl button[disabled]{opacity:.45;cursor:default}
.lk-count{font-size:var(--t4);font-variant-numeric:tabular-nums;color:oklch(0.82 0.02 240)}
.lk-ans{display:none}
html:not(.js) .lk-ctl{display:none}
@media (min-width:700px){.lk-i{flex-basis:46%}}
@media (min-width:1000px){
  .lk{padding:28px clamp(28px,3.4vw,48px) 32px}
  .lk-list{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(5,auto);grid-auto-flow:column;column-gap:clamp(32px,4vw,56px);gap:0 clamp(32px,4vw,56px);overflow:visible;padding:0;scroll-snap-type:none}
  .lk-i{flex:none;display:block;gap:0;padding:0;border-radius:0;background:none;border-top:1px solid var(--dl)}
  .lk-b{position:relative;display:grid;grid-template-columns:36px 1fr;align-items:baseline;gap:0;width:100%;min-height:76px;padding:12px 12px;border-radius:6px;overflow:hidden;cursor:pointer;color:oklch(0.8 0.02 240);transition:background-color .5s var(--ease),color .5s var(--ease)}
  .lk-b:hover{background:oklch(1 0 0 / .04);color:#fff}
  .lk-i.on .lk-b{background:oklch(1 0 0 / .11);color:#fff}
  .lk-n{color:oklch(0.78 0.02 240)}.lk-i.on .lk-n{color:var(--tl)}
  .lk-t{gap:2px}
  .lk-q{font:430 var(--t3)/1.4 var(--f-d);letter-spacing:0;color:inherit}
  .js .lk-i .hot{background-size:0 2px;transition:background-size 1.2s .3s var(--ease)}
  .js .lk-i.on .hot,html:not(.js) .lk-i .hot{background-size:100% 2px}
  .lk-i.on .hot{color:var(--tl)}.js .lk-i:not(.on) .hot{color:inherit}
  .lk-b::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--tl)}
  .lk.auto .lk-i.on .lk-b::after{animation:lk-fill var(--lk-d,7s) linear forwards}
  .lk-a{display:none}
  html:not(.js) .lk-a{display:block;padding:0 12px 14px 48px;margin:0;border:0;font-size:var(--t4);color:oklch(0.82 0.02 240)}
  .lk-ctl{display:none}
  .js .lk-ans{display:grid;margin-top:20px;padding-top:20px;border-top:1px solid var(--dl)}
  .lk-ap{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .9s var(--ease),transform .9s var(--ease),visibility 0s .9s}
  .lk-ap.on{opacity:1;visibility:visible;transform:none;transition:opacity .9s .15s var(--ease),transform .9s .15s var(--ease),visibility 0s}
  .lk-aw{font-size:var(--t4);line-height:1.4;color:oklch(0.82 0.02 240)}.lk-aw b{font-weight:500;color:#fff}
  .lk-at{margin-top:8px;max-width:44em;font-size:var(--t2);line-height:1.45;color:#fff;text-wrap:pretty}
}
@keyframes lk-fill{to{width:100%}}

/* ---- teams: one photograph, a real screen region pinned to its corner, one before/after pair ---- */
.tb{width:min(100%,var(--p4w));margin:0 auto}
.tb-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px}
html:not(.js) .tb-tabs{display:none}
.tb-tabs button{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 6px;border-radius:999px;cursor:pointer;font-size:var(--t4);font-weight:450;line-height:1.1;text-align:center;color:var(--ink-2);box-shadow:0 0 0 1px var(--line) inset;transition:background-color .4s var(--ease),color .4s var(--ease),box-shadow .4s var(--ease)}
.tb-tabs button:hover{color:var(--ink);box-shadow:0 0 0 1px var(--ink-3) inset}
.tb-tabs button[aria-selected=true]{background:var(--ink);color:#fff;box-shadow:none}
.tb-tabs button:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.tl-s{display:inline}.tl-l{display:none}
.tb-frame{position:relative;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:oklch(0.9 0.012 85);isolation:isolate}
.tb-s{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .9s var(--ease),visibility 0s .9s}
.tb-s.on{opacity:1;visibility:visible;z-index:1;transition:opacity .9s var(--ease),visibility 0s}
.tb-s>img{width:100%;height:100%;object-fit:cover;object-position:var(--op,50% 50%);transform:scale(1.05);transition:transform 1.6s var(--ease)}
.tb-s.on>img{transform:none}
.tb-frag{position:absolute;z-index:2;left:clamp(12px,2vw,28px);bottom:clamp(12px,2vw,28px);opacity:0;transform:translateY(14px);transition:opacity 1s .35s var(--ease),transform 1.2s .35s var(--ease)}
.tb-s.on .tb-frag{opacity:1;transform:none}
.tb-s[data-side=r] .tb-frag{left:auto;right:clamp(12px,2vw,28px)}
.tb-scr{width:calc(var(--nw) * .5px);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px oklch(1 0 0 / .6),0 16px 44px -14px oklch(0.15 0.03 250 / .55)}
.tb-scr img{display:block;width:100%;height:auto}
.tb-card{width:min(300px,calc(100% - 24px));display:flex;flex-direction:column;gap:10px;padding:16px 18px;border-radius:12px;color:var(--ink);background:oklch(1 0 0 / .9);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);box-shadow:0 0 0 1px oklch(1 0 0 / .55) inset,0 16px 44px -14px oklch(0.15 0.03 250 / .5)}
.tb-fh{font-size:var(--t4);line-height:1.3;color:var(--ink-3)}
.tb-fr{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tb-fr p{font:500 var(--t3)/1.3 var(--f-d)}
.tb-fr small,.close-frag small{display:block;margin-top:2px;font-size:var(--t4);font-weight:430;line-height:1.35;color:var(--ink-2)}
.tb-pill{flex:none;font-style:normal;font-size:var(--t4);font-weight:500;line-height:1;padding:7px 12px;border-radius:999px;background:var(--warm);color:var(--ink);white-space:nowrap}
.tb-pill.hi{background:var(--ink);color:#fff}
.tb-caps{margin-top:20px}
.js .tb-caps{display:grid}
.tb-c{display:grid;gap:16px 48px;align-content:start}
html:not(.js) .tb-c+.tb-c{margin-top:32px}
.js .tb-c{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .9s var(--ease),transform .9s var(--ease),visibility 0s .9s}
.js .tb-c.on{opacity:1;visibility:visible;transform:none;transition:opacity .9s .15s var(--ease),transform .9s .15s var(--ease),visibility 0s}
.tb-bl{font-size:var(--t4);font-weight:500;line-height:1.3;color:var(--ink-3)}
.tb-af .tb-bl{color:var(--teal)}
.tb-bt,.tb-at{margin-top:6px;font-size:var(--t3);line-height:1.5;text-wrap:pretty}
.tb-bt{color:var(--ink-3)}
.tb-at{color:var(--ink)}
@media (min-width:700px){
  .tb-frame{aspect-ratio:2/1}
  .tb-scr{width:calc(var(--nw) * .62px)}
  .tl-l{display:inline}.tl-s{display:none}
  .tb-tabs button{font-size:var(--t3);padding:0 12px}
  .tb-bt,.tb-at{font-size:var(--t2);line-height:1.4}
  .tb-c{grid-template-columns:1fr 1fr}
}
@media (min-width:1100px){.tb-tabs{display:flex;justify-content:center;gap:8px}.tb-tabs button{padding:0 20px}}

/* ---- rollout: a timeline object ---- */
.rl{width:min(100%,var(--p4w));margin:0 auto;padding:clamp(24px,4vw,48px);border-radius:8px;background:var(--warm)}
.rl-steps{position:relative;display:grid;gap:0}
.rl-steps::before,.rl-steps::after{content:"";position:absolute;left:21px;top:22px;bottom:22px;width:1px;background:var(--line)}
.rl-steps::after{background:var(--ink);transform:scaleY(0);transform-origin:top;transition:transform 1.8s .3s var(--ease)}
.rl.in .rl-steps::after{transform:none}
.rl-steps li{position:relative;padding:0 0 32px 64px;min-height:44px}
.rl-steps li:last-child{padding-bottom:0}
.rl-n{position:absolute;left:0;top:0;z-index:1;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--bg);box-shadow:0 0 0 1px var(--ink-3) inset;font:500 var(--t2)/1 var(--f-d);font-variant-numeric:tabular-nums;color:var(--ink);transition:background-color .6s var(--ease),color .6s var(--ease),box-shadow .6s var(--ease)}
.rl.in .rl-n{background:var(--ink);color:#fff;box-shadow:none;transition-delay:calc(.3s + var(--i,0) * .45s)}
.rl-steps li:nth-child(2){--i:1}.rl-steps li:nth-child(3){--i:2}.rl-steps li:nth-child(4){--i:3}
.js .rl-steps li>h3,.js .rl-steps li>p{opacity:0;transform:translateY(24px);transition:opacity 1s var(--ease),transform 1s var(--ease);transition-delay:calc(.2s + var(--i,0) * .2s)}
.js .rl.in .rl-steps li>h3,.js .rl.in .rl-steps li>p{opacity:1;transform:none}
.rl-steps h3{font:500 var(--t2)/1.25 var(--f-d);letter-spacing:-.01em;padding-top:10px}
.rl-steps p{margin-top:8px;font-size:var(--t3);line-height:1.5;color:var(--ink-2);max-width:26em;text-wrap:pretty}
@media (min-width:900px){
  .rl-steps{grid-template-columns:repeat(4,1fr);grid-template-rows:auto 1fr;column-gap:24px}
  .rl-steps::before,.rl-steps::after{left:0;right:0;bottom:auto;top:22px;width:auto;height:1px}
  .rl-steps::after{transform:scaleX(0);transform-origin:left}
  .rl.in .rl-steps::after{transform:none}
  .rl-steps li,.rl-steps li:last-child{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0;padding:64px 0 0 0}
  .rl-steps h3{padding-top:0}
}

/* ---- editions: questions as three segmented controls, the answer on one dark card ---- */
.config{background:var(--bg);color:var(--ink)}
.cfg-in{display:block;padding:var(--p4) var(--gx)}
.cf{width:min(100%,var(--p4w));margin:0 auto;display:grid;border-radius:8px;overflow:hidden}
.cfg-q{background:var(--warm);padding:clamp(24px,4vw,48px)}
.config fieldset{margin:0 0 28px;padding:0;border:0;min-width:0}
.config fieldset:last-child{margin-bottom:0}
.config legend{padding:0;margin-bottom:12px;font:500 var(--t3)/1.3 var(--f-d);color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:0 20px;border-radius:999px;font-size:var(--t3);font-weight:450;line-height:1.2;color:var(--ink);background:var(--bg);box-shadow:0 0 0 1px var(--line) inset;transition:background-color .25s var(--ease),color .25s var(--ease),box-shadow .25s var(--ease)}
.chips button:hover{box-shadow:0 0 0 1px var(--ink-3) inset}
.chips button[aria-pressed=true]{background:var(--ink);color:#fff;box-shadow:none}
.chips button:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.cfg-s{align-self:stretch;display:flex;flex-direction:column;padding:clamp(24px,4vw,48px);border-radius:0;background:var(--night);box-shadow:none;color:#fff}
.cfg-s h3{margin-top:12px;font:450 var(--t1)/1.08 var(--f-d);letter-spacing:-.02em}
.cfg-s p[data-k=why],.cfg-ghost p{margin-top:16px;max-width:30em;font-size:var(--t2);line-height:1.45;color:oklch(0.94 0.01 230)}
.cfg-main{display:grid}
.cfg-live,.cfg-ghost{grid-area:1/1}
.cfg-ghost{display:none}
.cfg-ghost>div{grid-area:1/1}
.cfg-bot{margin-top:auto;padding-top:24px}
.cfg-t{border-top:1px solid var(--dl)}
.cfg-t>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 0;border-bottom:1px solid var(--dl)}
.cfg-t dt{font-size:var(--t4);line-height:1.35;color:oklch(0.84 0.02 240)}
.cfg-t dd{margin:0;flex:none;font-size:var(--t3);font-weight:500;color:#fff;transition:color .6s var(--ease)}
.cfg-t dd.no{color:oklch(0.72 0.02 240);font-weight:430}
.cfg-s .fine{margin-top:16px;font-size:var(--t4);line-height:1.5;color:oklch(0.84 0.015 230)}
.cfg-s .acts{margin-top:20px}
.cfg-s.swap h3,.cfg-s.swap p[data-k=why],.cfg-s.swap .cfg-t dd{animation:p4-in .8s var(--ease)}
@media (max-width:699px){
  .chips{display:grid;grid-template-columns:repeat(2,1fr)}
  .chips[data-q=net]{grid-template-columns:1fr}
  .chips button{padding:0 12px}
  .cfg-s .acts .btn{width:100%}
}
@media (min-width:900px){.cf{grid-template-columns:5fr 6fr}}

/* ---- close: dark photographic ending, one button ---- */
.close{display:grid;grid-template-columns:1fr;background:var(--night);color:#fff}
.close .mute{color:oklch(0.84 0.02 240)}
.close::after{position:relative;z-index:0}
.close-in{grid-area:1/1;z-index:1;align-self:start;text-align:center;max-width:none;margin:0;padding:var(--p4) var(--gx) 32px}
.close-in h2{font-size:var(--t1);line-height:1.08;max-width:16em;margin-inline:auto;text-wrap:balance}
.close-in p{max-width:32em;margin:20px auto 0;font-size:var(--t2);line-height:1.45;color:oklch(0.94 0.01 230)}
.close .acts{justify-content:center;margin-top:32px}
.close .btn{background:var(--bg)}
.close-ph{grid-area:2/1;position:relative;overflow:hidden}
.close-ph picture{display:block}
.close-ph img{width:100%;height:auto;aspect-ratio:4/5;min-height:0;object-fit:cover;object-position:50% 50%}
.close::after{grid-area:2/1;background:linear-gradient(to bottom,var(--night) 0%,oklch(0.17 0.03 250 / 0) 34%)}
.close-frag{position:absolute;z-index:2;left:clamp(12px,2vw,28px);bottom:clamp(12px,2vw,28px);display:flex;align-items:center;gap:12px;max-width:calc(100% - 24px);padding:14px 16px;border-radius:12px;color:var(--ink);background:oklch(1 0 0 / .9);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);box-shadow:0 0 0 1px oklch(1 0 0 / .55) inset,0 16px 44px -14px oklch(0.15 0.03 250 / .5)}
.close-frag p{font:500 var(--t3)/1.3 var(--f-d)}
@media (min-width:700px){
  .close{min-height:min(100svh,900px)}
  .close-ph{grid-area:1/1}
  .close-ph picture{height:100%}
  .close-ph img{height:100%;aspect-ratio:auto;object-position:70% 62%}
  .close::after{grid-area:1/1;background:linear-gradient(to bottom,var(--night) 0%,oklch(0.17 0.03 250 / .9) 22%,oklch(0.17 0.03 250 / .55) 40%,oklch(0.17 0.03 250 / .12) 62%,oklch(0.17 0.03 250 / .3) 100%)}
  .close-in{padding:var(--p4) var(--gx)}
  .close-frag{left:auto;right:clamp(16px,3vw,48px);bottom:clamp(16px,3vw,48px)}
}
@media (max-width:699px){.close .acts .btn{width:100%;min-height:52px}}

/* ---- footer ---- */
.foot{padding:48px var(--gx) 32px;font-size:var(--t4)}
.foot-top{display:grid;grid-template-columns:1fr 1fr;gap:32px 24px;padding-bottom:32px}
.foot-brand,.foot-talk{grid-column:1/-1}
.foot .wm{font-size:var(--t2);font-weight:500;color:var(--ink)}
.foot .wm b{font-weight:500;color:var(--teal)}
.foot-brand p{max-width:24em;margin-top:12px;font-size:var(--t3);line-height:1.5;color:var(--ink-2)}
.foot h3{margin:0 0 4px;font:500 var(--t4)/1.3 var(--f-d);letter-spacing:0;color:var(--ink-3)}
.foot nav a,.foot-talk a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--t3);color:var(--ink);text-decoration:none}
.foot nav a:hover,.foot-talk a:hover{text-decoration:underline;text-underline-offset:4px}
.foot-talk p{margin-top:4px;font-size:var(--t4);line-height:1.5;color:var(--ink-3)}
.foot-legal{margin-top:20px;font-size:var(--t4);line-height:1.6;color:var(--ink-3)}
.foot-legal a{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}
@media (max-width:699px){.foot-talk{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.foot-talk h3,.foot-talk p{grid-column:1/-1}}
@media (min-width:900px){.foot-top{grid-template-columns:2fr 1fr 1fr 1.4fr;gap:32px}.foot-brand,.foot-talk{grid-column:auto}}
@media (prefers-reduced-motion:reduce){
  .js .lk[data-rv],.js .tb[data-rv],.js .rl[data-rv],.js .cf[data-rv],.js .rl-steps li>h3,.js .rl-steps li>p,.js .tb-frag{opacity:1;transform:none}
  .js .rl-steps::after{transform:none}
  .lk-ap,.tb-s,.tb-c{transition:none!important}
  .js .lk-i .hot{transition:none}
}
/* == piece4 lower end == */

/* == piece2 story begin == */
/* Amaka's story: statement, one photograph carrying one small glass card, then the hospital cutaway that is also the stepper.
   Type uses only --t1..--t4. Surfaces here are neutral warm greys; teal marks only the route and the lit room.
   Motion: one curve, slow, single direction. */
.story{--sw:oklch(0.46 0.012 85);--sl:oklch(0.8 0.008 85);--sg:oklch(0.95 0.006 85);--lab:52px;
  padding-top:clamp(56px,6vw,88px);padding-bottom:64px}
.story .head{margin-bottom:clamp(28px,3vw,40px)}
@media (min-width:900px){.story .sb{max-width:calc(var(--max) * .88);margin-inline:auto}}
.story .sb-frame{aspect-ratio:4/5}
@media (min-width:640px){.story .sb-frame{aspect-ratio:16/10}}
@media (min-width:900px){.story .sb-frame{aspect-ratio:12/5}}

/* the glass card: one small pinned fragment per photo, bottom left */
.story .sb-slide .card{left:16px;right:auto;bottom:16px;width:min(320px,calc(100% - 32px));padding:14px 16px;gap:10px;border-radius:14px;color:var(--ink);
  background:oklch(0.99 0.004 85 / .84);-webkit-backdrop-filter:blur(26px) saturate(1.2);backdrop-filter:blur(26px) saturate(1.2);
  box-shadow:0 0 0 1px oklch(1 0 0 / .5) inset,0 14px 40px -16px oklch(0.15 0.02 85 / .35);font:400 var(--t4)/1.35 var(--f-d)}
@media (max-width:639px){.story .sb-slide .card{left:12px;bottom:12px;width:min(252px,calc(100% - 24px));padding:12px 14px;gap:8px}}
.story .card b{font-weight:500}
.story .card small{display:block;font-size:var(--t4);font-weight:400;color:var(--ink-2)}
.story .sb-slide .card .card-h{font-size:var(--t4);font-weight:400;color:var(--ink-2)}
.story .sb-slide .card .cf{font-size:var(--t4);color:var(--ink-2)}
.story .sb-slide .card .cf::before{background:var(--ink-3)}
@media (min-width:640px){.story .sb-slide .card .cf{display:flex}}
.story .sb-slide .card .qc{padding:0;border:0;background:transparent;grid-template-columns:auto 1fr auto;column-gap:10px;border-radius:0}
.story .qc::before{display:none}
.story .qc .n{width:32px;height:32px;background:var(--ink);font-size:var(--t4);font-weight:500;border-radius:8px}
.story .qc .id b{font-size:var(--t3);font-weight:500}
.story .qc .st,.story .pay{font-size:var(--t4);font-weight:500;background:oklch(0.94 0.006 85);color:var(--ink)}
.story .pay.crit{background:var(--ink);color:#fff}
@media (max-width:639px){.story .qc .st{display:none}.story .sb-slide .card .qc{grid-template-columns:auto 1fr}}
.story .sb-slide .card .vit{display:flex;flex-direction:column;gap:0}
.story .sb-slide .card .vit span{flex-direction:row;justify-content:space-between;align-items:baseline;padding:2px 0;background:none;border-radius:0;font-size:var(--t4);color:var(--ink-2)}
.story .sb-slide .card .vit b{font-size:var(--t3);font-weight:500;color:var(--ink)}
.story .row2>span{font-size:var(--t3);font-weight:500}
.story .row2 small{font-weight:400}

/* pause: a tiny ghost control, shown on hover or focus on desktop */
.story .sb-pause{right:8px;top:8px;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:.9;transition:opacity .6s var(--ease)}
.story .sb-pause::after{content:"";position:absolute;inset:9px;border-radius:50%;background:oklch(0.18 0.01 85 / .42);z-index:-1}
.sb-pause[hidden],html:not(.js) .sb-pause{display:none}
@media (hover:hover) and (min-width:900px){
  .story .sb-pause{opacity:0}
  .story .sb-frame:hover .sb-pause,.story .sb-pause:focus-visible,.story .sb.paused .sb-pause{opacity:1}
}

/* caption: one balanced sentence under the cutaway; the "n of 8" stays for screen readers */
.story .sb-cap{position:relative;margin:40px auto 0;max-width:30em;text-align:center;font-size:var(--t2);line-height:1.5;color:var(--ink);min-height:calc(3 * 1.5em);text-wrap:balance}
.story .sb-cap b{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;font-size:inherit}
.story .sb-cap b::after{content:". "}
@media (max-width:899px){.story .sb-cap{min-height:calc(5 * 1.5em)}}

/* the cutaway: a building section. Walls are light, furniture carries the eye, the corridor runs underneath. */
.story .map{position:relative;margin-top:32px}
.map-defs{position:absolute;width:0;height:0;overflow:hidden}
.map-art{position:relative;color:var(--sw);padding-bottom:var(--lab)}
.map-art svg{display:block;width:100%;height:auto;overflow:visible}
.map-art .map-n{display:none}
.map .wl{fill:none;stroke:var(--sl);stroke-width:1;vector-effect:non-scaling-stroke}
.map .fl{fill:none;stroke:var(--sw);stroke-width:1.5;vector-effect:non-scaling-stroke}
.map .cor{fill:var(--sg);stroke:none}
.map .rm{color:var(--sw);transition:color .7s var(--ease)}
.map .rm.on{color:var(--teal)}
.map .rm use{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.map .rt{fill:none;stroke:var(--sw);stroke-width:1.5;stroke-dasharray:1 7;stroke-linecap:round;opacity:.55}
.map .rt-on{fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-dasharray:1000;stroke-dashoffset:0;transition:opacity .6s var(--ease)}
.map .stop{fill:var(--bg);stroke:var(--sw);stroke-width:1.5;transition:fill .6s var(--ease),stroke .6s var(--ease)}
.map .stop.on{fill:var(--teal);stroke:var(--teal)}
.map .dot{opacity:0;transition:opacity .45s var(--ease)}
.map.ready .dot{opacity:1}
.map.hop .dot{opacity:0}
.map .dot circle{fill:oklch(0.5 0.09 190 / .2)}
.map .dot .dc{fill:var(--teal);stroke:var(--bg);stroke-width:2}
.js .map:not(.ready) .rt-on{opacity:0}
.map .map-route{transition:opacity .6s var(--ease)}
.map.wrap .map-route,.map.wrap .rt-on{opacity:0}
html:not(.js) .map .stop{fill:var(--teal);stroke:var(--teal)}

/* the stepper sits exactly over the drawing: one button per room */
.story .map .sb-steps{position:absolute;left:0;top:0;width:100%;height:100%;margin:0;padding:0;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:100%;gap:0;counter-reset:rm}
.story .map .sb-steps li{display:block;min-width:0;counter-increment:rm}
.story .map .sb-steps button{position:relative;display:flex;flex-direction:row;align-items:flex-end;justify-content:center;gap:0;width:100%;height:100%;min-height:44px;padding:0 2px 8px;border:0;background:transparent;color:var(--ink-3);cursor:pointer;transition:background-color .7s var(--ease),color .7s var(--ease)}
.story .map .sb-steps button::before{display:none}
.story .map .sb-steps button[aria-pressed=true]{background:oklch(0.5 0.09 190 / .08);color:var(--ink)}
@media (hover:hover){.story .map .sb-steps button[aria-pressed=false]:hover{background:oklch(0.5 0.09 190 / .04);color:var(--ink)}}
.story .map .sb-steps button:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}
.story .map .sb-steps.sb8 button b{display:block;margin:0;font:500 var(--t4)/1.2 var(--f-d);letter-spacing:0;text-align:center}
.story .map .sb-steps.sb8 button b::before{content:counter(rm);display:block;font-weight:400;color:var(--ink-3);font-variant-numeric:tabular-nums}
.story .map .sb-steps.sb8 button[aria-pressed=true] b::before{color:var(--teal)}
.story .map .sb-steps .lg{display:none;font:inherit;line-height:inherit}
@media (min-width:1200px){.story .map .sb-steps .lg{display:inline}}

/* tablet and phone: two floors, both read left to right, numbers and names inside the rooms; the route hops up to floor two */
@media (max-width:899px){
  .story .map{max-width:480px;margin-inline:auto}
  .map-art{padding-bottom:0}
  .map-art .map-w{display:none}
  .map-art .map-n{display:block}
  .story .map .sb-steps{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,calc(109 / 220 * 100%));align-content:start}
  .story .map .sb-steps li:nth-child(n+5){grid-row:2}
  .story .map .sb-steps button{align-items:flex-start;padding:6px 1px 0}
  .map .rt-on{stroke-width:1.7}
}
@media (max-width:639px){
  .story .sb-slide[data-i="4"] img,.story .sb-slide[data-i="4"] .clip{object-position:56% 35%}
  .story .sb-slide[data-i="5"] img,.story .sb-slide[data-i="5"] .clip{object-position:96% 40%}
}
@media (prefers-reduced-motion:reduce){
  .story .map .sb-steps button,.map .rm,.map .stop,.map .map-route,.map .rt-on,.story .sb-pause{transition:none}
}
/* == piece2 story end == */

/* == polish 2026-10-20 == */
/* teams, Owner: frame the face and the laptop together, and put the product card on the empty wall */
@media (min-width:700px){
  .tb-s[data-i="0"]{--op:50% 44%}
  .tb-s[data-i="0"] .tb-frag{left:auto;bottom:auto;right:clamp(16px,6%,96px);top:clamp(16px,9%,56px)}
}
/* devices, phone: the owner's day laid out for a phone, drawn at 340px and scaled to the screen */
.dev-phone .pm{position:relative;flex:1;min-height:0;overflow:hidden}
.pm-in{position:absolute;left:0;top:0;width:340px;padding:10px 12px;display:grid;gap:8px;transform-origin:0 0;transform:scale(var(--ps,.56));color:var(--ink);font-size:var(--t4);line-height:1.35}
.pm-ban{padding:13px 14px;border-radius:14px;color:#fff;background-color:oklch(0.38 0.07 225);background-image:linear-gradient(135deg,oklch(0.42 0.07 205),oklch(0.33 0.07 245))}
.pm-ban small{display:block;font-size:var(--t4);color:oklch(0.93 0.02 220)}
.pm-ban>b{display:block;margin-top:8px;font:500 var(--t2)/1.15 var(--f-d)}
.pm-ban>span{display:block;margin-top:6px;font-size:var(--t4)}
.pm-rec{margin-top:10px;padding:8px 12px;border-radius:10px;background:oklch(1 0 0 / .14)}
.pm-rec b{display:block;margin:2px 0;font:500 var(--t2)/1.1 var(--f-d)}
.pm-g{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pm-g>div,.pm-att{padding:9px 12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px oklch(0.9 0.01 245)}
.pm-g b{display:block;font:500 var(--t2)/1.1 var(--f-d)}
.pm-g small{display:block;margin-top:4px;color:var(--ink-3);font-size:var(--t4)}
.pm-att i{display:inline-block;padding:3px 10px;border-radius:999px;font-style:normal;font-weight:500;font-size:var(--t4);background:oklch(0.95 0.05 80);color:oklch(0.42 0.1 65)}
.pm-att p{margin-top:6px;font-size:var(--t4)}
@media (max-width:699px){.tb-s[data-i="0"] .tb-frag.tb-scr{left:auto;bottom:auto;right:10px;top:30%;width:50%}}
/* == polish end == */


/* == move 2: the nav shows the connection begin == */
/* The page acts out its own story: Cloud while the page is light, Offline while it is dark, Synced as it lightens. */
.nav-net{display:none;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:96px;height:32px;padding:0 10px;margin-right:8px;border-radius:999px;font-size:var(--t4);font-weight:500;line-height:1;white-space:nowrap;color:var(--ink);
  background:oklch(0.5 0.09 190 / .1);box-shadow:0 0 0 1px oklch(0.5 0.09 190 / .2) inset;opacity:0;pointer-events:none;
  transition:opacity .4s var(--ease),background-color .7s var(--ease),color .7s var(--ease),box-shadow .7s var(--ease)}
.nav.solid .nav-net{opacity:1}
.nav-net i{flex:none;width:8px;height:8px;border-radius:50%;background:oklch(0.62 0.15 155);transition:background-color .7s var(--ease)}
.nav-net b{font-weight:500}
.nav-net em{display:none;font-style:normal;font-weight:400;color:var(--ink-2)}
@media (min-width:520px){.nav-net{display:inline-flex}}
html[data-conn=offline] .nav-net{background:oklch(0.95 0.05 75);box-shadow:0 0 0 1px oklch(0.8 0.1 70 / .55) inset}
html[data-conn=offline] .nav-net i{background:oklch(0.7 0.16 60)}
html[data-conn=synced] .nav-net i{background:var(--teal)}
html.is-dark .nav.solid .nav-net{color:#fff;background:oklch(1 0 0 / .1);box-shadow:0 0 0 1px oklch(1 0 0 / .22) inset}
html.is-dark .nav.solid .nav-net em{color:oklch(0.88 0.015 232)}
html.is-dark[data-conn=offline] .nav.solid .nav-net i{background:oklch(0.78 0.15 65)}
/* == move 2 end == */

/* == move 3: one headline and photo grammar begin == */
/* Every h2 enters the same way: its lines rise out of a mask, one after another, on the page's one curve.
   js/v7.js splits the lines and adds .hs only when motion is allowed, so the default state is plain visible text. */
.h-ln{display:block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em}
.h-li{display:block}
.js h2.hs .h-li{transform:translateY(112%);transition:transform 1.15s var(--ease) calc(var(--i) * 100ms)}
.js h2.hs.in .h-li{transform:none}
@media (prefers-reduced-motion:reduce){.js h2.hs .h-li{transform:none;transition:none}}
/* slow depth on the outage photograph, driven by scroll position where the browser supports it */
@keyframes depth{from{transform:translateY(-3.5%) scale(1.09)}to{transform:translateY(3.5%) scale(1.09)}}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){.out-stage picture img{animation:depth linear both;animation-timeline:view();animation-range:cover}}
}
/* == move 3 end == */

/* == move 4: hero uses the page's headline grammar begin == */
h1 .ln{overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em}
h1 .ln>span{animation:h1-rise 1.15s .55s var(--ease) both}
h1 .ln:nth-child(2)>span{animation-delay:.67s}
@keyframes h1-rise{from{transform:translateY(112%)}}
.hero .lede{animation-delay:1s}
.hero .acts{animation-delay:1.15s}
@media (prefers-reduced-motion:reduce){h1 .ln>span,.hero .lede,.hero .acts{animation:none}}
/* == move 4 end == */

/* rollout dots: the digit flips colour early in the fill so it never sits mid-grey on a mid-grey disc */
.rl-n{transition:background-color .14s linear,box-shadow .14s linear,color .14s linear}
.rl.in .rl-n{transition-delay:calc(.3s + var(--i,0) * .45s)}

/* the active room's step number: a deeper teal so it clears 4.5:1 on the tinted room */
.story .map .sb-steps.sb8 button[aria-pressed=true] b::before{color:oklch(0.42 0.08 190)}


/* == sim: the outage simulator begin == */
/* A dark stage: the front-desk app on the left, the owner's cloud view on the right, the internet as the line between
   them. The line breaks when the internet drops; changes wait on it; when it returns they travel to the owner.
   Every panel has a fixed size so the demo never moves the page. Markup ships in the finished state for no-JS. */
.sim{--on:oklch(0.66 0.15 155);--off:oklch(0.74 0.15 62);--syn:oklch(0.66 0.13 240);--gl:oklch(0.78 0.11 190);
  position:relative;width:min(100%,1180px);margin:0 auto;padding:clamp(18px,3vw,40px);border-radius:22px;color:#fff;overflow:hidden;isolation:isolate;
  background:radial-gradient(48% 60% at 58% 58%,oklch(0.34 0.06 205 / .55),transparent 72%),radial-gradient(40% 50% at 12% 0%,oklch(0.3 0.04 250 / .6),transparent 70%),var(--night)}
.sim-cap{display:flex;align-items:center;gap:12px;min-height:44px;margin:0 0 clamp(16px,2vw,24px)}
.sim-n{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;font-size:var(--t4);font-weight:500;color:var(--night);background:var(--gl)}
.sim-ct{font-size:var(--t2);line-height:1.3;color:#fff;transition:opacity .35s var(--ease),transform .5s var(--ease)}
.sim-ct.swap{opacity:0;transform:translateY(6px)}
.sim-scene{display:grid;grid-template-columns:minmax(0,1.55fr) clamp(170px,17vw,220px) minmax(0,.95fr);align-items:center}
/* the app window */
.sim-win{position:relative;z-index:2;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 0 0 1px oklch(1 0 0 / .08),0 40px 80px -30px oklch(0 0 0 / .7)}
.sim-bar{display:flex;align-items:center;gap:12px;height:52px;padding:0 16px;border-bottom:1px solid var(--line);background:oklch(0.985 0.004 245);border-radius:14px 14px 0 0}
.sim-brand{display:flex;align-items:center;gap:9px;margin-right:auto;font-size:var(--t4);color:var(--ink-3)}
.sim-brand svg{width:24px;height:24px}
.sim-brand b{font-weight:500;color:var(--ink);font-size:var(--t3)}
.sim-brand small{font-size:inherit}
.sim-sig{display:flex;align-items:flex-end;gap:3px;height:15px}
.sim-sig i{width:4px;border-radius:2px;background:var(--ink);transition:opacity .35s var(--ease),transform .35s var(--ease);transform-origin:bottom}
.sim-sig i:nth-child(1){height:5px}.sim-sig i:nth-child(2){height:8px}.sim-sig i:nth-child(3){height:11px}.sim-sig i:nth-child(4){height:15px}
.sim[data-net=offline] .sim-sig i{opacity:.15;transform:scaleY(.55)}
.sim[data-net=offline] .sim-sig i:nth-child(3){transition-delay:.1s}.sim[data-net=offline] .sim-sig i:nth-child(2){transition-delay:.2s}.sim[data-net=offline] .sim-sig i:nth-child(1){transition-delay:.3s}
.sim[data-net=syncing] .sim-sig i:nth-child(2){transition-delay:.1s}.sim[data-net=syncing] .sim-sig i:nth-child(3){transition-delay:.2s}.sim[data-net=syncing] .sim-sig i:nth-child(4){transition-delay:.3s}
.sim-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:104px;height:30px;border-radius:999px;font-size:var(--t4);font-weight:500;
  background:oklch(0.95 0.04 155);color:oklch(0.36 0.09 155);box-shadow:0 0 0 1px oklch(0.62 0.15 155 / .25) inset;transition:background-color .5s var(--ease),color .5s var(--ease),box-shadow .5s var(--ease)}
.sim-pill i{width:8px;height:8px;border-radius:50%;background:oklch(0.62 0.15 155)}
.sim[data-net=online] .sim-pill i{animation:sim-live 2.4s var(--ease) infinite}
.sim[data-net=offline] .sim-pill{background:oklch(0.96 0.045 75);color:oklch(0.42 0.1 60);box-shadow:0 0 0 1px oklch(0.72 0.15 62 / .35) inset}
.sim[data-net=offline] .sim-pill i{background:oklch(0.72 0.15 62)}
.sim[data-net=syncing] .sim-pill{background:oklch(0.95 0.03 245);color:oklch(0.4 0.12 250);box-shadow:0 0 0 1px oklch(0.58 0.14 250 / .3) inset}
.sim[data-net=syncing] .sim-pill i{width:10px;height:10px;background:transparent;border:2px solid oklch(0.58 0.14 250);border-right-color:transparent;animation:sim-spin .7s linear infinite}
@keyframes sim-live{0%{box-shadow:0 0 0 0 oklch(0.62 0.15 155 / .5)}70%,100%{box-shadow:0 0 0 7px oklch(0.62 0.15 155 / 0)}}
@keyframes sim-spin{to{transform:rotate(1turn)}}
.sim-app{display:grid;grid-template-columns:128px 1fr;height:340px}
.sim-nav{position:relative;display:grid;align-content:start;gap:4px;padding:14px 10px;border-right:1px solid var(--line);background:oklch(0.985 0.004 245);border-radius:0 0 0 14px}
.sim-nav span{position:relative;z-index:1;display:flex;align-items:center;height:36px;padding:0 12px;border-radius:8px;font-size:var(--t4);color:var(--ink-3);transition:color .4s var(--ease)}
.sim-nav span.on{color:var(--ink);font-weight:500}
.sim-navbar{position:absolute;left:10px;right:10px;top:calc(14px + var(--ny,0) * 40px);height:36px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px var(--line),0 4px 10px -6px oklch(0.2 0.03 250 / .3);transition:top .55s var(--ease)}
.sim-view{position:relative;overflow:hidden}
.sim-toast{position:absolute;left:16px;right:16px;top:12px;z-index:3;margin:0;padding:9px 14px;border-radius:10px;font-size:var(--t4);background:var(--ink);color:#fff;opacity:0;transform:translateY(-12px);pointer-events:none;transition:opacity .45s var(--ease),transform .6s var(--ease)}
.sim-toast b{font-weight:500;color:oklch(0.85 0.12 70)}
.sim.cut .sim-toast{opacity:1;transform:none}
.sim-pane{position:absolute;inset:0;display:flex;flex-direction:column;padding:62px 22px 20px;opacity:0;transform:translateX(28px);pointer-events:none;transition:opacity .55s var(--ease),transform .7s var(--ease)}
.sim-pane.on{opacity:1;transform:none;pointer-events:auto}
.sim-pane.out{transform:translateX(-28px)}
.sim-ph{margin:0;font-size:var(--t3);font-weight:500}
.sim-ph small{margin-left:8px;font-size:var(--t4);font-weight:400;color:var(--ink-3)}
.sim-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.sim-fields label{display:block;padding:8px 12px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--line) inset;transition:box-shadow .3s var(--ease)}
.sim-fields label.f{box-shadow:0 0 0 2px var(--teal) inset}
.sim-fields span{display:block;font-size:var(--t4);color:var(--ink-3)}
.sim-fields b{display:block;min-height:1.4em;font-size:var(--t3);font-weight:450}
.sim-fields b.typing::after{content:"";display:inline-block;width:1.5px;height:1em;margin-left:2px;vertical-align:-2px;background:var(--teal);animation:sim-caret 1s steps(1) infinite}
@keyframes sim-caret{50%{opacity:0}}
.sim-tbl{margin:12px 0 0;padding:0;list-style:none}
.sim-tbl li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:var(--t3);transition:opacity .45s var(--ease),transform .55s var(--ease)}
.sim-tbl li.hide{opacity:0;transform:translateY(8px)}
.sim-tbl b{font-weight:500;font-variant-numeric:tabular-nums}
.sim-sum{display:flex;align-items:baseline;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line)}
.sim-sum span{font-size:var(--t3);color:var(--ink-3)}
.sim-bill{font-size:var(--t1);font-weight:450;letter-spacing:-.02em;line-height:1.05;font-variant-numeric:tabular-nums}
.sim-split{margin:10px 0 0}
.sim-bar2{display:block;height:6px;border-radius:99px;background:oklch(0.92 0.006 245);overflow:hidden}
.sim-bar2 i{display:block;height:100%;width:calc(var(--hmo,1) * 80%);border-radius:inherit;background:var(--teal);transition:width 1.2s var(--ease)}
.sim-sp{display:flex;justify-content:space-between;margin-top:6px;font-size:var(--t4);color:var(--ink-3)}
.sim-row{display:flex;align-items:center;gap:14px;margin-top:auto}
.sim-do,.sim-plug,.sim-again{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;font-size:var(--t4);font-weight:500;transition:transform .25s var(--ease),background-color .3s var(--ease),opacity .3s var(--ease),box-shadow .3s var(--ease)}
.sim-do{background:var(--ink);color:#fff}
.sim-do:focus-visible,.sim-plug:focus-visible,.sim-again:focus-visible{outline:3px solid var(--gl);outline-offset:3px}
.sim-do.press,.sim-plug.press{transform:scale(.95)}
.sim-do.ask::after,.sim-plug.ask::after{content:"";position:absolute;inset:-5px;border-radius:inherit;box-shadow:0 0 0 2px var(--teal);animation:sim-ask 1.5s var(--ease) infinite}
.sim-plug.ask::after{box-shadow:0 0 0 2px var(--gl)}
@keyframes sim-ask{0%{opacity:.9;transform:scale(.97)}100%{opacity:0;transform:scale(1.14)}}
.sim-ok{font-style:normal;font-size:var(--t4);font-weight:500;color:oklch(0.4 0.1 155);opacity:0;transform:translateX(-6px);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.sim-ok::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:oklch(0.62 0.15 155);vertical-align:1px}
.sim-ok.on{opacity:1;transform:none}
/* the line between them */
.sim-link{position:relative;align-self:stretch;display:grid;place-items:center}
.sim-wire{position:absolute;left:-2px;right:-2px;top:50%;height:2px;margin-top:-1px;border-radius:2px;
  background:linear-gradient(90deg,var(--gl),oklch(0.78 0.11 190 / .55));box-shadow:0 0 14px oklch(0.78 0.11 190 / .55);transition:opacity .5s var(--ease)}
.sim-wire::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:repeating-linear-gradient(90deg,transparent 0 14px,#fff 14px 22px);background-size:44px 100%;transition:opacity .4s var(--ease)}
.sim[data-net=offline] .sim-wire{opacity:.22;box-shadow:none;background:repeating-linear-gradient(90deg,oklch(1 0 0 / .8) 0 6px,transparent 6px 12px)}
.sim[data-net=syncing] .sim-wire::after{opacity:.9;animation:sim-flow .6s linear infinite}
@keyframes sim-flow{to{background-position:44px 0}}
.sim-plug{z-index:2;min-width:132px;border-radius:999px;background:oklch(0.24 0.035 250);color:oklch(0.9 0.02 220);box-shadow:0 0 0 1px oklch(1 0 0 / .14),0 10px 30px -10px oklch(0 0 0 / .6);pointer-events:none}
.sim-plug span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--on);vertical-align:1px}
.sim[data-net=offline] .sim-plug span::before{background:var(--off)}
.sim[data-net=syncing] .sim-plug span::before{background:var(--syn)}
.sim-plug.ask{pointer-events:auto;background:#fff;color:var(--ink)}
.sim-plug.ask span::before{background:var(--off)}
/* changes waiting on the line */
.sim-tray{position:absolute;left:50%;top:calc(50% + 34px);z-index:3;width:max-content;transform:translateX(-50%)}
.sim-tray p{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:var(--t4);color:oklch(0.86 0.02 230);opacity:0;transition:opacity .4s var(--ease)}
.sim-tray.has p{opacity:1}
.sim-qn{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;font-size:var(--t4);font-weight:500;background:var(--off);color:oklch(0.22 0.05 60);font-variant-numeric:tabular-nums}
.sim-ql{display:grid;justify-items:center;gap:6px;margin:8px 0 0;padding:0;list-style:none}
.sim-ql li,.sim-fly{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:999px;font-size:var(--t4);white-space:nowrap;
  background:oklch(0.96 0.04 75);color:oklch(0.34 0.08 60);box-shadow:0 10px 24px -12px oklch(0 0 0 / .6)}
.sim-ql li{animation:sim-drop .6s cubic-bezier(.34,1.56,.64,1) both}
.sim-ql li::before,.sim-fly::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--off);transition:background-color .3s var(--ease)}
.sim-fly{position:absolute;z-index:6;margin:0;pointer-events:none;transition:background-color .35s var(--ease),color .35s var(--ease)}
.sim-fly.ok{background:oklch(0.95 0.035 155);color:oklch(0.32 0.08 155)}
.sim-fly.ok::before{background:var(--on)}
@keyframes sim-drop{from{opacity:0;transform:translateY(-16px) scale(.9)}}
/* the owner's view */
.sim-own{position:relative;z-index:2;padding:18px;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 0 0 1px oklch(1 0 0 / .08),0 40px 80px -30px oklch(0 0 0 / .7);transition:box-shadow .6s var(--ease),filter .6s var(--ease)}
.sim-own.stale{filter:saturate(.4) brightness(.93)}
.sim-own.fresh{box-shadow:0 0 0 2px var(--on),0 0 40px -6px oklch(0.66 0.15 155 / .6),0 40px 80px -30px oklch(0 0 0 / .7)}
.sim-oh{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;font-size:var(--t4);color:var(--ink-3)}
.sim-cs{font-style:normal;font-weight:500;color:oklch(0.4 0.1 155)}
.sim-own.stale .sim-cs{color:var(--ink-3)}
.sim-kv{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0}
.sim-kv dt{font-size:var(--t4);color:var(--ink-3)}
.sim-kv dd{margin:2px 0 0;font-size:var(--t2);font-weight:500;font-variant-numeric:tabular-nums}
.sim-cl{display:grid;gap:6px;min-height:calc(3 * 34px + 12px);margin:14px 0 0;padding:0;list-style:none;align-content:start}
.sim-cl li{display:flex;align-items:center;gap:9px;height:34px;padding:0 12px;border-radius:9px;font-size:var(--t4);white-space:nowrap;background:oklch(0.97 0.025 155);color:oklch(0.32 0.08 155)}
.sim-cl li::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:oklch(0.62 0.15 155) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.sim-cl li.pop{animation:sim-pop .5s cubic-bezier(.34,1.56,.64,1) both}
@keyframes sim-pop{from{opacity:0;transform:scale(.8)}}
.sim-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:clamp(16px,2vw,24px)}
.sim-hint{margin:0;font-size:var(--t4);color:oklch(0.82 0.02 235)}
.sim-again{border-radius:999px;color:#fff;box-shadow:0 0 0 1px oklch(1 0 0 / .3) inset;opacity:0;pointer-events:none}
.sim.fin .sim-again{opacity:1;pointer-events:auto}
.sim-again:hover{box-shadow:0 0 0 1px #fff inset}
.sim-coach{position:absolute;left:0;top:0;z-index:7;margin:0;padding:6px 12px;border-radius:999px;font-size:var(--t4);font-weight:500;background:var(--gl);color:var(--night);opacity:0;pointer-events:none;transform:translate(var(--cx,0),var(--cy,0)) translateY(6px);transition:opacity .35s var(--ease),transform .5s var(--ease)}
.sim-coach.on{opacity:1;transform:translate(var(--cx,0),var(--cy,0))}
.sim-coach::after{content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;margin-left:-5px;background:inherit;transform:rotate(45deg);border-radius:2px}
.sim-cur{position:absolute;left:0;top:0;z-index:8;width:26px;height:26px;opacity:0;pointer-events:none;filter:drop-shadow(0 4px 10px oklch(0 0 0 / .45))}
@media (max-width:899px){
  .sim{padding:14px;border-radius:18px}
  .sim-cap{min-height:56px;margin-bottom:12px}
  .sim-scene{grid-template-columns:1fr;grid-template-rows:auto 104px auto}
  .sim-app{grid-template-columns:1fr;height:288px}
  .sim-nav{display:none}
  .sim-bar{height:48px;padding:0 12px}
  .sim-brand small{display:none}
  .sim-pane{padding:56px 14px 14px}
  .sim-fields{gap:8px}
  .sim-wire{left:50%;right:auto;top:-2px;bottom:-2px;width:2px;height:auto;margin:0 0 0 -1px;background:linear-gradient(180deg,var(--gl),oklch(0.78 0.11 190 / .55))}
  .sim[data-net=offline] .sim-wire{background:repeating-linear-gradient(180deg,oklch(1 0 0 / .8) 0 6px,transparent 6px 12px)}
  .sim-wire::after{background:repeating-linear-gradient(180deg,transparent 0 14px,#fff 14px 22px);background-size:100% 44px}
  @keyframes sim-flow{to{background-position:0 44px}}
  .sim-plug{min-width:120px;min-height:40px}
  .sim-tray{top:4px;left:0;right:0;width:auto;transform:none}
  .sim-tray p{display:none}
  .sim-ql{display:flex;justify-content:center;flex-wrap:nowrap;gap:6px;margin:0}
  .sim-ql li{height:30px;padding:0 10px}
  .sim-own{padding:14px}
  .sim-kv{margin-top:10px}
  .sim-kv dd{font-size:var(--t3)}
  .sim-cl{min-height:calc(3 * 32px + 12px);margin-top:10px}
  .sim-cl li{height:32px}
  .sim-foot{margin-top:12px}
  .sim-plug{position:relative;top:16px}
}
@media (prefers-reduced-motion:reduce){.sim *,.sim *::before,.sim *::after{animation:none!important;transition:none!important}}
/* fit: buttons never wrap, every pane fits its frame, the phone stage fits one screen */
.sim-do{white-space:nowrap;flex:none}
@media (min-width:900px){.sim-app{height:372px}.sim-scene{grid-template-columns:minmax(0,1.7fr) clamp(170px,16vw,210px) minmax(0,1fr)}}
@media (max-width:899px){
  .sim-app{height:306px}
  .sim-pane{padding:54px 14px 12px}
  .sim-tbl{margin-top:8px}
  .sim-tbl li{padding:8px 0}
  .sim-sum{padding-top:6px}
  .sim-split{margin-top:6px}
  .sim-fields label{padding:6px 10px}
  .sim-scene{grid-template-rows:auto 86px auto}
  .sim-plug{top:12px}
  .sim-kv{grid-template-columns:1fr 1fr}
  .sim-kv div{display:block}
  .sim-cl{min-height:calc(3 * 30px + 12px);gap:5px}
  .sim-cl li{height:30px}
  .sim-hint{display:none}
  .sim-foot{position:absolute;right:14px;top:14px;margin:0}
  .sim-cap{padding-right:96px;min-height:48px}
  .sim-ct{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .sim-again{min-height:40px;padding:0 14px}
}
/* the stage follows the page tone: light while the demo is online, dark while it is offline */
.sim{background:color-mix(in oklab,oklch(0.955 0.006 245),var(--night) calc(var(--dk,0) * 100%));color:var(--ink);box-shadow:0 0 0 1px oklch(0.22 0.035 250 / calc(.1 - var(--dk,0) * .1))}
.sim::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--dk,0);
  background:radial-gradient(48% 60% at 58% 58%,oklch(0.34 0.06 205 / .55),transparent 72%),radial-gradient(40% 50% at 12% 0%,oklch(0.3 0.04 250 / .6),transparent 70%)}
.sim-ct{color:var(--ink);transition:color .6s var(--ease),opacity .35s var(--ease),transform .5s var(--ease)}
.sim-hint{color:var(--ink-3);transition:color .6s var(--ease)}
.sim-tray p{color:var(--ink-3)}
.sim-plug{background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--line),0 10px 30px -14px oklch(0.2 0.03 250 / .35)}
.sim-again{color:var(--ink);box-shadow:0 0 0 1px var(--line) inset}
.sim-win,.sim-own{box-shadow:0 0 0 1px var(--line),0 30px 60px -30px oklch(0.2 0.03 250 / .35)}
html.is-dark .sim-ct{color:#fff}
html.is-dark .sim-hint,html.is-dark .sim-tray p{color:oklch(0.84 0.02 235)}
html.is-dark .sim-plug{background:oklch(0.24 0.035 250);color:oklch(0.9 0.02 220);box-shadow:0 0 0 1px oklch(1 0 0 / .14),0 10px 30px -10px oklch(0 0 0 / .6)}
html.is-dark .sim-plug.ask{background:#fff;color:var(--ink)}
html.is-dark .sim-again{color:#fff;box-shadow:0 0 0 1px oklch(1 0 0 / .3) inset}
html.is-dark .sim-win,html.is-dark .sim-own{box-shadow:0 0 0 1px oklch(1 0 0 / .08),0 40px 80px -30px oklch(0 0 0 / .7)}
.sim[data-net=offline] .sim-wire{background:repeating-linear-gradient(90deg,var(--ink-3) 0 6px,transparent 6px 12px)}
html.is-dark .sim[data-net=offline] .sim-wire{background:repeating-linear-gradient(90deg,oklch(1 0 0 / .8) 0 6px,transparent 6px 12px)}
@media (max-width:899px){
  .sim[data-net=offline] .sim-wire{background:repeating-linear-gradient(180deg,var(--ink-3) 0 6px,transparent 6px 12px)}
  html.is-dark .sim[data-net=offline] .sim-wire{background:repeating-linear-gradient(180deg,oklch(1 0 0 / .8) 0 6px,transparent 6px 12px)}
  .sim-plug{min-height:44px}
  .sim-again{min-height:44px}
}
/* changes wait as glowing dots in one outbox on the line; the owner's card shows what has not arrived yet */
.sim-out{position:absolute;left:50%;top:calc(50% - 64px);z-index:3;display:inline-flex;align-items:center;gap:8px;height:32px;margin:0;padding:0 12px 0 10px;border-radius:999px;white-space:nowrap;
  font-size:var(--t4);color:var(--ink-2);background:#fff;box-shadow:0 0 0 1px var(--line),0 10px 24px -14px oklch(0.2 0.03 250 / .4);transform:translateX(-50%) scale(.9);opacity:0;transition:opacity .4s var(--ease),transform .5s var(--ease)}
.sim-out.has{opacity:1;transform:translateX(-50%)}
.sim-out b{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
html.is-dark .sim-out{background:oklch(0.24 0.035 250);color:oklch(0.84 0.02 235);box-shadow:0 0 0 1px oklch(1 0 0 / .14)}
html.is-dark .sim-out b{color:#fff}
.sim-dots{display:inline-flex;gap:4px}
.sim-dots i,.sim-pkt{display:block;width:9px;height:9px;border-radius:50%;background:var(--off);box-shadow:0 0 10px oklch(0.74 0.15 62 / .7)}
.sim-dots i{animation:sim-pop .5s cubic-bezier(.34,1.56,.64,1) both}
.sim-pkt{position:absolute;z-index:6;margin:0;pointer-events:none;transition:background-color .3s var(--ease),box-shadow .3s var(--ease)}
.sim-pkt.ok{background:var(--on);box-shadow:0 0 14px oklch(0.66 0.15 155 / .8)}
.sim-cl li{transition:background-color .45s var(--ease),color .45s var(--ease),box-shadow .45s var(--ease)}
.sim-cl li.wait{background:transparent;color:var(--ink-3);box-shadow:0 0 0 1px var(--line) inset;background-image:repeating-linear-gradient(90deg,transparent 0 6px,transparent 6px 12px)}
.sim-cl li.wait::before{background:none;box-shadow:0 0 0 1.5px var(--ink-3) inset;opacity:.6}
.sim-cl li.wait::after{content:"Not here yet";margin-left:auto;font-size:var(--t4);color:var(--ink-3);opacity:.8}
@media (max-width:899px){
  .sim-cl li.wait::after{content:"Waiting"}
}
.sim-out .sim-qn{display:inline;min-width:0;height:auto;padding:0;border-radius:0;background:none;color:inherit;font-weight:500}
/* the banner only takes room while the internet is down; the content glides down to make space for it */
.sim-pane{padding-top:24px;transition:opacity .55s var(--ease),transform .7s var(--ease),padding-top .6s var(--ease)}
.sim.cut .sim-pane{padding-top:62px}
@media (max-width:899px){
  .sim-pane{padding-top:16px}
  .sim.cut .sim-pane{padding-top:54px}
  .sim-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
  .sim-plug{position:relative;top:auto;margin:0}
  .sim-out{position:relative;left:auto;top:auto;transform:scale(.92)}
  .sim-out.has{transform:none}
  .sim-scene{grid-template-rows:auto 124px auto}
}
/* == sim end == */

/* == story flow begin == */
/* Scenes follow Amaka through the building: the next one wipes in from the side she walks towards while the last one
   drifts back and dims, on the same 1.2s curve as the route on the cutaway. */
.sb-slide{opacity:1;visibility:hidden;filter:none;transition:none;z-index:0}
.sb-slide.on{visibility:visible;z-index:2;animation:sb-in 1.4s cubic-bezier(.4,0,.2,1) both}
.sb-slide.leave{visibility:visible;z-index:1;animation:none}
@keyframes sb-in{from{opacity:0}to{opacity:1}}
.sb-slide .card{transition-delay:.55s}
@media (max-width:899px){.story .sb-slide[data-i="5"] img,.story .sb-slide[data-i="5"] .clip{object-position:27% 40%}}
.sb-bars,.sb-now{display:none}
@media (max-width:899px){
  .story .map{display:none}
  .story .sb-frame{cursor:pointer}
  .story .sb-frame::before{content:"";position:absolute;inset:0 0 auto;z-index:3;height:96px;pointer-events:none;background:linear-gradient(oklch(0.12 0.02 250 / .5),oklch(0.12 0.02 250 / 0))}
  .sb-bars{position:absolute;left:14px;right:62px;top:16px;z-index:4;display:flex;gap:4px}
  .sb-bars i{position:relative;flex:1;height:3px;border-radius:2px;overflow:hidden;background:oklch(1 0 0 / .32)}
  .sb-bars i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
  .sb-bars i.done::after{transform:none}
  .sb-bars i.cur::after{animation:sb-fill var(--dur,6000ms) linear forwards}
  .sb.paused .sb-bars i.cur::after{animation-play-state:paused}
  .sb-now{display:block;position:absolute;left:14px;top:28px;z-index:4;margin:0;font-size:var(--t4);font-weight:500;color:#fff;text-shadow:0 1px 10px oklch(0 0 0 / .45)}
  .story .sb-cap{margin-top:20px;min-height:calc(3 * 1.5em)}
  .story{padding-bottom:48px}
}
@keyframes sb-fill{to{transform:none}}
@media (prefers-reduced-motion:reduce){.sb-slide.on,.sb-slide.leave{animation:none}.sb-slide.leave{visibility:hidden}.sb-bars i.cur::after{animation:none;transform:none}}
/* == story flow end == */

/* == problem: one record fills in begin == */
/* The four paper tools hand their piece of Amaka's visit along the wires, one after another, and each row of the one
   record writes itself as it arrives. The record is the dominant object: wider, lit, with a live dot. */
@media (min-width:900px){
  .dg{grid-template-columns:4fr 2.4fr 6.6fr;height:540px;background:oklch(0.955 0.008 85)}
  .dg-rec{height:456px;padding:32px 36px;box-shadow:0 40px 80px -40px oklch(0.17 0.03 250 / .55),0 0 0 1px oklch(1 0 0 / .06) inset}
}
.dg-slip{position:relative;transition:border-color .5s var(--ease),background-color .5s var(--ease),box-shadow .5s var(--ease)}
.dg-dot{position:absolute;right:8px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px oklch(0.5 0.09 190 / .14);opacity:0;transition:opacity .4s var(--ease)}
.dg.go .dg-slip.sent{border-color:oklch(0.5 0.09 190 / .45);box-shadow:0 8px 20px -14px oklch(0.5 0.09 190 / .5)}
.dg.go .dg-slip.sent .dg-dot{opacity:1}
.dg-top small:first-child{display:flex;align-items:center;gap:10px}
.dg-live{display:inline-flex;align-items:center;gap:6px;font-style:normal;font-size:var(--t4);color:oklch(0.88 0.07 180)}
.dg-live::before{content:"";width:7px;height:7px;border-radius:50%;background:oklch(0.78 0.14 165);animation:sim-live 2.4s var(--ease) infinite}
.dg-rec dl div{position:relative;min-height:2.6em;transition:opacity .6s var(--ease),transform .7s var(--ease)}
.dg-rec dd{position:relative}
.js .dg.go .dg-rec dl div:not(.got){opacity:.18}
.js .dg.go .dg-rec dl div:not(.got) dd{visibility:hidden}
.js .dg.go .dg-rec dl div:not(.got)::after{content:"";position:absolute;left:calc(6.4em + 16px);top:50%;width:46%;height:8px;margin-top:-4px;border-radius:4px;background:oklch(1 0 0 / .14)}
@media (max-width:899px){.js .dg.go .dg-rec dl div:not(.got)::after{left:0;top:auto;bottom:6px;margin:0}}
.dg-rec dl div.got{animation:dg-land .8s var(--ease) both}
.dg-rec dl div.got dt{color:oklch(0.88 0.07 180)}
@keyframes dg-land{from{opacity:.4;transform:translateX(-10px)}}
.dg-pkt{position:absolute;z-index:3;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px oklch(0.5 0.09 190 / .18),0 0 16px oklch(0.5 0.09 190 / .7);pointer-events:none;offset-rotate:0deg}
.dg-wires path.hot{stroke-width:2;opacity:1}
@media (prefers-reduced-motion:reduce){.dg-pkt{display:none}.dg-rec dl div.got{animation:none}.dg-live::before{animation:none}}
/* == problem end == */

/* == devices live begin == */
/* Each screen is real HTML drawn at a fixed design size (--dw x --dh) and scaled to the device, so it stays crisp
   and every number and row can move. One record travels: the laptop saves it offline, the line returns, it lands on the
   nurse's tablet and on the owner's phone. */
.ds{position:absolute;inset:0;overflow:hidden;background:oklch(0.975 0.004 245)}
.ds-lap{--dw:820;--dh:512}
.ds-tab{--dw:600;--dh:375}
.ds-in{position:absolute;left:0;top:0;width:calc(var(--dw) * 1px);height:calc(var(--dh) * 1px);transform-origin:0 0;transform:scale(var(--ps,.6));display:flex;flex-direction:column;color:var(--ink);font-size:var(--t4);line-height:1.3}
.dev .scr{position:relative}
.dev .scr::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,oklch(1 0 0 / .1) 0%,oklch(1 0 0 / 0) 38%)}
.ds-bar{flex:none;display:flex;align-items:center;gap:10px;height:48px;padding:0 18px;background:#fff;border-bottom:1px solid var(--line)}
.ds-logo{width:24px;height:24px}
.ds-bar b{font-size:var(--t3);font-weight:500}
.ds-bar small{font-size:var(--t4);color:var(--ink-3);margin-right:auto}
.ds-net{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;font-size:var(--t4);font-weight:500;transition:background-color .5s var(--ease),color .5s var(--ease)}
.ds-net i{width:8px;height:8px;border-radius:50%;transition:background-color .5s var(--ease)}
.ds-net em{font-style:normal}
.ds-net[data-n=online]{background:oklch(0.95 0.04 155);color:oklch(0.36 0.09 155)}
.ds-net[data-n=online] i{background:oklch(0.62 0.15 155);animation:sim-live 2.4s var(--ease) infinite}
.ds-net[data-n=offline]{background:oklch(0.96 0.045 75);color:oklch(0.42 0.1 60)}
.ds-net[data-n=offline] i{background:oklch(0.72 0.15 62)}
.ds-net[data-n=syncing]{background:oklch(0.95 0.03 245);color:oklch(0.4 0.12 250)}
.ds-net[data-n=syncing] i{width:10px;height:10px;background:transparent;border:2px solid oklch(0.58 0.14 250);border-right-color:transparent;animation:sim-spin .7s linear infinite}
.ds-body{flex:1;display:grid;grid-template-columns:150px 1fr;min-height:0}
.ds-nav{display:grid;align-content:start;gap:2px;padding:14px 10px;border-right:1px solid var(--line);background:#fff}
.ds-nav span{padding:8px 12px;border-radius:8px;color:var(--ink-3)}
.ds-nav span.on{background:oklch(0.95 0.006 245);color:var(--ink);font-weight:500}
.ds-main{position:relative;padding:18px 22px;min-height:0;overflow:hidden}
.ds-hd{display:flex;align-items:center;justify-content:space-between}
.ds-hd b{display:block;font-size:var(--t2);font-weight:500}
.ds-hd small{color:var(--ink-3)}
.ds-btn{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:9px;background:var(--ink);color:#fff;font-weight:500;transition:transform .2s var(--ease),box-shadow .3s var(--ease)}
.ds-btn.tap{transform:scale(.94);box-shadow:0 0 0 5px oklch(0.5 0.09 190 / .25)}
.ds-form{position:absolute;right:22px;top:66px;z-index:2;width:300px;padding:16px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line),0 24px 48px -20px oklch(0.2 0.03 250 / .35);
  opacity:0;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .4s var(--ease),transform .5s var(--ease);pointer-events:none}
.ds-lap.f .ds-form{opacity:1;transform:none}
.ds-fh{margin:0 0 10px;font-weight:500}
.ds-fg{display:grid;gap:8px;margin-bottom:12px}
.ds-fg span{display:block;padding:7px 10px;border-radius:8px;box-shadow:0 0 0 1px var(--line) inset}
.ds-fg small{display:block;color:var(--ink-3)}
.ds-fg b{display:block;min-height:1.3em;font-size:var(--t3);font-weight:450}
.ds-q{margin:14px 0 0;padding:0;list-style:none}
.ds-q li{display:grid;grid-template-columns:44px 1fr 110px 92px;align-items:center;height:46px;padding:0 10px;border-bottom:1px solid var(--line);font-size:var(--t3)}
.ds-q i{font-style:normal;color:var(--ink-3);font-variant-numeric:tabular-nums}
.ds-q b{font-weight:500}
.ds-q span{color:var(--ink-2);font-size:var(--t4)}
.ds-q em{justify-self:end;font-style:normal;font-size:var(--t4);padding:4px 10px;border-radius:999px;background:oklch(0.95 0.006 245);color:var(--ink-2)}
.js .ds-q li.lq-new{display:none}
.ds-lap.r .ds-q li.lq-new{display:grid;animation:ds-row .7s var(--ease) both;background:oklch(0.5 0.09 190 / .07)}
.lq-chip{background:oklch(0.96 0.045 75)!important;color:oklch(0.42 0.1 60)!important;transition:background-color .5s var(--ease),color .5s var(--ease)}
.ds-lap.s .lq-chip{background:oklch(0.95 0.04 155)!important;color:oklch(0.36 0.09 155)!important}
@keyframes ds-row{from{opacity:0;transform:translateY(-14px)}}
.ds-toast{position:absolute;left:22px;right:22px;bottom:16px;margin:0;padding:11px 14px;border-radius:10px;background:var(--ink);color:#fff;opacity:0;transform:translateY(12px);transition:opacity .45s var(--ease),transform .55s var(--ease)}
.ds-toast b{font-weight:500;color:oklch(0.85 0.12 70)}
.ds-lap.t .ds-toast{opacity:1;transform:none}
.ds-toast .lt-on{display:none}
.ds-lap.s .ds-toast .lt-off{display:none}
.ds-lap.s .ds-toast .lt-on{display:inline}
.ds-lap.s .ds-toast b{color:oklch(0.85 0.14 155)}
.ds-tmain{flex:1;padding:16px 20px;min-height:0}
.ds-th{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px}
.ds-th b{font-size:var(--t2);font-weight:500}
.ds-th small{color:var(--ink-3)}
.ds-tl{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ds-tl li{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;height:58px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.ds-tl i{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:oklch(0.95 0.006 245);font-style:normal;font-weight:500}
.ds-tl b{display:block;font-size:var(--t3);font-weight:500}
.ds-tl small{display:block;color:var(--ink-3)}
.ds-tl em{font-style:normal;font-size:var(--t4);color:var(--ink-2)}
.js .ds-tl li.tl-new{display:none}
.ds-tab.r .ds-tl li.tl-new{display:grid;animation:ds-row .7s var(--ease) both;box-shadow:0 0 0 2px oklch(0.5 0.09 190 / .5)}
.ds-tab.r .ds-tl li:nth-child(5){display:none}
.tl-crit{padding:5px 11px;border-radius:999px;background:oklch(0.95 0.006 245);transition:background-color .5s var(--ease),color .5s var(--ease)}
.ds-tab.c .tl-crit{background:oklch(0.6 0.2 25);color:#fff;animation:ds-crit 1.6s var(--ease) infinite}
@keyframes ds-crit{0%{box-shadow:0 0 0 0 oklch(0.6 0.2 25 / .5)}70%,100%{box-shadow:0 0 0 9px oklch(0.6 0.2 25 / 0)}}
.pm .pp-n,.pm .pp-a{font-style:normal;font-variant-numeric:tabular-nums}
.js .pm .pp-new{display:none}
.pm .pp-new{font-weight:500;color:oklch(0.5 0.17 25)}
.pm.c .pp-new{display:block;animation:ds-row .6s var(--ease) both}
.pm-rec{transition:box-shadow .5s var(--ease)}
.pm.c .pm-rec{box-shadow:0 0 0 2px oklch(0.85 0.12 175 / .8)}
/* the floor they stand on and the line between them */
.dv-rail{display:none}
@media (min-width:900px){
  .dvs{position:relative}
  .dv .dev{isolation:isolate}
  .dv .dev::after{content:"";position:absolute;left:4%;right:4%;bottom:-18px;height:22px;border-radius:50%;background:radial-gradient(closest-side,oklch(0 0 0 / .5),transparent);filter:blur(4px);z-index:-1}
  .dv-rail{display:block;position:absolute;left:8%;right:8%;top:var(--ry,60%);height:2px;border-radius:2px;pointer-events:none;z-index:0;opacity:0;transition:opacity .8s var(--ease);
    background:linear-gradient(90deg,transparent,oklch(0.78 0.11 190 / .35) 12%,oklch(0.78 0.11 190 / .35) 88%,transparent)}
  .dv-pk{position:absolute;top:50%;left:0;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:oklch(0.85 0.12 180);box-shadow:0 0 0 5px oklch(0.78 0.11 190 / .2),0 0 22px oklch(0.78 0.11 190 / .9);opacity:0}
}
@media (max-width:899px){.ds-lap{--dw:600;--dh:375}.ds-lap .ds-body{grid-template-columns:1fr}.ds-lap .ds-nav{display:none}.ds-q li{grid-template-columns:40px 1fr 92px}.ds-q li span{display:none}.ds-form{width:250px}}
@media (prefers-reduced-motion:reduce){.ds *,.pm *{animation:none!important;transition:none!important}}
.lq-chip .c-on{display:none}
.ds-lap.s .lq-chip .c-off{display:none}
.ds-lap.s .lq-chip .c-on{display:inline}
@media (min-width:900px){.dv-rail.on{opacity:1}}
.ds small,.pm small{font-size:var(--t4)}
.ds-tab.c .tl-crit{background:oklch(0.53 0.19 25)}
/* == devices live end == */

/* == push v2 begin == */
.push.v2 .push-ph img{transform-origin:0 0}
.push.v2 .push-dash{border-radius:10px;overflow:hidden;backface-visibility:hidden}
.push.v2 .push-dash img{width:1600px;height:1000px;object-fit:cover;object-position:top}
.push-pin{display:none}
@media (prefers-reduced-motion:no-preference){
  .push.v2{height:280vh;padding:0}
  .push.v2 .push-stick{position:sticky;top:0;height:100svh;overflow:hidden;display:block}
  .push.v2 .push-ph{position:absolute;inset:0;aspect-ratio:auto;max-height:none}
  .push.v2 .push-ph img{position:absolute;left:0;top:0;width:2752px;height:auto;max-width:none;object-fit:fill;transform:var(--cam,none)!important}
  .push.v2 .push-dash{transform:var(--dwp,none)!important;opacity:1!important}
  .push.v2 .push-veil,.push.v2 .push-end{display:block}
  .push.v2 .push-ph::after{content:"";position:absolute;inset:0 0 auto;height:38vh;pointer-events:none;background:linear-gradient(var(--bg),oklch(0.985 0.004 205 / 0))}
  .push.v2 .push-copy{position:absolute;left:0;right:0;top:clamp(96px,13vh,140px);z-index:2;width:min(40rem,calc(100vw - 32px));margin:0 auto;padding:0;text-align:center}
  .push.v2 .push-copy p:last-child{margin-inline:auto}
}
@media (prefers-reduced-motion:no-preference) and (max-width:899px){
  .push.v2{height:240vh}
  .push.v2 .push-copy{top:84px}
  .push.v2 .push-ph::after{height:46vh}
  .push.v2 .push-end{top:96px}
}
@media (prefers-reduced-motion:reduce){
  .push.v2 .push-ph{aspect-ratio:2752/1536;max-height:none;overflow:hidden}
  .push.v2 .push-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
  .push-pin{display:block;position:absolute;left:0;top:0;width:1600px;height:1000px;margin:0;transform-origin:0 0;overflow:hidden}
  .push-pin img{width:100%;height:100%;object-fit:cover;object-position:top}
  .push.v2 .push-dash{margin:24px var(--gx) 0}
  .push.v2 .push-dash img{width:100%;height:auto}
}
/* == push v2 end == */

/* == problem v3: the four tools, then the one record begin == */
/* Left: what a hospital really runs on, drawn as objects, with Amaka's name written four different ways.
   Right: the same visit as one HealthOS record. */
.dg{background:oklch(0.955 0.008 85)}
.dg-slip{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:8px;height:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.dg-obj{position:relative;display:flex;flex-direction:column;justify-content:center;height:72px;padding:0 18px;color:oklch(0.3 0.04 250);transform:rotate(var(--rot,0deg));transition:transform .8s var(--ease),box-shadow .5s var(--ease)}
.hw{font:500 var(--t2)/1.1 "Caveat",var(--f-d);letter-spacing:.01em}
.hw.sm{font-size:var(--t3);opacity:.75}
.dg-tag{margin:0;font-size:var(--t4);color:var(--ink-3)}
.dg-tag b{font-weight:500;color:var(--ink);margin-right:6px}
.dg-dot{top:36px;right:3px;margin-top:-4.5px}
/* a ruled index card */
.dg-card{--rot:-1.2deg}
.dg-card .dg-obj{background:#fffdf6 repeating-linear-gradient(transparent 0 21px,oklch(0.82 0.04 240 / .55) 21px 22px);background-position:0 9px;box-shadow:0 1px 0 oklch(0 0 0 / .04),0 10px 20px -14px oklch(0.3 0.03 60 / .5);border-top:3px solid oklch(0.66 0.13 25 / .55)}
/* a lab register: ruled columns */
.dg-ledger{--rot:.8deg}
.dg-ledger .dg-obj{gap:4px;padding:0 14px;background:#f8f4e8;box-shadow:inset 3px 0 0 oklch(0.55 0.1 25 / .35),0 10px 20px -14px oklch(0.3 0.03 60 / .5)}
.lg-r{display:grid;grid-template-columns:42px 1fr 1fr;align-items:baseline;gap:8px;border-bottom:1px solid oklch(0.75 0.03 80)}
.lg-r i{font-style:normal;font-size:var(--t4);color:var(--ink-3)}
.lg-r .hw{font-size:var(--t3)}
.lg-r+.lg-r{opacity:.55}
/* a separate desktop app */
.dg-app{--rot:-.4deg}
.dg-app .dg-obj{justify-content:flex-start;gap:0;padding:0;overflow:hidden;border-radius:6px;background:#fff;box-shadow:0 0 0 1px oklch(0.8 0.01 250),0 10px 20px -14px oklch(0.2 0.03 250 / .5)}
.ap-bar{display:flex;gap:5px;align-items:center;height:20px;padding:0 9px;background:oklch(0.9 0.01 250)}
.ap-bar i{width:7px;height:7px;border-radius:50%;background:oklch(0.75 0.01 250)}
.ap-row{flex:1;display:grid;grid-template-columns:1.1fr 1.4fr auto;align-items:center;gap:10px;padding:0 12px;font:500 var(--t4)/1.2 ui-monospace,"SF Mono",Menlo,monospace;color:oklch(0.32 0.03 250)}
.ap-row b{font-weight:600}
/* a carbon receipt slip with a torn edge */
.dg-rcpt{--rot:1.4deg}
.dg-rcpt .dg-obj{background:#fbf6ff;color:oklch(0.35 0.1 290);box-shadow:0 10px 20px -14px oklch(0.3 0.03 60 / .5);
  -webkit-mask:radial-gradient(circle 5px at 50% 100%,transparent 98%,#000) 0 0/14px 100% repeat-x;mask:radial-gradient(circle 5px at 50% 100%,transparent 98%,#000) 0 0/14px 100% repeat-x}
.dg.go .dg-slip.sent .dg-obj{transform:rotate(0deg)}
.dg.go .dg-slip.sent{border:0;box-shadow:none}
/* the record: a light product card */
.dg-rec{background:#fff;color:var(--ink);border-radius:14px;box-shadow:0 0 0 1px var(--line),0 40px 80px -40px oklch(0.2 0.03 250 / .45)}
.dg-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;flex-direction:row;padding-bottom:18px;border-bottom:1px solid var(--line)}
.dg-av{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--ink);color:#fff;font-size:var(--t3);font-weight:500}
.dg-top p{margin:0;display:flex;flex-direction:column;gap:2px}
.dg-top small{font-size:var(--t4);color:var(--ink-3)}
.dg-top b{font:500 var(--t2)/1.2 var(--f-d);color:var(--ink)}
.dg-badges{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.dg-hmo{font-style:normal;font-size:var(--t4);font-weight:500;padding:5px 10px;border-radius:999px;background:oklch(0.95 0.04 155);color:oklch(0.36 0.09 155)}
.dg-live{color:oklch(0.4 0.09 175)}
.dg-live::before{background:oklch(0.62 0.15 155)}
.dg-rec dl{position:relative;padding-left:22px}
.dg-rec dl::before{content:"";position:absolute;left:5px;top:14px;bottom:14px;width:2px;border-radius:2px;background:var(--line)}
.dg-rec dl div{flex-direction:column;align-items:flex-start;gap:2px}
.dg-rec dl div::before{content:"";position:absolute;left:-21px;top:5px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--teal);transition:background-color .4s var(--ease)}
.dg-rec dl div.got::before,.dg-rec dl div:not(.wait)::before{background:var(--teal)}
.dg-rec dt{width:auto;font-size:var(--t4);color:var(--teal);font-weight:500}
.dg-rec dl div.got dt{color:var(--teal)}
.dg-rec dd{font-size:var(--t3);color:var(--ink)}
.js .dg.go .dg-rec dl div:not(.got)::before{background:#fff}
.js .dg.go .dg-rec dl div:not(.got)::after{left:0;top:auto;bottom:4px;margin:0;width:52%;background:oklch(0.22 0.035 250 / .08)}
.js .dg.go .dg-rec dl div:not(.got){opacity:.55}
.dg-rec p{border-top:1px solid var(--line);color:var(--ink-2)}
.dg-rec strong{color:var(--ink)}
@media (min-width:900px){
  .dg{grid-template-columns:4.2fr 2fr 6.4fr;height:auto;min-height:568px}
  .dg-slips{height:464px;justify-content:space-between}
  .dg-wires{height:464px}
  .dg-rec{height:auto;min-height:464px;padding:28px 32px}
}
@media (max-width:899px){
  .dg-slips{gap:18px;padding-right:22px}
  .dg-slip{height:auto}
  .dg-obj{height:68px}
  .dg-slips::after{display:none}
  .dg-slips::before{top:36px;bottom:-40px}
  .dg-dot{right:-26px}
  .dg-rec{padding:20px}
  .dg-top{grid-template-columns:auto 1fr}
  .dg-badges{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){.dg-obj{transition:none}}
.dg-rec .dg-top p{border:0;padding:0}
@media (max-width:899px){
  .dg-slips{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;padding-right:0}
  .dg-slips::before,.dg-slips::after,.dg-dot{display:none}
  .dg-slip{align-items:stretch;gap:6px}
  .dg-obj{height:84px;padding:0 12px}
  .dg-obj .hw{font-size:var(--t3)}
  .dg-obj .hw.sm{font-size:var(--t4)}
  .lg-r{grid-template-columns:1fr 1fr}
  .lg-r i,.lg-r+.lg-r{display:none}
  .dg-ledger .dg-obj{justify-content:center}
  .ap-row{grid-template-columns:1fr;gap:2px;padding:6px 10px}
  .ap-row span:last-child{display:none}
  .dg-tag b{display:block;margin:0}
}
/* == problem v3 end == */

/* == outage info v2 begin == */
/* What works offline, as one panel of tiles instead of a list of rows */
.out-info{display:grid;gap:28px;max-width:var(--max);margin:clamp(36px,5vw,64px) auto 0}
.out-info .out-lede{margin:0;max-width:34em;font-size:var(--t2);line-height:1.5}
.ow{display:grid;gap:22px;padding:clamp(18px,2.4vw,28px);border-radius:18px;background:oklch(1 0 0 / calc(.04 + var(--dk,0) * .02));box-shadow:0 0 0 1px var(--ln) inset}
.ow h3{margin:0 0 12px;font:500 var(--t3)/1.3 var(--f-d);color:var(--fg)}
.ow ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none}
.ow li{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 14px;border-radius:12px;font-size:var(--t4);line-height:1.3;color:var(--fg);background:oklch(1 0 0 / calc(.06 + var(--dk,0) * .02));box-shadow:0 0 0 1px var(--ln) inset;transition:color .7s var(--ease),background-color .7s var(--ease),box-shadow .7s var(--ease)}
.ow-on li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:oklch(0.62 0.15 155) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.ow-off{grid-template-columns:1fr!important;gap:6px!important}
.ow-off li{min-height:44px;color:var(--fg2);background:transparent;box-shadow:none;border:1px dashed var(--ln)}
.ow-off li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;box-shadow:0 0 0 1.5px var(--fg3) inset}
.ow-hub{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:14px;background:oklch(0.5 0.09 190 / .14);box-shadow:0 0 0 1px oklch(0.78 0.11 190 / .3) inset}
.ow-hub p{margin:0;display:flex;flex-direction:column;gap:2px}
.ow-hub b{font-size:var(--t3);font-weight:500;color:var(--fg)}
.ow-hub span{font-size:var(--t4);color:var(--fg2)}
.ow-hi{flex:none;position:relative;width:40px;height:40px;border-radius:12px;background:oklch(0.78 0.11 190 / .18)}
.ow-hi i{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px;border-radius:50%;background:oklch(0.8 0.11 185)}
.ow-hi i:nth-child(1){transform:translate(-11px,6px)}.ow-hi i:nth-child(2){transform:translate(11px,6px)}.ow-hi i:nth-child(3){transform:translate(0,-9px)}
.ow-hi::before{content:"";position:absolute;inset:11px;border:1.5px solid oklch(0.8 0.11 185 / .55);border-radius:50%}
.outage .ow .fine{margin:0;font-size:var(--t4);color:var(--fg3)}
@media (min-width:1000px){
  .out-info{grid-template-columns:5fr 7fr;gap:clamp(40px,5vw,80px);align-items:start}
  .ow{grid-template-columns:1fr 1fr;gap:24px}
  .ow-g:first-child{grid-column:1/-1}
  .ow-on{grid-template-columns:repeat(3,1fr)!important}
  .ow-off{grid-template-columns:1fr!important}
  .ow-hub{align-self:end}
  .ow .fine{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){.ow li{transition:none}}
/* == outage info v2 end == */

/* == still to clip handover begin == */
.hero-pic{display:block;width:100%;height:100%}
.hero-ph .clip{inset:0!important;width:100%!important;height:100%!important}
.hero-ph.has-clip img{animation:none}
.clip.sm{opacity:1;transition:none}
@media (min-width:700px){.hero-ph{left:0!important;-webkit-mask-image:none!important;mask-image:none!important}}
@media (max-width:699px){.hero-ph img,.hero .clip{object-position:71% 30%!important}}
/* == still to clip handover end == */

/* == mobile v2 begin == */
/* Phones get their own, smaller scale: 28/16/15/13, tighter rhythm, and each section sized to roughly one screen. */
@media (max-width:699px){
  :root{--t1:28px;--t2:16px;--t3:15px;--t4:13px;--gx:18px;--sec:56px;--p4:48px;--p4g:24px}
  h2{letter-spacing:-.022em;line-height:1.1}
  .head{margin-bottom:22px}
  .head p,.story .head p,.problem .head p{margin-top:10px;font-size:var(--t3);line-height:1.5}
  .sec,.story,.config .cfg-in,.rollout,.teams{padding-top:56px;padding-bottom:56px}
  .btn,.btn-light{min-height:48px;font-size:var(--t3)}
  .hero h1{font-size:32px}
  .hero .lede{font-size:var(--t3);max-width:22em;margin-inline:auto}
  .facts b{font-size:26px}
  .facts span,.facts li{font-size:var(--t4)}
  /* problem */
  .dg{padding:14px 12px 12px;row-gap:22px}
  .dg-obj{height:66px}
  .dg-rec{padding:16px}
  .dg-rec dl{gap:10px}
  .dg-top b{font-size:var(--t2)}
  .dg-av{width:40px;height:40px;border-radius:12px}
  .dg-rec p{padding-top:12px;font-size:var(--t4)}
  /* story */
  .story .sb-frame{aspect-ratio:4/5}
  .story .sb-cap{font-size:var(--t3);min-height:calc(3 * 1.5em);margin-top:14px}
  /* leaks */
  .leaks .head p{font-size:var(--t3)}
  /* outage */
  .sec.outage{padding-top:64px;padding-bottom:48px}
  .out-stage{aspect-ratio:1/1;border-radius:14px}
  .out-info{gap:20px;margin-top:24px}
  .out-info .out-lede{font-size:var(--t3)}
  .ow{padding:14px;gap:16px;border-radius:16px}
  .ow li{min-height:44px;padding:8px 12px}
  .ow-hub{padding:12px}
  /* devices: one device per screen, swipe for the next */
  .sec.devices{padding-top:56px;padding-bottom:64px}
  .dvs{display:flex;gap:14px;margin:24px calc(var(--gx) * -1) 0;padding:6px var(--gx) 10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .dvs::-webkit-scrollbar{display:none}
  .dvs{align-items:flex-start}
  .dv{flex:0 0 86%;scroll-snap-align:center;gap:14px;justify-content:flex-start}
  .dev-phone{width:min(160px,44vw)}
  .dv-c b{font-size:var(--t3)}
  .dv-c span{font-size:var(--t4)}
  .dv-rail{display:none}
  /* try it */
  .sec.tryit{padding-top:56px}
  .sim{padding:12px;border-radius:16px}
  .sim-cap{min-height:44px;margin-bottom:10px}
  .sim-ct{font-size:var(--t3)}
  .sim-n{width:26px;height:26px}
  .sim-app{height:270px}
  .sim-scene{grid-template-rows:auto 108px auto}
  .sim-own{padding:12px}
  .sim-cl li{height:30px}
  /* teams */
  .tb-frame{aspect-ratio:4/3}
  .tb-bt,.tb-at{font-size:var(--t3)}
  /* rollout */
  .rl{padding:20px 18px}
  /* editions */
  .cfg-q,.cfg-s{padding:20px 18px}
  .config fieldset{margin-bottom:18px}
  .chips button{min-height:44px;font-size:var(--t4)}
  .cfg-s h3{font-size:26px}
  .cfg-s p[data-k=why]{font-size:var(--t3)}
  /* close */
  .close-in h2{font-size:var(--t1)}
  .close-in p{font-size:var(--t3)}
  .close-ph img{aspect-ratio:4/3!important;max-height:none}
  /* footer */
  .foot{font-size:var(--t4)}
}
@media (max-width:699px){
  .js .dv .dev,.js .dv .dv-c{opacity:1;transform:none;transition:none}
  .dv-dots{display:flex;justify-content:center;gap:6px;margin:14px 0 0}
  .dv-dots i{width:6px;height:6px;border-radius:3px;background:oklch(1 0 0 / .3);transition:width .4s var(--ease),background-color .4s var(--ease)}
  .dv-dots i.on{width:18px;background:#fff}
  .devices .dv-dots{order:2}
}
.dv-dots{display:none}
@media (max-width:699px){.dv-dots{display:flex}}
/* editions on phones: each question is one segmented row, the answer is a compact card; the whole chooser fits one screen */
@media (max-width:699px){
  .config .cfg-in{padding-top:44px;padding-bottom:44px}
  .config .head{margin-bottom:16px}
  .cf{border-radius:16px}
  .cfg-q{padding:16px 14px 18px}
  .config fieldset{margin:0 0 14px}
  .config fieldset:last-child{margin-bottom:0}
  .config legend{margin-bottom:8px;font-size:var(--t4);font-weight:500;color:var(--ink-2)}
  .chips,.chips[data-q=net]{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-template-columns:none;gap:3px;padding:3px;border-radius:12px;background:oklch(0.22 0.035 250 / .06)}
  .chips button{min-height:44px;padding:0 6px;border-radius:9px;font-size:var(--t4);background:transparent;box-shadow:none;color:var(--ink-2)}
  .chips button[aria-pressed=true]{background:#fff;color:var(--ink);font-weight:500;box-shadow:0 1px 2px oklch(0.2 0.03 250 / .12),0 0 0 1px oklch(0.22 0.035 250 / .06)}
  .cfg-s{padding:18px 16px}
  .cfg-s h3{margin-top:0;font-size:var(--t1)}
  .cfg-s p[data-k=why]{margin-top:6px;font-size:var(--t4);line-height:1.5}
  .cfg-bot{margin-top:14px;padding-top:0}
  .cfg-t>div{min-height:36px;padding:6px 0}
  .cfg-t dt{font-size:var(--t4)}
  .cfg-t dd{font-size:var(--t4)}
  .cfg-s .fine{margin-top:10px;font-size:12.5px;line-height:1.45}
  .cfg-s .acts{margin-top:14px}
}
/* fit pass: every section about one phone screen */
@media (max-width:699px){
  .sec.problem,.sec.outage,.sec.tryit,.story{padding-top:44px;padding-bottom:40px}
  .dg{row-gap:16px;padding:12px 10px 10px}
  .dg-slips{gap:12px 10px!important}
  .dg-obj{height:54px;padding:0 10px}
  .dg-slip{gap:4px}
  .dg-tag{font-size:12.5px;line-height:1.3}
  .dg-rec{padding:14px}
  .dg-top{gap:10px;padding-bottom:12px}
  .dg-badges{gap:8px}
  .dg-rec dl{gap:8px;margin:12px 0}
  .dg-rec dl div{display:grid;grid-template-columns:76px 1fr;gap:8px;align-items:baseline;min-height:0}
  .dg-rec dt{font-size:12.5px}
  .dg-rec dd{font-size:var(--t4);line-height:1.35}
  .js .dg.go .dg-rec dl div:not(.got)::after{left:84px;bottom:6px;width:46%}
  .story .sb-frame{aspect-ratio:auto;height:min(118vw,54svh)}
  .out-stage{aspect-ratio:4/3}
  .out-info{gap:16px;margin-top:20px}
  .ow{gap:12px;padding:12px}
  .ow h3{margin-bottom:8px;font-size:var(--t4)}
  .ow ul,.ow-off{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .ow li{min-height:38px;padding:6px 10px;font-size:12.5px;border-radius:10px}
  .ow-on li::before,.ow-off li::before{width:14px;height:14px;background-size:14px}
  .ow-hub{padding:10px 12px;gap:10px}
  .ow-hi{width:32px;height:32px}
  .ow-hub b{font-size:var(--t4)}
  .ow-hub span{font-size:12.5px}
  .sim-app{height:236px}
  .sim-pane{padding:14px 12px 10px}
  .sim.cut .sim-pane{padding-top:50px}
  .sim-fields{gap:6px;margin-top:8px}
  .sim-fields label{padding:4px 9px}
  .sim-scene{grid-template-rows:auto 92px auto}
  .sim-oh{font-size:12.5px}
  .sim-kv{margin-top:6px}
  .sim-cl{margin-top:8px;gap:4px;min-height:calc(3 * 28px + 8px)}
  .sim-cl li{height:28px;font-size:12.5px}
  .sim-foot{top:12px}
}
/* mobile v3: no dead space, a composed proof strip, a composed push ending */
@media (max-width:699px){
  .sec,.story,.config .cfg-in,.rollout,.teams,.sec.problem,.sec.outage,.sec.tryit,.sec.devices,.leaks{padding-top:40px!important;padding-bottom:32px!important}
  .leaks{padding-top:24px!important}
  .head{margin-bottom:18px}
  /* proof strip: one tight panel, four cells, hairlines between */
  .strip{padding:16px var(--gx) 8px}
  .facts{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line);overflow:hidden;text-align:left}
  .facts li,.facts li:nth-child(even),.facts li:first-child{display:flex;align-items:center;gap:10px;padding:14px 14px!important;opacity:1;transform:none}
  .facts li:nth-child(odd){border-right:1px solid var(--line)}
  .facts li:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .facts b{flex:none;min-width:1.2ch;font-size:28px;font-weight:400;letter-spacing:-.02em;color:var(--teal)}
  .facts span{margin:0;max-width:none;font-size:12.5px;line-height:1.3;color:var(--ink-2);text-wrap:balance}
  /* devices: no empty run-out after the swipe row */
  .sec.devices{padding-bottom:24px!important}
  .dv-dots{margin-top:8px}
}
.push-flags{display:none}
@media (max-width:899px) and (prefers-reduced-motion:no-preference){
  .push-flags{display:grid;gap:8px;position:absolute;left:16px;right:16px;top:calc(var(--bt,84px) + 108px + (100vw - 32px) / 1.6);z-index:4;margin:0;padding:0;list-style:none;opacity:0}
  .push-flags li{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line),0 10px 24px -16px oklch(0.2 0.03 250 / .4);font-size:var(--t4);color:var(--ink)}
  .push-flags b{display:grid;place-items:center;flex:none;min-width:26px;height:26px;padding:0 6px;border-radius:8px;background:oklch(0.96 0.045 75);color:oklch(0.42 0.1 60);font-weight:500}
  .push-flags span{margin-left:auto;color:var(--ink-3);font-size:var(--t4);white-space:nowrap}
  .push.v2 .push-end{top:var(--bt,84px)}
  .push.v2{height:210vh}
}
/* == mobile v2 end == */

/* == craft system begin == */
/* One small set of made surfaces, used everywhere: a light sheet and a dark sheet, each with a hairline edge, a top
   highlight and a soft two-layer shadow. Lists are rows on hairlines with the state on the right. */
:root{
  --sheet:#fff;
  --sheet-edge:0 0 0 1px oklch(0.22 0.035 250 / .07);
  --sheet-lift:0 1px 0 oklch(1 0 0) inset,0 1px 2px oklch(0.2 0.03 250 / .06),0 18px 40px -22px oklch(0.2 0.03 250 / .28);
  --dsheet:oklch(0.205 0.03 250);
  --dsheet-lift:0 1px 0 oklch(1 0 0 / .07) inset,0 0 0 1px oklch(1 0 0 / .07),0 24px 50px -24px oklch(0 0 0 / .7);
  --hair:oklch(0.22 0.035 250 / .08);
  --dhair:oklch(1 0 0 / .08);
}
/* the patient record: a product sheet, not a card of badges */
.dg-rec{padding:0!important;overflow:hidden;border-radius:20px;background:var(--sheet);box-shadow:var(--sheet-edge),var(--sheet-lift)}
.dg-top{display:flex!important;align-items:flex-end;justify-content:space-between;gap:12px;margin:0;padding:18px 20px 16px!important;border:0!important;color:#fff;
  background:linear-gradient(135deg,oklch(0.42 0.07 205),oklch(0.32 0.065 240))}
.dg-top p{margin:0;display:flex;flex-direction:column;gap:3px}
.dg-top small{font-size:var(--t4);color:oklch(0.9 0.03 210)}
.dg-top b{font:500 var(--t2)/1.15 var(--f-d);letter-spacing:-.015em;color:#fff}
.dg-top .dg-id{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.dg-top .dg-live{font-style:normal;font-size:var(--t4);color:#fff;display:inline-flex;align-items:center;gap:6px;padding-bottom:3px}
.dg-top .dg-live::before{content:"";width:7px;height:7px;border-radius:50%;background:oklch(0.85 0.14 160);box-shadow:0 0 0 3px oklch(0.85 0.14 160 / .25)}
.dg-rec dl{margin:0!important;padding:4px 20px!important;display:block!important}
.dg-rec dl::before{display:none!important}
.dg-rec dl div{display:grid!important;grid-template-columns:92px 1fr;gap:12px;align-items:baseline;padding:13px 0;border-top:1px solid var(--hair);min-height:0}
.dg-rec dl div:first-child{border-top:0}
.dg-rec dl div::before{display:none!important}
.dg-rec dt{font-size:var(--t4)!important;font-weight:400!important;color:var(--ink-3)!important;width:auto}
.dg-rec dd{font-size:var(--t3);color:var(--ink);margin:0}
.js .dg.go .dg-rec dl div:not(.got){opacity:1}
.js .dg.go .dg-rec dl div:not(.got) dt{color:oklch(0.22 0.035 250 / .3)!important}
.js .dg.go .dg-rec dl div:not(.got)::after{left:104px!important;top:50%!important;bottom:auto!important;margin-top:-4px!important;width:40%!important;height:8px;background:oklch(0.22 0.035 250 / .07)!important}
.dg-rec dl div.got{animation:dg-write .7s var(--ease) both}
.dg-rec dl div.got dd{animation:dg-ink .9s var(--ease) both}
@keyframes dg-write{from{background:oklch(0.5 0.09 190 / .08)}}
@keyframes dg-ink{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
.dg-rec>p{margin:0;padding:14px 20px!important;border-top:1px solid var(--hair)!important;background:oklch(0.975 0.004 245);font-size:var(--t4);color:var(--ink-2)}
/* the four tools: cleaner objects, quiet labels */
.dg-tag{font-size:var(--t4);color:var(--ink-3)}
.dg-tag b{font-weight:500;color:var(--ink-2)}
.dg-obj{border-radius:4px}
@media (max-width:699px){
  .dg{background:none!important;padding:0!important;row-gap:18px}
  .dg-slips{gap:10px!important}
  .dg-obj{height:52px}
  .dg-rec dl{padding:2px 16px!important}
  .dg-rec dl div{grid-template-columns:80px 1fr;padding:11px 0}
  .js .dg.go .dg-rec dl div:not(.got)::after{left:92px!important}
  .dg-top{padding:16px!important}
  .dg-rec>p{padding:12px 16px!important}
}
/* outage: one sheet that reads like a status list */
.ow{display:block!important;padding:0!important;border-radius:20px;overflow:hidden;background:var(--dsheet)!important;box-shadow:var(--dsheet-lift)!important}
.ow-h{display:flex;align-items:center;justify-content:space-between;margin:0;padding:16px 18px;border-bottom:1px solid var(--dhair)}
.ow-h b{font-size:var(--t3);font-weight:500;color:#fff}
.ow-sig{display:flex;align-items:flex-end;gap:3px;height:14px}
.ow-sig i{width:4px;border-radius:2px;background:oklch(1 0 0 / .85)}
.ow-sig i:nth-child(1){height:4px}.ow-sig i:nth-child(2){height:7px}.ow-sig i:nth-child(3){height:10px}.ow-sig i:nth-child(4){height:14px}
html.is-dark .ow-sig i{opacity:.18}
html.is-dark .ow-sig i:nth-child(1){opacity:.9;background:oklch(0.78 0.15 65)}
.ow-l{margin:0;padding:0 18px;list-style:none}
.ow-l li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0;border-top:1px solid var(--dhair);font-size:var(--t4);color:#fff;background:none;box-shadow:none;border-radius:0}
.ow-l li:first-child{border-top:0}
.ow-l li::before{display:none!important}
.ow-k{display:inline-flex;align-items:center;gap:7px;font-style:normal;font-size:var(--t4);color:oklch(0.86 0.09 160);white-space:nowrap}
.ow-k::before{content:"";width:7px;height:7px;border-radius:50%;background:oklch(0.75 0.15 155);box-shadow:0 0 0 3px oklch(0.75 0.15 155 / .18)}
.ow-x span{color:oklch(0.78 0.015 240)}
.ow-x .ow-k{color:oklch(0.74 0.015 240)}
.ow-x .ow-k::before{background:transparent;box-shadow:0 0 0 1.5px oklch(0.74 0.015 240) inset}
.ow-l li{transition:opacity .6s var(--ease)}
html.is-dark .ow-x{opacity:.62}
.ow-hub{display:flex;flex-direction:column;gap:2px;margin:0;padding:14px 18px 16px;border-top:1px solid var(--dhair);background:oklch(0.5 0.09 190 / .12)}
.ow-hub b{font-size:var(--t4);font-weight:500;color:oklch(0.88 0.08 185)}
.ow-hub span{font-size:var(--t4);color:oklch(0.86 0.015 235)}
.ow-fine{margin:12px 2px 0;font-size:var(--t4);color:var(--fg3)}
@media (min-width:1000px){.ow-l{columns:1}.out-info{align-items:start}}
.ow .ow-l{display:block!important;grid-template-columns:none!important;margin:0;padding:0 18px!important}
.ow .ow-l li{min-height:46px!important;padding:0!important;border:0;border-top:1px solid var(--dhair);border-radius:0!important;box-shadow:none!important;background:none!important;font-size:var(--t4)!important}
.ow .ow-l li:first-child{border-top:0}
.ow p.ow-hub{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;border:0;border-top:1px solid var(--dhair);border-radius:0!important;box-shadow:none!important;padding:14px 18px 16px!important;text-align:left}
.ow .ow-hub b{color:oklch(0.88 0.08 185)!important;font-size:var(--t4)!important}
.dg-rec dl div{min-height:0!important}
@media (min-width:900px){.dg-rec{min-height:0!important;height:auto!important;align-self:center}}
@media (min-width:1000px){.ow-fine{grid-column:2;margin-top:-8px}}
/* leaks pager: two round arrows and a quiet count */
.lk-ctl button{position:relative;min-width:44px!important;width:44px;height:44px;padding:0!important;border-radius:50%!important;overflow:hidden;color:transparent!important;white-space:nowrap;box-shadow:0 0 0 1px oklch(1 0 0 / .18) inset!important;background:oklch(1 0 0 / .04)}
.lk-ctl button::after{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.lk-ctl .lk-prev::after{transform:scaleX(-1)}
.lk-ctl{justify-content:flex-end;gap:10px}
.lk-ctl .lk-count{order:-1;margin-right:auto}
/* teams: one row of text tabs with a moving underline, then the change as a two-row sheet */
@media (max-width:899px){
  .tb-tabs{display:flex!important;gap:0;margin:0 calc(var(--gx) * -1) 16px;padding:0 var(--gx);overflow-x:auto;scrollbar-width:none;box-shadow:0 -1px 0 var(--hair) inset}
  .tb-tabs::-webkit-scrollbar{display:none}
  .tb-tabs button{flex:none;min-height:44px;padding:0 12px!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:var(--t4)!important;color:var(--ink-3);position:relative}
  .tb-tabs button[aria-selected=true]{color:var(--ink)!important;font-weight:500}
  .tb-tabs button[aria-selected=true]::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:var(--ink)}
  .tb-c{gap:0!important;margin-top:4px;border-radius:16px;overflow:hidden;background:var(--sheet);box-shadow:var(--sheet-edge),var(--sheet-lift)}
  .tb-bf,.tb-af{padding:12px 16px}
  .tb-af{border-top:1px solid var(--hair)}
  .tb-bl{font-size:var(--t4)!important}
  .tb-bt,.tb-at{margin-top:3px!important;font-size:var(--t4)!important;line-height:1.45!important}
  .tb-frame{border-radius:16px}
}
/* rollout: a made sheet with hairline steps */
.rl{background:var(--sheet)!important;border-radius:20px!important;box-shadow:var(--sheet-edge),var(--sheet-lift)}
/* close on phones: the photograph fills the screen and the words sit in its dark sky */
@media (max-width:699px){
  .close{display:grid;min-height:min(88svh,760px)}
  .close-ph{grid-area:1/1!important}
  .close-ph picture{height:100%}
  .close-ph img{height:100%!important;aspect-ratio:auto!important;object-position:62% 60%!important}
  .close::after{grid-area:1/1!important;background:linear-gradient(to bottom,var(--night) 0%,oklch(0.17 0.03 250 / .92) 30%,oklch(0.17 0.03 250 / .4) 55%,oklch(0.17 0.03 250 / .05) 75%)!important}
  .close-in{grid-area:1/1!important;align-self:start;padding:48px var(--gx) 24px!important}
  .close-frag{left:12px!important;right:auto!important;bottom:12px!important;padding:10px 12px!important}
}
.close-in .acts{display:flex;justify-content:center;max-width:none;width:100%;margin-inline:auto}
@media (max-width:699px){
  .ow .ow-l li{min-height:42px!important}
  .ow .ow-l li span{padding:10px 0}
  .ow-x span{max-width:70%}
  .sec.outage .out-stage{aspect-ratio:3/2}
  .out-info{margin-top:16px}
  .facts b{font-size:var(--t1)}
}
/* phones: the teams section rises into the empty end of the pinned push instead of leaving a blank screen */
@media (max-width:899px) and (prefers-reduced-motion:no-preference){
  .sec.teams{position:relative;z-index:5;margin-top:-170px;background:var(--bg)}
}
/* story: the step caption reads as part of the frame, a small sheet under the photo */
@media (max-width:899px){
  .story .sb-cap{margin:-14px 10px 0!important;position:relative;z-index:3;padding:14px 16px;min-height:0!important;border-radius:16px;text-align:left;font-size:var(--t3)!important;line-height:1.5;color:var(--ink);background:var(--sheet);box-shadow:var(--sheet-edge),var(--sheet-lift)}
  .story .sb-cap{min-height:calc(3 * 1.5em + 28px)!important}
}
/* demo: the owner's waiting rows are hairline rows, not boxed chips */
.sim-cl{gap:0!important}
.sim-cl li{height:38px!important;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-top:1px solid var(--hair)}
.sim-cl li:first-child{border-top:0}
.sim-cl li.wait{color:var(--ink-3)}
.sim-cl li.ok{color:var(--ink)}
@media (max-width:699px){.sim-cl li{height:32px!important}}
@media (max-width:899px){
  .story .sb-slide .card{top:44px!important;bottom:auto!important;left:12px!important;right:auto!important;width:min(250px,calc(100% - 24px))!important}
  .story .sb-frame::after{content:"";position:absolute;inset:auto 0 0;height:30%;z-index:2;pointer-events:none;background:linear-gradient(oklch(0 0 0 / 0),oklch(0 0 0 / .18))}
}
/* == craft system end == */

/* == phone overlays v4 begin == */
/* On phones a photograph carries at most one small chip, in a corner, never over a face. */
@media (max-width:699px){
  /* outage: one chip, the live network state; the record card goes */
  .out-rec{display:none!important}
  .out-net{left:10px!important;top:10px!important;right:auto!important;display:flex!important;align-items:center;gap:8px;padding:5px 12px 5px 5px!important;border-radius:999px!important;max-width:calc(100% - 20px)!important}
  .net-b{width:66px!important;height:30px}
  .out-stage[data-net=offline] .net-b{width:70px!important}
  .net-b img{height:30px}
  .out-net .net-t{font-size:var(--t4);white-space:nowrap}
  .out-stage picture img{object-position:62% 30%!important}
  /* story: the card shrinks to a single line, top left */
  .story .sb-slide .card{top:54px!important;left:10px!important;width:auto!important;max-width:calc(100% - 64px);padding:7px 12px!important;border-radius:999px!important;gap:0!important}
  .story .sb-slide .card>*:not(.card-top){display:none!important}
  .story .sb-slide .card .card-top{display:flex;align-items:center;gap:7px}
  .story .sb-slide .card .card-top::before{content:"";width:7px;height:7px;border-radius:50%;background:oklch(0.62 0.15 155)}
  .story .sb-slide .card .card-h{font-size:var(--t4)!important;font-weight:500!important;color:var(--ink)!important;white-space:nowrap}
  /* close: the saved-offline note becomes one chip */
  .close-frag{padding:6px 12px 6px 6px!important;border-radius:999px!important;gap:8px!important}
  .close-frag p small{display:none}
  .close-frag p{font-size:var(--t4)!important}
}
/* the nav keeps only the logo and the button until there is room for the network pill */
@media (max-width:767px){.nav-net{display:none!important}}
/* == phone overlays v4 end == */
