/* Owee homepage, /bot and /app. The legal and help pages use style.css. */
@font-face{font-family:"Fraunces";src:url("/fonts/fraunces-soft-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url("/fonts/fraunces-soft-italic.woff2") format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"Geist";src:url("/fonts/geist-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --ground:#060608; --panel:#131418; --raise:#1C1D22; --line:#26282E;
  --ink:#F0F2F4; --sub:#A3A5AD; --sub-hi:#B5B7BF; /* --sub for captions and labels; --sub-hi for helper body text on --raise (8.4:1) */ --soft:#D9D5EC; --aside:#B9A2FF;
  --violet:#9B6BFF; --focus:#C9B6FF; --paid:#8ED09C;
  /* ---- the primary button: ONE warm orange, used for nothing else on the site (no text, borders, chips or highlights).
     It stands 4.0:1 or more off every ground it sits on (night navy 4.9, the film's chapter grounds 4.0-4.4, the
     panels 4.4-4.8, the sign-off 5.0) and 3.2:1 off the cream morning; its dark label is 5.1:1 (white would be 3.8). ---- */
  --cta:#DA5C0B; --cta-ink:#140A04; --cta-hover:#E05F0E; --cta-press:#D4570A;
  --serif:"Fraunces",Georgia,serif; --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.22,.8,.24,1);

  /* ---- type scale (design pass, 10 Nov). One size per role, fluid from 375px to 1440px wide.
     Fraunces (soft) sets the display roles and Owee's lines; Geist sets everything else. ---- */
  --fs-display:clamp(2.25rem, 1.6rem + 3vw, 4rem);        /* 36 -> 64: the hero h1 only (64 max keeps it to two lines on computers) */
  --fs-h2:clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);         /* 28 -> 44: section headings (sign-off too), film captions on computers */
  --fs-h3:clamp(1.25rem, 1.05rem + 1.2vw, 1.625rem);       /* 21 -> 26: card titles, film captions on phones, sheet title */
  --fs-lead:clamp(1.0625rem, 1rem + .3vw, 1.25rem);        /* 17 -> 20: ledes, section subs, Owee's lines */
  --fs-body:1.0625rem;                                     /* 17 */
  --fs-small:.9375rem;                                     /* 15: helper text, steps, nav, footer, small buttons, text links */
  --fs-caption:.8125rem;                                   /* 13: notes, times, consent, chips */
  --fs-button:1.0625rem;                                   /* 17: the primary button */
  --lh-display:1.04; --lh-h2:1.1; --lh-h3:1.18; --lh-lead:1.45; --lh-body:1.5; --lh-small:1.45; --lh-caption:1.4;
  --tr-display:-.02em; --tr-h2:-.015em; --tr-h3:-.01em; --tr-caption:.01em;
  --fw-display:500; --fw-strong:600;
  --measure-lead:34ch; --measure-body:60ch;

  /* ---- spacing: 4px steps inside a block, fluid padding between blocks ---- */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px;
  --section-y:clamp(3.5rem, 2.4rem + 4.6vw, 7.5rem);       /* 56 -> 104 (120 max): panel padding top and bottom */
  --gap-panel:8px;                                         /* between panels: 8, 12, 20 */
  /* ---- the page edge: ONE pair of content lines for the top bar, every section, the story's overlays and the footer.
     --edge is the distance from the viewport to the content: 24px on phones (20 under 360), 40 on tablets, 64 on
     computers, growing so the content is never wider than --maxw. Panels are cards inset by --gap-panel, so their
     padding is --in-x (= --edge less that inset) and their content still lands on the edge. Full-bleed grounds
     (hero art, the sign-off picture, the texts rail's peeking cards) are the only things past these lines. ---- */
  --edge-min:24px; --maxw:1200px;
  --edge:max(var(--edge-min), (100vw - var(--maxw)) / 2);
  --in-x:calc(var(--edge) - var(--gap-panel));

  /* ---- shape and controls ---- */
  --r-panel:26px; --r-card:22px; --r-field:16px; --r-pill:999px;
  --btn-h:52px; --btn-px:28px;                             /* the one primary size */
  --btn-sm-h:44px; --btn-sm-px:18px;                       /* the one small size */

  /* ---- motion (Emil): strong ease-out for responses, ease-in-out for things that morph on screen ---- */
  --ease-out:cubic-bezier(.23,1,.32,1); --ease-in-out:cubic-bezier(.77,0,.175,1);
  --t-press:140ms; --t-hover:180ms; --t-ui:240ms;
  --ease-drawer:cubic-bezier(.32,.72,0,1);                 /* iOS sheet curve */
  --cave-h:20px;                                           /* the caveman line's height (the film's --stack counts it) */
}
*{box-sizing:border-box}
html{background:var(--ground);color-scheme:dark;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{font-optical-sizing:auto}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:12px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:60;background:var(--ink);color:#111;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:var(--fw-strong);font-size:var(--fs-small)}
[tabindex="-1"]:focus{outline:none}
.skip:focus{top:12px}
/* buttons: one primary size (52px, 17px label) and one small size (44px, 15px label), always fully round, flat.
   Press: scale .97 in 140ms; hover only on devices that really hover. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s-2);min-height:var(--btn-h);padding:0 var(--btn-px);border-radius:var(--r-pill);border:0;font:var(--fw-strong) var(--fs-button)/1.1 var(--sans);letter-spacing:-.005em;text-decoration:none;cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent;transition:background-color var(--t-hover) ease,color var(--t-hover) ease,transform var(--t-press) var(--ease-out)}
.btn:active{transform:scale(.97)}
.btn-cta{background:var(--cta);color:var(--cta-ink)}
.btn-cta:active{background:var(--cta-press)}
.btn-light{background:var(--ink);color:#111216}
/* the secondary beside a primary: outlined in its own text colour, transparent (the morning chapter's "Get the app", dark ink
   on the cream; the top bar's .get is the small light version) */
.btn-line{background:transparent;color:inherit;box-shadow:inset 0 0 0 1.5px rgba(25,28,28,.72);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,currentColor 72%,transparent)}
.btn-line:active{background:color-mix(in srgb,currentColor 10%,transparent)}
@media (hover:hover) and (pointer:fine){.btn-cta:hover{background:var(--cta-hover)}.btn-light:hover{background:#fff}.btn-line:hover{background:color-mix(in srgb,currentColor 6%,transparent);box-shadow:inset 0 0 0 1.5px currentColor}}
.aside{font-family:var(--serif);font-variation-settings:"SOFT" 100;color:var(--aside)}
/* "or keep splitting like a caveman": a deterrent, not a link. Plain muted text, centred 12px under its button. */
.caveman{margin:0;font-size:var(--fs-small);line-height:var(--cave-h);color:var(--sub);text-align:center}

/* ---------- top bar ---------- */
/* one translucent layer over everything (Apple's material): the page ink at 74% with a blur, so the hero art, the film's
   grounds and the panels show through softly; a hairline at the bottom instead of a hard edge. Solid where the browser
   can't blur or the reader asked for less transparency. Over the cream morning it turns cream (html.light-bar). */
.bar{position:fixed;left:0;right:0;top:0;z-index:30;display:flex;align-items:center;padding:var(--s-3) var(--edge);pointer-events:none;
  background:rgba(6,6,8,.74);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(240,242,244,.08);transition:background-color .4s ease,border-color .4s ease}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.bar{background:rgba(6,6,8,.96)}html.light-bar .bar{background:rgba(241,236,228,.97)}}
@media (prefers-reduced-transparency:reduce){.bar{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none}html.light-bar .bar{background:#F1ECE4}}
html.light-bar .bar{background:rgba(241,236,228,.78);border-bottom-color:rgba(25,28,28,.1)}
.bar>*{pointer-events:auto}
.wordmark{display:inline-flex;align-items:center;min-height:44px;font-family:var(--serif);font-size:25px;line-height:1;text-decoration:none;font-variation-settings:"SOFT" 100;padding:0;color:var(--ink);transition:color .4s}
/* nav: Pricing and FAQ on the left, right after the logo (from 600px; phones keep the logo and the buttons) */
.bar-links{display:none}
@media (min-width:600px){
  .bar-links{display:flex;gap:var(--s-5);margin-left:var(--s-6);font-size:var(--fs-small)}
  .bar-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;text-decoration:none;color:var(--soft);transition:color var(--t-hover) ease}
  html.light-bar .bar-links a{color:#3B3E44}
}
@media (hover:hover) and (pointer:fine){.bar-links a:hover{color:#fff}html.light-bar .bar-links a:hover{color:#191C1C}}
html.light-bar .wordmark{color:#191C1C}
/* the bar's two actions, one pair: outlined "Get the app" (secondary) and the filled orange "Add Owee" (the one primary),
   same height and radius, 8px apart. Phones under 370px keep only Add Owee. */
.bar-ctas{display:flex;align-items:center;gap:var(--s-2);margin-left:auto;transition:opacity var(--t-ui) ease,visibility 0s linear 0s}
.bar .get{font:var(--fw-strong) var(--fs-small)/1.1 var(--sans);text-decoration:none;min-height:var(--btn-sm-h);display:inline-flex;align-items:center;padding:0 var(--btn-sm-px);border-radius:var(--r-pill);border:1px solid rgba(240,242,244,.32);color:var(--ink);background:transparent;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:background-color var(--t-hover) ease,border-color var(--t-hover) ease,transform var(--t-press) var(--ease-out)}
.bar .get:active{transform:scale(.97);background:rgba(240,242,244,.08)}
@media (hover:hover) and (pointer:fine){.bar .get:hover{background:rgba(240,242,244,.08);border-color:rgba(240,242,244,.55)}}
@media (max-width:369px){.bar-ctas .get{display:none}}
.bar>.get{margin-left:auto} /* /bot: its one action on the right */
.bar .top-add{font:var(--fw-strong) var(--fs-small)/1.1 var(--sans);border:0;cursor:pointer;min-height:var(--btn-sm-h);display:inline-flex;align-items:center;padding:0 var(--btn-sm-px);border-radius:var(--r-pill);background:var(--cta);color:var(--cta-ink);white-space:nowrap;transition:background-color var(--t-hover) ease,opacity var(--t-ui) ease,visibility 0s linear 0s,transform var(--t-press) var(--ease-out)}
.bar .top-add:active{transform:scale(.97);background:var(--cta-press)}
@media (hover:hover) and (pointer:fine){.bar .top-add:hover{background:var(--cta-hover)}}
/* while the film, #add or the sign-off is on screen (each has its own Add button, and the film's last chapter its own
   "Get the app") the bar's pair steps back: one focal point */
html.film-cta .bar-ctas,html.add-cta .bar-ctas{opacity:0;visibility:hidden;transition:opacity var(--t-ui) ease,visibility 0s linear var(--t-ui)}

/* ================= PINNED STORY ================= */
/* The motion story shows only when the head script decides motion is on (html.motion).
   Without JS, with reduced motion, or on short screens the static story shows instead. */
.pin{display:none}
html.motion .pin{display:block}
html.motion .static{display:none}
.pin{position:relative;height:calc(100svh + 260svh)} /* the lift (60svh of scroll), then ~2 screens pinned while the film plays */
/* Phones: the caption sits on top (--cap-h is measured by home.js: the tallest caption), the controls, the Add button and
   the caveman line sit at the bottom (--stack), and the phone takes the height in between (device height = 2.1025 x width).
   --rw / --rt / --rv: the hero's resting phone (width, top, how much of it shows), set by home.js for the hero bubbles. */
.stage{position:sticky;top:0;height:100svh;overflow:hidden;background:#120E2E;--ink:#F0F2F4;--sub:#A9ABB3;color:var(--ink);
  --cap-top:80px;--cap-h:150px; /* the caption starts 11px under the top bar (69px) */--cap-end:calc(var(--cap-top) + var(--cap-h));
  --stack:calc(var(--s-4) + var(--cave-h) + var(--s-3) + var(--btn-h) + var(--s-3) + 44px + var(--s-3) + env(safe-area-inset-bottom));
  --pw:max(80px,min(calc((100svh - var(--cap-end) - var(--s-3) - var(--stack)) / 2.1025),62vw))}

/* hero art */
.heroart{position:absolute;inset:0;transform-origin:50% 70%;will-change:transform,opacity}
.heroart picture,.heroart img{position:absolute;left:0;right:0;bottom:0;width:100%;height:calc(100% - 110px);object-fit:cover;object-position:50% 100%}
.heroart::before{content:"";position:absolute;inset:0 0 auto;height:140px;background:#0A0731}
.heroart::after{content:"";position:absolute;inset:0;background:radial-gradient(110% 60% at 50% 14%,rgba(8,6,36,.9),rgba(8,6,36,.55) 50%,rgba(8,6,36,.2) 80%),linear-gradient(180deg,rgba(6,6,8,.15),rgba(6,6,8,.45))}

/* string lights carried through the night chapters */
/* computers only: on phones and tablets they ran through the logo and the caption's time */
.lights{position:absolute;left:0;right:0;top:0;height:140px;opacity:0;pointer-events:none}
@media (max-width:999px){.lights{display:none}}
.lights svg{width:100%;height:100%}
.lights circle{fill:#FFC56B;animation:twinkle 3.2s ease-in-out infinite}
.lights circle:nth-child(3n){animation-delay:-1.1s}.lights circle:nth-child(3n+1){animation-delay:-2.2s}
@keyframes twinkle{0%,100%{opacity:1}50%{opacity:.55}}

/* hero copy */
/* rhythm: kicker 16 -> headline 20 -> lede 32 -> the button pair (wide screens: 16, 24, 40). The headline is the one
   loud thing; the kicker and lede are smaller and quieter, with more leading. */
.herocopy{position:absolute;left:var(--edge);right:var(--edge);top:clamp(84px,9svh,120px);z-index:6}
.herocopy,.hc-in{display:flex;flex-direction:column;align-items:center;text-align:center}
.herocopy .kicker{margin-bottom:var(--s-4);font-size:var(--fs-small);line-height:1.5;color:rgba(200,182,255,.86);text-wrap:balance}
.herocopy h1,.herocopy .h1{max-width:none}
.herocopy .lede{margin-top:var(--s-5);max-width:none;font-size:var(--fs-body);line-height:1.6;color:rgba(217,213,236,.84)}
.herocopy .cta{margin-top:var(--s-6)}
/* once the phone is up the faded hero copy must not catch taps or focus (the film's caption sits where it was) */
.stage.film-on .herocopy{visibility:hidden}
h1,.h1{margin:0;font-family:var(--serif);font-weight:var(--fw-display);font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--tr-display);font-variation-settings:"SOFT" 100;text-wrap:balance;max-width:15ch}
.lede{margin:0;max-width:30ch;color:var(--soft);font-size:var(--fs-lead);line-height:var(--lh-lead);text-wrap:balance}
.cta{display:flex;flex-direction:column;align-items:center;gap:var(--s-3);width:100%}
.kicker{margin:0;font-family:var(--serif);font-variation-settings:"SOFT" 100;font-size:var(--fs-lead);line-height:var(--lh-lead);color:#C8B6FF}
.note{margin:0;font-size:var(--fs-caption);line-height:var(--lh-caption);letter-spacing:var(--tr-caption);color:#C9C4DE}
.hint{position:absolute;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);text-shadow:0 1px 8px rgba(0,0,0,.8);z-index:6;font-size:var(--fs-caption);color:var(--soft);display:flex;align-items:center;gap:var(--s-2);white-space:nowrap}
.hint svg{animation:nudge 1.8s ease-in-out infinite}
/* phones and tablets: the hero phone fills the bottom of the screen, so the hint goes (the half phone says "scroll") */
@media (max-width:999px),(max-height:599px){.hint{display:none}}

/* hero bubbles: three real lines from the chat float beside the resting phone. The box sits on the phone's visible part
   (width --rw, from its top --rt, --rv tall); everything inside is placed in % of that box, and the left and right items
   never cross the page edge. They pop in once on load; the lift fades the box (GSAP animates #hb, so it has no CSS transform). */
.hb{position:absolute;z-index:5;left:50%;top:var(--rt,70%);width:var(--rw,300px);height:var(--rv,30%);margin-left:calc(var(--rw,300px) / -2);pointer-events:none;
  --side:calc((100vw - var(--rw,300px)) / 2 - var(--edge))} /* room between the page edge and the phone */
.stage.film-on .hb{visibility:hidden}
.hb>*{position:absolute;margin:0;box-shadow:0 14px 36px rgba(0,0,0,.5);animation:hb-in .5s var(--ease-out) both}
.hb-receipt{right:calc(100% - 12%);top:6%;height:min(70%,210px);width:auto;aspect-ratio:320/577;border-radius:10px;border:3px solid #F4F1EA;rotate:-7deg;animation-delay:.25s}
.hb-msg{width:max-content;max-width:min(190px,calc(var(--side) + 12%));padding:7px 11px;border-radius:16px;font-size:var(--fs-caption);line-height:1.3;text-align:left}
.hb-me{right:calc(100% - 20%);max-width:none;white-space:nowrap;top:calc(6% + min(70%,210px) - 22px);background:#0A6CDB;color:#fff;border-bottom-right-radius:6px;animation-delay:.38s}
.hb-owee{left:calc(100% - 12%);top:14%;background:#26262B;color:#F0F2F4;border-bottom-left-radius:6px;animation-delay:.5s}
.hb-owee u{text-underline-offset:.15em;text-decoration-color:rgba(240,242,244,.6)}
.hb-from{display:block;margin-bottom:2px;font-size:var(--fs-caption);color:#A3A5AD}
@keyframes hb-in{from{opacity:0;translate:0 12px;scale:.96}}
/* phones: little room beside the phone, so the bubbles overlap its edges and start on the page edge */
@media (max-width:699px){
  .hb-receipt{right:auto;left:calc(10px - var(--side));height:min(56%,134px);border-width:2px;border-radius:8px}
  .hb-msg{font-size:11px;padding:5px 9px;border-radius:13px;max-width:calc(var(--side) + 62%)}
  .hb-me{right:auto;left:calc(-1 * var(--side) + 18px);top:auto;bottom:10%}
  .hb-owee{left:auto;right:calc(-1 * var(--side));top:16%}
}
/* very short phones: the visible strip is small, so the tag line goes */
@media (max-width:699px) and (max-height:700px){.hb-me{display:none}}
@keyframes nudge{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}

/* the rig: phone + everything attached to it */
.rig{position:absolute;left:50%;top:calc(var(--cap-end) + var(--s-3) + var(--pw) * 1.05125);z-index:4;width:var(--pw);transform:translate(-50%,-50%);--ow:min(104px, calc((100vw - var(--pw)) / 2 + 10px))}
.phone{position:relative;z-index:3;will-change:transform}
.device{border-radius:calc(var(--pw) * .16);padding:calc(var(--pw) * .028);background:#0B0B0E;box-shadow:0 0 0 1px #2C2E34,0 40px 90px rgba(0,0,0,.6)}
.screen{position:relative;border-radius:calc(var(--pw) * .135);overflow:hidden;aspect-ratio:1179/2556;background:#000}
.screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage .screen video{opacity:0;transition:opacity .3s}
.stage .screen video.on{opacity:1}
.vid-toggle{position:absolute;right:8px;bottom:8px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(20,20,24,.72);color:#F0F2F4;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform var(--t-press) var(--ease-out)}
.vid-toggle:active{transform:scale(.95)}
.vid-toggle[hidden]{display:none}
/* the hero phone shows only its top half, so its pause button sits near the top of the screen */
.stage .vid-toggle{bottom:auto;top:24%}

/* Owee around the phone */
.owee{position:absolute;z-index:4;opacity:0;pointer-events:none;will-change:transform,opacity}
.owee img{width:100%;height:auto}
.breathe{animation:breathe 3.4s ease-in-out infinite;transform-origin:50% 100%}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.018,1.03)}}
/* phones: Owee sits in the gutter beside the phone and only overlaps its edge, so the chat stays readable.
   It never hangs below the phone (the film controls and Add Owee sit there): --ow is its width (= height). */
.o-curled,.o-calc,.o-think,.o-present,.o-cheer{left:calc(100% - 18px);top:min(64%, 100% - var(--ow));width:var(--ow)}
.o-calc{top:min(58%, 100% - var(--ow))}
.zz{position:absolute;left:calc(100% + 4px);top:calc(min(64%, 100% - var(--ow)) - 10%);z-index:2;font-family:var(--serif);color:var(--aside);font-size:calc(var(--pw) * .14);opacity:0;pointer-events:none}
.zz span{position:absolute;animation:zz 2.6s ease-in infinite;opacity:0}
.zz span:nth-child(2){animation-delay:.85s;left:.6em;font-size:.8em}.zz span:nth-child(3){animation-delay:1.7s;left:1.1em;font-size:.6em}
@keyframes zz{0%{opacity:0;transform:translate(0,0)}20%{opacity:1}100%{opacity:0;transform:translate(.6em,-1.6em)}}

/* chapter effects behind the phone (CSS places the wrapper, GSAP animates the inner element) */
.receipt-pos{position:absolute;z-index:0;left:-12%;top:-6%;width:62%;height:96%;transform:rotate(-7deg)}
.receipt{width:100%;height:100%;border-radius:6px 6px 0 0;background:
  repeating-linear-gradient(180deg,transparent 0 22px,rgba(25,28,28,.14) 22px 24px) 18% 64px/64% 100% no-repeat,#EFE7D6;
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 10px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/20px 10px repeat-x;
          mask:linear-gradient(#000,#000) top/100% calc(100% - 10px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/20px 10px repeat-x;
  opacity:0}
.ring-pos{position:absolute;z-index:0;left:50%;top:45%;width:190%;aspect-ratio:1;transform:translate(-50%,-50%)}
.ring{width:100%;height:100%;border-radius:50%;transform:scale(.6);opacity:0;
  background:radial-gradient(closest-side,rgba(255,197,107,.30),rgba(255,197,107,.10) 60%,rgba(255,197,107,0) 72%)}

/* captions: one headline of two short sentences, each on its own line (h3 on phones, h2 on computers); on a narrow
   phone a sentence may wrap, but the second always starts a new line */
.caps{position:absolute;z-index:5;left:var(--edge);right:var(--edge);top:var(--cap-top);height:var(--cap-h)}
.cap{position:absolute;inset:0 0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;opacity:0;visibility:hidden;pointer-events:none}
.cap h2{margin:0;font-family:var(--serif);font-variation-settings:"SOFT" 100;font-weight:var(--fw-display);font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:var(--tr-h3);text-wrap:balance;max-width:24ch}
.cap h2>span,.s-ch h2>span{display:block;text-wrap:balance}
/* short phones: a smaller headline (fewer lines), so the phone under it keeps some size */
@media (max-height:640px){.cap h2{font-size:1.125rem;max-width:none}}

/* who owes what (from 700px wide; on phones the strip, its labels and the chips covered a third of the chat, which shows the numbers anyway) */
@media (max-width:699px){.people,#chips{display:none}}
.people{position:absolute;z-index:5;left:50%;top:calc(var(--cap-end) + var(--s-2));transform:translateX(-50%)}
.people-in{display:flex;gap:4px;padding:8px 6px;border-radius:18px;background:rgba(12,12,16,.78);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(0,0,0,.4)}
.person{position:relative;width:min(78px,calc((100vw - 40px) / 4));display:flex;flex-direction:column;align-items:center;gap:4px}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:15px;color:#111216;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.av-s{background:#A88BFF}.av-sa{background:#6FC3B5}.av-j{background:#F2C14E}.av-m{background:#F29BC0}
.person .nm{font-size:12px;color:var(--sub);line-height:1}
.person .st{position:relative;height:18px;width:100%;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:18px}
.person .st span{position:absolute;left:0;right:0;text-align:center;white-space:nowrap;opacity:0}
.person .st .paid{color:var(--paid)}
.chip{position:absolute;z-index:6;left:0;top:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#F0F2F4;font-size:16px;line-height:1;opacity:0;pointer-events:none;box-shadow:0 8px 20px rgba(0,0,0,.35)}
.flylabel{position:absolute;left:0;right:0;top:calc(100% + 8px);text-align:center;opacity:0;pointer-events:none}
.flylabel span{display:inline-block;white-space:nowrap;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:#F0F2F4;color:#111216}
.flylabel b{font-weight:600;color:#5B3FD1}

/* film controls: six chapter dots and play / pause / replay, under the phone once it is up */
.film-ctl{position:absolute;z-index:7;left:50%;width:max(318px,min(360px,100vw - 2 * var(--edge)));justify-content:space-between;bottom:calc(var(--s-4) + var(--cave-h) + var(--s-3) + var(--btn-h) + var(--s-3) + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;padding:0 var(--s-1);border-radius:var(--r-pill);background:rgba(240,242,244,.08);background:color-mix(in srgb,var(--ink) 8%,transparent);opacity:0;visibility:hidden;transition:opacity var(--t-ui) ease,visibility 0s linear var(--t-ui)}
.stage.film-on .film-ctl{opacity:1;visibility:visible;transition:opacity var(--t-ui) ease .15s,translate .45s var(--ease-in-out)}
.film-ctl button{flex:1 1 0;min-width:44px;height:44px;margin:0;padding:0;border:0;border-radius:var(--r-pill);background:none;color:var(--ink);display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform var(--t-press) var(--ease-out)}
.film-ctl button:active{transform:scale(.95)}
.film-ctl button:focus-visible{outline-offset:-4px;border-radius:var(--r-pill)}
.film-ctl .dot i{position:relative;display:block;width:22px;height:8px;border-radius:4px;overflow:hidden;background:rgba(240,242,244,.55);background:color-mix(in srgb,var(--ink) 55%,transparent);clip-path:inset(0 7px round 4px);transition:clip-path .3s var(--ease-out),background-color var(--t-hover) ease}
/* every dot is a fixed 22px track clipped to an 8px dot; the current one unclips to a pill (no width animation, no layout).
   Inactive dots: 55% ink, 3.5:1 on the cream morning and 4.5:1 or more on the night grounds. */
@media (hover:hover) and (pointer:fine){.film-ctl .dot:hover i{background:color-mix(in srgb,var(--ink) 75%,transparent)}}
.film-ctl .dot.done i{background:var(--ink)}
.film-ctl .dot[aria-current] i{clip-path:inset(0 0 round 4px)}
.film-ctl .dot[aria-current] i::after{content:"";position:absolute;inset:0;background:var(--ink);transform-origin:0 50%;transform:scaleX(var(--p,0))}
.film-ctl .play{margin-left:2px}
/* the film's action: Add Owee (primary size, as wide as the controls on phones), and 12px under it the caveman line.
   Phones: at the bottom, under the controls. Wide screens: under the caption. The morning chapter (data-ch 6) adds the
   outlined "Get the app" beside it, 8px apart; the caveman line stays centred under the pair. Under 560px wide the pair
   doesn't fit side by side, so it stacks full width: the controls rise one button (60px) and the phone scales down by
   the same height (--k6, from home.js), both with a transition. GSAP fades .fa-in out and back in across the chapter
   change, so the row's new layout never jumps on screen. */
.film-add{position:absolute;z-index:7;left:50%;bottom:calc(var(--s-4) + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(360px,100vw - 2 * var(--edge));opacity:0;visibility:hidden;transition:opacity var(--t-ui) ease,visibility 0s linear var(--t-ui)}
.stage.film-on .film-add{opacity:1;visibility:visible;transition:opacity var(--t-ui) ease .15s}
.fa-in{display:flex;flex-direction:column;align-items:center;gap:var(--s-3)}
.fa-row{display:flex;flex-direction:column;gap:var(--s-2);width:100%}
.film-add .btn{width:100%;padding:0 var(--s-4);white-space:nowrap}
.film-add .btn-line{display:none}
.stage[data-ch="6"] .film-add .btn-line{display:inline-flex}
.film-ctl{transition:opacity var(--t-ui) ease,visibility 0s linear var(--t-ui),translate .45s var(--ease-in-out)}
.stage .phone .device{transform-origin:50% 0;transition:scale .45s var(--ease-in-out)}
@media (max-width:559px){
  .stage[data-ch="6"] .film-ctl{translate:0 calc(-1 * (var(--btn-h) + var(--s-2)))}
  .stage[data-ch="6"] .phone .device{scale:var(--k6,1)}
}
@media (min-width:560px){
  .stage[data-ch="6"] .film-add{width:auto}
  .stage[data-ch="6"] .fa-row{flex-direction:row;width:auto}
  .stage[data-ch="6"] .film-add .btn{width:auto;padding:0 var(--btn-px)}
}

/* ================= STATIC STORY (no JS, reduced motion, short screens) ================= */
.s-hero{position:relative;display:flex;flex-direction:column;height:max(620px,92svh);margin:var(--gap-panel);border-radius:26px;overflow:hidden;background:#0A0731}
.s-hero>picture img{position:absolute;left:0;right:0;bottom:0;width:100%;height:calc(100% - 110px);object-fit:cover;object-position:50% 100%}
.s-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(110% 60% at 50% 14%,rgba(8,6,36,.9),rgba(8,6,36,.5) 50%,rgba(8,6,36,0) 80%);pointer-events:none}
.s-hero .herocopy{position:relative;top:auto;left:auto;right:auto;padding:84px var(--in-x) 0}
/* the still hero's half phone: it takes the room left under the copy (at least 200px) and shows its top half, or no less
   than 40% of it (it shrinks on short screens, like the motion hero), with the same bubbles, still */
.s-rest{position:relative;z-index:2;flex:1 1 0;min-height:200px;margin-top:var(--s-5);container-type:size;
  --rw:min(72vw,380px,100cqh / .841);--rt:max(0px,100cqh - var(--rw) * 1.05125);--rv:calc(100cqh - var(--rt))}
.s-phone{position:absolute;left:50%;top:var(--rt);width:var(--rw);margin-left:calc(var(--rw) / -2);--pw:var(--rw)}
.s-phone .screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.s-rest .hb>*{animation:none}
.s-ch{margin:var(--gap-panel);border-radius:var(--r-panel);background:var(--panel);padding:var(--section-y) var(--in-x);display:flex;flex-direction:column;align-items:center;text-align:center;scroll-margin-top:72px}
.s-ch h2{margin:0;font-family:var(--serif);font-variation-settings:"SOFT" 100;font-weight:var(--fw-display);font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--tr-h2);max-width:20ch;text-wrap:balance}
.s-ch .shot{margin-top:var(--s-6)}
.s-ch .shot{width:min(260px,64vw);border-radius:36px;padding:7px;background:#0B0B0E;box-shadow:0 0 0 1px #2C2E34}
.s-ch .shot img{border-radius:30px;width:100%;height:auto;aspect-ratio:1179/2556;object-fit:cover}
.s-ch.light{background:#F1ECE4;color:#191C1C}
.s-ch.light .caveman{color:#4D5057}
/* the morning card: headline 32 -> the pair (Add Owee, Get the app; stacked full width under 560px) 12 -> caveman line,
   then the app */
.s-ctas{display:flex;flex-direction:column;align-items:center;gap:var(--s-3);margin-top:var(--s-6);width:min(100%,360px)}
.s-ctas .fa-row .btn{width:100%}
@media (min-width:560px){.s-ctas{width:auto}.s-ctas .fa-row{flex-direction:row;width:auto}.s-ctas .fa-row .btn{width:auto}}

/* ================= SECTIONS AFTER THE STORY ================= */
.panel{position:relative;margin:var(--gap-panel);border-radius:var(--r-panel);background:var(--panel);padding:var(--section-y) var(--in-x);scroll-margin-top:64px}
/* .wrapx: the content box of a panel; the panel's padding (--in-x) already puts it on the page edge */
/* section heading 16 -> sub (lead) ; heading -> content 32 */
.sec-h{margin:0;font-family:var(--serif);font-variation-settings:"SOFT" 100;font-weight:var(--fw-display);font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--tr-h2);text-wrap:balance;max-width:22ch}
.sec-sub{margin:var(--s-4) 0 0;color:var(--sub);font-size:var(--fs-lead);line-height:var(--lh-lead);max-width:var(--measure-lead)}

/* add Owee to your group chat */
.add-grid{display:flex;flex-direction:column;gap:var(--s-7)}
.add-copy{display:flex;flex-direction:column;gap:var(--s-6);max-width:520px}
/* the kit: two actions (each with its helper line 8px under it), then the steps; surfaces are tone steps, not outlines */
.addkit{display:flex;flex-direction:column;gap:var(--s-4)}
.choice{display:flex;flex-direction:column;gap:var(--s-2)}.choice .btn{width:100%}
.choice small{color:var(--sub);font-size:var(--fs-caption);line-height:var(--lh-caption);padding:0 var(--s-1)}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s-2);counter-reset:s}
.steps li{display:flex;gap:var(--s-3);align-items:flex-start;padding:var(--s-3) var(--s-4);border-radius:var(--r-field);background:var(--raise);counter-increment:s}
.steps li::before{content:counter(s);flex:none;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#111;display:grid;place-items:center;font-weight:700;font-size:var(--fs-caption)}
.steps b{display:block;font-weight:var(--fw-strong);font-size:var(--fs-small);line-height:var(--lh-small)}.steps span{display:block;color:var(--sub-hi);font-size:var(--fs-small);line-height:var(--lh-small)}
.fallback{padding:var(--s-3) var(--s-4);border-radius:var(--r-field);background:var(--raise);display:flex;flex-direction:column;gap:var(--s-1)}
.fallback p{margin:0;color:var(--sub-hi);font-size:var(--fs-small);line-height:var(--lh-small)}.fallback b{font-size:var(--fs-small);font-weight:var(--fw-strong)}
.num{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);margin-top:var(--s-1);font-variant-numeric:tabular-nums}
.num button{min-height:var(--btn-sm-h);padding:0 var(--btn-sm-px);border-radius:var(--r-pill);border:0;background:#2A2C33;color:var(--ink);font:var(--fw-strong) var(--fs-small) var(--sans);cursor:pointer;transition:transform var(--t-press) var(--ease-out)}
.num button:active{transform:scale(.97)}
.consent{color:var(--sub);font-size:var(--fs-caption);line-height:var(--lh-caption);margin:0}
.qr{display:none;gap:var(--s-4);align-items:center;padding:var(--s-4);border-radius:var(--r-field);background:var(--raise)}
.qr img{flex:none;width:112px;height:112px;background:#fff;padding:8px;border-radius:12px}
.qr p{margin:0;font-size:var(--fs-small);line-height:var(--lh-small);color:var(--sub-hi)}.qr b{display:block;color:var(--ink);font-size:var(--fs-small);font-weight:var(--fw-strong);margin-bottom:var(--s-1)}
/* computers: the QR replaces the two phone-only buttons and the copy fallback */
.is-desktop .qr{display:flex}
.is-desktop .choice,.is-desktop .fallback{display:none}

.add-visual{position:relative;margin:0 auto;width:calc(var(--pw) * 1.25);--pw:min(220px,56vw);padding-bottom:10px}
.add-visual .aside{margin:0 0 var(--s-4);font-size:var(--fs-lead);line-height:var(--lh-lead);text-align:center;text-wrap:balance}
.mini-phone{width:var(--pw)}
/* Owee leans on the phone's corner: its box ends on the figure's right edge, a quarter of a phone width past the phone */
.add-owee{position:absolute;right:0;bottom:0;width:calc(var(--pw) * .62);pointer-events:none}
.add-owee img{width:100%;height:auto}

/* sign-off */
/* dark card: headline, button and note centred at the top; under them a phone with a real chat, cropped by the card's
   bottom edge; around it Owee's lines as message cards and a few slightly turned stickers. Phones keep two cards and two
   stickers. The floats use the CSS rotate property, so GSAP's drift (a translate) never fights it. */
.signoff{position:relative;margin:var(--gap-panel);border-radius:var(--r-panel);overflow:hidden;display:flex;flex-direction:column;align-items:center;
  min-height:max(640px,calc(100svh - 2 * var(--gap-panel)));padding:var(--section-y) var(--in-x) 0;
  background:radial-gradient(70% 55% at 50% 0%,#1D1648,rgba(29,22,72,0) 100%),radial-gradient(60% 50% at 50% 100%,#17123A,rgba(23,18,58,0) 100%),#0B0A16}
.so-copy{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--s-3)}
.so-copy h2{margin:0 0 var(--s-5);font-family:var(--serif);font-variation-settings:"SOFT" 100;font-weight:var(--fw-display);font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--tr-h2);text-wrap:balance;max-width:14ch}


.so-scene{position:relative;flex:1 0 auto;width:100%;min-height:360px;overflow-x:visible;overflow-y:clip;margin-top:var(--s-7);--pw:min(250px,60vw)}
.so-phone{position:absolute;z-index:1;left:50%;top:0;width:var(--pw);margin-left:calc(var(--pw) / -2)}
.so-phone .device{box-shadow:0 0 0 1px #2C2E34,0 30px 80px rgba(0,0,0,.6)}
.so-phone .screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.so-floats>*{position:absolute;z-index:2}
.so-card{display:flex;align-items:flex-start;gap:var(--s-2);width:max-content;max-width:min(270px,44vw);padding:10px 14px 12px 10px;border-radius:18px;
  background:rgba(28,29,34,.92);box-shadow:0 0 0 1px rgba(240,242,244,.07),0 18px 40px rgba(0,0,0,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.so-card img{flex:none;width:28px;height:28px;border-radius:50%}
.so-card p{margin:0;font-family:var(--serif);font-variation-settings:"SOFT" 100;font-size:var(--fs-small);line-height:1.35;color:var(--aside)}
.so-card b{display:block;margin-bottom:2px;font:var(--fw-strong) var(--fs-caption)/1.3 var(--sans);color:var(--sub)}
.so-sticker{padding:7px 14px;border-radius:var(--r-pill);font:700 var(--fs-small)/1.2 var(--sans);white-space:nowrap;color:#141218;
  box-shadow:0 0 0 3px #fff,0 10px 24px rgba(0,0,0,.4)}
.so-pose{width:clamp(96px,11vw,150px);height:auto;filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 12px 18px rgba(0,0,0,.45))}
.so-s1{background:#C9B6FF;rotate:-9deg}.so-s2{background:#F2C14E;rotate:7deg}.so-s3{background:#8ED09C;rotate:-4deg}
/* phones: the phone in the middle, card 1 top left, card 2 lower right, the @Owee sticker and one pose */
.so-c1{left:0;top:10%}
.so-c2{right:0;top:44%}
.so-s1{right:4%;top:3%}
.so-p1{left:0;top:58%}
.so-c3,.so-s2,.so-s3,.so-p2{display:none}

/* footer */
.foot{margin:var(--gap-panel);padding:var(--section-y) var(--in-x) calc(var(--s-7) + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:var(--s-4);color:var(--sub);font-size:var(--fs-small);line-height:var(--lh-small)}
.foot .wordmark{align-self:flex-start;font-size:22px;color:var(--ink)}
/* the sticky Add bar (phones, tablets) only ever shows in the still story: keep room for it there */
html.still .foot{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.foot nav{display:flex;flex-wrap:wrap;gap:0 var(--s-5)}
.foot nav a{color:var(--sub);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
@media (hover:hover) and (pointer:fine){.foot nav a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:.22em}}
.foot p{margin:0}

/* sticky CTA (phones) */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:25;padding:var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));background:rgba(6,6,8,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #26282E;display:flex;align-items:center;gap:12px;transform:translateY(110%);visibility:hidden;transition:transform .35s var(--ease),visibility 0s linear .35s}
.sticky.show{transform:none;visibility:visible;transition:transform .35s var(--ease)}
.sticky .btn{flex:1;white-space:nowrap;padding:0 var(--s-4)}

/* add-to-chat sheet */
/* Phones: a bottom sheet that slides up from below (300ms, iOS drawer curve) and back down when closed (200ms).
   Computers: a centred modal that fades and scales in from .96 (200ms) and out (150ms). Transitions, not keyframes,
   so a reopen during the exit turns around from where it is. home.js adds .closing and closes the dialog when it ends. */
dialog.sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:520px;max-height:92svh;background:var(--panel);color:var(--ink);border-radius:var(--r-panel) var(--r-panel) 0 0;box-shadow:0 -20px 80px rgba(0,0,0,.6);overflow:auto;overscroll-behavior:contain;
  transform:translateY(100%);transition:transform 300ms var(--ease-drawer)}
dialog.sheet[open]{transform:none}
@starting-style{dialog.sheet[open]{transform:translateY(100%)}}
dialog.sheet.closing{transform:translateY(100%);transition-duration:200ms}
dialog.sheet::backdrop{background:rgba(3,3,6,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:1;transition:opacity 300ms ease}
@starting-style{dialog.sheet[open]::backdrop{opacity:0}}
dialog.sheet.closing::backdrop{opacity:0;transition-duration:200ms}
.sheet-in{padding:var(--s-5) var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:var(--s-4)}
.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sheet h2{margin:0;padding-top:var(--s-2);font-family:var(--serif);font-variation-settings:"SOFT" 100;font-weight:var(--fw-display);font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:var(--tr-h3);text-wrap:balance}
.sheet .x{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--raise);color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:transform var(--t-press) var(--ease-out)}
.sheet .x:active{transform:scale(.95)}
.sheet .aside{margin:calc(var(--s-2) - var(--s-4)) 0 var(--s-2);font-size:var(--fs-lead);line-height:var(--lh-lead)}

/* ================= /bot and /app ================= */
.page main{padding-top:76px}
.page-panel{display:flex;flex-direction:column;gap:22px}
.page-panel h1{font-size:clamp(30px,8vw,40px);max-width:18ch}
.page-panel .aside{margin:-8px 0 0;font-size:18px}
.page-grid{display:flex;flex-direction:column;gap:28px}
.page-art{width:min(260px,64%);margin:0 auto}
.page-art img{width:100%;height:auto}
.stores{display:flex;flex-wrap:wrap;gap:10px}
.stores .btn{min-width:200px}
.btn[hidden]{display:none}
.stores:not(:has(:not([hidden]))){display:none}
.app-soon{margin:0}
.app-lede{margin:0;color:var(--soft);max-width:44ch}
.page .foot{padding-bottom:calc(28px + env(safe-area-inset-bottom))}

/* ================= TABLETS AND UP ================= */
@media (min-width:700px){
  :root{--gap-panel:12px;--r-panel:30px;--edge-min:40px}
  .foot{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .page .foot{padding-bottom:32px}
}

/* ================= WIDE SCREENS ================= */
@media (min-width:1000px) and (min-height:600px){
  .bar{padding:var(--s-4) var(--edge)}
  .heroart picture,.heroart img{height:100%}
  .heroart::before{display:none}
  /* a wide column: the headline gets up to 1000px (two lines), the lede 620px */
  .herocopy{top:clamp(104px,15svh,148px);left:50%;right:auto;width:min(1000px,100vw - 2 * var(--edge));transform:translateX(-50%)}
  h1,.h1{max-width:23ch}
  .herocopy .kicker{font-size:var(--fs-body)}
  .herocopy .lede{margin-top:var(--s-5);max-width:620px;font-size:1.125rem}
  .herocopy .cta{margin-top:var(--s-7)}
  .lede{max-width:var(--measure-lead)}
  .cta{width:auto}
  /* the phone's height is capped by the screen less the top bar (92px) and the controls (60px), with 16px air each side */
  .stage{--pw:min(340px,calc((100svh - 184px) / 2.1025))}
  .rig{top:calc(50% + 12px)}
  /* caption column, on one left edge: caption (bottom-aligned, ends 40px below the middle) 32 -> Add Owee -> skip link,
     then the people */
  .caps{left:var(--edge);right:auto;top:calc(50% - 260px);height:300px;width:min(520px,calc(50% - var(--pw)/2 - var(--edge) - 48px))}
  .cap{inset:0;align-items:flex-start;text-align:left;justify-content:flex-end}
  /* two short sentences in a ~400px column beside the phone: a size that keeps most sentences on one line */
  .cap h2{font-size:clamp(28px,2.3vw,36px);line-height:1.2;letter-spacing:var(--tr-h2);max-width:none}
  /* the button (the morning pair) on the caption's left edge, 32px under the caption box; the box is as wide as the
     row, so the caveman line centres under it. The pair is wider than the caption column, so in the morning the phone
     and its controls slide right by --shift6 (home.js: just enough to keep 48px between the pair and the phone) */
  .film-add{left:var(--edge);bottom:auto;top:calc(50% + 72px);transform:none;width:auto}
  .film-add .btn{width:auto;padding:0 var(--btn-px)}
  .rig{transition:translate .5s var(--ease-in-out)}
  .stage[data-ch="6"] .rig,.stage[data-ch="6"] .film-ctl{translate:var(--shift6,0px) 0}
  /* the morning caption gets the room the phone gave up (it fades in after the switch, so the new width never shows a jump) */
  .stage[data-ch="6"] .caps{width:min(520px,calc(50% - var(--pw)/2 - var(--edge) - 48px + var(--shift6,0px)))}
  .people{left:var(--edge);transform:none;top:calc(50% + 200px)}
  .people-in{gap:10px;padding:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .flylabel{text-align:left}
  .owee{z-index:1}
  .person{width:84px}
  .person .st{font-size:13px}
  .av{width:48px;height:48px;font-size:17px}
  .o-curled{width:110%;left:62%;top:56%}
  .o-calc{width:140%;left:70%;top:18%}
  .o-think{width:120%;left:74%;top:30%}
  .o-present{width:118%;left:78%;top:26%}
  .o-cheer{width:118%;left:74%;top:20%}
  .receipt-pos{left:58%;top:4%;width:56%;height:74%;transform:rotate(9deg)}
  .lights{top:64px;height:110px}
  .sticky{display:none}
  .hint{bottom:24px;left:var(--edge);transform:none}
  .film-ctl{bottom:var(--s-4);width:auto}
  .film-ctl button{flex:none;width:44px}
  dialog.sheet{margin:auto;border-radius:28px;max-width:560px;transform:scale(.96);opacity:0;transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out)}
  dialog.sheet[open]{transform:none;opacity:1}
  @starting-style{dialog.sheet[open]{transform:scale(.96);opacity:0}}
  dialog.sheet.closing{transform:scale(.96);opacity:0;transition-duration:150ms}
  dialog.sheet.closing::backdrop{transition-duration:150ms}
  .s-hero .herocopy{padding:128px 0 0;margin:0 auto;width:min(1000px,100vw - 2 * var(--edge));transform:none}
  .s-hero>picture img{height:100%}
  .s-rest{--rw:min(420px,30vw,100cqh / .841)}
  .so-scene{min-height:420px;--pw:min(300px,24vw)}
  .so-card{max-width:270px}
  .so-card p{font-size:var(--fs-body)}
  .so-c1{left:0;top:8%}
  .so-c2{left:auto;right:0;top:30%}
  .so-c3{display:flex;left:3%;top:50%}
  .so-s1{right:auto;left:calc(50% - var(--pw) / 2 - 104px);top:3%}
  .so-s2{display:block;left:calc(50% + var(--pw) / 2 + 20px);top:7%}
  .so-s3{display:block;left:calc(50% + var(--pw) / 2 - 30px);top:58%}
  .so-p1{left:calc(50% - var(--pw) / 2 - 150px);top:68%}
  .so-p2{display:block;right:3%;top:68%}
  .so-copy h2{max-width:20ch}
  html.still .foot{padding-bottom:calc(var(--s-7) + env(safe-area-inset-bottom))} /* no sticky bar here */
}

@media (min-width:1000px){
  :root{--gap-panel:20px;--r-panel:34px;--edge-min:64px}
  /* two equal columns, top-aligned: the copy on the left line, the phone centred in the right half */
  .add-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:var(--s-8)}
  .add-visual{margin:0;justify-self:center;width:calc(var(--pw) * 1.25);--pw:min(280px,22vw)}
  /* Owee leans on the phone's side, clear of the video's pause button */
  .add-owee{right:calc(var(--pw) * -.22)}
  .add-visual .aside{text-align:left;max-width:22ch}
  .page-grid{flex-direction:row;align-items:center;justify-content:space-between;gap:64px}
  .page-grid>div:first-child{flex:1 1 520px;max-width:560px}
  .page-art{flex:0 1 340px;margin:0}
  .page .foot{padding-bottom:48px}
}
/* small phones (320-359): a slightly narrower edge, and the hero button stays on one line */
@media (max-width:359px){
  :root{--edge-min:20px}
  .herocopy .btn,.so-copy .btn{padding:0 var(--s-5);white-space:nowrap}
}
@media (min-width:1000px) and (min-height:600px) and (max-height:760px){
  /* short computer screens: the caption column moves up so the people row stays on screen */
  .caps{top:calc(50% - 290px)}
  .film-add{top:calc(50% + 42px)}
  .people{top:calc(50% + 150px)}
}
@media (prefers-reduced-motion:reduce){
  /* the sheet cross-fades instead of sliding or scaling */
  dialog.sheet,dialog.sheet[open],dialog.sheet.closing{transform:none;transition:opacity 150ms ease}
  dialog.sheet[open]{opacity:1}
  @starting-style{dialog.sheet[open]{opacity:0}}
  dialog.sheet.closing{opacity:0}
  .vid-toggle,.sheet .x,.film-ctl button{transition:none}.vid-toggle:active,.sheet .x:active,.film-ctl button:active{transform:none}
}
@media (prefers-reduced-motion:reduce){.sticky,.sticky.show{transition:none}.hint svg,.lights circle,.breathe,.zz span{animation:none}.film-ctl,.film-ctl .dot i,.film-add,.bar-ctas,.bar .top-add,.bar .get,html.film-cta .bar-ctas,html.add-cta .bar-ctas{transition:none}.btn,.rig,.film-ctl,.stage .phone .device{transition:none}.btn:active,.bar .top-add:active,.bar .get:active{transform:none}}
