/* MotionCel, full redesign mockup (taste-skill direction "One motif"), restyled 2026-11-01.
   Owner: "i dont like how the whole site works, it looks futuristic ... it should look clean and minimal, but has a hint
   of the old site, and you can use the background we used for the presentation".
   So: soft rounded corners (the old site's 8-20px), calm navy surfaces, blue only as an ACCENT (buttons, active states,
   numbers, links, the timeline's cells, key chips, the h1's second line), smaller calmer type, the old site's peg-bar
   section dividers and soft blue glow, and the presentation's "animator's lightbox" ideas: a faint paper-tooth grain and
   our own drawings scattered behind the hero as the room's wallpaper.
   Type: Hanken Grotesk (the brand face, already in site/deploy/fonts). Palette: the live site's navy and blue.

   FIT (owner 2026-11-01): every section is sized by the screen's HEIGHT as well as its width, so each one shows whole
   at 100% zoom, under the sticky bar, on every common screen (checked by fit_check.js). --room is that visible height.
   Type, gaps and the clips' widths are all min(vw-based, svh-based); nothing is cut off or hidden to make it fit. */

@font-face{font-family:'Hanken Grotesk';src:url('fonts/HankenGrotesk.woff2') format('woff2');font-weight:400 700;font-display:swap}

:root{
  /* the live site's palette (site/deploy/index.html :root) */
  --bg:#181B22;          /* solid desk tone: the sticky bar, fields, text on blue */
  --bg2:rgba(24,27,34,.8);      /* the quieter panels; the deck's drawings show faintly through */
  --surface:rgba(45,50,62,.88); /* panels: a step above the desk, the tone of the deck's lit centre */
  --plum:#3A404E;        /* cards, chips (solid: they sit on panels) */
  --line:#262B34;        /* hairlines */
  --line2:#454C5B;       /* stronger hairlines, borders */
  --ink:#EEF0F3;         /* text */
  --ink2:#AEB6C2;        /* running text, one step softer */
  --muted:#9AA3B0;       /* captions */
  --field:#5E9BE6;       /* the blue: the accent (text on it is navy) */
  --ink-hi:#84B6F2;      /* lighter blue, for hover and links on navy */
  --wash:rgba(94,155,230,.13);
  --edge:rgba(94,155,230,.34);

  --nav:72px;
  --room:calc(100svh - var(--nav));   /* what a section may be at most: the screen under the sticky bar */
  --m:max(clamp(20px,5vw,80px),calc((100vw - 1320px) / 2)); /* outer margins; content stops at 1320px on wide screens */
  --g:clamp(12px,1.4vw,24px);
  --sec:clamp(14px,3.4svh,64px);      /* padding inside sections, by height */
  --gap:clamp(34px,7.5svh,88px);      /* the space between sections; the peg bar sits in its middle */
  --pad:clamp(18px,2.6vw,44px);       /* inside a panel */
  --r:18px;                           /* panels */
  --r-s:12px;                         /* pictures, fields */
  --r-b:11px;                         /* buttons */

  --s-small:1rem;
  --s-body:clamp(1rem,2.2svh,1.0625rem);
  --s-lead:clamp(1rem,min(.95rem + .5vw,2.7svh),1.25rem);
  --s-col:var(--s-body);
  --s-sub:clamp(1.15rem,min(1.7vw,3.4svh),1.5rem);
  --s-head:clamp(1.5rem,min(3vw,5.2svh),2.5rem);
  --s-display:clamp(2rem,min(5vw,7.5svh),3.4rem);
  --h1:clamp(2.4rem,min(5vw,7.4svh),4.4rem);

  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-expo:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.76,0,.24,1);
  --ease-soft:cubic-bezier(.33,1,.68,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav) + 8px)}
/* the whole site sits on the graduation deck's "animator's lightbox" desk: graded charcoal, our drawings as faint white linework (make_desk.py). One fixed picture, so scrolling repaints nothing. */
body{margin:0;background-color:var(--bg);color:var(--ink);font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:var(--s-body);line-height:1.55;letter-spacing:-.005em;-webkit-font-smoothing:antialiased;overflow-x:hidden} /* taste-skill-ignore: the old site's soft blue glow, owner asked for the hint of the old site */
body::before{content:"";position:fixed;inset:0;z-index:-2;background:var(--bg) url('assets/desk/desk.webp') center/cover no-repeat}
@media (max-aspect-ratio:1/1){body::before{background-image:url('assets/desk/desk-tall.webp')}}
/* the desk's paper tooth: one static noise tile, UNDER the content so the white cels stay clean */
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");background-size:200px 200px} /* taste-skill-ignore: owner asked for the presentation's paper grain */
img,video{display:block;max-width:100%}
h1,h2,h3,p,ul,dl,dd,figure{margin:0}
ul{padding:0;list-style:none}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:.07em}
b{font-weight:700}
::selection{background:var(--field);color:var(--bg)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap} /* taste-skill-ignore */
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0} /* taste-skill-ignore */

h1,h2,h3{font-weight:600;letter-spacing:-.03em;line-height:1.1;text-wrap:balance}
h1{font-size:var(--h1);font-weight:700;line-height:1.05;letter-spacing:-.04em}
h1 .ln+.ln{color:var(--field)} /* taste-skill-ignore: the live site's blue second line, kept by the owner */
h2{font-size:var(--s-head)}
h3{font-size:var(--s-head)}
.lead{font-size:var(--s-lead);line-height:1.5;letter-spacing:-.01em;color:var(--ink2);text-wrap:pretty}

