/* ───────── Hands — Sen can use your computer ─────────
   Calm (no JS / reduced motion): the title, the captions as a list, the
   desktop in its end state (the ticket search, the event in Friday, Sen's
   answer), then "You stay in charge". Pinned: a cinematic title breaks up
   letter by letter while the desktop rises out of depth; one task plays on
   it, scrubbed by scroll — the ask, the approval, the browser, a second
   approval, the calendar, the answer — and the stop. hands.js moves the one
   system cursor over real targets ([data-t]) and toggles the s-* states on
   .dt; the cursor glows while Sen is driving (.mc.is-sen). On phones the
   camera follows the cursor so the desktop stays legible. Window classes are
   .aw* (.win belongs to modes); the browser page is a made-up ticket site. */
.act--hands .act__stage { padding-top: 140px; padding-bottom: 140px; }
.cu__intro { margin-bottom: 48px; }
.cu__title { font-size: clamp(48px, 7.4vw, 120px); letter-spacing: -.055em; line-height: .94; }
.tw { display: inline-block; white-space: nowrap; }
.tl { display: inline-block; }
.cu__sub { max-width: 40ch; margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--text-2); }
.cu__caps { list-style: none; display: grid; gap: 26px; max-width: 760px; margin: 0 0 56px; padding: 0; }
.cu__cap { display: grid; gap: 6px; }
.cu__cap b { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.cu__cap span { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.cu__end { margin-top: 64px; }
.cu__end h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; }
.cu__end p { max-width: 48ch; margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.cu__safe { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding: 0; }
.cu__safe li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-1); }
.cu__safe-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border-subtle); color: var(--text-2); }
.keys, .mc, .appr, .br__start, .cal__a { display: none; }

