/* v1 "Watch it work". Why each choice:
   - No cards. The source and the result are set straight on the page as type, because they're things in your life, not UI.
   - The phone is the only framed object and the largest, because the text from the helper IS the experience; everything else is context.
   - Marigold is the one color and it only ever means "what the helper noticed": a highlighter on the source, the dot on the result.
   - Inside the phone it's Apple's own grey and blue, because it's a picture of your actual Messages app, not our palette.
   - Left to right is time: what arrived, what the helper asked, what's true after. No numbers or arrows; the highlight is the thread. */
:root{--mari:#f0ae2c;--hl:color-mix(in srgb,#f5bd3c 58%,transparent)}
.rbody.watch-body{max-width:none;padding:26px 32px 28px;container-type:inline-size;overflow-x:hidden}
.scene{display:grid;grid-template-columns:minmax(0,1fr) 296px minmax(0,1fr);gap:34px;align-items:start;min-height:100%}

/* the source: flat type, like the email itself */
.src{padding-top:8px;opacity:0;transform:translateY(8px);transition:opacity .7s ease,transform .7s ease}
.src.in-view{opacity:1;transform:none}.src.dim{opacity:.62;transition:opacity 1.2s ease}
.src p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink2)}
.src .meta,.res .rlabel{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--mute);margin-bottom:8px}.src .meta b{font-weight:600;color:var(--ink)}
.src .meta.gap{margin-top:18px}
.subj{font-size:16px!important;font-weight:600;color:var(--ink)!important;line-height:1.3!important}
mark{background:none;color:inherit}
mark.mk,.mk mark{background-image:linear-gradient(var(--hl),var(--hl));background-repeat:no-repeat;background-size:0% 78%;background-position:0 62%;padding:0 2px;margin:0 -2px;border-radius:2px;transition:background-size .55s cubic-bezier(.5,0,.3,1)}
mark.mk.on,.mk.on mark{background-size:100% 78%}