/* buttons: one blue fill, soft corners */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;background:var(--field);color:var(--bg);font:600 var(--s-body)/1 'Hanken Grotesk',sans-serif;letter-spacing:-.005em;text-decoration:none;border:0;border-radius:var(--r-b);cursor:pointer;transition:transform 140ms var(--ease-out),background-color 180ms ease}
.btn:active{transform:scale(.97)}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.btn-sm{min-height:44px;padding:0 20px;background:var(--plum);color:var(--ink);}
@media (hover:hover) and (pointer:fine){
  .btn:hover{background:var(--ink-hi)}
  .btn-sm:hover{background:var(--line2)}
  a:not(.btn):hover{text-decoration-color:currentColor}
}

/* nav */
.nav{position:sticky;top:0;z-index:30;background:var(--bg);box-shadow:0 1px 0 var(--line)} /* taste-skill-ignore: the sticky bar may carry its edge */
.bar{height:var(--nav);padding-inline:var(--m);display:flex;align-items:center;gap:clamp(16px,3vw,48px)}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:1.5rem;letter-spacing:-.04em;text-decoration:none;margin-right:auto}
.brand img{width:36px;height:36px}
.brand b{color:var(--field)} /* taste-skill-ignore: the blue Cel of the live wordmark, owner's pick */
.nav-links{display:flex;gap:clamp(16px,2.4vw,40px)}
.nav-links a{font-weight:500;color:var(--ink2);text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color 180ms ease,color 180ms ease}
.bar .btn{min-height:44px;padding:0 22px}

/* the peg bar between sections (the old site's section cut: a rule with round, slot, round at its middle).
   It sits in the gap above each section, so it takes no room from the section itself. */