/* ── The desktop (calm: scaled to its column) ── */
.cu__screen { container-type: inline-size; }
.dt { position: relative; width: 100em; height: 62.5em; font-size: calc(100cqw / 100); line-height: 1.35; color: var(--text-1); border-radius: 1.2em; overflow: hidden; user-select: none;
    background: radial-gradient(42% 46% at 80% 12%, rgba(132, 146, 184, .26), transparent 70%), radial-gradient(38% 40% at 60% 92%, rgba(110, 120, 150, .16), transparent 70%), radial-gradient(50% 55% at 6% 96%, rgba(255, 255, 255, .06), transparent 70%), radial-gradient(120% 90% at 50% 0%, #17181D, #0C0C0F 75%);
    box-shadow: 0 0 0 1px #2A2A2C, 0 3em 6em -2em rgba(0, 0, 0, .85); }
.dt p { margin: 0; }
.dt .ic { width: 1.15em; height: 1.15em; }
.dt__bar { position: absolute; z-index: 6; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 1em; height: 2.2em; padding: 0 1.2em; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: .95em; color: var(--text-2); }
.dt__bar b { color: var(--text-1); font-weight: 600; }
.dt__dots { display: flex; gap: .35em; }
.dt__dots i { width: .7em; height: .7em; border-radius: 50%; background: #3A3A3D; }
.dt__clock { margin-left: auto; font-variant-numeric: tabular-nums; }

.aw { position: absolute; display: flex; flex-direction: column; border-radius: .9em; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 1.6em 3.2em -1.2em rgba(0, 0, 0, .85); }
.aw__bar { flex: none; display: flex; align-items: center; gap: .55em; height: 2.6em; padding: 0 1em; border-bottom: 1px solid var(--border-subtle); background: var(--bg-nav); font-size: .92em; font-weight: 600; color: var(--text-2); }
.aw__mark { width: 1.3em !important; height: 1.3em !important; }
.aw--sen { left: 2em; top: 4.2em; width: 27em; height: 49.5em; background: var(--canvas-simple); z-index: 2; }
.aw--br { left: 31em; top: 4.2em; width: 66.5em; height: 49.5em; background: #F7F7F9; color: #1C1C1E; z-index: 3; }
.aw--cal { left: 43em; top: 13em; width: 52em; height: 42em; background: #FBFBFC; color: #1C1C1E; z-index: 4; }

/* The pill — ComputerUseIndicator, top centre */
.cui { position: absolute; z-index: 9; left: 50%; top: 3.1em; translate: -50% 0; display: flex; align-items: center; gap: .8em; height: 3.1em; padding: 0 .45em 0 .7em; border-radius: 1em; background: var(--bg-elevated); border: 1px solid var(--border-default); box-shadow: var(--float-shadow); white-space: nowrap; }
.cui__state { display: inline-flex; align-items: center; gap: .45em; height: 1.9em; padding: 0 .7em; border-radius: var(--r-pill); background: var(--bg-active); font-size: .82em; }
.cui__state b { font-weight: 600; }
.cui__state .led { width: .55em; height: .55em; background: var(--text-1); }
.cui__who { font-weight: 500; }
.cui__hint { color: var(--text-3); }
.cui__btn { display: inline-flex; align-items: center; gap: .4em; height: 2.1em; padding: 0 .85em; border-radius: var(--r-pill); background: var(--danger); color: #fff; font-size: .85em; font-weight: 500; }
.cui__btn .ic { width: 1em; height: 1em; }
.cui__s1, .cui__w1 { display: none; }
.act--hands.is-stopped :is(.cui__s0, .cui__w0, .cui__hint, .cui__stop) { display: none; }
.act--hands.is-stopped :is(.cui__s1, .cui__w1) { display: inline; }
.act--hands.is-stopped .cui__state .led { background: var(--danger); }

/* Sen */
.sc { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .9em; padding: 1.2em 1.2em .8em; font-size: 1.02em; }
.sc__you { align-self: flex-end; max-width: 90%; padding: .75em 1em; border-radius: 1.1em 1.1em .3em 1.1em; background: var(--bubble); line-height: 1.45; }
.sc__sen { display: flex; gap: .7em; align-items: flex-start; line-height: 1.5; }
.sc__mark { flex: none; width: 1.6em !important; height: 1.6em !important; margin-top: .1em; }
.sc__row { display: flex; align-items: center; gap: .55em; align-self: flex-start; height: 2.2em; padding: 0 .85em; border-radius: var(--r-pill); background: var(--bg-surface); border: 1px solid var(--border-subtle); font-size: .82em; color: var(--text-2); }
.sc__row .ic { width: 1.1em; height: 1.1em; color: var(--ok-fg); }
.sc__composer { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .6em; margin: 0 1.1em 1.1em; min-height: 3em; padding: .4em .4em .4em 1.1em; border-radius: 1.5em; background: var(--composer); border: 1px solid var(--composer-edge); font-size: .9em; color: var(--text-4); line-height: 1.4; }
.sc__composer i { flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--bg-active); color: var(--text-3); transition: background-color 200ms var(--e-out), color 200ms var(--e-out); }
.sc__composer.is-typing { color: var(--text-1); }
.sc__composer.is-typing i { background: var(--accent); color: var(--on-accent); }
.appr { padding: .85em; border-radius: 1em; background: var(--bg-elevated); border: 1px solid var(--border-strong); box-shadow: var(--float-shadow); }
.appr__h { display: flex; align-items: center; gap: .5em; font-weight: 600; }
.appr__s { margin: .35em 0 .6em !important; padding: .5em .7em; border-radius: .55em; background: var(--code-bg); font: .86em/1.4 var(--mono); color: var(--text-2); }
.appr__o { display: flex; align-items: center; gap: .6em; padding: .5em .7em; border-radius: .6em; transition: background-color 200ms var(--e-out), color 200ms var(--e-out); }
.appr__o .ic { flex: none; color: var(--text-3); }
.appr__o span { display: grid; line-height: 1.3; }
.appr__o small { font-size: .8em; color: var(--text-3); }
.appr__o--no { color: var(--text-2); }

/* Browser */
.br__tabs { flex: none; display: flex; align-items: flex-end; gap: 1em; height: 2.6em; padding: 0 1em; background: #E6E6EA; }
.br__tabs .dt__dots { align-self: center; }
.br__tabs .dt__dots i { background: #C6C6CC; }
.br__tab { display: flex; align-items: center; gap: .5em; height: 2em; padding: 0 1.1em; border-radius: .6em .6em 0 0; background: #F7F7F9; font-size: .85em; font-weight: 500; }
.br__tab .ic { width: 1em; height: 1em; color: #6B6B72; }
.br__bar { flex: none; display: flex; align-items: center; gap: .7em; height: 2.7em; padding: 0 1em; border-bottom: 1px solid #E2E2E7; color: #8A8A92; }
.br__bar .ic { width: 1em; height: 1em; }
.br__url { flex: 1; display: flex; align-items: center; gap: .5em; height: 1.95em; padding: 0 .9em; border-radius: var(--r-pill); background: #EDEDF1; font-size: .85em; color: #3A3A40; }
.br__marks { flex: none; display: flex; gap: 1.2em; height: 2.2em; align-items: center; padding: 0 1.1em; border-bottom: 1px solid #E8E8ED; font-size: .8em; color: #55555C; }
.br__mark { display: inline-flex; align-items: center; gap: .4em; padding: .2em .5em; border-radius: .4em; }
.br__mark .ic { width: 1em; height: 1em; }
.br__page { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.br__start { position: absolute; inset: 0; place-items: center; color: #C3C3CA; }
.br__start .ic { width: 3em; height: 3em; }
/* the ticket site */
.rw { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 1em; padding: 1.2em 2em 0; }
.rw__logo { display: flex; align-items: center; gap: .5em; font-size: 1.25em; font-weight: 700; letter-spacing: -.02em; }
.rw__logo i { width: 1.1em; height: 1.1em; border-radius: .3em; background: #C8102E; box-shadow: inset 0 -.28em 0 rgba(255, 255, 255, .35); }
.rw__form { display: grid; gap: .8em; padding: 1.2em 1.3em; border-radius: .9em; background: #fff; box-shadow: 0 0 0 1px #E4E4E9, 0 .6em 1.4em -.8em rgba(0, 0, 0, .25); }
.rw__h { font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; }
.rw__row { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.rw__row--chips { display: flex; align-items: center; gap: .5em; }
.rw__f { position: relative; display: grid; gap: .1em; padding: .55em .85em; border-radius: .6em; border: 1px solid #DCDCE1; }
.rw__f small { font-size: .75em; color: #6B6B72; }
.rw__f b { min-height: 1.35em; font-weight: 600; }
.rw__f.is-focus { border-color: #2F6FEB; box-shadow: 0 0 0 3px rgba(47, 111, 235, .18); }
.rw__chip { padding: .5em .8em; border-radius: var(--r-pill); border: 1px solid #DCDCE1; font-size: .85em; white-space: nowrap; transition: background-color 200ms var(--e-out), color 200ms var(--e-out), border-color 200ms var(--e-out); }
.rw__chip--pick { background: #1C1C1E; border-color: #1C1C1E; color: #fff; }
.rw__seg { display: flex; padding: .2em; border-radius: var(--r-pill); background: #EFEFF3; font-size: .85em; }
.rw__seg i { padding: .3em .8em; border-radius: var(--r-pill); font-style: normal; color: #55555C; transition: background-color 200ms var(--e-out), color 200ms var(--e-out); }
.rw__seg i.rw__seg-pick { background: #fff; color: #1C1C1E; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.rw__go { display: inline-flex; align-items: center; gap: .4em; margin-left: auto; padding: .6em 1.1em; border-radius: var(--r-pill); background: #C8102E; color: #fff; font-size: .9em; font-weight: 600; }
.rw__res { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: .6em; min-height: 0; }
.rw__res-h { font-size: .9em; font-weight: 600; color: #55555C; }
.rw__list { display: grid; align-content: start; gap: .55em; min-height: 0; overflow: hidden; }
.rw__list > * { translate: 0 calc(var(--rs, 0) * -4.8em); }
.rw__train { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; column-gap: 1.2em; align-items: center; padding: .7em 1em; border-radius: .7em; background: #fff; box-shadow: 0 0 0 1px #E4E4E9; transition: box-shadow 200ms var(--e-out); }
.rw__train b { font-size: 1.05em; font-variant-numeric: tabular-nums; }
.rw__train > span:first-of-type { grid-row: 2; font-size: .8em; color: #6B6B72; }
.rw__train em { grid-row: span 2; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.rw__sel { grid-row: span 2; display: grid; place-items: center; padding: .5em .95em; border-radius: var(--r-pill); border: 1px solid #DCDCE1; font-size: .85em; font-weight: 600; }
.rw__sel > * { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .35em; }
.rw__sel-b { visibility: hidden; }
.rw__train--pick { box-shadow: 0 0 0 2px #1C1C1E; }
.rw__train--pick .rw__sel { background: #1C1C1E; border-color: #1C1C1E; color: #fff; }
.rw__train--pick .rw__sel-a { visibility: hidden; }
.rw__train--pick .rw__sel-b { visibility: visible; }

/* Calendar */
.aw__bar--cal { background: #F0F0F3; border-color: #E2E2E7; color: #55555C; }
.aw__bar--cal b { margin-left: auto; color: #1C1C1E; }
.cal { --colw: 9.4em; --rowh: 5.85em; flex: 1; position: relative; display: grid; grid-template-columns: 4.2em repeat(5, var(--colw)); grid-template-rows: 2.6em 1fr; font-size: .95em; }
.cal__day { display: flex; align-items: center; justify-content: center; gap: .35em; border-bottom: 1px solid #E6E6EB; border-left: 1px solid #EEEEF2; font-size: .85em; color: #6B6B72; }
.cal__day b { font-weight: 600; color: #1C1C1E; }
.cal__day--fri b { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: #C8102E; color: #fff; }
.cal__grid { position: relative; grid-column: 1 / -1; background-image: linear-gradient(#ECECF0 1px, transparent 1px), linear-gradient(90deg, transparent 4.2em, #F1F1F4 4.2em, #F1F1F4 calc(4.2em + 1px), transparent calc(4.2em + 1px)); background-size: 100% var(--rowh), 100% 100%; }
.cal__hr { position: absolute; left: 0; width: 3.6em; top: calc(var(--r) * var(--rowh) + .3em); text-align: right; color: #8A8A92; font-variant-numeric: tabular-nums; }
.cal__hr i, .cal__ev i { font-style: normal; font-size: .78em; }
.cal__ev, .cal__new { position: absolute; left: calc(4.2em + var(--c) * var(--colw) + .35em); width: calc(var(--colw) - .7em); top: calc(var(--s) * var(--rowh) + .15em); height: calc(var(--l) * var(--rowh) - .3em); padding: .4em .55em; border-radius: .5em; background: #ECECF1; border-left: .22em solid #A9A9B3; font-weight: 600; color: #3A3A40; overflow: hidden; line-height: 1.3; }
.cal__new { display: grid; align-content: start; gap: .15em; background: #FCE8EB; border-left-color: #C8102E; color: #7A0A1C; }
.cal__new b { font-size: .82em; }
.cal__new small { font-size: .74em; font-weight: 500; color: #9C3446; font-variant-numeric: tabular-nums; }
.cal__a { position: absolute; left: calc(4.2em + var(--c) * var(--colw) + var(--colw) / 2); top: calc(var(--s) * var(--rowh)); width: 1px; height: 1px; }

/* Dock */
.dk { position: absolute; z-index: 5; left: 50%; bottom: 1em; translate: -50% 0; display: flex; gap: .7em; padding: .6em; border-radius: 1.4em; background: rgba(40, 40, 44, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 1em 2em -1em rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dk__i { position: relative; display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: .9em; background: linear-gradient(#3A3A3F, #26262A); color: #F2F2F2; transition: translate 250ms var(--e-out); }
.dk__i .ic { width: 1.6em; height: 1.6em; }
.dk__i--sen { background: none; }
.dk__i--sen .om { width: 3.6em; height: 3.6em; }
.dk__i--browser { background: linear-gradient(#4C8DF6, #2457C5); }
.dk__i--calendar { background: linear-gradient(#FFFFFF, #E9E9EE); color: #C8102E; }
.dk__i::after { content: ""; position: absolute; bottom: -.45em; left: 50%; width: .3em; height: .3em; margin-left: -.15em; border-radius: 50%; background: rgba(255, 255, 255, .7); opacity: 0; }
.dk__i--sen::after { opacity: 1; }

/* Calm below 1024px: the windows stack so the text stays legible */
@media (max-width: 1023px) {
    html:not(.js) .dt, html.reduce-motion .dt { width: auto; height: auto; display: grid; gap: 1.4em; padding: 7em 1.4em 1.4em; font-size: calc(100cqw / 48); }
    html:not(.js) .aw, html.reduce-motion .aw { position: relative; inset: auto; width: auto; height: auto; }
    html:not(.js) .aw--sen, html.reduce-motion .aw--sen { order: 3; }
    html:not(.js) .aw--br, html.reduce-motion .aw--br { height: 46em; }
    html:not(.js) .aw--cal, html.reduce-motion .aw--cal { height: 40em; --colw: 6.5em; }
    html:not(.js) .cal, html.reduce-motion .cal { --colw: 7.2em; }
    html:not(.js) .dk, html.reduce-motion .dk { display: none; }
    html:not(.js) .cui, html.reduce-motion .cui { top: 3em; font-size: .9em; }
    html:not(.js) .cui__hint, html.reduce-motion .cui__hint { display: none; }
}

/* ───────── Pinned: the film ───────── */
html.js:not(.reduce-motion) .act--hands { height: calc(100svh + 660vh); }
html.js:not(.reduce-motion) .act--hands .act__stage { padding: 0; }
html.js:not(.reduce-motion) .cu { position: absolute; inset: 0; }

/* The title: letters rise in, then scatter as the desktop comes up */
html.js:not(.reduce-motion) .cu__intro { position: absolute; z-index: 5; left: var(--pad-x); right: var(--pad-x); top: 50%; margin: 0; translate: 0 -55%; text-align: center; pointer-events: none; }
html.js:not(.reduce-motion) .cu__title { font-size: clamp(52px, min(9.6vw, 17svh), 184px); letter-spacing: -.06em; line-height: .9; }
/* Each letter: a short tip, then gravity (y grows with d²); it spins and fades as it drops. */
html.js:not(.reduce-motion) .tl { --d: clamp(0, calc((var(--tp, 0) - var(--bd, 0) * .45) / .55), 1); transform-origin: 50% 100%; transform: translate(calc(var(--vx, 0px) * var(--d)), calc(var(--vy, 0px) * var(--d) * var(--d))) rotate(calc(var(--r) * var(--d) * 1.6)); opacity: calc(1 - var(--d) * var(--d) * var(--d)); }
/* The click on the full stop: a ring runs out from it */
.cu__shock { display: none; }
html.js:not(.reduce-motion) .cu__shock { display: block; position: absolute; z-index: 5; left: var(--sx, 50%); top: var(--sy, 50%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(242, 242, 242, .8); opacity: calc((1 - var(--sk, 1)) * (1 - var(--sk, 1)) * .9); scale: calc(.2 + var(--sk, 1) * 16); pointer-events: none; }
html.js:not(.reduce-motion) .act--hands:not(.is-in) .tl { translate: 0 .5em; opacity: 0; }
html.js:not(.reduce-motion) .act--hands.is-in .tl { animation: tl-in 900ms var(--e-out) calc(var(--i) * 420ms) both; }
@keyframes tl-in { from { translate: 0 .5em; opacity: 0; } }
html.js:not(.reduce-motion) .cu__sub { margin: 26px auto 0; font-size: clamp(17px, 1.5vw, 22px); opacity: calc(1 - min(var(--tp, 0) * 4, 1)); translate: 0 calc(var(--tp, 0) * 60px); filter: blur(calc(var(--tp, 0) * 6px)); }
html.js:not(.reduce-motion) .act--hands:not(.is-in) .cu__sub { opacity: 0; }
html.js:not(.reduce-motion) .act--hands.is-in .cu__sub { animation: fade-in 900ms var(--e-out) 700ms backwards; }
@keyframes fade-in { from { opacity: 0; } }

/* Captions over the screen */
html.js:not(.reduce-motion) .cu__caps { position: absolute; z-index: 4; left: var(--pad-x); right: var(--pad-x); top: var(--cy, 40px); margin: 0; display: block; max-width: none; text-align: center; }
html.js:not(.reduce-motion) .cu__cap { position: absolute; left: 0; right: 0; top: 0; justify-items: center; gap: 4px; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity 300ms var(--e-out), translate 500ms var(--e-io), visibility 0s linear 500ms; }
html.js:not(.reduce-motion) .cu__cap.is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 450ms var(--e-out) 100ms, translate 550ms var(--e-io) 100ms, visibility 0s; }
html.js:not(.reduce-motion) .cu__cap b { font-size: clamp(22px, min(2.4vw, 4.2svh), 34px); }
html.js:not(.reduce-motion) .cu__cap span { font-size: clamp(14px, 1.1vw, 16px); }

/* The screen rises out of depth, then holds still */
html.js:not(.reduce-motion) .cu__screen { position: absolute; z-index: 2; left: var(--bx, 0); top: var(--by, 0); width: var(--bw, 100%); height: var(--bh, 100%); container-type: normal; transform-origin: 50% 30%; transform: perspective(1800px) rotateX(calc((1 - var(--dp, 0)) * 26deg)) scale(calc(.6 + var(--dp, 0) * .4 - var(--de, 0) * .22)) translateY(calc(var(--de, 0) * -4%)); opacity: calc(var(--dp, 0) * (1 - var(--de, 0))); filter: var(--dfx, none); }
/* Once the film has receded it is gone for good: the end card stands on the bare stage, never over a ghost desktop. */
html.js:not(.reduce-motion) .act--hands.is-done .cu__screen { visibility: hidden; }
html.js:not(.reduce-motion) .act--hands.is-crop .cu__screen { overflow: hidden; border-radius: var(--br, 16px); }
html.js:not(.reduce-motion) .dt { position: absolute; left: 0; top: 0; font-size: var(--fs, 10px); transform-origin: 0 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--z, 1)); }

/* Apps open when Sen opens them */
html.js:not(.reduce-motion) :is(.aw--br, .aw--cal) { transform-origin: var(--ox, 50%) var(--oy, 100%); opacity: 0; visibility: hidden; scale: .06; transition: opacity 260ms var(--e-out), scale 620ms cubic-bezier(.2, .9, .25, 1), visibility 0s linear 620ms; }
html.js:not(.reduce-motion) .dt.s-br .aw--br, html.js:not(.reduce-motion) .dt.s-cal .aw--cal { opacity: 1; visibility: visible; scale: 1; transition: opacity 260ms var(--e-out), scale 620ms cubic-bezier(.2, .9, .25, 1), visibility 0s; }
html.js:not(.reduce-motion) .aw { transition: filter 450ms var(--e-out); }
html.js:not(.reduce-motion) .dt:is([data-front="browser"], [data-front="calendar"]) .aw--sen,
html.js:not(.reduce-motion) .dt[data-front="calendar"] .aw--br,
html.js:not(.reduce-motion) .dt[data-front="sen"].s-br .aw--br { filter: brightness(.72) saturate(.8); }
html.js:not(.reduce-motion) .dt.s-br .dk__i--browser::after, html.js:not(.reduce-motion) .dt.s-cal .dk__i--calendar::after { opacity: 1; }
html.js:not(.reduce-motion) .dk__i.is-press { translate: 0 -.5em; }
html.js:not(.reduce-motion) .br__start { display: grid; }
html.js:not(.reduce-motion) .dt:not(.s-site) :is(.rw, .br__url span) { visibility: hidden; }
.br__tab-a { display: none; }
html.js:not(.reduce-motion) .dt:not(.s-site) .br__tab-a { display: inline; }
html.js:not(.reduce-motion) .dt:not(.s-site) .br__tab-b { display: none; }
html.js:not(.reduce-motion) .dt.s-site .br__start { display: none; }
html.js:not(.reduce-motion) .dt.s-site .rw { animation: sc-in 380ms var(--e-out) both; }
html.js:not(.reduce-motion) .dt:not(.s-day) .rw__chip--pick { background: transparent; border-color: #DCDCE1; color: inherit; }
html.js:not(.reduce-motion) .dt:not(.s-morn) .rw__seg i.rw__seg-pick { background: transparent; box-shadow: none; color: #55555C; }
html.js:not(.reduce-motion) .dt:not(.s-res) .rw__res { visibility: hidden; }
html.js:not(.reduce-motion) .dt.s-res .rw__train { animation: sc-in 360ms var(--e-out) both; }
html.js:not(.reduce-motion) .dt.s-res .rw__train:nth-child(2) { animation-delay: 50ms; }
html.js:not(.reduce-motion) .dt.s-res .rw__train:nth-child(3) { animation-delay: 100ms; }
html.js:not(.reduce-motion) .dt.s-res .rw__train:nth-child(4) { animation-delay: 150ms; }
html.js:not(.reduce-motion) .dt.s-res .rw__train:nth-child(5) { animation-delay: 200ms; }
html.js:not(.reduce-motion) .dt:not(.s-pick) .rw__train--pick { box-shadow: 0 0 0 1px #E4E4E9; }
html.js:not(.reduce-motion) .dt:not(.s-pick) .rw__train--pick .rw__sel { background: transparent; border-color: #DCDCE1; color: inherit; }
html.js:not(.reduce-motion) .dt:not(.s-pick) .rw__train--pick .rw__sel-a { visibility: inherit; }
html.js:not(.reduce-motion) .dt:not(.s-pick) .rw__train--pick .rw__sel-b { visibility: hidden; }
html.js:not(.reduce-motion) .cal__new { height: calc(var(--nl, 0) * var(--rowh) - .3em); opacity: calc(min(var(--nl, 0) * 4, 1)); }
html.js:not(.reduce-motion) .cal__new small { opacity: var(--nt, 0); }
html.js:not(.reduce-motion) .cal__a { display: block; }

/* The chat plays its beats */
html.js:not(.reduce-motion) .sc > * { display: none; }
html.js:not(.reduce-motion) .dt.s-ask .sc__you,
html.js:not(.reduce-motion) .dt.s-sen1 .sc__sen--1,
html.js:not(.reduce-motion) .dt.s-ok0 .sc__row--0,
html.js:not(.reduce-motion) .dt.s-ok1 .sc__row--1,
html.js:not(.reduce-motion) .dt.s-sen2 .sc__sen--2 { display: flex; animation: sc-in 420ms var(--e-out) both; }
html.js:not(.reduce-motion) .dt.s-ask .sc__you { display: block; }
html.js:not(.reduce-motion) .dt.s-ap0:not(.s-ok0) .appr--0,
html.js:not(.reduce-motion) .dt.s-ap1:not(.s-ok1) .appr--1 { display: block; animation: sc-in 420ms var(--e-out) both; }
html.js:not(.reduce-motion) .dt.s-ap0x .appr--0 .appr__o--all,
html.js:not(.reduce-motion) .dt.s-ap1x .appr--1 .appr__o--all { background: var(--accent); color: var(--on-accent); }
html.js:not(.reduce-motion) .dt.s-ap0x .appr--0 .appr__o--all :is(.ic, small),
html.js:not(.reduce-motion) .dt.s-ap1x .appr--1 .appr__o--all :is(.ic, small) { color: var(--on-accent); }
@keyframes sc-in { from { opacity: 0; translate: 0 .8em; } }

/* The cursor's touch: hover and press on whatever it is over, a caret while typing */
html.js:not(.reduce-motion) [data-t] { transition: background-color 160ms var(--e-out), box-shadow 160ms var(--e-out), filter 160ms var(--e-out), scale 140ms var(--e-out); }
html.js:not(.reduce-motion) .dt [data-t].is-hov { filter: brightness(.93); }
html.js:not(.reduce-motion) .dt :is(.sc__composer i, .appr__o)[data-t].is-hov { filter: none; background-color: var(--bg-hover); }
html.js:not(.reduce-motion) .dt .dk__i[data-t].is-hov { filter: brightness(1.12); }
html.js:not(.reduce-motion) .dt .br__mark[data-t].is-hov { background: #E4E4EA; filter: none; }
html.js:not(.reduce-motion) .dt .rw__f[data-t].is-hov { box-shadow: 0 0 0 1px #B9B9C2; filter: none; }
html.js:not(.reduce-motion) .dt [data-t].is-down { scale: .96; filter: brightness(.85); }
html.js:not(.reduce-motion) .is-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: currentColor; animation: blink 1s steps(1) infinite; }

/* Sen's steps, live in the chat */
.steps { display: none; }
html.js:not(.reduce-motion) .dt.s-st0 .steps--0, html.js:not(.reduce-motion) .dt.s-st1 .steps--1 { display: block; animation: sc-in 420ms var(--e-out) both; }
.steps { padding: .7em .8em .55em; border-radius: .9em; background: var(--bg-surface); border: 1px solid var(--border-subtle); font-size: .82em; }
.steps__h { display: flex; align-items: center; gap: .5em; margin-bottom: .45em !important; font-weight: 600; color: var(--text-2); }
.steps__h .ic { width: 1.1em; height: 1.1em; }
.steps__list { list-style: none; display: flex; flex-direction: column; justify-content: flex-end; max-height: 8.6em; margin: 0; padding: 0; overflow: hidden; }
.steps__list li { display: none; align-items: center; gap: .55em; min-height: 2.15em; color: var(--text-1); }
.steps__list li.is-on { display: flex; animation: sc-in 300ms var(--e-out) both; }
.steps__list i { flex: none; display: grid; place-items: center; width: 1.25em; height: 1.25em; }
.steps__list i::before { content: ""; width: .9em; height: .9em; border-radius: 50%; border: 1.5px solid var(--border-strong); border-top-color: var(--text-1); animation: spin 800ms linear infinite; box-sizing: border-box; }
.steps__list li.is-done i::before { width: .62em; height: .34em; border: solid var(--ok-fg); border-width: 0 0 1.5px 1.5px; border-radius: 0; rotate: -45deg; translate: 0 -.1em; animation: none; }
.steps__list li.is-done { color: var(--text-2); }
@keyframes spin { to { rotate: 360deg; } }

/* The pill */
html.js:not(.reduce-motion) .cui { opacity: 0; translate: -50% -1.2em; transition: opacity 400ms var(--e-out), translate 500ms var(--e-out); }
html.js:not(.reduce-motion) .act--hands.is-live .cui { opacity: 1; translate: -50% 0; }
html.js:not(.reduce-motion) .act--hands.is-live:not(.is-stopped) .cui__state .led { animation: breathe 1.6s ease-in-out infinite; }

/* The cursor — one system pointer; it glows while Sen is driving */
html.js:not(.reduce-motion) .mc { display: block; position: absolute; z-index: 6; left: 0; top: 0; width: 0; height: 0; transform: translate(var(--mx, -100px), var(--my, -100px)); opacity: var(--mo, 0); pointer-events: none; }
.mc svg { position: absolute; left: -5px; top: -2.5px; width: var(--ms, 24px); height: var(--ms, 24px); fill: #fff; stroke: #0A0A0A; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); overflow: visible; scale: calc(1 - var(--mp, 0) * .14); transform-origin: 5px 3px; }
.mc__halo { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 111, 235, .34), rgba(47, 111, 235, .1) 65%, transparent); box-shadow: 0 0 0 2px rgba(47, 111, 235, .75), 0 0 18px rgba(47, 111, 235, .45); opacity: 0; scale: .6; transition: opacity 400ms var(--e-out), scale 500ms var(--e-out); }
.mc.is-sen .mc__halo { opacity: 1; scale: 1; animation: halo 1.8s ease-in-out infinite; }
@keyframes halo { 50% { scale: 1.15; opacity: .75; } }
html.js:not(.reduce-motion) .mc.is-idle svg { animation: idle 2.4s ease-in-out infinite; }
@keyframes idle { 50% { translate: 2px 3px; } }
.mc__ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2F6FEB; opacity: calc((1 - var(--rp, 1)) * .9); scale: calc(.3 + var(--rp, 1) * .9); }

/* The ending: the desktop steps back, the stop takes the stage */
html.js:not(.reduce-motion) .cu__end { position: absolute; z-index: 5; left: var(--pad-x); right: var(--pad-x); top: 50%; margin: 0; translate: 0 calc(-50% + (1 - var(--eo, 0)) * 30px); display: grid; justify-items: center; text-align: center; opacity: var(--eo, 0); pointer-events: none; }
html.js:not(.reduce-motion) .cu__end h3 { font-size: clamp(40px, min(6vw, 10svh), 104px); letter-spacing: -.055em; line-height: .95; }
html.js:not(.reduce-motion) .cu__end p { margin: 16px auto 0; font-size: clamp(16px, 1.3vw, 20px); }
/* Centred grid items size to their content: cap them so nothing runs off a phone. */
html.js:not(.reduce-motion) .cu__end > * { max-width: 100%; min-width: 0; }
html.js:not(.reduce-motion) .cu__end p { text-wrap: balance; }
html.js:not(.reduce-motion) .keys { display: grid; justify-items: center; gap: 14px; margin-top: 30px; }
.endpill { display: none; }
html.js:not(.reduce-motion) .endpill { display: inline-flex; align-items: center; gap: 12px; order: 3; margin-top: 22px; height: 46px; padding: 0 7px 0 10px; border-radius: 15px; background: var(--bg-elevated); border: 1px solid var(--border-default); box-shadow: var(--float-shadow); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
html.js:not(.reduce-motion) .endpill .cui__state { font-size: 12px; height: 26px; }
html.js:not(.reduce-motion) .endpill .cui__btn { height: 30px; font-size: 12.5px; }
html.js:not(.reduce-motion) .act--hands:not(.is-stopped) .endpill .cui__state .led { animation: breathe 1.6s ease-in-out infinite; }
html.js:not(.reduce-motion) .cu__end .keys { order: 2; }
html.js:not(.reduce-motion) .cu__end .cu__safe { order: 4; }
.keys__row { display: flex; gap: .28em; font-size: clamp(30px, min(3.6vw, 6svh), 56px); }
.key { display: grid; place-items: center; min-width: 1.55em; height: 1.55em; padding: 0 .3em; border-radius: .24em; background: linear-gradient(#2C2C2E, #1C1C1E); color: var(--text-1); font: 500 .62em/1 var(--sans); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -.09em 0 #0E0E10, 0 calc((1 - var(--kp, 0)) * .14em) 0 #08080A, 0 .5em 1.2em -.3em rgba(0, 0, 0, .7); translate: 0 calc(var(--kp, 0) * .12em); }
.key:last-child { min-width: 1.7em; }
.keys__hold { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.keys__hold i { position: relative; width: 170px; height: 3px; border-radius: 3px; background: var(--border-default); overflow: hidden; }
.keys__hold i::after { content: ""; position: absolute; inset: 0; background: var(--text-1); transform-origin: left; transform: scaleX(var(--kh, 0)); }
html.js:not(.reduce-motion) .cu__end .cu__safe { justify-content: center; margin-top: 28px; }
html.js:not(.reduce-motion) .cu__end .cu__safe li { font-size: 13.5px; gap: 8px; }
html.js:not(.reduce-motion) .cu__end .cu__safe-ic { width: 22px; height: 22px; }

@media (max-width: 1023px) {
    .act--hands .act__stage { padding-top: 96px; padding-bottom: 96px; }
    html.js:not(.reduce-motion) .cu__caps { left: 20px; right: 20px; }
    html.js:not(.reduce-motion) .cu__cap b { font-size: 22px; }
    html.js:not(.reduce-motion) .cu__cap span { font-size: 14px; }
    html.js:not(.reduce-motion) .cu__end .cu__safe li:nth-child(n+3) { display: none; }
}
@media (max-width: 767px) {
    html.js:not(.reduce-motion) .cu__title { font-size: clamp(44px, 14vw, 72px); }
    html.js:not(.reduce-motion) .cu__sub { font-size: 16px; }
    html.js:not(.reduce-motion) .cu__end h3 { font-size: 40px; }
    html.js:not(.reduce-motion) .cu__end p { font-size: 15px; }
    .keys__hold i { width: 130px; }
    html.js:not(.reduce-motion) .endpill { gap: 8px; height: 42px; padding: 0 5px 0 7px; font-size: 13px; }
    html.js:not(.reduce-motion) .endpill .cui__btn { padding: 0 9px; }
}
