/* The landing page's two stories (static/closing-story.js), both straight on the
   white page: "How it works" after the hero (.cs-how, in #howStory), the heading
   centred over four rows split down the middle, one a step, the words on one half
   and a panel with a white card that shows the step on the other, the halves
   swapping from row to row; and the closing signup (.cs-closing), the form beside one
   iPhone drawn in CSS that you can use, moving between two simulator screenshots
   of the app (static/app-shots/). Fantine is the owner's found font, subset to what the
   story sets. */
@font-face{font-family:CSFantine;src:url('/static/closing-story/fantine.woff') format('woff');font-weight:400;font-display:block}

.cs-story{--cs-ink:#171717;--cs-muted:#6f6f73}
.cs-near .hs-f{font-family:CSFantine,Georgia,serif}
.hs-f{font-weight:400;font-style:normal;font-synthesis:none;letter-spacing:0}

/* ---- How it works: the heading, then a row for each step ---- */
/* The panels are one pale warm neutral, a step darker than the page, so the white
   cards sit on them as on a desk; one accent, the maroon of the painted letters,
   marks what came from the sign. */
.cs-how{margin:120px 0 0}
.hw{--hw-ink:#171717;--hw-sub:#87878c;--hw-surface:#f3f1ec;--hw-accent:#7a1f2c;
 --hw-shadow:0 0 0 .5px rgb(48 36 24 / .07),0 1px 2px rgb(48 36 24 / .06),0 3px 6px rgb(48 36 24 / .05),0 10px 22px rgb(48 36 24 / .06),0 26px 52px rgb(48 36 24 / .08);
 max-width:1120px;margin:0 auto}
/* The heading heads the whole section, centred. (landing-type.css sets it left, for
   the narrow column it used to head; this wins over that.) */
.hw-head h2{margin:0;color:var(--hw-ink);font-family:Inter,sans-serif;font-size:clamp(38px,4.4vw,58px);font-weight:700;font-synthesis:none;line-height:1.06;letter-spacing:-.045em;text-align:center}
.landing-mode .how-story.cs-how .hw-head h2{text-align:center}

/* The rows: two equal halves, the words centred on the panel's height. The words
   are first in each row; in the second and fourth the panel takes the left half.
   Off screen the browser skips a row entirely (no style, layout or paint), so a
   font loading or a card animating elsewhere on the page never repaints it; it
   keeps the size it last had. The clip margin leaves room for the reveal's rise. */
.hw-rows{display:grid;row-gap:clamp(112px,12vw,176px);margin:clamp(56px,6vw,88px) 0 0;padding:0;list-style:none}
.hw-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;column-gap:clamp(40px,5.5vw,88px);content-visibility:auto;contain-intrinsic-height:auto 416px;overflow-clip-margin:40px}
.hw-copy{grid-row:1;grid-column:1;justify-self:center;width:100%;max-width:440px}
.hw-media{grid-row:1;grid-column:2}
.hw-row:nth-child(even) .hw-copy{grid-column:2}
.hw-row:nth-child(even) .hw-media{grid-column:1}