main > section + section{position:relative;margin-top:var(--gap)}
main > section + section::before,main > section + section::after{content:"";position:absolute;pointer-events:none;height:18px;top:calc(var(--gap) * -.5 - 9px)}
main > section + section::before{left:var(--m);right:var(--m);background:linear-gradient(90deg,var(--line2) 0,var(--line2) calc(50% - 66px),transparent calc(50% - 66px),transparent calc(50% + 66px),var(--line2) calc(50% + 66px),var(--line2) 100%) center/100% 2px no-repeat} /* taste-skill-ignore: the old site's peg-bar rule, broken around the pegs */
main > section + section::after{left:50%;width:112px;transform:translateX(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='18' viewBox='0 0 112 18'%3E%3Ccircle cx='22' cy='9' r='6' fill='none' stroke='%238A93A0' stroke-width='2'/%3E%3Crect x='35' y='3' width='42' height='12' rx='6' fill='none' stroke='%238A93A0' stroke-width='2'/%3E%3Ccircle cx='90' cy='9' r='6' fill='none' stroke='%238A93A0' stroke-width='2'/%3E%3C/svg%3E") center/112px 18px no-repeat}
main > .how::before,main > .band::before,main > .cta::before{left:0;right:0}  /* these sections are inset panels already */
main > .demo + .demo{margin-top:var(--sec)}
main > .demo + .demo::before,main > .demo + .demo::after{display:none}

/* HERO: the title across the top, copy on the left, the stage (the walk) on the right, all over the lightbox desk.
   --fix is everything in the hero that is not the clip; the clip's width is capped so its height is what is left of --room. */
.hero{--hp:clamp(14px,3svh,40px);--tpb:clamp(8px,1.6svh,24px);--spt:clamp(12px,1.8svh,22px);--spb:clamp(10px,1.6svh,20px);--strip:clamp(28px,4.4svh,46px);
  --fix:calc(var(--hp) + var(--h1) * 2.2 + var(--tpb) + var(--spt) + var(--spb) + var(--strip) + 72px + 6px);
  position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto auto 1fr;column-gap:var(--g);padding:var(--hp) var(--m) clamp(10px,2svh,24px)}
/* the wallpaper: the work itself as the room's wallpaper. Our own keys and frames, slightly rotated, faint, under a veil.
   Absolutely placed inside the hero (it scrolls away with it), so nothing repaints on scroll; decorative only. */
.hero-title{grid-column:1/-1;grid-row:1;padding-bottom:var(--tpb)}
.hero h1 .ln{display:block}
.hero-copy{grid-column:1/6;grid-row:2;align-self:start}
.hero-more{grid-column:1/6;grid-row:3;align-self:end;padding-bottom:var(--tpb)}
.hero-copy .lead{max-width:40ch;color:var(--ink)} /* the full ink: this text sits on the desk's drawings, not on a panel */
.hero-act{margin-top:clamp(12px,2.2svh,24px)}
.offer{margin-top:0;max-width:none;padding:clamp(12px,2svh,20px) 22px clamp(12px,2.2svh,22px);background:var(--surface);border-radius:14px;line-height:1.5;color:var(--ink2)}
.offer a{font-weight:600;color:var(--ink-hi)}
.trust{margin-top:clamp(8px,1.8svh,20px);max-width:44ch;color:var(--ink2)}
.trust b{color:var(--ink)}
.stage{grid-column:6/13;grid-row:2/4;background:var(--surface);border-radius:var(--r);padding:var(--spt) clamp(16px,2vw,28px) var(--spb);align-self:stretch}
.stage .fp{width:min(100%,max(260px,calc((var(--room) - var(--fix)) * 1.818)));margin-inline:auto}
.shutter{overflow:hidden;border-radius:var(--r-s)}

/* the frame player (a product fragment) */
.fp{display:block}
.clip{aspect-ratio:1280/704;overflow:hidden;background:#fff;border-radius:var(--r-s)}
.clip video{width:100%;height:100%;object-fit:cover;cursor:pointer}
.strip{display:flex;gap:3px;height:var(--strip,clamp(28px,4.4svh,46px));margin-top:12px;touch-action:none;cursor:ew-resize;user-select:none}
.strip:focus-visible{outline:3px solid var(--ink);outline-offset:4px;border-radius:4px}
.cells{flex:1 1 auto;display:flex;gap:3px;align-items:stretch}
.cells .cell{flex:1 1 0;background:#3F73B3;border-radius:3px;transition:background-color 120ms ease,transform 160ms var(--ease-out);transform-origin:50% 100%}
.cells .cell.kf{background:#fff} /* the animator's own keys: white, like the cel they are drawn on */
.cells .cell.on{background:var(--ink-hi);transform:scaleY(1.2)}
.cells .cell.kf.on{background:#fff}
.cell.key{flex:0 0 auto;height:100%;aspect-ratio:1280/704;background:#fff;border-radius:6px;overflow:hidden;transition:transform 160ms var(--ease-out)}
.cell.key img{width:100%;height:100%;object-fit:cover}
.cell.key.on{transform:scaleY(1.2);transform-origin:50% 100%}
@media (hover:hover) and (pointer:fine){ .cells .cell:hover{background:var(--ink-hi)} }
.fp-row{display:flex;align-items:center;gap:14px;margin-top:8px;font-weight:500;font-size:var(--s-body);color:var(--ink2);min-height:44px}
.fp-who{margin-right:auto}
.fp-who:empty{display:none}
.fp-frame{margin-right:auto}
.fp-who:not(:empty) ~ .fp-toggle{margin-left:0}
.fp-toggle{min-height:44px;min-width:92px;padding:0 18px;background:var(--plum);color:var(--ink);font:600 var(--s-body)/1 'Hanken Grotesk',sans-serif;border:0;border-radius:10px;cursor:pointer;transition:transform 140ms var(--ease-out),background-color 180ms ease}
.fp-toggle:active{transform:scale(.97)}
.fp-toggle:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (hover:hover) and (pointer:fine){ .fp-toggle:hover{background:var(--line2)} }
.fp-row .fp-frame + .fp-who{margin-left:0}

/* BOARD: statement tiles, calm panels */
.board{padding:0 var(--m)}
.why{background:var(--surface);border-radius:var(--r);padding:var(--sec) var(--pad) calc(var(--sec) * 1.2);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:clamp(20px,3.4vw,56px);align-items:center}
.why-text .lead{margin-top:clamp(8px,1.8svh,20px);max-width:48ch}
.why-stat{display:flex;align-items:center;gap:clamp(12px,1.4vw,22px);margin-top:clamp(12px,3svh,36px)}
.t-fig{flex:none;font-size:var(--s-display);font-weight:700;letter-spacing:-.04em;line-height:1;color:var(--field);font-variant-numeric:tabular-nums}
.t-cap{font-size:var(--s-body);line-height:1.45;max-width:34ch;color:var(--ink2)}
/* the lightbox: one white sheet, as large as the screen's height allows */
.why-clip{height:clamp(240px,58svh,620px);overflow:hidden;background:#fff;border-radius:var(--r-s)}
.why-clip video{width:100%;height:100%;object-fit:contain;background:#fff}
.why-cel figcaption{margin-top:clamp(6px,1.4svh,14px);font-size:var(--s-body);line-height:1.45;color:var(--ink2)}
.why-cel figcaption b{color:var(--ink);font-weight:600}

/* HOW: an inset panel; three stations on one track */
.how{margin-inline:var(--m);background:var(--surface);border-radius:var(--r);padding:var(--sec) var(--pad) calc(var(--sec) * 1.2);
  --W:calc(min(100vw - 2 * clamp(20px,5vw,80px) - 16px,1320px) - 2 * var(--pad))}
.how h2{max-width:20ch}
/* the three steps as one track, read left to right: 1 your keys (white cels), 2 motioncel's frames (blue
   cells, the same language as the hero's frame strip), 3 the export (a stack of sheets). Arrowheads carry
   the eye from station to station; the numbers are the owner's call (2026-11-01: "number them"). The pictures and the
   text under them are centred in their stations (owner 2026-11-01). */
.steps{list-style:none;margin:calc(clamp(14px,3.4svh,56px) + 2.4rem + 14px) 0 0;padding:0;display:grid;grid-template-columns:3fr 4fr 4fr;column-gap:var(--g)}
.step{min-width:0;text-align:center}
.st-art{--H:clamp(56px,min(10.5svh,9vw),116px);position:relative;display:flex;align-items:center;justify-content:center;gap:8px;height:var(--H)}
.st-art .no{position:absolute;left:0;right:0;margin-inline:auto;width:max-content;bottom:calc(100% + 14px);display:grid;place-items:center;min-width:2.4rem;height:2.4rem;padding:0 .7rem;background:var(--wash);color:var(--field);border-radius:10px;font-weight:700;font-size:1.0625rem;line-height:1;z-index:2} /* taste-skill-ignore: owner asked for numbered steps */
.kc{display:block;height:min(var(--H),calc(((var(--W) - 2 * var(--g)) * 3 / 11 - 8px - 2 * var(--g)) / 3.64));aspect-ratio:1280/704;background:#fff;border-radius:8px;overflow:hidden;flex:none}
.kc img{width:100%;height:100%;object-fit:cover}
.run{flex:1;display:flex;gap:4px;height:62%;align-items:stretch;margin-inline:calc(var(--g) * .8)}
.run i{flex:1;background:#3F73B3;border-radius:3px;transform-origin:0 50%}
.go-on{position:absolute;right:calc(var(--g) * -.95);top:50%;margin-top:calc(var(--g) * -.45);width:calc(var(--g) * .7);height:calc(var(--g) * .9);min-width:9px;min-height:12px;background:var(--field);clip-path:polygon(0 0,100% 50%,0 100%)} /* the arrowhead to the next station, in the gap */
.pile{position:relative;height:min(var(--H),calc(((var(--W) - 2 * var(--g)) * 3 / 11 - 8px - 2 * var(--g)) / 3.64));aspect-ratio:1280/704;flex:none;margin:12px 0 0 10px} /* front sheet = a key cel; the top margin centres the whole stack (back sheets rise 12px) so step 3's number clears it */
.pile .sh{position:absolute;inset:0;border-radius:8px;background:#fff;display:flex;align-items:flex-end;justify-content:flex-start;padding:8px 12px;font-weight:700;font-size:var(--s-small);color:var(--bg);line-height:1.3}
.pile .sh b + b::before{content:'\00a0\00b7\00a0'} /* nbsp, middle dot, nbsp: a flex row drops plain spaces at the edges */
.pile .sh:nth-child(1){transform:translate(-10px,-12px);background:#c9d8ec}
.pile .sh:nth-child(2){transform:translate(-5px,-6px);background:#e3ebf6}
.step h3{font-size:var(--s-sub);line-height:1.2;margin-top:clamp(12px,2.6svh,26px);text-wrap:balance}
.step p{margin:clamp(6px,1.2svh,12px) auto 0;max-width:40ch;color:var(--ink2)}
/* the tools the export opens in, with their own colours (owner 2026-11-01: "mention them"; kept from the live page) */
.tools{list-style:none;margin:clamp(8px,1.4svh,12px) 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.tools li{display:inline-flex;align-items:center;gap:8px;padding:7px 13px 7px 7px;background:var(--plum);border-radius:10px;font-weight:500;font-size:1rem;line-height:1.3;letter-spacing:-.01em}
.ti{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--ta);color:#0b1017;font-weight:700;font-size:13px;letter-spacing:-.04em;border-radius:7px;flex:none} /* taste-skill-ignore: each app's own colour, as on the live page */
.tools li.more{background:none;padding:4px 0;font-weight:400;color:var(--ink2)}

/* DEMOS: input half, output half, side by side as one soft panel.
   --dfix is the part of a demo that is not the clips or the keys (heading, field padding, caption); the keys and the clip take what is left. */
.demo{--dfix:calc(var(--s-head) * 1.4 + var(--s-lead) * 2.4 + 6.4svh + 90px);
  --kw:calc(((var(--room) - var(--dfix)) / 3 - 46px) * 1.818);
  --kw4:calc(((var(--room) - var(--dfix) - clamp(14px,3.2svh,56px) - 12px) / 2 - 46px) * 1.818);
  position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;padding:0 var(--m)}
.field{position:relative;padding:clamp(14px,2.2svh,30px) var(--pad) clamp(40px,7svh,76px)} /* room under the keys, so a key's name is not read as a kicker for what follows */
.f-in{background:var(--bg2);}
.f-out{background:var(--surface);}
.f-out .fp{width:min(100%,max(240px,calc((var(--room) - var(--dfix) - 116px) * 1.818)))}
.demo-1 .f-in,.demo-2 .f-out{border-radius:var(--r) 0 0 var(--r)}
.demo-1 .f-out,.demo-2 .f-in{border-radius:0 var(--r) var(--r) 0}
.f-cap{font-size:var(--s-lead);font-weight:500;line-height:1.4;letter-spacing:-.01em;max-width:36ch;margin-bottom:clamp(10px,2.2svh,26px);color:var(--ink2)}

.keys{display:flex;flex-direction:column;gap:12px}
.k{width:min(46%,max(150px,var(--kw)));position:relative}
.k img{width:100%;height:auto;aspect-ratio:1280/704;object-fit:cover;background:#fff;border-radius:var(--r-s)}
.k span{display:block;padding:8px 0 0;font-weight:500;font-size:var(--s-body);line-height:1.3;color:var(--ink)}
.k .n{position:absolute;top:8px;left:8px;font-size:13px;font-weight:700;line-height:1;padding:8px 11px;border-radius:6px;background:var(--field);color:#0b1017;font-variant-numeric:tabular-nums} /* the old site's blue KEY chip: which key it is, and the frame it lands on in the clip */
.k2{margin-left:24%}
.k3{margin-left:48%}
.keys4{display:grid;grid-template-columns:1fr 1fr;gap:12px clamp(12px,1.6vw,24px);align-items:start}
.keys4 .k{width:min(100%,max(150px,var(--kw4)));margin-left:0}
.keys4 .k2,.keys4 .k4{margin-top:clamp(14px,3.2svh,56px)}
.keys4 .k3{margin-top:0}
/* the demo's title sits above the pair */
.split{grid-column:1/-1;grid-row:1;font-size:var(--s-head);line-height:1.15;font-weight:600;padding:0 0 clamp(10px,2svh,22px)}
.split span{display:inline}

/* SCOPE: line-up. On a phone the two lists become two tabs (one list at a time, both stay in the page). */
.scope{padding:0 var(--m)}
.scope-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);align-items:end}
.scope-head h2{grid-column:1/8;max-width:16ch}
.scope-head .lead{grid-column:8/13}
.lineup{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:clamp(14px,3.2svh,48px)}
.tabs{display:none}
.col{padding:clamp(16px,2.6svh,36px) clamp(18px,2.4vw,36px);border-radius:var(--r)}
.col.does{background:var(--surface);}
.col.doesnt{background:var(--bg2);}
.col h3{font-size:var(--s-sub);margin-bottom:clamp(8px,2svh,28px)}
.col li{position:relative;padding-left:1.4em;font-size:var(--s-col);line-height:1.4;letter-spacing:-.01em;margin-top:.6em;color:var(--ink2)}
.col li::before{content:"";position:absolute;left:0;top:.5em;width:.55em;height:.55em;border-radius:50%;background:var(--field)}
.col.doesnt li::before{background:var(--muted)}

/* BAND: we don't train on your art; a calm panel, no colour field */
.band{margin-inline:var(--m);background:var(--surface);border-radius:var(--r);--pt:clamp(20px,5svh,64px);padding:var(--pt) var(--pad);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);row-gap:24px}
.facts{grid-column:1/5;display:grid;gap:clamp(10px,2.4svh,24px);align-content:start}
.facts dt{font-size:var(--s-body);color:var(--muted);font-weight:500}
.facts dd{font-size:var(--s-col);font-weight:600;line-height:1.35;letter-spacing:-.015em;margin-top:2px;color:var(--ink)}
.band-main{grid-column:6/13}
.band-main h2{max-width:16ch}
.band-main .lead{margin-top:clamp(10px,2.2svh,26px);max-width:54ch;font-size:var(--s-body)}

/* CTA: a sentence with blanks, on the old site's waitlist card (a soft panel with a blue glow in its corner) */
.wl-status{margin:clamp(8px,1.8svh,22px) 0 0;font-size:var(--s-lead);font-weight:600;letter-spacing:-.01em;min-height:1.3em}
.blank.sent .in,.blank.sent .go,.blank.sent .what{display:none}
.blank.sent .s-text{display:none} /* once sent, the thank-you takes the sentence's place */
.blank.sent .wl-status{color:var(--field);font-size:var(--s-display);line-height:1.1;letter-spacing:-.035em;margin-top:clamp(16px,2vw,28px)}
.cta{margin-inline:var(--m);padding:clamp(20px,4svh,56px) var(--pad);border-radius:calc(var(--r) + 4px);background:var(--surface)}
.sentence{--s-cta:var(--s-head);display:flex;flex-wrap:wrap;align-items:center;gap:.2em .35em;font-size:var(--s-cta);font-weight:600;letter-spacing:-.03em;line-height:1.2;margin-top:clamp(4px,1.2svh,16px)}
.s-text{flex:1 0 100%;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-weight:inherit;text-wrap:balance;margin:0}
.in{font:inherit;font-weight:500;letter-spacing:-.025em;height:1.5em;width:min(8.4em,100%);padding:0 .45em;background:var(--bg);color:var(--ink);border:1px solid var(--line2);border-radius:.3em;transition:border-color 160ms ease}
.in::placeholder{color:var(--muted);opacity:1}
.in:focus,.in:focus-visible{outline:3px solid rgba(94,155,230,.3);outline-offset:0}
.go{font:600 max(1rem,.5em)/1 'Hanken Grotesk',sans-serif;letter-spacing:-.005em;height:2.6em;padding:0 1.4em;background:var(--field);color:var(--bg);border:0;border-radius:var(--r-b);cursor:pointer;transition:transform 140ms var(--ease-out),background-color 180ms ease}
.go:active{transform:scale(.97)}
.go:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (hover:hover) and (pointer:fine){ .go:hover{background:var(--ink-hi)} }
.what{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:clamp(10px,2.2svh,28px);font-weight:500;color:var(--ink2)}
.in2{font:400 var(--s-body)/1 'Hanken Grotesk',sans-serif;height:48px;width:min(440px,100%);padding:0 16px;background:var(--bg);color:var(--ink);border:1px solid var(--line2);border-radius:var(--r-b);transition:border-color 160ms ease}
.in2::placeholder{color:var(--muted);opacity:1}
.in2:focus{outline:3px solid rgba(94,155,230,.3);outline-offset:0}
.cta-notes{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);row-gap:16px;margin-top:clamp(12px,2.6svh,40px);color:var(--ink2)}
.cta-notes p:first-child{grid-column:1/6}
.cta-notes p:last-child{grid-column:7/13}
.cta-notes a{font-weight:600;color:var(--ink-hi)}


/* FOOTER: the turn and wave, scrubbed by the last stretch of scrolling. A calm panel, like a drawer at the foot of the desk. */
.bye{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);align-items:end}
.bye-mark{grid-column:1/8;font-weight:700;font-size:var(--h1);line-height:1;letter-spacing:-.05em;color:var(--ink)}
.bye-mark b{display:inline-block;color:#0b1017;background:var(--field);padding:.04em .2em .08em;border-radius:.2em;margin-left:.06em} /* the Cel, a blue chip with navy type */
/* the stack: key 1 and key 2 with motioncel's frames between them, each on its own see-through cel.
   --p (0 to 1, set by the scroll) fans the stack out: at 0 the cels lie on top of each other (onion skin),
   at 1 they stand apart in depth like layers, key 1 in front, key 2 at the back. */
.stack{grid-column:1/-1;margin:clamp(8px,2svh,40px) 0 0;--p:1}
.layers{--lh:clamp(110px,min(22vw,32svh),360px);position:relative;height:var(--lh);perspective:1800px;perspective-origin:50% 30%;margin:0;padding:0;list-style:none}
.layer{--w:min(40%,520px,calc(var(--lh) * 1.6));position:absolute;top:0;left:calc((100% - var(--w)) * (.5 + (var(--i) / 8 - .5) * var(--p)));width:var(--w);aspect-ratio:1280/704;border-radius:clamp(6px,.8vw,12px);overflow:hidden;
  background:rgba(236,243,252,.78);z-index:calc(20 - var(--i));transform-origin:50% 50%;
  transform:translate3d(0, calc(var(--p) * (var(--i) - 4) * -1.2%), calc(var(--p) * var(--i) * -28px)) rotateY(calc(var(--p) * -16deg));will-change:transform,left}
.layer.key{background:#fff}
.layer img{display:block;width:100%;height:100%}
.layer .tag{position:absolute;bottom:10px;left:10px;font-size:13px;font-weight:700;line-height:1;padding:6px 9px;border-radius:6px;background:var(--field);color:#0b1017}
.layer.key:last-child .tag{left:auto;right:10px;bottom:auto;top:10px} /* key 2 sits at the back; its top-right corner is the part left uncovered */
.stack-cap{margin-top:clamp(8px,1.6svh,24px);max-width:60ch;font-size:var(--s-small);line-height:1.5;color:var(--ink2)}
.stack-cap .sc-key{color:var(--ink);font-weight:600}
.stack-cap .sc-gen{color:var(--ink-hi)}
.foot{margin:var(--gap) var(--m) 0;background:var(--surface);border-radius:var(--r) var(--r) 0 0;padding:clamp(18px,3.4svh,56px) var(--pad) clamp(12px,2svh,28px)}
.foot-links{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);row-gap:12px;margin-top:clamp(12px,2.6svh,44px);font-size:var(--s-body);line-height:1.5;color:var(--ink2)}
.foot-links nav{grid-column:1/9;display:flex;flex-wrap:wrap;gap:12px clamp(20px,3vw,48px);align-content:start}
.foot-links nav a{font-weight:500;color:var(--ink)}
.foot-links p{grid-column:9/13}
.foot-links p + p{grid-column:9/13}
.foot-links p a{color:var(--ink-hi)}
.foot-last{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:clamp(12px,2.6svh,44px);font-weight:500;color:var(--muted)}

/* MOTION (transform and opacity only; every move falls back to the finished state) */
@media (prefers-reduced-motion:no-preference){
  /* the track fills like a playhead: keys land, the blue cells light up left to right, then the export drops in */
  .js .steps .kc,.js .steps .pile,.js .steps .no,.js .steps .go-on{opacity:0;transform:translateY(14px);transition:opacity 420ms var(--ease-out),transform 520ms var(--ease-out)}
  .js .steps .run i{opacity:0;transition:opacity 260ms var(--ease-out);transition-delay:calc(420ms + var(--k) * 45ms)}
  .js .steps.is-in .kc,.js .steps.is-in .pile,.js .steps.is-in .no,.js .steps.is-in .go-on,.js .steps.is-in .run i{opacity:1;transform:none}
  .js .steps.is-in .s1 .kc + .kc{transition-delay:110ms}
  .js .steps.is-in .s1 .go-on{transition-delay:300ms}
  .js .steps.is-in .s2 .no{transition-delay:380ms}
  .js .steps.is-in .s2 .go-on{transition-delay:1050ms}
  .js .steps.is-in .s3 .no,.js .steps.is-in .s3 .pile{transition-delay:1150ms}
  .js .steps.is-in .s1 .go-on,.js .steps.is-in .s2 .go-on{transform:none}
  .js [data-r]{opacity:0;transform:translateY(26px);transition:opacity 700ms var(--ease-out),transform 900ms var(--ease-expo);transition-delay:var(--d,0ms)}
  .js [data-r].is-in{opacity:1;transform:none}
  .js [data-r="open"]{opacity:1;transform:none}
  .js [data-r="open"] img{clip-path:inset(0 0 100% 0);transform:scale(1.12);transition:clip-path 1100ms var(--ease-in-out),transform 1500ms var(--ease-soft);transition-delay:var(--d,0ms)}
  .js [data-r="open"].is-in img{clip-path:inset(0);transform:none}
  .hero h1 .ln{overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
  .js .hero h1 .ln > span{display:block;transform:translateY(112%);transition:transform 1000ms var(--ease-expo)}
  .js .hero h1 .ln:nth-child(2) > span{transition-delay:90ms}
  .js .hero.is-in h1 .ln > span{transform:none}
  .js .shutter{clip-path:inset(0 0 100% 0);transition:clip-path 1100ms var(--ease-in-out) 250ms}
  .js .shutter .clip video{transform:scale(1.12);transition:transform 1500ms var(--ease-soft) 250ms}
  .js .hero.is-in .shutter{clip-path:inset(0 round var(--r-s))}
  .js .hero.is-in .shutter .clip video{transform:none}
  .js .keys .k{transition-delay:calc(var(--n,0) * 90ms)}
  .js .lineup li{opacity:0;transform:translateY(18px);transition:opacity 600ms var(--ease-out),transform 800ms var(--ease-expo);transition-delay:calc(var(--n,0) * 70ms)}
  .js .lineup.is-in li{opacity:1;transform:none}
}

/* NARROWER DESKTOPS AND TABLETS */
@media (max-width:1100px) and (min-width:901px){
  .scope-head h2{grid-column:1/7}
  .scope-head .lead{grid-column:7/13}
  .band-main{grid-column:5/13}
}

/* PORTRAIT TABLET AND DOWN (<= 900px): its own composition */
@media (max-width:900px){
  :root{--h1:clamp(2rem,min(6vw,7.2svh),3.4rem)}
  .hero{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}
  .hero-title{grid-column:1/-1}
  .hero-copy{grid-column:1;grid-row:2;padding-bottom:var(--tpb)}
  .hero-more{grid-column:2;grid-row:2;align-self:start;padding:0 0 var(--tpb)}
  .stage{grid-column:1/-1;grid-row:3;padding:var(--spt) var(--pad) var(--spb)}
  .stage .fp{width:100%}
  .hero-copy .lead{max-width:none}

  .demo{display:flex;flex-direction:column;min-height:0}
  .demo .field{padding:20px var(--pad) 24px}
  .demo .split{order:-1;display:block;font-size:var(--s-head);padding:0 0 14px}
  .demo .f-in,.demo .f-out{border-radius:var(--r)}
  .demo-1 .f-in,.demo-2 .f-in{order:1}
  .demo-1 .f-out,.demo-2 .f-out{order:2;margin-top:12px}
  .demo-2 .f-out{margin-top:0}
  .demo-2 .f-in{margin-top:12px}
  .f-out .fp{width:100%}
  .f-cap{max-width:none;margin-bottom:14px}
  .keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--g);align-items:start}
  .keys .k,.keys .k2,.keys .k3{width:100%;margin-left:0}
  .keys .k2{margin-top:clamp(10px,2svh,24px)}
  .keys .k3{margin-top:clamp(20px,4svh,48px)}
  .keys4{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px var(--g)}
  .keys4 .k{width:100%}
  .keys4 .k2,.keys4 .k4,.keys4 .k3{margin-top:0}
  .keys4 .k2{margin-top:0}
}

/* PHONE (<= 760px) */
@media (max-width:760px){
  :root{--nav:56px;--h1:clamp(1.7rem,7.5vw,2.4rem);--s-lead:.9375rem;--s-col:.9375rem;--s-sub:1rem;--s-head:clamp(1.4rem,6.4vw,1.75rem);--s-display:clamp(1.8rem,9vw,2.4rem);--s-body:.9375rem;--sec:clamp(12px,2.6svh,26px);--gap:clamp(30px,5svh,44px);--pad:16px;--r:16px}
  body{line-height:1.5}
  .bar{gap:12px}
  .brand{font-size:1.25rem}
  .brand img{width:32px;height:32px}
  .nav-links{display:none}
  .bar .btn{min-height:40px;padding:0 16px;font-size:1rem}

  .hero{display:flex;flex-direction:column;--strip:22px;padding-top:8px;padding-bottom:6px}
  .hero-title{padding-bottom:4px}
  .hero-copy{padding-bottom:6px}
  .hero-copy .lead{font-size:.9375rem}
  .hero-act{margin-top:8px}
  .btn{min-height:44px}
  .stage{order:2;padding:8px 10px 4px}
  .hero-more{order:3;padding:8px 0 0}
  .offer{padding:10px 14px 12px;line-height:1.4}
  .trust{margin-top:6px}
  .strip{margin-top:8px}
  .fp-row{flex-wrap:wrap;gap:0 14px;min-height:40px;margin-top:2px}
  .fp-toggle{order:2;min-height:40px}
  .fp-who{order:3;flex:1 0 100%;margin:0;font-size:.9375rem;line-height:1.3}
  .fp-frame{margin-right:auto}
  .cell.key{height:100%}

  .why{grid-template-columns:1fr;row-gap:14px}
  .t-fig{font-size:clamp(1.8rem,9vw,2.4rem)}
  .t-cap{font-size:.9375rem}
  .why-text .lead{font-size:.9375rem;line-height:1.4;max-width:none}
  .why-clip{height:clamp(130px,26svh,300px)}
  .why-cel figcaption{font-size:.9375rem;line-height:1.4}

  .how{padding-block:var(--sec)}
  /* phones: the same track, running down the left edge */
  .steps{grid-template-columns:1fr;row-gap:clamp(6px,1.4svh,16px);margin-top:clamp(10px,2svh,24px)}
  .step{display:grid;grid-template-columns:clamp(72px,22vw,96px) 1fr;grid-template-rows:auto auto auto 1fr;column-gap:14px;align-items:start;text-align:left} /* text rows stay snug; the last row takes any height the picture column needs */
  .st-art{--H:auto;grid-row:1/-1;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;height:100%;min-height:64px;padding:0 0 18px}
  .st-art .no{position:static;bottom:auto;align-self:flex-start;margin:0 0 4px;width:auto;min-width:2rem;height:2rem;font-size:1rem}
  .kc{height:auto;width:100%}
  .run{flex:1;flex-direction:column;height:auto;min-height:56px;width:46%;align-self:center;gap:3px}
  .run i{transform-origin:50% 0}
  .go-on,.s1 .go-on,.s2 .go-on{top:auto;margin-top:0;right:auto;left:50%;bottom:0;width:16px;height:14px;transform:translateX(-50%);clip-path:polygon(0 0,100% 0,50% 100%)}
  .pile{width:calc(100% - 10px);height:auto;margin:12px 0 0 10px} /* the back sheets rise 12px and reach 10px left: their edge lines up with the number */
  .pile .sh{padding:6px 8px;font-size:15px;flex-direction:column;justify-content:flex-end;align-items:flex-start}
  .pile .sh b{display:block}
  .pile .sh b + b::before{content:none}
  .step h3{grid-column:2;margin-top:0}
  .step p{grid-column:2;margin-inline:0;margin-top:4px;line-height:1.4}
  .step .tools{grid-column:2;justify-content:flex-start}
  .tools{gap:2px 10px;margin-top:6px}
  .tools li{font-size:15px;padding:0;gap:6px;background:none}
  .ti{width:28px;height:28px;font-size:13px}

  .demo .field{padding:14px var(--pad) 16px}
  .demo .split{padding:0 0 10px}
  .demo-1 .f-out,.demo-2 .f-in{margin-top:8px}
  .f-cap{margin-bottom:10px}
  /* the keys sit in a row, each with its badge under it */
  .keys{gap:8px}
  .keys .k2{margin-top:10px}
  .keys .k3{margin-top:20px}
  .k .n{position:static;display:block;padding:6px 0 0;background:none;color:var(--ink-hi);font-size:13px;line-height:1.3;border-radius:0}
  .k span{padding-top:2px;font-size:.9375rem;line-height:1.3}
  .keys4{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .keys4 .k2,.keys4 .k3,.keys4 .k4{margin-top:0}
  .keys4 .k .n{position:absolute;top:6px;left:6px;display:block;padding:6px 8px;background:var(--field);color:#0b1017;font-size:13px;border-radius:6px}
  .keys4 .k span{padding-top:6px}

  .scope-head{display:block}
  .scope-head h2{max-width:none}
  .scope-head .lead{margin-top:10px}
  .lineup{grid-template-columns:1fr;margin-top:12px;gap:0}
  .col{padding:14px 18px 16px}
  .col li{margin-top:.4em}
  .col h3{margin-bottom:6px}
  /* two tabs: What it does / What it doesn't (both lists stay in the page; main.js picks the one on show) */
  .js .tabs{display:flex;gap:6px;margin-top:14px}
  .js .tabs button{flex:1 1 0;min-height:46px;padding:0 12px;border:0;border-radius:10px;cursor:pointer;font:600 1rem/1.1 'Hanken Grotesk',sans-serif;letter-spacing:-.005em;background:var(--plum);color:var(--ink);}
  .js .tabs button[aria-selected="true"]{background:var(--field);color:var(--bg);border-color:var(--field)}
  .js .tabs button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
  .js .col h3{display:none}
  .js .lineup[data-tab="does"] .doesnt,.js .lineup[data-tab="doesnt"] .does{display:none}

  .band{--pt:22px;display:flex;flex-direction:column;row-gap:0}
  .facts{margin-top:16px;padding-top:0;gap:10px;order:1}
  .band-main{order:0}
  .band-main .lead{font-size:var(--s-lead)}

  .cta{padding:20px var(--pad)}
  .in{width:100%}
  .go{width:100%}
  .what{gap:6px 20px}
  .in2{height:46px}
  .cta-notes{display:block}
  .cta-notes p + p{margin-top:10px}

  .bye-mark{grid-column:1/-1;font-size:var(--s-display)}
  .layer{--w:min(46%,calc(var(--lh) * 1.6))}
  .layer .tag{font-size:13px;padding:6px 8px;bottom:6px;left:6px}
  .layer.key:last-child .tag{right:6px;top:6px}
  .layers{--lh:clamp(110px,34vw,200px)}
  .foot-links{display:block}
  .foot-links nav{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}
  .foot-links p{margin-top:10px}
}


/* FAQ (owner 2026-11-01: the stacked tab cards read as clutter). Desktop: the questions are a list on the
   left; the chosen one turns blue with an arrowhead pointing at its answer, which sits large on a calm panel
   on the right. One question is always chosen, so the panel is never empty. Phones: the questions stack and
   the answer opens on a panel under its question, with the down/up chevron. The articles are display:contents
   on desktop so questions and answers share one grid. */
.faq{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);padding:0 var(--m)}
.faq h2{grid-column:1/-1;margin-bottom:clamp(14px,3svh,40px)}
.cards{grid-column:1/-1;display:grid;grid-template-columns:5fr 7fr;column-gap:clamp(24px,3vw,56px);row-gap:8px;align-items:start}
.card{display:contents}
.card h3{grid-column:1;margin:0;font-size:inherit;font-weight:500;line-height:1.3}
.card h3 button{position:relative;display:block;width:100%;text-align:left;font:500 var(--s-lead)/1.3 'Hanken Grotesk',sans-serif;letter-spacing:-.01em;color:var(--ink);background:var(--surface);border:0;border-radius:var(--r-s);padding:clamp(12px,2svh,18px) 56px clamp(12px,2svh,18px) clamp(16px,1.6vw,24px);cursor:pointer;transition:background-color 160ms ease,color 160ms ease}
.card h3 button::after{content:'';position:absolute;right:24px;top:50%;width:.45em;height:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-50%) rotate(-45deg);transition:transform 220ms var(--ease-out)} /* points at the answer */
.card h3 button[aria-expanded="true"]{background:var(--field);color:var(--bg);font-weight:600}
.card h3 button[aria-expanded="true"]::after{transform:translateY(-50%) translateX(4px) rotate(-45deg)}
.card h3 button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (hover:hover) and (pointer:fine){ .card h3 button[aria-expanded="false"]:hover{background:var(--plum)} }
.ans{grid-column:2;grid-row:1 / span 6;align-self:start;background:var(--plum);color:var(--ink);border-radius:var(--r);padding:clamp(20px,3.6svh,44px) clamp(22px,2.8vw,48px)}
.js .ans{display:none}
.js .card[data-open] .ans{display:block}
.ans p{margin:0;max-width:52ch;font-size:var(--s-lead);line-height:1.6;letter-spacing:-.005em;color:var(--ink)}
html:not(.js) .cards{display:block} html:not(.js) .card{display:block;margin-bottom:12px} /* no script: every question with its answer under it */
@media (prefers-reduced-motion:no-preference){
  .card[data-open] .ans p{animation:ans-in 320ms var(--ease-out)}
  @keyframes ans-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  .js .cards h3{opacity:0;transform:translateY(16px);transition:opacity 500ms var(--ease-out),transform 600ms var(--ease-out);transition-delay:calc(var(--i) * 60ms)}
  .js .cards.is-in h3{opacity:1;transform:none}
}
@media (max-width:1100px) and (min-width:761px){
  .cards{grid-template-columns:1fr 1fr} /* mid-size screens: the questions need half the row to stay on two lines */
}
@media (max-width:760px){
  .faq{display:block}
  .faq h2{margin-bottom:14px}
  .cards{display:flex;flex-direction:column;align-items:stretch;gap:6px}
  .card{display:block}
  .card h3 button{padding:12px 52px 12px 16px;min-height:48px}
  .card h3 button::after{right:20px;transform:translateY(-70%) rotate(45deg)}
  .card h3 button[aria-expanded="true"]::after{transform:translateY(-20%) rotate(-135deg)}
  .ans{padding:16px 18px 18px;margin-top:4px}

}
