/* /pricing only (lib/views.ts pricingPage). Loaded after styles.css and home.css, so it lives in
   the homepage's world: pine hero with the far layers, layers that move with the scroll (--p) and
   the pointer (--mx/--my), play-once reveals. 2026-11-22, Daniel: "Show, don't tell": every
   section is a scene, not a row of blocks. web/pricing.ts plays them. */

.pricing .pr-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.pricing .on-pine .pr-kicker { color: var(--sun); }

/* ---------- hero ---------- */
.pr-hero2 { padding-bottom: 8px; }
.pr-hero2-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(760px, calc(100svh - 110px)); padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.pr-eyebrow { display: inline-flex; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(245, 197, 66, .16); color: var(--sun); font-size: 14px; font-weight: 750; letter-spacing: .04em; }
.pr-hero2 h1 { color: #fff; font-size: clamp(2.7rem, 1.5rem + 3.4vw, 4.6rem); line-height: .96; letter-spacing: -.045em; max-width: 10em; }
.pr-gold { color: var(--sun); position: relative; white-space: nowrap; }
.pr-gold::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px; background: currentColor; opacity: .35; transform-origin: left; animation: pr-line 1.2s var(--ease-out) .5s both; }
@keyframes pr-line { from { transform: scaleX(0); } }
.pr-fit { margin: 18px 0 0; color: var(--on-pine-2); font-size: 15.5px; }
.pr-fit b { color: var(--sun); font-size: 1.35em; letter-spacing: -.02em; margin-right: 2px; }

/* The hero's scene: new roles that fit (far), the to-do list (middle), chips (near). Sized off
   its own width (--u = 1cqw), so it scales like one drawing. */
.pr-scene { aspect-ratio: 1 / 1; --u: 1cqw; }
.pr-feed { left: 31%; top: 0; width: 69%; --delay: 150ms; }
.pr-feed .sx-win { transform: perspective(1600px) rotateY(calc(-16deg + var(--p) * 16deg + var(--mx, 0) * 5deg)) rotateX(calc(6deg - var(--p) * 6deg + var(--my, 0) * -3deg)); transform-origin: 100% 50%; }
.js .pr-feed .sx-rows li { animation: pr-in .55s var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 210ms); }
.js .pr-feed .sx-fit { animation: pr-pop .45s var(--ease-out) both; animation-delay: calc(1000ms + var(--i) * 210ms); }
.pr-todo-l { left: 0; top: 27%; width: 63%; --delay: 420ms; z-index: 2; }
.pr-chip-a { left: 38%; top: 92%; --delay: 2300ms; z-index: 6; }
.pr-chip-a svg { color: var(--pine); }
.pr-chip-b { left: 64%; top: 64%; --delay: 3900ms; z-index: 6; }
@keyframes pr-in { from { opacity: 0; transform: translateX(22px); } }
@keyframes pr-pop { from { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } }
@media (max-width: 960px) { .pr-hero2-in { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; } .pr-scene { max-width: 640px; } }
@media (max-width: 560px) {
  .pr-scene { aspect-ratio: 1 / 1.12; }
  .pr-feed { left: 14%; width: 86%; }
  .pr-todo-l { top: 30%; width: 82%; }
  .pr-chip-a { left: 30%; top: 93%; }
  .pr-chip-b { left: 44%; top: 50%; }
}

/* The to-do list: loads in line by line, then each line is ticked off (web/pricing.ts adds .go). */
.todo { margin: 0; padding: calc(var(--u, 1cqw) * 3.2); border-radius: 22px; background: rgba(4, 30, 23, .86); border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 40px 80px -36px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); color: #fff;
  transform: perspective(1600px) rotateY(calc(12deg - var(--p, 0) * 12deg + var(--mx, 0) * 6deg)) rotateX(calc(4deg - var(--p, 0) * 4deg + var(--my, 0) * -4deg)); transform-origin: 0 50%; }