/* The words: a small step number, the title, the line of detail. */
.hw-title{margin:0;color:var(--hw-ink);font-family:Inter,sans-serif;font-size:clamp(28px,2.5vw,34px);font-weight:var(--ty-subhead,600);font-synthesis:none;line-height:1.12;letter-spacing:-.03em;text-wrap:balance}
.hw-text{margin:14px 0 0;color:var(--ty-sub,#77777c);font-family:Inter,sans-serif;font-size:16px;font-weight:var(--ty-body,500);line-height:1.55;text-wrap:pretty}

/* Each row shows once as it comes into view (closing-story.js): its halves rise a
   little and fade in, the left one first, with reveal.js's timing. Hidden only once
   the script has armed the block, so without it nothing is ever hidden. */
.hw.is-armed .hw-row:not(.is-in)>*{opacity:0;translate:0 20px}
.hw.is-armed .hw-row>*{transition:opacity .6s cubic-bezier(.25,.6,.3,1) var(--hw-in,0ms),translate .65s cubic-bezier(.2,.7,.2,1) var(--hw-in,0ms)}
.hw-row:nth-child(odd) .hw-media,.hw-row:nth-child(even) .hw-copy{--hw-in:90ms}
.hw.is-armed .hw-row.is-now>*{transition:none}

/* The panel: a little taller than wide at 5:4, one card in the middle. A soft light
   from above the card and a hairline round the edge keep the pale surface from
   looking flat or printed. */
.hw-media{position:relative;width:100%;aspect-ratio:5/4;overflow:hidden;border-radius:24px;isolation:isolate;container-type:inline-size;background-color:var(--hw-surface);background-image:radial-gradient(ellipse 62% 70% at 50% 40%,rgb(255 255 255 / .62),rgb(255 255 255 / 0) 72%);box-shadow:inset 0 0 0 1px rgb(48 36 24 / .045)}
.hw-scene{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
/* Each card has the width that makes it about two thirds of the panel's height. */
.hw-stack{position:relative;width:66cqw;transition:opacity .45s ease .12s,transform .6s cubic-bezier(.2,.8,.2,1) .12s}
.hw-s2 .hw-stack{width:84cqw}
.hw-s3 .hw-stack{width:80cqw}
.hw-s4 .hw-stack{width:70cqw}
/* A card that has rested on screen fades a moment, then plays again. */
.hw-scene.is-rewind .hw-stack{opacity:0;transform:translateY(6px) scale(.985);transition:opacity .3s ease,transform .3s ease}
.hw.is-still .hw-stack{transition:none}

/* The cards: white, crisp, on a soft layered warm shadow with a hairline that
   holds their edge on the pale panel. Type inside is set in the card's own width. */
.hw-ui{position:relative;width:100%;padding:clamp(7px,1.3cqw,11px);border-radius:clamp(12px,2.3cqw,18px);background:#fff;box-shadow:var(--hw-shadow);box-sizing:border-box;container-type:inline-size;color:var(--hw-ink);font-family:Inter,sans-serif}
/* The chips sit over the card's edge, as tags do in a product shot. */
.hw-chip{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:clamp(6px,.95cqw,8px) clamp(11px,1.7cqw,14px);border-radius:100px;background:#fff;color:var(--hw-ink);font-family:Inter,sans-serif;font-size:clamp(11.5px,1.65cqw,13.5px);font-weight:600;line-height:1.2;white-space:nowrap;box-shadow:var(--hw-shadow)}
.hw-chip svg{width:1.05em;height:1.05em;flex:none}
.hw-chip-ok{right:clamp(14px,3.4cqw,30px);bottom:0;translate:0 50%}
.hw-ok{width:1.15em;height:1.15em;flex:none;color:var(--hw-ink)}
.hw-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:clamp(9px,2.6cqw,14px) clamp(4px,1.2cqw,7px) clamp(2px,.8cqw,5px)}
.hw-meta b{display:block;font-size:clamp(13px,3.5cqw,17px);font-weight:600;line-height:1.3;letter-spacing:-.015em}
.hw-meta small{display:block;margin-top:2px;color:var(--hw-sub);font-size:clamp(11px,2.8cqw,13.5px);font-weight:500;line-height:1.3}
.hw-meta .hw-ok{font-size:clamp(13px,3.6cqw,18px)}

/* 1. The photo, a little rounded inside its card. */
.hw-pic{position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:clamp(7px,1.7cqw,11px);background:#3a2a2c}
.hw-pic img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
/* The selection's edge handles, as the studio draws them. */
.hw-h{position:absolute;width:clamp(8px,1.6cqw,11px);height:clamp(8px,1.6cqw,11px);border:1.5px solid #fff;border-radius:50%;background:var(--hw-ink);box-sizing:border-box;translate:-50% -50%}
.hw-h-n{left:50%;top:0}.hw-h-s{left:50%;top:100%}.hw-h-w{left:0;top:50%}.hw-h-e{left:100%;top:50%}

/* 2. The word, boxed as a selection; each letter boxed in turn, lifted out and
   traced in the row under it. */
.hw-word{position:relative;aspect-ratio:100/52.5;container-type:inline-size}
.hw-wimg{position:absolute;left:0;top:0;width:100cqw;height:29.52cqw;overflow:hidden;border-radius:1.4cqw;background:#3a1218}
.hw-wimg img{display:block;width:100%;height:100%;filter:brightness(.5) saturate(.75)}
.hw-wsel{position:absolute;left:0;top:0;width:100cqw;border:1.5px solid #fff;border-radius:1.4cqw;box-sizing:border-box;pointer-events:none}
.hw-lb{position:absolute;border-radius:3px;box-shadow:0 0 0 1.5px #fff,0 2px 8px rgb(0 0 0 / .3);opacity:0}
.hw-tile{position:absolute;border-radius:3px;background-image:url('/static/how-story/fantine-word.webp');background-repeat:no-repeat;opacity:0;will-change:transform}
.hw-glyph{position:absolute;display:flex;align-items:center;justify-content:center;transform:translateX(-50%);color:var(--hw-accent);font-size:15.5cqw;line-height:1;-webkit-text-stroke:.4px var(--hw-accent)}
.hw-glyph,.hw-cell{padding-top:.1em;box-sizing:border-box}
.hw-status{display:grid;justify-items:center;margin:0;padding:clamp(6px,1.6cqw,10px) clamp(4px,1cqw,6px) 2px;color:var(--cs-muted);font-size:clamp(11.5px,2.4cqw,14px);font-weight:600;line-height:1.3}
.hw-st{grid-area:1/1;display:inline-flex;align-items:center;gap:8px}
.hw-st-a{opacity:0}
.hw-spin{width:.85em;height:.85em;border:1.75px solid #d9d9dd;border-top-color:var(--hw-ink);border-radius:50%}
/* It turns only while its line shows. */
.is-play.hw-s2 .hw-spin{animation:hw-spin .9s linear 4}
@keyframes hw-spin{to{transform:rotate(1turn)}}

/* 3. The alphabet: the sign's six in maroon, the twenty drawn to match. */
.hw-ui-abc{padding:clamp(10px,1.6cqw,14px) clamp(10px,1.6cqw,14px) clamp(8px,1.2cqw,11px)}
.hw-abc{container-type:inline-size}
.hw-grid{position:relative;display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:13.5cqw}
.hw-cell{display:flex;align-items:center;justify-content:center;color:#2a2a2e;font-size:10.8cqw;line-height:1;-webkit-text-stroke:.35px #2a2a2e}
.hw-found{position:relative;z-index:1;color:var(--hw-accent);-webkit-text-stroke:.35px var(--hw-accent)}
.hw-ghost{position:absolute;opacity:0}

/* 4. The tester, typed into and the size slider pulled up; under it the file
   and its Download button. */
/* The tester's size starts at .66 on its scene, where the script then moves it as the
   slider is pulled: set on .hw-ui-try it would hold the words and the slider still. */
.hw-s4{--hw-v:.66}
.hw-ui-try{padding:clamp(12px,2.2cqw,18px) clamp(13px,2.4cqw,20px) clamp(12px,2.2cqw,18px)}
.hw-tsample{display:flex;flex-wrap:wrap;align-items:flex-end;align-content:flex-start;height:35cqw;margin:2.8cqw 0 3.6cqw;color:var(--hw-ink);font-size:calc((7 + var(--hw-v) * 13.6) * 1cqw);line-height:1.08}
.hw-ttext{white-space:pre-wrap}
.hw-caret{display:inline-block;width:2px;height:.78em;margin:0 0 .16em 2px;border-radius:2px;background:var(--hw-accent)}
.hw-tsize{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;color:var(--cs-muted);font-size:clamp(11px,2.7cqw,13.5px);font-weight:600;font-variant-numeric:tabular-nums}
.hw-tval{min-width:3.4em;text-align:right}
.hw-track{position:relative;display:block;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--hw-ink) calc(var(--hw-v) * 100%),#e6e5e2 0)}
.hw-track>b{position:absolute;left:calc(var(--hw-v) * 100%);top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgb(0 0 0 / .12),0 2px 6px rgb(0 0 0 / .18)}
.hw-frow{display:flex;align-items:center;gap:clamp(9px,2.6cqw,14px);margin-top:clamp(12px,3.6cqw,20px);padding-top:clamp(12px,3.6cqw,18px);border-top:1px solid #f0efed}
.hw-ficon{display:flex;align-items:center;justify-content:center;flex:none;width:clamp(34px,10cqw,46px);height:clamp(34px,10cqw,46px);padding-top:.16em;border-radius:clamp(9px,2.6cqw,12px);background:var(--hw-accent);color:#f3e9d6;font-size:clamp(20px,6cqw,28px);line-height:1;box-sizing:border-box}
.hw-finfo{display:grid;gap:2px;flex:1;min-width:0}
.hw-finfo b{font-size:clamp(13px,3.4cqw,16.5px);font-weight:600;letter-spacing:-.015em}
.hw-finfo small{overflow:hidden;color:var(--hw-sub);font-size:clamp(11px,2.7cqw,13px);font-weight:500;white-space:nowrap;text-overflow:ellipsis}
.hw-dl{display:inline-flex;align-items:center;gap:6px;flex:none;height:clamp(30px,8.4cqw,38px);padding:0 clamp(11px,3.2cqw,16px) 0 clamp(9px,2.6cqw,13px);border-radius:100px;background:var(--hw-ink);color:#fff;font-size:clamp(11.5px,2.9cqw,14px);font-weight:600;letter-spacing:-.01em}
.hw-dl svg{width:1.15em;height:1.15em}
/* A narrow tester card (phones) says only how many characters, so nothing is cut. */
@container (max-width:340px){.hw-tt{display:none}.hw-frow{gap:9px}.hw-dl{padding:0 11px 0 9px}}

/* ---- Each card's animation: from the start state to the finished one, which is
   also how each card stands still (reduced motion, or before it plays) ---- */
@keyframes hw-in{from{opacity:0;transform:translateY(8px) scale(.96)}}
@keyframes hw-pop{from{opacity:0;transform:scale(0)}}
.is-play .hw-chip{animation:hw-in .45s cubic-bezier(.2,.8,.2,1) both}
/* 1. The photo simply stands in its card, sharp from the first frame: no shutter
   flash and no blur-to-focus (which read as a flicker each time it played). */
/* 2. The word is boxed and its handles come; each letter is boxed in turn as the
   word is read; then, one by one, they lift out of the photo and drop into the
   row, where they are traced. */
.is-play.hw-s2 .hw-wsel{animation:hw-frame .5s cubic-bezier(.2,.8,.2,1) .15s both}
@keyframes hw-frame{from{opacity:0;transform:scale(1.05)}}
.is-play.hw-s2 .hw-h{animation:hw-pop .3s cubic-bezier(.3,1.5,.5,1) .5s both}
.is-play.hw-s2 .hw-h-s{animation-delay:.55s}.is-play.hw-s2 .hw-h-w{animation-delay:.6s}.is-play.hw-s2 .hw-h-e{animation-delay:.65s}
.is-play.hw-s2 .hw-wimg img{animation:hw-undim .6s ease 1.55s both}
@keyframes hw-undim{from{filter:none}}
.is-play.hw-s2 .hw-lb{animation:hw-box .8s ease calc(.85s + var(--i) * .07s) both}
@keyframes hw-box{0%{opacity:0;transform:scale(1.18)}25%{opacity:1;transform:none}80%{opacity:1}100%{opacity:0}}
.is-play.hw-s2 .hw-tile{animation:hw-pull 1.05s cubic-bezier(.45,0,.2,1) calc(1.55s + var(--i) * .08s) both}
@keyframes hw-pull{
 0%{opacity:1;transform:none;box-shadow:0 0 0 rgb(0 0 0 / 0)}
 32%{opacity:1;transform:translateY(-3.5cqw) scale(1.14);box-shadow:0 10px 16px -6px rgb(0 0 0 / .55)}
 82%{opacity:1;transform:translateY(var(--dy)) scale(.8);box-shadow:0 4px 8px -4px rgb(0 0 0 / .3)}
 100%{opacity:0;transform:translateY(var(--dy)) scale(.8)}}
.is-play.hw-s2 .hw-glyph{animation:hw-trace .7s ease calc(2.38s + var(--i) * .08s) both}
@keyframes hw-trace{0%{opacity:0;color:rgb(122 31 44 / 0)}25%{opacity:1;color:rgb(122 31 44 / 0)}100%{opacity:1;color:#7a1f2c}}
.is-play.hw-s2 .hw-st-a{animation:hw-hold 3.1s both}
@keyframes hw-hold{0%,94%{opacity:1}100%{opacity:0}}
.is-play.hw-s2 .hw-st-b{animation:hw-in .35s ease 3.1s both}
/* 3. The word's letters settle into their places; the rest draw in round them. */
.is-play.hw-s3 .hw-found{animation:hw-settle .75s cubic-bezier(.3,.7,.15,1) calc(.5s + var(--j) * .06s) both}
@keyframes hw-settle{from{transform:translate(var(--dx),var(--dy)) scale(1.3)}}
.is-play.hw-s3 .hw-ghost{animation:hw-merge .75s cubic-bezier(.3,.7,.15,1) .8s both}
@keyframes hw-merge{0%{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1.3)}85%{opacity:1}100%{opacity:0;transform:none}}
.is-play.hw-s3 .hw-cell:not(.hw-found){animation:hw-draw .6s ease calc(1.25s + var(--j) * .045s) both}
@keyframes hw-draw{0%{opacity:0;color:rgb(42 42 46 / 0);transform:translateY(1.6cqw)}40%{opacity:1;color:rgb(42 42 46 / 0);transform:none}100%{color:#2a2a2e}}
/* 4. The tester is typed by the script and the caret blinks. The Download button
   just stands in its card (no press or pop). */
.is-play.hw-s4 .hw-caret{animation:hw-blink 1s steps(1) .3s infinite}
@keyframes hw-blink{50%{opacity:0}}
.is-play.hw-s4 .hw-chip{animation-delay:3.45s}
.hw.is-still .hw-scene *{animation:none!important}
.hw.is-still .hw-spin{display:none}

/* Phones: each row is the words, then the panel under them, every row the same way. */
@media(max-width:759px){
 .cs-how{margin-top:80px}
 .hw{max-width:520px}
 .hw-rows{row-gap:96px;margin-top:36px}
 .hw-row{grid-template-columns:minmax(0,1fr);row-gap:22px;contain-intrinsic-height:auto 500px}
 .hw-row .hw-copy,.hw-row:nth-child(even) .hw-copy{grid-row:1;grid-column:1;justify-self:start;max-width:none;--hw-in:0ms}
 .hw-row .hw-media,.hw-row:nth-child(even) .hw-media{grid-row:2;grid-column:1;--hw-in:90ms}
 .hw-title{font-size:26px}
 .hw-text{margin-top:10px;font-size:15px}
 .hw-media{border-radius:20px}
 .hw-stack{width:76cqw}
 .hw-s2 .hw-stack{width:90cqw}
 .hw-s3 .hw-stack{width:85cqw}
 .hw-s4 .hw-stack{width:88cqw}
}

/* ---- The closing: the signup on the left, one iPhone centred on the right ---- */
/* Its own moment: clear room above (after the globe) and below (before the FAQ),
   and on wide screens about a screen tall. */
.waitlist-closing.cs-closing{margin:clamp(40px,6vh,80px) 0 0;padding:0 0 clamp(48px,7vh,96px);border-radius:0;background:none;text-align:left;overflow-x:clip;content-visibility:auto;contain-intrinsic-size:auto 860px;overflow-clip-margin:140px}
.waitlist-closing.cs-closing+.home-faq{margin-top:0}
.cs-end{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;column-gap:clamp(32px,5vw,72px);padding-inline:clamp(0px,3vw,48px)}
@media(min-width:860px){.cs-end{min-height:min(88vh,860px);min-height:min(88svh,860px)}}
/* One heading, the line under it, then the signup as the action. The form is as
   wide as the column the heading sets, and larger than the hero's. */
.cs-end-text{width:100%;max-width:500px}
.cs-end-text h2{margin:0;color:var(--cs-ink);font-size:clamp(38px,4.4vw,58px);font-weight:700;line-height:1.06;letter-spacing:-.045em}
.cs-end-sub{margin:14px 0 0;color:var(--ty-sub,#77777c);font-size:15px;font-weight:500;line-height:1.5}
.cs-final{margin-top:34px}
.cs-closing .cs-final .waitlist{width:100%;max-width:470px;margin-inline:0;text-align:left}
/* The signup is one pill: a hairline field 58px tall with the button sitting
   inside it, 5px in from every edge, so the two read as one control. The focus
   ring is the field's, round the whole pill. */
/* The field and the button are two capsules side by side, not the button inside the field. */
.cs-closing .waitlist-row{gap:8px;align-items:stretch;height:52px}
.cs-closing .waitlist input[type=email]{flex:1;min-width:0;height:100%;padding:0 20px;border:1px solid #e2e2e5;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgb(16 24 40 / .04);font-size:16px;box-sizing:border-box;transition:border-color .18s,box-shadow .18s}
.cs-closing .waitlist input[type=email]:hover{border-color:#d0d0d4}
.cs-closing .waitlist input[type=email]:focus{border-color:#171717;box-shadow:0 0 0 4px rgb(23 23 23 / .08)}
.cs-closing .waitlist input[type=email][aria-invalid=true]{border-color:#c2362b}
.cs-closing .waitlist input[type=email][aria-invalid=true]:focus{box-shadow:0 0 0 4px rgb(194 54 43 / .12)}
.cs-closing .waitlist input[type=email]:disabled{background:#f6f6f7}
/* The same weight and size as the header's Join waitlist and the page's other buttons. */
.cs-closing .waitlist .waitlist-submit{height:100%;justify-content:center;gap:0;padding:0 24px;border-radius:100px;box-shadow:none;font-size:14px;font-weight:500}
.cs-closing .waitlist .waitlist-submit:focus-visible{outline:2px solid #171717;outline-offset:2px}
/* The confirmation takes the pill's place, the same height and hairline. */
.cs-closing .waitlist-done{gap:12px;min-height:52px;padding:0 24px 0 18px;border:1px solid #e2e2e5;box-shadow:0 1px 2px rgb(16 24 40 / .04);box-sizing:border-box;font-size:15px;font-weight:500;text-align:left}
.cs-closing .waitlist-error{margin:10px 0 0 18px;font-size:13px}
@media(min-width:860px){
 .cs-end-text{width:fit-content;min-width:min(100%,480px)}
 .cs-final{width:0;min-width:100%}
}
.cs-closing .cs-final .waitlist.is-joined{justify-content:flex-start}
.cs-closing .cs-final .waitlist-note{margin:14px 0 0 18px;color:var(--ty-sub,#77777c);font-size:13px;line-height:1.5;text-align:left}

/* ---- The stage: one phone, centred in its half ----
   The stage fills its half of the row, so the phone sits in the middle of it
   both ways, level with the middle of the words. The dots hang under the phone
   in the stage's own bottom padding, and the same padding on top keeps the phone
   itself, not the phone and dots, at the centre. The only movement of its own is
   the entrance: once, as the section comes into view, it rises a little into
   place (opacity and translate on the rig); the tilt is on .wl-tilt inside it,
   set from closing-story.js. */
.wl-stage{--pw:clamp(232px,min(19vw,33vh),286px);position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;padding-block:56px;user-select:none;-webkit-user-select:none}
.wl-rig{position:relative}
.wl-phone{width:var(--pw)}
.wl-tilt{transform-origin:50% 50%;will-change:transform}
.cs-closing.is-animated .wl-rig{transition:opacity .9s ease,translate 1.2s cubic-bezier(.2,.8,.2,1)}
.cs-closing.is-animated:not(.is-in) .wl-rig{opacity:0;translate:0 24px}

/* The cue that it can be used: a dot for each screen under the phone, the
   current one drawn out into a short bar. Each is a button too. */
.wl-dots{position:absolute;left:0;right:0;top:100%;display:flex;justify-content:center;gap:2px;margin-top:14px}
.wl-dot{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wl-dot::before{content:'';width:7px;height:7px;border-radius:99px;background:#cfcfd3;transition:width .35s cubic-bezier(.32,.72,0,1),background-color .35s}
.wl-dot:hover::before{background:#a9a9ae}
.wl-dot[aria-current=true]::before{width:20px;background:#1d1d1f}
.wl-dot:focus-visible{outline:none}
.wl-dot:focus-visible::before{box-shadow:0 0 0 2px #fff,0 0 0 4px #171717}

/* ---- One iPhone: titanium band, black bezel, screen, island, buttons ---- */
/* The shadow is several very faint layers that grow in offset and blur, with no
   dark line at the edge: wide, pale and diffuse. */
.wl-device{position:relative;padding:calc(var(--pw) * .009);border-radius:calc(var(--pw) * .186);background:linear-gradient(145deg,#efeeea 0%,#a8a6a1 16%,#f6f5f2 33%,#8c8a85 52%,#d8d6d1 70%,#97958f 86%,#ecebe7 100%);box-shadow:0 1px 2px rgb(24 24 32 / .03),0 6px 14px -4px rgb(24 24 32 / .04),0 22px 44px -10px rgb(24 24 32 / .06),0 54px 110px -18px rgb(24 24 32 / .08),inset 0 0 0 .5px rgb(0 0 0 / .1)}
.wl-bezel{padding:calc(var(--pw) * .034);border-radius:calc(var(--pw) * .177);background:#050506;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .07)}
.wl-screen{position:relative;overflow:hidden;aspect-ratio:402/874;border-radius:calc(var(--pw) * .143);background:#fff;isolation:isolate;touch-action:pan-y;-webkit-touch-callout:none}
.wl-screen img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
/* The two screens, one over the other. closing-story.js places them with
   transform; .is-sliding gives them iOS's push curve, while a drag has none so
   they follow the finger. The map, on top, casts a soft shadow from its left edge
   while it is part way in (.wl-edge). */
.wl-view{position:absolute;inset:0;background:#fff;will-change:transform}
.wl-edge{position:absolute;top:0;bottom:0;right:100%;width:28px;background:linear-gradient(to left,rgb(0 0 0 / .1),rgb(0 0 0 / 0));opacity:0;pointer-events:none}
.wl-shade{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none}
.wl-screen.is-sliding .wl-view,.wl-screen.is-sliding .wl-shade,.wl-screen.is-sliding .wl-edge{transition:transform var(--wl-ms,520ms) cubic-bezier(.32,.72,0,1),opacity var(--wl-ms,520ms) cubic-bezier(.32,.72,0,1)}
/* The buttons over the screenshots, where the app draws them (as fractions of
   the 405 x 880 capture): Home's round map button, its "Found near you" card,
   and the map's round back button. They are clear, and darken a touch when
   pressed, as iOS buttons do. */
.wl-hit{position:absolute;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.wl-hit:active{background:rgb(0 0 0 / .08)}
.wl-hit:focus-visible{outline:2px solid #0a84ff;outline-offset:1px}
.wl-hit-map,.wl-hit-back{left:3.6%;top:6.9%;width:11.6%;height:5.35%}
.wl-hit-near{left:4.9%;top:83.2%;width:90.2%;height:7.2%;border-radius:calc(var(--pw) * .05) calc(var(--pw) * .05) 0 0}
/* The hint: one soft ring that swells out of the map button, twice. */
.wl-hit.is-hint::after{content:'';position:absolute;inset:0;border-radius:50%;animation:wl-ping 1.2s cubic-bezier(.2,.7,.3,1) 2;pointer-events:none}
@keyframes wl-ping{0%{box-shadow:0 0 0 0 rgb(10 132 255 / .45)}100%{box-shadow:0 0 0 calc(var(--pw) * .06) rgb(10 132 255 / 0)}}
/* The Dynamic Island, with the faint glint of its camera. */
.wl-island{position:absolute;left:50%;top:calc(var(--pw) * .024);width:calc(var(--pw) * .286);height:calc(var(--pw) * .084);margin-left:calc(var(--pw) * -.143);border-radius:99px;background:radial-gradient(circle at 80% 50%,#1d2436 0 4%,#0b0c10 6.5%,#000 10%);pointer-events:none}
/* The glass: a soft diagonal sheen and a fine dark line round its edge. */
.wl-glass{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(118deg,rgb(255 255 255 / .22) 0%,rgb(255 255 255 / .06) 26%,rgb(255 255 255 / 0) 40%,rgb(255 255 255 / 0) 78%,rgb(255 255 255 / .07) 100%);box-shadow:inset 0 0 0 1px rgb(0 0 0 / .12);pointer-events:none}
/* A glint that slides over the glass as the phone turns, there only while it turns. */
.wl-glint{position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at var(--wl-gx,50%) var(--wl-gy,40%),rgb(255 255 255 / .2),rgb(255 255 255 / 0) 55%);opacity:var(--wl-gi,0);pointer-events:none}
/* The buttons: action and volume on the left, the side button and Camera
   Control on the right. */
.wl-btn{position:absolute;width:calc(var(--pw) * .012);border-radius:2px 0 0 2px;background:linear-gradient(90deg,#8a8883,#d9d7d2 60%,#a3a19c)}
.wl-btn-action,.wl-btn-up,.wl-btn-down{right:100%}
.wl-btn-side,.wl-btn-cam{left:100%;border-radius:0 2px 2px 0}
.wl-btn-action{top:calc(var(--pw) * .4);height:calc(var(--pw) * .11)}
.wl-btn-up{top:calc(var(--pw) * .6);height:calc(var(--pw) * .2)}
.wl-btn-down{top:calc(var(--pw) * .85);height:calc(var(--pw) * .2)}
.wl-btn-side{top:calc(var(--pw) * .66);height:calc(var(--pw) * .31)}
.wl-btn-cam{top:calc(var(--pw) * 1.3);height:calc(var(--pw) * .16);width:calc(var(--pw) * .007);background:linear-gradient(90deg,#55575c,#9a9ca2)}

/* Reduced motion: no entrance, no tilt, no hint, and the screens change at once. */
.cs-closing.is-static .wl-rig,.cs-closing.is-static .wl-view,.cs-closing.is-static .wl-shade,.cs-closing.is-static .wl-edge{transition:none}
.cs-closing.is-static .wl-tilt{transform:none!important}
.cs-closing.is-static .wl-hit.is-hint::after{animation:none}
@media(prefers-reduced-motion:reduce){.cs-closing .wl-rig{transition:none;opacity:1;translate:none}.cs-closing .wl-view,.cs-closing .wl-shade,.cs-closing .wl-edge{transition:none!important}}

/* Narrower screens: the text, then the phone under it, centred. */
@media(max-width:859px){
 .cs-end{grid-template-columns:minmax(0,1fr);row-gap:8px;padding-inline:0}
 .cs-end-text{max-width:500px}
 .wl-stage{--pw:min(250px,40vw);padding-block:40px 64px}
}
/* Phones: the same phone, a comfortable size; the field and the button stay side by side down to 380px. */
@media(max-width:700px){
 .waitlist-closing.cs-closing{margin-top:96px;padding-bottom:64px}
 .cs-end-text h2{font-size:clamp(34px,9vw,44px)}
 .cs-end-sub{font-size:14px;margin-top:10px}
 .cs-final{margin-top:28px}
 .cs-end{row-gap:4px}
 .wl-stage{--pw:min(244px,60vw)}
}
@media(max-width:480px){
 .cs-closing .waitlist-row{flex-direction:row;gap:6px}
 .cs-closing .waitlist input[type=email]{flex:1;width:auto;padding:0 12px 0 16px}
 .cs-closing .waitlist .waitlist-submit{width:auto;padding:0 16px;font-size:14px}
 .cs-closing .waitlist-done{border-radius:100px;padding:12px 20px 12px 16px}
 .cs-closing .cs-final .waitlist-note,.cs-closing .waitlist-error{margin-left:16px}
}
/* Too narrow for the two side by side (the address would clip): the field above the button, each full width. */
@media(max-width:379px){
 .cs-closing .waitlist-row{flex-direction:column;height:auto}
 .cs-closing .waitlist input[type=email]{flex:none;width:100%;height:52px}
 .cs-closing .waitlist .waitlist-submit{width:100%;height:52px}
}

/* The closing as one centred column at every width: the heading, the line under
   it and the form centred, and the phone centred beneath them. */
.cs-end{grid-template-columns:minmax(0,1fr);justify-items:center;row-gap:clamp(8px,2vw,24px);padding-inline:0;text-align:center}
@media(min-width:860px){.cs-end{min-height:0;padding-block:clamp(48px,7vw,96px) 0}}
.cs-end-text{display:flex;flex-direction:column;align-items:center;width:100%;max-width:560px;min-width:0}
.cs-end-sub{max-width:520px}
.cs-final{display:flex;justify-content:center;width:100%;min-width:0}
.cs-closing .cs-final .waitlist{margin-inline:auto}
.cs-closing .cs-final .waitlist.is-joined{justify-content:center}
.cs-closing .cs-final .waitlist-note,.cs-closing .waitlist-error{margin-left:0;margin-right:0;text-align:center}
.wl-stage{width:100%;align-self:auto;padding-block:clamp(24px,4vw,48px) clamp(48px,6vw,80px)}

/* Accents from the sign-paint palette (headline-swap.js): the waitlist phone's current dot and text selection. */
.cs-closing .wl-dot[aria-current=true]::before{background:#9B1D2E}
::selection{background:#F3D27A;color:#111}

/* The waitlist phone, big and cut short: it fades out just below the Home
   screen's "Recently found" row, so it reads as rising out of the page. The
   dots go with the faded part (the map button still switches screens). */
.cs-closing .wl-stage{--pw:clamp(300px,min(36vw,62vh),520px);padding-block:clamp(24px,3vw,40px) 0}
.cs-closing .wl-phone{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 60%,transparent 73%);mask-image:linear-gradient(180deg,#000 0,#000 60%,transparent 73%)}
.cs-closing .wl-rig{margin-bottom:calc(var(--pw) * -.58)}
.cs-closing .wl-dots{display:none}
@media(max-width:759px){.cs-closing .wl-stage{--pw:min(84vw,400px)}}

/* No line under the form: the footer keeps the Privacy link. */
.cs-closing .cs-final .waitlist-note{display:none}

/* The phone grows as it scrolls into view, tied 1:1 to the page's own
   scroll (a scroll-driven animation, no script): small as it comes up from
   the bottom of the screen, full size once it's well in. Browsers without
   scroll timelines, and reduced motion, just show it full size. */
@supports (animation-timeline: view()) {
 @media (prefers-reduced-motion: no-preference) {
  .cs-closing .wl-phone{transform-origin:50% 0;animation:wl-grow linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
  @keyframes wl-grow{from{scale:.62}to{scale:1.08}}
 }
}
/* Wider panels: the band grows by 100px and all of it goes to the panel side (desktop). */
@media(min-width:760px){
 .hw{max-width:1220px}
 .hw-row{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
 .hw-row:nth-child(even){grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
}
/* About 12px of visible space between a step title and its text (the rest of the gap is line height). */
.hw-text{margin-top:6px}
@media(max-width:759px){.hw-text{margin-top:5px}}
/* The try-it card's Download really downloads Fantine (the bundled example font). */
a.hw-dl{color:#fff;text-decoration:none;cursor:pointer}
a.hw-dl:focus-visible{outline:2px solid var(--hw-ink);outline-offset:2px}
/* The waitlist phone stands straight: no tilt toward the pointer, no moving glint. */
.cs-closing .wl-tilt{transform:none!important}
.cs-closing .wl-glint{display:none}
/* Read and traced: the box's handles as the studio draws them, short white bars
   at the middle of each edge (photo-editor.js), not dots. */
.hw-h{width:clamp(14px,3cqw,22px);height:clamp(4px,.8cqw,5px);border:0;border-radius:99px;background:#fff;box-shadow:0 0 0 .5px rgb(0 0 0 / .18),0 1px 2px rgb(0 0 0 / .35)}
.hw-h-w,.hw-h-e{width:clamp(4px,.8cqw,5px);height:clamp(14px,3cqw,22px)}
/* "7 letters traced" in a small green pill. */
.hw-st-b{padding:clamp(4px,.9cqw,6px) clamp(10px,2cqw,13px) clamp(4px,.9cqw,6px) clamp(7px,1.5cqw,9px);border-radius:99px;background:#e7f6ec;color:#17733f}
.hw-st-b .hw-ok{color:#1f9d55}
/* The try-it Download has the site's one button hover (static/buttons.css): it
   grows a little onto a soft shadow with a springy bounce, and a click keeps it
   there (no press-in). */
a.hw-dl{transition:scale .55s cubic-bezier(.34,1.8,.5,1),box-shadow .45s ease;transform:none;box-shadow:0 0 0 rgb(0 0 0/0)}
@media(hover:hover) and (pointer:fine){
 a.hw-dl:hover,a.hw-dl:hover:active{scale:1.07;transform:none;box-shadow:0 14px 28px -10px rgb(0 0 0/.42),0 4px 10px -4px rgb(0 0 0/.2)}
}
/* The cards' photos wait hidden until decoded (closing-story.js marks them
   is-ready), then fade in once, already sharp. */
.hw.is-armed .hw-media img:not(.is-ready){opacity:0}
.hw-media img.is-ready{transition:opacity .35s ease}
/* The waitlist says plainly that an iPhone app is coming. */
.cs-app-soon{display:inline-flex;align-items:center;gap:7px;margin:0 0 16px;padding:6px 12px 6px 10px;border-radius:99px;background:#fff;border:1px solid #e6e6e9;color:#2a2a2e;font:600 13px/1.2 Inter,sans-serif;letter-spacing:-.005em}
.cs-app-soon svg{width:14px;height:14px;flex:none}
/* Tap areas on the current app screenshots (static/app-shots, 1206 x 2622). */
.wl-hit-map,.wl-hit-back{left:4%;top:6.8%;width:11.4%;height:5.4%}
.wl-hit-near{left:4.9%;top:82.4%;width:90.2%;height:9%}