/* paper calendar: real handwriting, because it's a photo of real handwriting */
@font-face{font-family:"Caveat";src:url("/fonts/caveat-500.woff2") format("woff2");font-weight:500;font-display:swap}
.paper{background:#fbf8f1;padding:12px 12px 14px;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.08),0 8px 24px rgba(60,50,30,.10);transform:rotate(-1.4deg);color:#2e3a6b}
.pmonth{font:500 26px/1 "Caveat",cursive!important;color:#2e3a6b!important;margin:0 0 8px!important}
.pgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #d9d2c1;border-left:1px solid #d9d2c1}
.pgrid b{font:600 9.5px var(--sans);color:#9a927f;text-align:center;padding:3px 0;border-right:1px solid #d9d2c1;border-bottom:1px solid #d9d2c1}
.pgrid span{min-height:58px;padding:2px 3px;border-right:1px solid #d9d2c1;border-bottom:1px solid #d9d2c1}
.pgrid em{display:block;font:normal 9.5px var(--sans);color:#9a927f}
.pgrid i{display:inline;font:500 15px/1.05 "Caveat",cursive;color:#2e3a6b;font-style:normal}
.pgrid i.mk{background-image:linear-gradient(var(--hl),var(--hl));background-repeat:no-repeat;background-size:0% 80%;background-position:0 60%;transition:background-size .4s ease}.pgrid i.mk.on{background-size:100% 80%}
.paper.mini{transform:none;box-shadow:none;padding:6px;border-radius:0}.paper.mini .pmonth{font-size:14px!important;margin-bottom:3px!important}.paper.mini .pgrid span{min-height:22px;padding:1px}.paper.mini .pgrid b,.paper.mini .pgrid em{font-size:6px;padding:0}.paper.mini .pgrid i{font-size:7px}

/* product */
.prod{margin:0 0 10px;width:168px}.prod img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
.pname{font-size:13.5px!important;color:var(--ink)!important;font-weight:400}
.pprice{font:600 20px/1.2 var(--sans)!important;color:var(--ink)!important}.pprice s{font-size:13px;font-weight:500;color:var(--mute);margin-left:8px}
.checks{display:grid;gap:4px;margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.checks span{display:flex;justify-content:space-between;font-size:12.5px;color:var(--mute);opacity:0;transition:opacity .4s}.checks span.on{opacity:1}.checks em{font-style:normal}
.checks .low{color:var(--ink);font-weight:600}
.checks::before{content:"Checked every morning";font-size:12.5px;font-weight:600;color:var(--ink);margin-bottom:2px}
/* forecast */
.hours{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;text-align:center}
.hours span{display:grid;gap:2px;font-size:13px}.hours em{font-style:normal;font-size:11.5px;color:var(--mute)}.hours b{font-weight:600;color:var(--ink2)}.hours mark{font-weight:600;color:var(--ink);justify-self:center}
.fine2{font-size:11.5px!important;color:var(--faint)!important;text-align:center;margin-top:4px!important}

/* the phone: the one framed thing */
.phone{width:296px;height:560px;border-radius:46px;background:var(--ink);padding:9px;box-shadow:0 30px 60px -20px rgba(28,27,25,.35);opacity:0;transform:translateY(12px);transition:opacity .7s ease,transform .7s ease}
.phone.in-view{opacity:1;transform:none}
.scr{height:100%;border-radius:37px;background:#fff;display:flex;flex-direction:column;overflow:hidden;font:15px/1.32 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;color:#000}
.mh{position:relative;display:grid;justify-items:center;padding:30px 12px 8px;background:#f7f7f7;border-bottom:1px solid #e3e3e3}
.mh .bk{position:absolute;left:14px;top:40px;font-size:30px;line-height:1;color:#0a7cff}
.mh .who{display:grid;justify-items:center;gap:2px}.mh img{width:40px;height:40px;border-radius:50%;background:#e9e7e2}.mh b{font-size:11px;font-weight:500;color:#333}
.msgs>*{flex:none}.msgs{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:8px 10px;overflow:hidden}
.ts{display:none;margin:10px 0 6px;text-align:center;font-size:10.5px;color:#8e8e93}.ts b{font-weight:600}.ts.on{display:block}
.bub{display:none;max-width:80%;padding:7px 12px;border-radius:18px;font-size:14px;line-height:1.33;word-wrap:break-word}
.bub.on,.typing:not([hidden]){display:block;animation:pop .32s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
.bub.in{align-self:flex-start;background:#e9e9eb;color:#000}.bub.out{align-self:flex-end;background:#0a7cff;color:#fff}
.bub.tail{margin-bottom:6px}.bub.in.tail{border-bottom-left-radius:5px}.bub.out.tail{border-bottom-right-radius:5px}
.bub.bare{padding:0;background:none!important;overflow:hidden}
.shot{display:block;width:150px;border-radius:14px;overflow:hidden;background:#fbf8f1;box-shadow:0 0 0 1px #e3e3e3}
.lp{display:block;margin:6px -12px -7px;border-radius:0 0 18px 18px;overflow:hidden;background:#f2f2f4;color:#000}.bub.out .lp{background:#e6e6ea}
.bub.bare .lp{margin:0;border-radius:16px;width:196px}.bub.tail .lp{border-bottom-left-radius:5px}
.lpi{display:block;height:120px;background:#fff}.lpi img{display:block;width:100%;height:100%;object-fit:cover}
.lpt{display:grid;padding:7px 11px 8px}.lpt b{font-size:12.5px;font-weight:600;line-height:1.25}.lpt span{font-size:11.5px;color:#6e6e73}
.typing{align-self:flex-start;background:#e9e9eb;padding:10px 12px}.dots{display:flex;gap:4px}.dots i{width:7px;height:7px;border-radius:50%;background:#9d9da2;animation:bl 1.2s infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes bl{0%,60%,100%{opacity:.35}30%{opacity:1}}
.comp{display:flex;align-items:center;gap:8px;padding:6px 10px 18px}.comp .plus{width:28px;height:28px;border-radius:50%;background:#e9e9eb;display:grid;place-items:center;color:#8e8e93;font-size:19px}
.comp .field{flex:1;height:30px;border-radius:15px;box-shadow:inset 0 0 0 1px #d1d1d6;padding:0 12px;display:flex;align-items:center;color:#b0b0b5;font-size:14px}

/* the result: flat, settles in below-right, so the eye travels down as time passes */
.res{align-self:end;padding-bottom:10px;opacity:0;transition:opacity .5s}.res.in-view{opacity:1}
.res .rlabel{margin-bottom:10px}
.res .ri{opacity:0;transform:translateY(6px);transition:opacity .5s ease,transform .5s ease}.res .ri.on{opacity:1;transform:none}
.res p{margin:0 0 8px;font-size:13.5px;line-height:1.55;color:var(--ink2)}
.day{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line)}
.dn{display:flex;align-items:baseline;gap:5px;font-size:11.5px;color:var(--mute)}.dn b{font:400 22px/1 var(--serif);color:var(--ink)}
.evs{display:grid;gap:4px}.ev{display:flex;align-items:baseline;gap:8px;font-size:13.5px;color:var(--mute)}.ev small{margin-left:6px;font-size:12px;color:var(--faint)}
.ev i{flex:none;width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);transform:translateY(-1px)}
.ev.new{color:var(--ink);font-weight:600}.ev.new i{background:var(--mari);box-shadow:none}.ev.new small{font-weight:400}
.rnote{font-size:12.5px!important;color:var(--mute)!important;margin-top:6px!important}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 14px;font-size:13.5px}.kv dt{color:var(--mute)}.kv dd{margin:0;color:var(--ink)}
.fakepay{display:inline-block;padding:8px 16px;border-radius:6px;background:#1a4480;color:#fff;font-size:13px;font-weight:600;cursor:default}

/* narrower right pane: phone right, source over result on the left */
@container (max-width:900px){
  .scene{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto 1fr;grid-template-areas:"src ph" "res ph";gap:24px 28px}.src{grid-area:src}.phone{grid-area:ph;width:280px}.res{grid-area:res;align-self:start}
}
/* phone-sized screens: one column in time order */
@container (max-width:520px){
  .scene{grid-template-columns:1fr;grid-template-areas:"src" "ph" "res";gap:26px}.phone{justify-self:center;width:min(100%,300px);height:500px}.src.dim{opacity:.55}
}
/* Narration: directly above the scene, where your eyes already are. It's the one sentence to read, so it's the
   largest type in the pane: Instrument Serif (1Helm's own display face, so onboarding already looks like the app you
   land in), regular 400 because that's the only weight it has and a serif doesn't need bold to lead. 28px reads as a
   sentence, not a headline; min-height holds two lines so the scene never jumps when a beat changes. */
.narr{margin:0 0 26px;max-width:30em;min-height:2.4em;font:400 28px/1.2 "Instrument Serif",var(--serif);color:var(--ink);transition:opacity .28s ease}
.narr.fade{opacity:0}
/* Phone: the scene is taller than the screen, so the narration sticks to the top of the viewport while you scroll it.
   The body must not be its own scroll box here, or sticky and scrollIntoView act on the wrong element. */
@media (max-width:900px){
  .rbody.watch-body{overflow:visible}
  .narr{position:sticky;top:0;z-index:2;font-size:23px;margin:0 0 14px;padding:12px 0;min-height:calc(3.6em + 24px);background:var(--sheet);box-shadow:-20px 0 0 var(--sheet),20px 0 0 var(--sheet),-20px 1px 0 var(--line),20px 1px 0 var(--line),0 1px 0 var(--line)}
  body.watching .left h1{font-size:22px;line-height:1.25;margin:14px 0 16px}
}
/* While watching, the left column steps back to context so the scene gets the room. */
@media (min-width:901px){body.watching .split{grid-template-columns:minmax(300px,30%) 1fr}body.watching .left h1{font-size:34px;line-height:1.15}}
.bub.bare .lp{margin:0;border-radius:16px;width:196px}.bub.tail .lp{border-bottom-left-radius:5px}
.lpi{display:block;height:120px;background:#fff}.lpi img{display:block;width:100%;height:100%;object-fit:cover}
.lpt{display:grid;padding:7px 11px 8px}.lpt b{font-size:12.5px;font-weight:600;line-height:1.25}.lpt span{font-size:11.5px;color:#6e6e73}
.typing{align-self:flex-start;background:#e9e9eb;padding:10px 12px}.dots{display:flex;gap:4px}.dots i{width:7px;height:7px;border-radius:50%;background:#9d9da2;animation:bl 1.2s infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes bl{0%,60%,100%{opacity:.35}30%{opacity:1}}
.comp{display:flex;align-items:center;gap:8px;padding:6px 10px 18px}.comp .plus{width:28px;height:28px;border-radius:50%;background:#e9e9eb;display:grid;place-items:center;color:#8e8e93;font-size:19px}
.comp .field{flex:1;height:30px;border-radius:15px;box-shadow:inset 0 0 0 1px #d1d1d6;padding:0 12px;display:flex;align-items:center;color:#b0b0b5;font-size:14px}

/* the result: flat, settles in below-right, so the eye travels down as time passes */
.res{align-self:end;padding-bottom:10px;opacity:0;transition:opacity .5s}.res.in-view{opacity:1}
.res .rlabel{margin-bottom:10px}
.res .ri{opacity:0;transform:translateY(6px);transition:opacity .5s ease,transform .5s ease}.res .ri.on{opacity:1;transform:none}
.res p{margin:0 0 8px;font-size:13.5px;line-height:1.55;color:var(--ink2)}
.day{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line)}
.dn{display:flex;align-items:baseline;gap:5px;font-size:11.5px;color:var(--mute)}.dn b{font:400 22px/1 var(--serif);color:var(--ink)}
.evs{display:grid;gap:4px}.ev{display:flex;align-items:baseline;gap:8px;font-size:13.5px;color:var(--mute)}.ev small{margin-left:6px;font-size:12px;color:var(--faint)}
.ev i{flex:none;width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);transform:translateY(-1px)}
.ev.new{color:var(--ink);font-weight:600}.ev.new i{background:var(--mari);box-shadow:none}.ev.new small{font-weight:400}
.rnote{font-size:12.5px!important;color:var(--mute)!important;margin-top:6px!important}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 14px;font-size:13.5px}.kv dt{color:var(--mute)}.kv dd{margin:0;color:var(--ink)}
.fakepay{display:inline-block;padding:8px 16px;border-radius:6px;background:#1a4480;color:#fff;font-size:13px;font-weight:600;cursor:default}

/* narrower right pane: phone right, source over result on the left */
@container (max-width:900px){
  .scene{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto 1fr;grid-template-areas:"src ph" "res ph";gap:24px 28px}.src{grid-area:src}.phone{grid-area:ph;width:280px}.res{grid-area:res;align-self:start}
}
/* phone-sized screens: one column in time order */
@container (max-width:520px){
  .scene{grid-template-columns:1fr;grid-template-areas:"src" "ph" "res";gap:26px}.phone{justify-self:center;width:min(100%,300px);height:500px}.src.dim{opacity:.55}
}
/* the narration line on the left gets a reading size for full sentences, and holds its height so nothing jumps */
@font-face{font-family:"Newsreader";src:url("/fonts/newsreader.woff2") format("woff2");font-weight:400;font-display:swap}
body.watching .left h1{font:400 32px/1.25 "Newsreader",var(--serif);letter-spacing:-.005em;max-width:13em;transition:opacity .28s ease}
body.watching .left h1.fade{opacity:0}
.bub.bare .lp{box-shadow:0 0 0 1px #e3e3e3}.bub.bare .lp .lpt{background:#e9e9eb}
.watch-body ~ .rfoot .qbtn{white-space:nowrap}.rfoot .qbtn .cnt{margin-left:6px;color:var(--faint);font-weight:400}