.todo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 650; color: var(--on-pine-2); font-size: clamp(11px, calc(var(--u, 1cqw) * 2.1), 14.5px); margin-bottom: calc(var(--u, 1cqw) * 1.4); }
.todo-by { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(245, 197, 66, .14); color: var(--sun); font-size: .92em; font-weight: 750; white-space: nowrap; }
.todo-by svg { width: 1.45em; height: 1.45em; }
.todo ul { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li { display: grid; grid-template-columns: clamp(16px, calc(var(--u, 1cqw) * 3.5), 24px) minmax(0, 1fr); align-items: center; gap: calc(var(--u, 1cqw) * 1.8); padding: calc(var(--u, 1cqw) * 1.3) 2px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: clamp(11.5px, calc(var(--u, 1cqw) * 2.4), 16.5px); font-weight: 550; line-height: 1.3; }
.todo li:last-child { border-bottom: 0; }
.todo-box { display: grid; place-items: center; width: clamp(16px, calc(var(--u, 1cqw) * 3.5), 24px); aspect-ratio: 1; border-radius: 28%; border: 2px solid rgba(255, 255, 255, .35); color: var(--ink); transition: background .25s ease, border-color .25s ease; }
.todo-box svg { width: 64%; height: 64%; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .3s var(--ease-out); }
.todo li span { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 55% / 0 2px no-repeat; transition: background-size .45s var(--ease-out), color .3s ease; }
.todo-note { margin: calc(var(--u, 1cqw) * 1.8) 0 0; color: var(--sun); font-weight: 650; font-size: clamp(10.5px, calc(var(--u, 1cqw) * 2), 14px); }
.js .todo li { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.js .todo-note { opacity: 0; transition: opacity .6s ease; }
.todo.go li, .todo.done li, .todo.go .todo-note, .todo.done .todo-note { opacity: 1; transform: none; }
.todo.go li { transition-delay: calc(var(--i) * 140ms); }
.todo.go li .todo-box, .todo.done li .todo-box { background: var(--sun); border-color: var(--sun); }
.todo.go li .todo-box svg, .todo.done li .todo-box svg { opacity: 1; transform: none; }
.todo.go li span, .todo.done li span { background-size: 100% 2px; color: var(--on-pine-2); }
.todo.go li .todo-box, .todo.go li .todo-box svg, .todo.go li span { transition-delay: calc(1200ms + var(--i) * 420ms); }
.todo.go .todo-note { transition-delay: 3900ms; }

/* ---------- the sample windows every scene is drawn in ---------- */
.sx-win { position: relative; background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; border: 1px solid rgba(17, 35, 28, .08); box-shadow: 0 2px 6px rgba(0, 0, 0, .14), 0 50px 90px -40px rgba(0, 0, 0, .6); }
.sx-bar { display: flex; align-items: center; gap: 6px; height: clamp(26px, calc(var(--u) * 5), 36px); padding: 0 calc(var(--u) * 2); background: #edf2ef; border-bottom: 1px solid var(--line); }
.sx-bar i { width: clamp(7px, calc(var(--u) * 1.3), 10px); aspect-ratio: 1; border-radius: 50%; background: #cdd8d2; }
.sx-bar span { margin-left: 8px; min-width: 0; flex: 1; font-size: clamp(10px, calc(var(--u) * 1.75), 12.5px); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-bar small { padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: clamp(9px, calc(var(--u) * 1.5), 11px); font-weight: 750; letter-spacing: .04em; color: var(--slate); text-transform: uppercase; }
.sx-rows { list-style: none; margin: 0; padding: 0; }
.sx-rows li { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 1.8); padding: calc(var(--u) * 1.5) calc(var(--u) * 2.2); border-bottom: 1px solid #eef2f0; }
.sx-rows li:last-child { border-bottom: 0; }
.sx-logo { flex: none; display: grid; place-items: center; width: clamp(24px, calc(var(--u) * 5.2), 38px); aspect-ratio: 1; border-radius: 24%; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.sx-logo img { width: 74%; height: 74%; object-fit: contain; }
.sx-init { background: var(--bg); border-color: transparent; color: #fff; font-weight: 800; font-size: clamp(11px, calc(var(--u) * 2.4), 16px); }
.sx-t { min-width: 0; flex: 1; line-height: 1.25; }
.sx-t b { display: block; font-size: clamp(11px, calc(var(--u) * 2.2), 15px); font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-t span { display: block; font-size: clamp(10px, calc(var(--u) * 1.9), 13.5px); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-fit, .sx-no { flex: none; font-style: normal; display: inline-flex; align-items: baseline; gap: 3px; padding: .25em .65em; border-radius: 999px; font-size: clamp(10px, calc(var(--u) * 2), 14px); font-weight: 800; white-space: nowrap; }
.sx-fit { background: var(--sun-soft); color: #6b4f00; }
.sx-fit small { font-size: .78em; font-weight: 650; opacity: .8; }
.sx-no { background: var(--err-soft); color: var(--err); font-weight: 700; }

/* ---------- a week on LazyJobs: pinned while you scroll, one scene per step ---------- */
.pr-story { position: relative; background: var(--mist); }
.ps-stick { padding: clamp(72px, 9vw, 120px) 0; }
.ps-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ps-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ps-steps button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; width: 100%; padding: 14px 0 14px 22px; border-left: 3px solid var(--line-2); transition: border-color .35s ease, opacity .35s ease; }
.ps-steps button:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 4px; }
.ps-steps time { font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.ps-steps b { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem); line-height: 1.12; letter-spacing: -.028em; color: var(--ink); }
.ps-steps span { color: var(--slate); font-size: 16px; }
.ps-stage { position: relative; container-type: inline-size; --u: 1.05cqw; display: grid; gap: 40px; }
.ps-scene { position: relative; }
/* the slab behind each window, in the homepage's mint */
.ps-scene .sx-win { box-shadow: 18px 18px 0 0 var(--mint), 0 2px 6px rgba(0, 0, 0, .1), 0 40px 70px -40px rgba(6, 26, 20, .55); transform: perspective(1500px) rotateY(calc(-7deg + var(--mx, 0) * 6deg)) rotateX(calc(3deg + var(--my, 0) * -4deg)); }
.ps-form .sx-win, .ps-dash .sx-win { box-shadow: 18px 18px 0 0 var(--sun-soft), 0 2px 6px rgba(0, 0, 0, .1), 0 40px 70px -40px rgba(6, 26, 20, .55); }
.ps-chip, .ps-sent li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: clamp(12px, calc(var(--u) * 2.1), 15px); white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .14), 0 22px 36px -18px rgba(0, 0, 0, .5); }
.ps-chip svg, .ps-sent svg { width: 1.15em; height: 1.15em; color: var(--ok); }
.ps-chip { position: absolute; right: -2%; bottom: -5%; z-index: 3; animation: h-bob 5s ease-in-out infinite; }
.ps-sent { list-style: none; margin: 0; padding: 0; position: absolute; left: 3%; bottom: -3%; z-index: 3; display: flex; gap: 8px; }

/* pinned: the section is tall, the stage stays put, and the step follows the scroll */
.js .pr-story:not(.static) { height: calc(100svh + var(--n) * 70svh); }
.js .pr-story:not(.static) .ps-stick { position: sticky; top: 0; height: 100svh; padding: 68px 0 0; display: flex; align-items: center; overflow: hidden; }
.js .pr-story:not(.static) .ps-stick > .wrap { width: 100%; }
.js .pr-story:not(.static) .ps-steps li:not(.on) button { opacity: .38; }
.js .pr-story:not(.static) .ps-steps li.on button { border-color: var(--pine); }
.js .pr-story:not(.static) .ps-steps li.done button { border-color: var(--ok); }
.js .pr-story:not(.static) .ps-stage { display: block; aspect-ratio: 1 / .82; perspective: 1600px; }
.js .pr-story:not(.static) .ps-scene { position: absolute; inset: 0; display: grid; align-content: center; transition: opacity .5s ease, transform .8s var(--ease-out); }
.js .pr-story:not(.static) .ps-scene:not(.on):not([data-i="0"]), .js .pr-story:not(.static) .ps-scene.past { opacity: 0; pointer-events: none; transform: translate3d(0, 70px, -180px) rotateX(16deg); }
.js .pr-story:not(.static) .ps-scene.past { transform: translate3d(0, -70px, -220px) rotateX(-14deg); }
/* What each scene plays once it's on; off, everything is back at its start. */
.js .pr-story:not(.static) .ps-scene:not(.on) * { transition-delay: 0s !important; }
/* 1. finds the roles: rows come in, the misfits are struck out, the fits get their score */
.js .pr-story:not(.static) .ps-find .sx-rows li { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.js .pr-story:not(.static) .ps-find.on .sx-rows li { opacity: 1; transform: none; transition-delay: calc(150ms + var(--i) * 200ms); }
.ps-find .no .sx-t b { width: fit-content; max-width: 100%; background: linear-gradient(currentColor, currentColor) 0 55% / 100% 1.5px no-repeat; }
.ps-find .no .sx-t, .ps-find .no .sx-logo { opacity: .45; }
.js .pr-story:not(.static) .ps-find .no .sx-t b { background-size: 0 1.5px; transition: background-size .45s var(--ease-out); }
.js .pr-story:not(.static) .ps-find .no .sx-t, .js .pr-story:not(.static) .ps-find .no .sx-logo { opacity: 1; transition: opacity .4s ease; }
.js .pr-story:not(.static) .ps-find.on .no .sx-t b { background-size: 100% 1.5px; transition-delay: calc(1450ms + var(--i) * 90ms); }
.js .pr-story:not(.static) .ps-find.on .no .sx-t, .js .pr-story:not(.static) .ps-find.on .no .sx-logo { opacity: .45; transition-delay: calc(1600ms + var(--i) * 90ms); }
.js .pr-story:not(.static) .ps-find .sx-fit, .js .pr-story:not(.static) .ps-find .sx-no { opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.js .pr-story:not(.static) .ps-find.on .sx-fit, .js .pr-story:not(.static) .ps-find.on .sx-no { opacity: 1; transform: none; transition-delay: calc(1400ms + var(--i) * 90ms); }
.js .pr-story:not(.static) .ps-find .ps-chip { opacity: 0; translate: 0 18px; transition: opacity .4s ease, translate .6s var(--ease-out); }
.js .pr-story:not(.static) .ps-find.on .ps-chip { opacity: 1; translate: 0 0; transition-delay: 2300ms; }

/* 2. fills in the form: each field types itself, then it's sent */
.sf-head { display: flex; align-items: center; gap: calc(var(--u) * 1.8); padding: calc(var(--u) * 2) calc(var(--u) * 2.4); border-bottom: 1px solid #eef2f0; }
.sf-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 1.5) calc(var(--u) * 2); padding: calc(var(--u) * 2.2) calc(var(--u) * 2.4) calc(var(--u) * 1.6); }
.sf-f { display: grid; gap: 4px; min-width: 0; }
.sf-f > span { font-size: clamp(9.5px, calc(var(--u) * 1.7), 12.5px); font-weight: 650; color: var(--slate); }
.sf-f i { display: block; font-style: normal; border: 1px solid var(--line-2); border-radius: 8px; padding: .5em .7em; font-size: clamp(10.5px, calc(var(--u) * 2), 14px); color: var(--ink); min-height: 2.35em; background: #fff; transition: border-color .3s ease, box-shadow .3s ease; }
.sf-f em { font-style: normal; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-file em { display: flex; align-items: center; gap: 6px; color: var(--pine); font-weight: 650; }
.sf-file svg { width: 1.2em; height: 1.2em; flex: none; }
.sf-long { grid-column: 1 / -1; }
.sf-long em { white-space: normal; line-height: 1.45; }
.sf-foot { display: flex; justify-content: flex-end; padding: 0 calc(var(--u) * 2.4) calc(var(--u) * 2.2); }
.sf-btn { display: inline-grid; }
.sf-btn b { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .6em 1.2em; border-radius: 9px; background: var(--ink); color: #fff; font-size: clamp(11px, calc(var(--u) * 2.05), 14.5px); font-weight: 700; white-space: nowrap; }
.sf-btn svg { width: 1.15em; height: 1.15em; }
.sf-btn .sf-done { background: var(--ok); }
.ps-sent li { translate: 0 0; }
.js .pr-story:not(.static) .ps-form .sf-f em { clip-path: inset(0 100% 0 0); transition: clip-path .5s steps(16); }
.js .pr-story:not(.static) .ps-form .sf-long em { clip-path: inset(0 0 100% 0); transition: clip-path .9s steps(3); }
.js .pr-story:not(.static) .ps-form.on .sf-f em { clip-path: inset(0); transition-delay: calc(200ms + var(--i) * 300ms); }
.js .pr-story:not(.static) .ps-form.on .sf-f i { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(14, 74, 59, .1); transition-delay: calc(200ms + var(--i) * 300ms); }
.js .pr-story:not(.static) .ps-form .sf-done { opacity: 0; transform: scale(.85); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.js .pr-story:not(.static) .ps-form.on .sf-done { opacity: 1; transform: none; transition-delay: 2700ms; }
.js .pr-story:not(.static) .ps-form .ps-sent li { opacity: 0; translate: -40px 0; transition: opacity .4s ease, translate .6s var(--ease-out); }
.js .pr-story:not(.static) .ps-form.on .ps-sent li { opacity: 1; translate: 0 0; transition-delay: calc(3000ms + var(--i) * 180ms); }

/* 3. the inbox: mail arrives, each gets its label, and everything but the OA leaves */
.si-rows { list-style: none; margin: 0; padding: 0; }
.si-rows li { display: flex; align-items: center; gap: calc(var(--u) * 1.8); max-height: 8em; padding: calc(var(--u) * 1.5) calc(var(--u) * 2.2); border-bottom: 1px solid #eef2f0; overflow: hidden; }
.si-l { flex: none; font-style: normal; padding: .22em .65em; border-radius: 6px; font-size: clamp(9.5px, calc(var(--u) * 1.8), 12.5px); font-weight: 750; color: #fff; background: var(--c); white-space: nowrap; }
.si-applied { --c: var(--pine); }
.si-rejected { --c: #8a9a92; }
.si-code { --c: #5b8def; }
.si-oa { --c: var(--oa); background: #f6f1ff; box-shadow: inset 3px 0 0 var(--oa); }
.si-oa .sx-t b { color: var(--oa); }
.si-left { display: flex; align-items: center; gap: 8px; margin: 0; padding: calc(var(--u) * 1.8) calc(var(--u) * 2.2); font-size: clamp(10.5px, calc(var(--u) * 1.95), 13.5px); font-weight: 650; color: var(--ok); }
.si-left svg { width: 1.2em; height: 1.2em; }
.si-folders { display: flex; flex-wrap: wrap; gap: 6px; padding: calc(var(--u) * 1.3) calc(var(--u) * 2.2); background: #f7faf8; border-bottom: 1px solid #eef2f0; }
.si-folders > span { display: inline-flex; align-items: center; gap: 6px; padding: .25em .4em .25em .6em; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: clamp(9.5px, calc(var(--u) * 1.75), 12.5px); font-weight: 650; color: var(--ink-2); }
.si-folders em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.si-folders em::before { content: ""; width: .6em; height: .6em; border-radius: 2px; background: var(--c); }
.si-n { display: inline-grid; min-width: 1.5em; text-align: center; padding: 0 .3em; border-radius: 5px; background: var(--mist); font-weight: 800; color: var(--ink); }
.si-n i { grid-area: 1 / 1; font-style: normal; background: var(--mist); }
.si-n i:not(:last-child) { opacity: 0; }
.js .pr-story:not(.static) .ps-inbox .si-n i { opacity: 0; }
.js .pr-story:not(.static) .ps-inbox .si-n i:first-child { opacity: 1; }
.js .pr-story:not(.static) .ps-inbox.on .si-n i:not(:first-child) { animation: si-num .35s var(--ease-out) forwards; animation-delay: var(--at); }
@keyframes si-num { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js .pr-story:not(.static) .ps-inbox .si-rows li { opacity: 0; transform: translateY(-14px); transition: opacity .35s ease, transform .45s var(--ease-out); }
.js .pr-story:not(.static) .ps-inbox.on .si-rows li { opacity: 1; transform: none; transition-delay: calc(100ms + var(--i) * 260ms); }
.js .pr-story:not(.static) .ps-inbox .si-l { opacity: 0; transform: scale(.5) translateX(12px); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.js .pr-story:not(.static) .ps-inbox.on .si-l { opacity: 1; transform: none; transition-delay: calc(700ms + var(--i) * 260ms); }
.js .pr-story:not(.static) .ps-inbox .si-oa { background: #fff; box-shadow: none; }
.js .pr-story:not(.static) .ps-inbox.on .si-rows li:not(.si-oa) { animation: si-out .6s var(--ease-out) forwards; animation-delay: calc(2500ms + var(--i) * 120ms); }
.js .pr-story:not(.static) .ps-inbox.on .si-oa { animation: si-hl .6s ease forwards 3100ms; }
.js .pr-story:not(.static) .ps-inbox .si-left { opacity: 0; transition: opacity .5s ease; }
.js .pr-story:not(.static) .ps-inbox.on .si-left { opacity: 1; transition-delay: 3300ms; }
@keyframes si-out { to { max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; opacity: 0; transform: translateX(40%); } }
@keyframes si-hl { to { background: #f6f1ff; box-shadow: inset 3px 0 0 var(--oa); } }

/* 4. the dashboard: the OA waiting, its deadline dropping onto the calendar */
@property --k { syntax: "<number>"; inherits: true; initial-value: .57; }
.sd-k { margin: calc(var(--u) * 2.2) calc(var(--u) * 2.4) calc(var(--u) * 1); font-size: clamp(10px, calc(var(--u) * 1.75), 12.5px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--oa); }
.sd-card { --k: .57; display: flex; align-items: center; gap: calc(var(--u) * 1.8); margin: 0 calc(var(--u) * 2.4); padding: calc(var(--u) * 1.8); border-radius: 12px; background: #f6f1ff; border: 1px solid #e3d9fb; }
.sd-card .sx-t b { color: var(--oa); }
.sd-ring { flex: none; position: relative; display: grid; place-content: center; text-align: center; width: clamp(46px, calc(var(--u) * 10), 70px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--oa) calc(var(--k) * 1turn), #e3d9fb 0); line-height: 1; }
.sd-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.sd-ring b, .sd-ring small { position: relative; }
.sd-ring b { font-size: clamp(15px, calc(var(--u) * 3.2), 22px); font-weight: 800; color: var(--oa); }
.sd-ring small { font-size: clamp(7.5px, calc(var(--u) * 1.3), 10px); font-weight: 650; color: var(--slate); }
.sd-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: calc(var(--u) * 2.2) calc(var(--u) * 2.4); }
.sd-day { position: relative; min-height: clamp(64px, calc(var(--u) * 15), 112px); padding: 6px; border-radius: 10px; background: var(--mist); border: 1px solid var(--line); }
.sd-day b { font-size: clamp(9.5px, calc(var(--u) * 1.7), 12px); font-weight: 700; color: var(--slate); }
.sd-day.today { border-color: var(--pine); }
.sd-day.today b { color: var(--pine); }
.sd-ev { position: absolute; left: 4px; right: 4px; bottom: 5px; display: grid; gap: 1px; padding: 5px 6px; border-radius: 7px; background: var(--oa); color: #fff; font-style: normal; font-weight: 700; font-size: clamp(9px, calc(var(--u) * 1.7), 12.5px); line-height: 1.2; box-shadow: 0 8px 16px -8px rgba(107, 63, 209, .8); }
.sd-ev svg { width: 1.15em; height: 1.15em; }
.sd-ev small { font-weight: 600; opacity: .85; font-size: .85em; }
.sd-sent { display: block; margin-top: 6px; padding: 3px 6px; border-radius: 6px; background: rgba(14, 74, 59, .1); color: var(--pine); font-style: normal; font-weight: 700; font-size: clamp(9px, calc(var(--u) * 1.6), 12px); white-space: nowrap; }
.js .pr-story:not(.static) .ps-dash .sd-sent { opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.js .pr-story:not(.static) .ps-dash.on .sd-sent { opacity: 1; transform: none; transition-delay: calc(500ms + var(--i) * 160ms); }
.sd-go { display: inline-flex; margin: 0 calc(var(--u) * 2.4) calc(var(--u) * 2.2); padding: .6em 1.2em; border-radius: 9px; background: var(--oa); color: #fff; font-weight: 700; font-size: clamp(11px, calc(var(--u) * 2.05), 14.5px); }
.js .pr-story:not(.static) .ps-dash .sd-card { --k: 0; opacity: 0; transform: translateX(30px); transition: opacity .4s ease, transform .6s var(--ease-out), --k 1.1s var(--ease-out); }
.js .pr-story:not(.static) .ps-dash.on .sd-card { --k: .57; opacity: 1; transform: none; transition-delay: 200ms, 200ms, 600ms; }
.js .pr-story:not(.static) .ps-dash .sd-ev { opacity: 0; transform: translateY(-160%) scale(1.15); transition: opacity .3s ease, transform .7s cubic-bezier(.3, 1.45, .5, 1); }
.js .pr-story:not(.static) .ps-dash.on .sd-ev { opacity: 1; transform: none; transition-delay: 1500ms; }
.js .pr-story:not(.static) .ps-dash.on .sd-go { animation: sd-pulse 1.8s ease-out 2200ms infinite; }
@keyframes sd-pulse { 0% { box-shadow: 0 0 0 0 rgba(107, 63, 209, .5); } 70%, 100% { box-shadow: 0 0 0 14px rgba(107, 63, 209, 0); } }

@media (max-width: 860px) {
  .ps-in { grid-template-columns: 1fr; gap: 18px; }
  .ps-stage { --u: 1.2cqw; }
  .js .pr-story:not(.static) .ps-steps li:not(.on) { display: none; }
  .js .pr-story:not(.static) .ps-steps button { padding: 6px 0 6px 16px; }
  .js .pr-story:not(.static) .ps-stage { aspect-ratio: 1 / 1.02; }
  .js .pr-story:not(.static) .ps-copy .pr-kicker { margin-bottom: 6px; }
  .ps-chip { right: 2%; }
  .ps-sent { bottom: -9%; left: 0; gap: 6px; }
  .ps-sent li { padding: 6px 11px; }
  .ps-scene .sx-win { box-shadow: 10px 10px 0 0 var(--mint), 0 30px 50px -30px rgba(6, 26, 20, .5); }
  .ps-form .sx-win, .ps-dash .sx-win { box-shadow: 10px 10px 0 0 var(--sun-soft), 0 30px 50px -30px rgba(6, 26, 20, .5); }
}
@media (max-width: 860px) and (max-height: 700px) { .ps-steps span { display: none; } }

/* ---------- Laziest: first in line, on one timeline the scroll plays (--t) ---------- */
.pr-first-w { margin-top: clamp(56px, 8vw, 110px); }
.pr-first { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.pr-first .h-head { margin-bottom: 0; }
.pr-first .h-head h2 { color: #fff; max-width: 13em; }
.tl { --lab: 8.5em; --t: 1; position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; row-gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.tl-k { font-weight: 700; color: var(--on-pine-2); font-size: 15px; line-height: 1.2; padding-right: 10px; }
.tl-k.laziest { color: var(--sun); }
.tl-k.lazier { color: #fff; }
.tl-crowd { position: relative; height: 44px; }
.tl-crowd i { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 10px + 4px); width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: rgba(238, 246, 242, .6);
  opacity: clamp(0, calc((var(--t) - var(--x)) * 40), 1); transform: scale(clamp(.2, calc((var(--t) - var(--x)) * 30), 1)); }
.tl-track { position: relative; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(min(var(--t), var(--at)) * 100%); border-radius: 12px; background: rgba(255, 255, 255, .12); }
.tl-track.laziest .tl-fill { background: linear-gradient(90deg, rgba(245, 197, 66, .2), rgba(245, 197, 66, .6)); }
.tl-track.you .tl-fill { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 10px, transparent 10px 16px); }
.tl-pin { --on: clamp(0, calc((var(--t) - var(--at)) * 25), 1); position: absolute; top: 50%; left: calc(var(--at) * 100%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .7);
  opacity: var(--on); transform: translate(-8px, -50%) scale(calc(.55 + var(--on) * .45)); transform-origin: 8px 50%; }
.tl-pin svg { width: 1.1em; height: 1.1em; color: var(--ok); }
.tl-track.laziest .tl-pin { background: var(--sun); box-shadow: 0 0 0 6px rgba(245, 197, 66, .18), 0 12px 24px -12px rgba(0, 0, 0, .7); }
.tl-track.laziest .tl-pin svg { color: var(--ink); }
.tl-track.you .tl-pin { background: transparent; color: var(--on-pine-2); border: 1.5px dashed rgba(238, 246, 242, .45); box-shadow: none; transform: translate(calc(-100% + 8px), -50%) scale(calc(.55 + var(--on) * .45)); transform-origin: calc(100% - 8px) 50%; }
.tl-axis { position: relative; height: 18px; }
.tl-axis span { position: absolute; left: calc(var(--at) * 100%); font-size: 12.5px; font-weight: 650; color: var(--on-pine-2); white-space: nowrap; }
.tl-axis span:last-child { transform: translateX(-50%); }
.tl-now { position: absolute; top: 0; bottom: 24px; left: calc(var(--lab) + var(--t) * (100% - var(--lab))); width: 2px; margin-left: -1px; border-radius: 2px; background: var(--sun); box-shadow: 0 0 16px rgba(245, 197, 66, .9); pointer-events: none; }
.tl-note { margin: 22px 0 0; font-size: 13.5px; color: var(--on-pine-2); opacity: .8; }
@media (max-width: 640px) { .tl { --lab: 6.2em; row-gap: 12px; } .tl-k { font-size: 13.5px; } .tl-pin { font-size: 12.5px; padding: 6px 10px; } .tl-track { height: 42px; } }

/* ---------- the real pile: OA invitations fanning out as you scroll past ---------- */
.pr-proof-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pr-big { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.pr-big b { font-size: clamp(5.5rem, 3rem + 8vw, 10rem); line-height: .82; letter-spacing: -.06em; color: var(--pine); font-weight: 800; }
.pr-big span { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.3rem); font-weight: 720; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; }
.pr-proof-sub { margin: 22px 0 0; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.45; color: var(--ink-2); max-width: 26em; }
.pr-proof-sub b { color: var(--pine); font-weight: 780; }
.pr-proof-link { margin: 24px 0 0; font-weight: 700; }
.pr-proof-link a { color: var(--pine); }
.pr-pile { --s: clamp(0, calc((var(--p, .5) - .14) * 2.3), 1); position: relative; container-type: inline-size; }
.pr-pile ol { list-style: none; margin: 0; padding: 0; position: relative; height: calc(4 * 15cqw + 60cqw); transform: perspective(1600px) rotateX(calc((1 - var(--s)) * 24deg + var(--my, 0) * -3deg)) rotateY(calc((1 - var(--s)) * -14deg + var(--mx, 0) * 5deg)); transform-origin: 50% 0; }
.pr-pile li { position: absolute; left: 0; right: 0; top: 0; translate: 0 calc(var(--i) * (6cqw + var(--s) * 9cqw)); rotate: calc(var(--r) * (1 - var(--s) * .75)); }
.pr-pile .mail { box-shadow: 0 2px 6px rgba(17, 35, 28, .1), 0 30px 50px -26px rgba(17, 35, 28, .5); }
.pr-pile .mail-head { gap: 2.2cqw; padding: 2.4cqw 2.8cqw; }
.pr-pile .mail-head b { font-size: clamp(12px, 2.9cqw, 16px); }
.pr-pile .mail-head span:not(.av), .pr-pile .mail-head time { font-size: clamp(10.5px, 2.4cqw, 13.5px); }
.pr-pile .mail-head .av { width: clamp(26px, 6.4cqw, 38px); height: clamp(26px, 6.4cqw, 38px); }
.pr-pile .shot { display: block; width: 100%; height: auto; }

/* ---------- plans: cards that rise in 3D, one after another, and lean toward the pointer ---------- */
.pr-plans { padding-top: clamp(80px, 9vw, 130px); }
.pr-plans .h-head { margin-bottom: clamp(24px, 3vw, 40px); }
.js .pr-cards[data-reveal] { opacity: 1; transform: none; }
.pr-cards .pp-card { transform: perspective(1200px) rotateX(calc(var(--ty, 0) * -6deg)) rotateY(calc(var(--tx, 0) * 8deg)) translateY(var(--lift, 0px)); transition: opacity .6s ease, transform .9s var(--ease-out), box-shadow .35s ease; }
.pr-cards .pp-card:hover { --lift: -6px; transform: perspective(1200px) rotateX(calc(var(--ty, 0) * -6deg)) rotateY(calc(var(--tx, 0) * 8deg)) translateY(var(--lift)); }
.js .pr-cards:not(.in) .pp-card { opacity: 0; transform: perspective(1200px) translateY(80px) rotateX(30deg); }
.pr-cards.in:not(.settled) .pp-card:nth-child(2) { transition-delay: 140ms; }
.pr-cards.in:not(.settled) .pp-card:nth-child(3) { transition-delay: 280ms; }
.pr-cards.settled .pp-card { transition: transform .25s var(--ease-out), box-shadow .35s ease; }
.worries-chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 1120px; }
.worries-chips li { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 15px; color: var(--slate); }
.worries-chips svg { width: 18px; height: 18px; color: var(--ok); align-self: center; flex: none; }
.worries-chips b { color: var(--ink); font-weight: 700; }

/* ---------- closing: chips floating at their own depths ---------- */
.pr-band { margin-top: clamp(48px, 7vw, 96px); }
.pr-band h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.pr-band .lede { color: var(--on-pine-2); margin-top: 14px; }
.pr-close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pr-fly { position: relative; height: 300px; }
.pr-fly > span { position: absolute; transform: translate3d(calc(var(--mx, 0) * var(--d) * -24px), calc((var(--p, .5) - .5) * var(--d) * -160px + var(--my, 0) * var(--d) * -14px), 0); }
.pr-fly b { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 24px 40px -20px rgba(0, 0, 0, .6); animation: h-bob 5s ease-in-out infinite; animation-delay: calc(var(--d) * -3s); transition: opacity .5s ease, scale .6s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(300ms + var(--d) * 400ms); }
.pr-fly svg { width: 18px; height: 18px; color: var(--ok); }
.pr-fly .oa b { background: var(--oa); color: #fff; }
.pr-fly .oa svg { color: #fff; }
.pr-fly .quiet b { background: rgba(255, 255, 255, .1); color: var(--on-pine-2); border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; }
.js .pr-close:not(.in) .pr-fly b { opacity: 0; scale: .5; }
.pr-fine { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .pr-close { grid-template-columns: 1fr; } .pr-fly { height: 230px; } .pr-proof-in { grid-template-columns: 1fr; } .pr-fly b { font-size: 13.5px; padding: 8px 13px; } }

/* ---------- side by side ---------- */
.vs3 .vs-you { background: none; color: var(--slate); font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  .pr-gold::after, .ps-chip, .pr-fly b, .sd-go { animation: none !important; }
  .pr-feed .sx-win, .todo, .ps-scene .sx-win, .pr-pile ol, .pr-pile li, .pr-fly > span, .pr-cards .pp-card { transform: none !important; translate: none !important; rotate: none !important; }
  .pr-pile { --s: 1; }
  .todo li, .todo li *, .todo-note { transition: none !important; }
}
