/* Home page only. Shared tokens and components live in site.css. */

/* ---------- hero ---------- */
.hero{padding:56px 0 72px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center}
.hero-copy .btn-tint{margin-bottom:28px}
.hero-copy .btn-tint .ic{width:14px;height:14px;color:var(--slate)}
.hero-copy .display{max-width:12ch}
.hero-copy .lede{margin-top:28px}
.hero-ctas{display:flex;align-items:center;gap:12px;margin-top:32px;flex-wrap:wrap}
.hero-ctas .ic{width:16px;height:16px}

/* the self-sorting desk: seven scraps fly into one tidy note, hold, then
   scatter back. One 14s loop, CSS only. Positions are container units so
   the pile holds still when the stage grows. */
.sorter{position:relative;width:100%;max-width:620px;aspect-ratio:1;justify-self:end;container-type:size;isolation:isolate}
.zaki-wrap{position:absolute;left:0;bottom:0;width:44cqi;z-index:1;animation:work 14s cubic-bezier(.4,0,.2,1) infinite;transform-origin:50% 100%}
.zaki{width:100%;height:auto;animation:bob 3.2s ease-in-out infinite;transform-origin:50% 100%}
@keyframes bob{50%{transform:translateY(-1.2cqb)}}
@keyframes work{0%,16%,100%{transform:scale(1) rotate(0)}19%{transform:scale(1.04) rotate(-3deg)}23%{transform:scale(1.04) rotate(3deg)}27%{transform:scale(1.04) rotate(-3deg)}32%{transform:scale(1) rotate(0)}48%{transform:scale(1.02) rotate(2deg)}62%{transform:scale(1) rotate(-2deg)}76%{transform:scale(1.02) rotate(2deg)}84%{transform:scale(1) rotate(0)}}
.scrap{position:absolute;left:var(--x);top:var(--y);width:var(--w);z-index:2;
  /* where the scrap flies to: the note card's centre */
  --tx:calc(22cqi - var(--x) - var(--w) / 2);--ty:calc(62cqb - var(--y));
  transform:rotate(var(--r));transform-origin:50% 50%;will-change:transform,opacity;
  animation:scrap 14s cubic-bezier(.5,0,.2,1) infinite;animation-delay:var(--d)}
.sticky{padding:14px 14px 18px;border-radius:2px;font-family:var(--serif);font-style:italic;font-size:clamp(13px,2.6cqi,17px);line-height:1.25;color:var(--ink);box-shadow:0 10px 24px rgba(32,36,31,.12)}
.sticky.lime{background:#DBEFA5}.sticky.pink{background:#F1AEBF}.sticky.aqua{background:#A8DEE3}.sticky.canary{background:#F8DD81}
.memo{background:var(--surface);border:.5px solid var(--stone);border-radius:var(--r-card-lg);box-shadow:var(--shadow-float);padding:12px 14px;font-size:clamp(12px,2.2cqi,14px);color:var(--ink)}
.memo-top{display:flex;align-items:center;gap:8px;color:var(--slate);font-size:12px;margin-bottom:6px}
.memo-top .ic{width:14px;height:14px;color:var(--coral)}
.wave{display:flex;align-items:center;gap:2px;height:16px;flex:1}
.wave i{display:block;width:2px;height:var(--h);background:var(--ink);border-radius:2px;opacity:.7}
.memo p{font-style:italic;color:var(--carbon);line-height:1.35}
.blink{width:8px;height:8px;border-radius:50%;background:var(--coral);border:1px solid #bd4a30;flex:none}
.slip{background:#F3F1E8;border-radius:2px;padding:12px 14px;font-family:ui-monospace,Menlo,monospace;font-size:clamp(11px,2cqi,13px);color:var(--carbon);box-shadow:0 10px 24px rgba(32,36,31,.1)}
.slip b{color:var(--ink);font-weight:600}
.scrap.chat{background:#1F4D3A;color:#EFF1EA;border-radius:16px 16px 16px 4px;padding:12px 14px;font-size:clamp(12px,2.3cqi,14px);line-height:1.35;box-shadow:var(--shadow-float)}
.chat-who{display:block;font-size:11px;opacity:.7;margin-bottom:3px}
.scrap.chat small{display:block;font-size:11px;opacity:.6;margin-top:6px;text-align:right}

.notecard{position:absolute;left:34%;top:2%;width:64%;z-index:3;background:var(--butter);border:.5px solid #E9C25A;border-radius:var(--r-card-lg);box-shadow:var(--shadow-float);padding:16px 18px 14px;font-size:clamp(11px,2.15cqi,13.5px);line-height:1.35;color:var(--ink);animation:card 14s cubic-bezier(.4,0,.2,1) infinite}
.notecard>*{animation:row 14s cubic-bezier(.2,.7,.2,1) infinite;animation-delay:calc(var(--i,0) * .16s)}
.notecard .nc-list{animation:none}
.nc-top{display:flex;align-items:center;gap:8px;color:#56635B;font-size:11px;margin-bottom:8px;flex-wrap:wrap}
.nc-src{margin-left:auto;display:inline-flex;align-items:center;gap:4px}
.nc-src .ic{width:12px;height:12px}
.nc-cat{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--r-pill);background:#D3E7D7;color:#1F4630;font-weight:500;font-size:11px}
.nc-title{font-family:var(--serif);font-weight:700;font-size:clamp(16px,3.2cqi,21px);line-height:1.15;letter-spacing:-.015em;color:var(--ink);margin-bottom:8px}
.nc-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.nc-tags span{font-size:11px;color:#36433B;background:#FDF8DF;border-radius:var(--r-pill);padding:2px 8px}
.nc-row{display:flex;align-items:center;gap:8px;color:#36433B;margin:0 0 4px}
.nc-row .ic{width:14px;height:14px;color:#1F4630;flex:none}
.nc-when{font-weight:500;color:var(--ink)}
.nc-h{font-weight:600;color:var(--ink);margin:8px 0 2px}
.nc-list{list-style:none;margin:0;padding:0}
.nc-list li{display:flex;align-items:center;gap:8px;padding:3px 0;color:#36433B;animation:row 14s cubic-bezier(.2,.7,.2,1) infinite;animation-delay:calc(var(--i) * .16s)}
.nc-box{width:14px;height:14px;border:1.5px solid #B9B29A;border-radius:4px;flex:none}
.nc-lock{display:flex;gap:8px;align-items:flex-start;background:#FDF8DF;border-radius:10px;padding:8px 10px;margin:8px 0}
.nc-lock .ic{width:14px;height:14px;color:var(--cta);flex:none;margin-top:2px}
.nc-lock b{display:block;font-weight:600;color:var(--ink)}
.nc-lock small{display:block;color:#56635B;font-size:11px}
.nc-foot b{font-weight:600;color:var(--ink)}
.nc-by{margin-left:auto;color:#56635B;font-size:11px}

@keyframes scrap{
  0%,16%{transform:rotate(var(--r)) scale(1);opacity:1;animation-timing-function:cubic-bezier(.59,0,.94,1)}
  27%{opacity:1}
  30%,78%{transform:translate(var(--tx),var(--ty)) rotate(calc(var(--r) + 200deg)) scale(.12);opacity:0}
  84%{transform:translate(10cqi,-70cqb) rotate(calc(var(--r) + 30deg)) scale(.7);opacity:0;animation-timing-function:cubic-bezier(0,0,0,1)}
  87%{opacity:1}
  91%{transform:translate(0,1.2cqb) rotate(calc(var(--r) - 5deg)) scale(1.06);opacity:1;animation-timing-function:cubic-bezier(.33,0,.67,1)}
  95%,100%{transform:rotate(var(--r)) scale(1);opacity:1}}
@keyframes card{
  0%,30%{opacity:0;transform:translate(-30%,26%) scale(.15) rotateX(55deg) rotate(-14deg);animation-timing-function:cubic-bezier(0,0,0,1)}
  34.5%{opacity:1;transform:translate(0,-1%) scale(1.05) rotateX(-5deg) rotate(1.2deg);animation-timing-function:cubic-bezier(.33,0,.67,1)}
  36%,78%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.59,0,.94,1)}
  83%,100%{opacity:0;transform:translate(-30%,26%) scale(.15) rotateX(55deg) rotate(-14deg)}}
@keyframes row{0%,34%{opacity:0;transform:translateX(-10px)}40%,76%{opacity:1;transform:none}80%,100%{opacity:0}}
.blink{animation:blink 1.8s ease infinite}
@keyframes blink{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) :is(.scrap,.notecard,.notecard>*,.nc-list li,.zaki-wrap,.zaki,.demo-steps li,.blink){animation:none}
  body:not(.motion-enabled) .scrap{opacity:0}
  body:not(.motion-enabled) :is(.notecard,.notecard>*,.nc-list li){opacity:1;transform:none}
}
@media (max-width:1000px){
  .hero{padding:40px 0 56px}
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .sorter{justify-self:center;max-width:560px;aspect-ratio:1.05}
  .hero-copy .display{max-width:none}
}
@media (max-width:520px){
  .notecard{left:22%;width:76%;padding:12px 14px}
  .zaki-wrap{width:40cqi}
    .sorter{aspect-ratio:.9}
}

/* ---------- dark band: languages ---------- */
.band{background:var(--ink);color:#EFF1EA;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);padding:18px 0;overflow:hidden}
.band-in{display:flex;align-items:center;gap:32px}
.band-label{flex:none;font-size:13px;color:#9AA49B;white-space:nowrap}
.marquee{flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:40px;width:max-content;font-family:var(--serif);font-size:22px;line-height:1;white-space:nowrap}
.marquee-track span{display:inline-flex;align-items:center;gap:40px}
.marquee-track span::after{content:"";width:4px;height:4px;border-radius:50%;background:#9AA49B}
.marquee-track{animation:marquee 75s linear infinite}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .marquee-track{animation:none}}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (max-width:700px){.band-label{display:none}}

/* ---------- story: in, sorted, back ---------- */
.story{padding:128px 0 96px}
.story-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;margin-bottom:96px}
.story-head .h-lg{grid-column:2}
.story-grid{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:48px;align-items:start}
.story-tabs{position:sticky;top:96px;list-style:none;margin:0;padding:0}
.story-tabs li{padding:12px 0 14px;border-bottom:1px solid var(--hair);position:relative}
.story-tabs a{display:block;font-size:15px;color:var(--slate);transition:color .2s ease}
.story-tabs li::after{content:"";position:absolute;left:0;bottom:-1px;height:1px;width:100%;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}
.story-tabs li.on a{color:var(--ink)}
.story-tabs li.on::after{transform:scaleX(1)}
.step{padding-bottom:96px;scroll-margin-top:96px}
.step:last-child{padding-bottom:0}
.step-copy{max-width:60ch;margin-bottom:24px}
.step .h-sm{margin-bottom:10px}
.step .body{font-size:16px}
.step-visual{background:var(--canvas);border:1px solid var(--hair);border-radius:var(--r-card);padding:24px;overflow:hidden}
.step-visual.center{display:grid;place-items:center}
.step-visual.center img{max-width:640px;width:100%;height:auto}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.trio figure{margin:0}
.trio img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.trio figcaption{margin-top:10px;font-size:14px;color:var(--ink)}
.trio figcaption small{display:block;font-size:13px;color:var(--carbon);margin-top:2px}
.formats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.mini-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mini{background:var(--surface);border:.5px solid var(--stone);border-radius:var(--r-card-lg);padding:14px 16px;font-size:13px;line-height:1.4;color:var(--ink)}
.mini.yellow{background:#FAF3C8}
.mini .mt{font-family:var(--serif);font-size:18px;margin:4px 0 8px;line-height:1.2}
.mini .mk{font-size:12px;color:var(--carbon)}
.mini .row{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:.5px solid var(--hair)}
.mini .row b{font-weight:500}
.mini .fc{border:.5px solid var(--stone);border-radius:6px;padding:8px 10px;margin-top:6px;background:var(--canvas)}
.step-visual.art{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:center}
.step-visual.art img{width:100%;height:auto}
.chat{background:var(--surface);border:.5px solid var(--stone);border-radius:var(--r-card-lg);padding:18px 20px;font-size:14px;box-shadow:var(--shadow-float)}
.chat .q{display:flex;align-items:center;gap:8px;color:var(--ink);padding-bottom:12px;border-bottom:.5px solid var(--hair)}
.chat .q .ic{width:16px;height:16px;color:var(--slate)}
.chat .a{padding-top:12px;color:var(--ink);line-height:1.5}
.chat .a small{display:block;color:var(--slate);font-size:12px;margin-bottom:6px;letter-spacing:.04em;text-transform:uppercase}
.chat .src{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.chat .src span{font-size:12px;color:var(--carbon);background:var(--canvas);border:1px solid var(--hair);border-radius:var(--r-pill);padding:4px 10px}
@media (max-width:900px){
  .story{padding:96px 0 64px}
  .story-head{grid-template-columns:1fr;margin-bottom:56px}
  .story-head .h-lg{grid-column:1}
  .story-grid{grid-template-columns:1fr;gap:32px}
  .story-tabs{position:static;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
  .story-tabs li{border:0;padding:0;flex:none}
  .story-tabs li::after{display:none}
  .story-tabs a{padding:6px 12px;border:1px solid var(--stone);border-radius:var(--r-pill);background:var(--surface)}
  .story-tabs li.on a{background:var(--tint);border-color:var(--accent-border);color:var(--cta)}
  .step{padding-bottom:64px}
  .step-visual.art{grid-template-columns:1fr}
}
@media (max-width:640px){
  .trio,.mini-notes{grid-template-columns:1fr}
  .trio img{max-width:260px;margin:0 auto}
}

/* ---------- ask: the one colour block ---------- */
.ask{background:var(--accent);padding:96px 0}
.ask-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.ask .display{color:var(--ink);max-width:10ch}
.ask .lede{color:var(--ink);margin-top:24px;max-width:34ch}
.ask .chat{max-width:520px;margin-left:auto}
.ask .chat .a{font-size:16px}
@media (max-width:900px){
  .ask{padding:64px 0}
  .ask-grid{grid-template-columns:1fr;gap:40px}
  .ask .chat{margin:0}
}

/* ---------- crowd ---------- */
.crowd{padding:128px 0 32px;text-align:center}
.crowd .h-lg{max-width:22ch;margin:0 auto 48px}
.crowd img{width:100%;height:auto}
@media (max-width:900px){.crowd{padding:96px 0 16px}}

/* ---------- features ---------- */
.features{padding:96px 0 32px}
.features-head{margin-bottom:64px}
.features-head .h-lg{max-width:14ch;margin-bottom:28px}
.feat{padding:48px 0 64px;border-top:1px solid var(--hair)}
.feat-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;margin-bottom:40px}
.feat-row .body{font-size:16px}
.feat-row .btn{margin-top:20px}
.feat-visual{background:var(--canvas);border:1px solid var(--hair);border-radius:var(--r-card);padding:24px;overflow:hidden}
.feat-visual.center{display:grid;place-items:center}
.feat-visual.center img{max-width:520px;width:100%;height:auto}
.shot{border-radius:var(--r-card-lg);overflow:hidden;border:.5px solid var(--stone);box-shadow:var(--shadow-float);background:var(--surface)}
.shot img{width:100%;height:auto}
.devices{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:end}
.device-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.device-list li{display:flex;align-items:center;gap:12px;background:var(--surface);border:.5px solid var(--stone);border-radius:var(--r-card);padding:12px 14px;font-size:14px;color:var(--ink)}
.device-list .ic{width:20px;height:20px;color:var(--slate)}
.device-list small{display:block;color:var(--slate);font-size:13px}
.device-list span:first-of-type{flex:1}
.device-list .btn{height:30px;padding:0 12px;font-size:13px}
.device-list .soon{flex:none;font-size:12px;font-weight:500;color:var(--cta);background:var(--tint);border:1px solid var(--accent-border);border-radius:var(--r-pill);padding:3px 9px}
.exports{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.file{background:var(--surface);border:.5px solid var(--stone);border-radius:var(--r-card-lg);padding:18px 16px;display:grid;gap:10px;font-size:14px;color:var(--ink)}
.file span{display:grid;gap:2px}
.file .ic{width:28px;height:28px;color:var(--accent)}
.file small{color:var(--carbon);font-size:13px}
.file.yellow{background:var(--butter)}
.file.tint{background:var(--tint)}
.file.mint{background:#DDEBDC}
@media (max-width:900px){
  .features{padding:64px 0 16px}
  .feat-row{grid-template-columns:1fr;gap:16px}
  .devices{grid-template-columns:1fr}
  .exports{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- pricing ---------- */
.pricing{padding:96px 0}
.pricing .h-lg{max-width:16ch;margin-bottom:12px}
.pricing .lede{margin-bottom:40px}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:760px}
.plan{background:var(--surface);border:1px solid var(--hair);border-radius:var(--r-card-lg);padding:24px}
.plan-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.plan h3{font-family:var(--sans);font-size:16px;font-weight:600}
.plan .save{font-size:12px;font-weight:500;color:var(--cta);background:var(--tint);border:1px solid var(--accent-border);border-radius:var(--r-pill);padding:3px 9px}
.price{font-family:var(--serif);font-weight:700;font-size:44px;line-height:1;letter-spacing:-.02em;color:var(--ink)}
.price small{font-family:var(--sans);font-size:15px;color:var(--slate);letter-spacing:.01em;margin-left:4px}
.plan .body{margin:14px 0 20px;font-size:15px}
.plan .btn{width:100%;justify-content:center}
.pricing .caption{margin-top:20px}
@media (max-width:640px){.pricing{padding:64px 0}.plans{grid-template-columns:1fr}}

/* ---------- faq ---------- */
.faq{padding:64px 0 128px;border-top:1px solid var(--hair)}
.faq-grid{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:64px;align-items:start}
.faq-art{position:sticky;top:96px}
.faq-art .h-lg{margin-bottom:24px}
.faq-art img{width:100%;height:auto;max-width:360px}
.faq-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--hair)}
.faq-list details{border-bottom:1px solid var(--hair)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;font-family:var(--serif);font-weight:600;font-size:20px;line-height:1.3;color:var(--ink)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary .ic{width:18px;height:18px;color:var(--slate);transition:transform .2s ease;flex:none}
.faq-list details[open] summary .ic{transform:rotate(45deg)}
.faq-list .body{padding:0 0 22px;max-width:60ch}
.faq-list .body a{color:var(--link)}
@media (max-width:900px){
  .faq{padding:48px 0 96px}
  .faq-grid{grid-template-columns:1fr;gap:32px}
  .faq-art{position:static}
  .faq-art img{max-width:240px}
  .faq-list summary{font-size:19px}
}

/* ---------- closing ---------- */
.close{padding:0 0 128px;text-align:center}
.close .h-lg{max-width:18ch;margin:0 auto 12px}
.close .lede{margin:0 auto 32px;text-align:center}
.close-ctas{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@media (max-width:900px){.close{padding-bottom:96px}}

/* Keep the sorting story legible within its own quiet editorial stage. */
.hero-demo{min-width:0;width:100%;justify-self:end}
.demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;color:var(--carbon);font-size:13px}
.demo-heading>span{font-family:var(--serif);font-size:20px;color:var(--ink)}
#motionToggle{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid var(--stone);border-radius:var(--r-pill);background:var(--surface);font-size:12px;flex:none}
#motionToggle:hover{background:var(--tint);border-color:var(--accent-border)}
.motion-symbol{width:13px;text-align:center;font-size:15px}
.hero-explore{display:inline-flex;align-items:center;gap:12px;font-size:14px;color:var(--carbon);margin-top:24px;text-underline-offset:4px}
.hero-explore:hover{text-decoration:underline}
.sorter-orbit{position:absolute;inset:14% 4% 3%;border:1px dashed #cfdfd6;border-radius:50%;transform:rotate(-15deg);z-index:0}
.zaki-wrap{width:43cqi;left:-1%;bottom:1%}
.notecard{box-shadow:0 12px 32px rgba(32,36,31,.09);border:1px solid #E9C25A}
.nc-foot{flex-wrap:wrap}
.nc-by{font-size:10px}
.demo-caption{border-top:1px solid var(--hair);padding-top:16px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.demo-steps{list-style:none;margin:0;padding:0;display:flex;gap:18px;counter-reset:stage;font-size:12px;color:var(--slate)}
.demo-steps li{counter-increment:stage;display:flex;gap:6px;align-items:center}
.demo-steps li::before{content:counter(stage);display:grid;place-items:center;width:21px;height:21px;border:1px solid var(--stone);border-radius:50%;font-size:10px;background:var(--surface)}
.demo-steps li:nth-child(1){animation:stage-one 14s linear infinite}
.demo-steps li:nth-child(2){animation:stage-two 14s linear infinite}
.demo-steps li:nth-child(3){animation:stage-three 14s linear infinite}
@keyframes stage-one{0%,15%,91%,100%{color:var(--cta)}16%,90%{color:var(--slate)}}
@keyframes stage-two{0%,15%,34%,100%{color:var(--slate)}16%,33%{color:var(--cta)}}
@keyframes stage-three{0%,33%,91%,100%{color:var(--slate)}34%,90%{color:var(--cta)}}
.demo-example{font-size:10px;color:var(--slate);white-space:nowrap}
.motion-paused :is(.sorter *,.cast *,.demo-steps li,.marquee-track){animation-play-state:paused!important}
.story-head{margin-bottom:64px;align-items:end}
.story-intro{max-width:32ch}
.story-intro .eyebrow{color:var(--cta);font-size:14px}
.trio figcaption{font-size:16px;font-weight:500}
.trio figcaption small{font-weight:400;line-height:1.45;margin-top:6px}
.trio figure{padding:8px 6px 12px}
.step-visual,.feat-visual{background:transparent}
@media (min-width:901px){.feat:has(.feat-visual.center){display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.feat:has(.feat-visual.center) .feat-row{display:block;margin:0}.feat:has(.feat-visual.center) .feat-row .h-sm{font-size:36px;line-height:1.15;max-width:16ch;margin-bottom:20px}.feat:has(.feat-visual.center) .feat-visual{border:0;padding:0}.feat:has(.feat-visual.center) .feat-visual img{max-height:380px;object-fit:contain}}
@media(max-width:1000px){.hero-demo{max-width:620px;justify-self:center}.hero-copy{max-width:640px}.sorter{max-width:none}.hero-grid{gap:36px}}
@media(max-width:520px){.demo-heading>span{font-size:18px}.demo-heading{margin-bottom:12px;gap:8px}.demo-caption{gap:8px}.demo-example{display:none}.demo-steps{width:100%;justify-content:space-between;gap:8px;font-size:11px}.hero-copy .btn-tint{white-space:normal;height:auto;min-height:36px;font-size:12px;line-height:1.4}.hero-ctas{gap:10px}.hero-ctas .btn-lg{padding:0 18px;font-size:14px}.hero-explore{margin-top:18px}.hero-copy .lede{font-size:18px}.story-intro{max-width:40ch}.trio{gap:24px}.trio figure{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:16px}.trio figcaption{margin:0}.trio img{max-width:110px}.step-visual{padding:16px}}

/* ---------- motion layer ----------
   Timing conventions (30fps character animation):
   entrances 18-22f with cubic-bezier(0,0,0,1) and a ~7% overshoot,
   staggers of 2-4f between siblings, idle floats on cubic-bezier(.33,0,.67,1)
   at 40-55f half-cycles, squash held to 3-5%, pose and colour changes as
   one-frame hard cuts. The hero intro plays once, then the 14s loop runs. */
.hero-demo{--lead:1.4s}
.zaki-wrap,.demo-steps li{animation-delay:var(--lead)}
.notecard{animation-delay:var(--lead);animation-fill-mode:backwards}
.notecard>*,.nc-list li{animation-delay:calc(var(--lead) + var(--i,0) * .16s);animation-fill-mode:backwards}
.scrap{animation:scrap 14s cubic-bezier(.5,0,.2,1) calc(var(--lead) + var(--d)) infinite,
  burst .7s cubic-bezier(0,0,0,1) calc(.5s + var(--d) * .5) both,
  drift calc(1.33s + var(--d) * 2) cubic-bezier(.33,0,.67,1) calc(1.2s + var(--d)) infinite alternate}
/* the notes burst out of zaki, the way the friends leave the phone */
@keyframes burst{
  0%{translate:10cqi -70cqb var(--z,0px);scale:.6;rotate:1 .4 0 40deg;opacity:0}
  55%{opacity:1}
  72%{translate:0 1.2cqb var(--z,0px);scale:1.06;rotate:1 .4 0 -6deg}
  100%{translate:0 0 var(--z,0px);scale:1;rotate:1 .4 0 0deg}}
@keyframes drift{from{translate:0 -.7cqb var(--z,0px);rotate:1 .6 0 -6deg}to{translate:0 .7cqb var(--z,0px);rotate:1 .6 0 6deg}}

/* zaki: pops in once, then holds the 14s loop with three poses */
.zaki-intro{animation:zaki-in .73s cubic-bezier(0,0,.24,1) .15s both;transform-origin:50% 90%}
@keyframes zaki-in{0%{scale:.3;rotate:-30deg;opacity:0}60%{scale:1.07;rotate:4deg;opacity:1}100%{scale:1;rotate:0deg}}
.zaki-squash{animation:pose-squash 14s linear var(--lead) infinite;transform-origin:50% 100%}
.zaki{position:relative;animation:float 2.67s cubic-bezier(.33,0,.67,1) infinite alternate}
@keyframes float{from{transform:translateY(-.9cqb) rotate(-1.5deg)}to{transform:translateY(.9cqb) rotate(1.2deg)}}
.pose{display:block;height:auto}
.pose-sort{position:relative;width:100%}
.pose-pop,.pose-cheer{position:absolute;bottom:0;opacity:0}
.pose-pop{width:120.3%;left:-6.35%}          /* face panel kept the same size and place */
.pose-cheer{width:112.4%;left:-2.45%}
.pose-sort{animation:pose-sort 14s linear var(--lead) infinite}
.pose-pop{animation:pose-pop 14s linear var(--lead) infinite}
.pose-cheer{animation:pose-cheer 14s linear var(--lead) infinite}
@keyframes pose-sort{0%,15.99%{opacity:1}16%,83.99%{opacity:0}84%,100%{opacity:1}}
@keyframes pose-pop{0%,15.99%{opacity:0}16%,31.99%{opacity:1}32%,100%{opacity:0}}
@keyframes pose-cheer{0%,31.99%{opacity:0}32%,83.99%{opacity:1}84%,100%{opacity:0}}
@keyframes pose-squash{0%,16%,32%,84%,100%{scale:1}16.6%,32.6%,84.6%{scale:1.05 .95}17.8%,33.8%,85.8%{scale:.98 1.03}19%,35%,87%{scale:1}}

/* section art: characters pop, scenes settle; both float afterwards */
.motion-js :is(.pop-in,.settle-in,.wave-in):not(.in){opacity:0}  /* hidden only once the script can reveal them */
.pop-in.in{animation:pop .6s cubic-bezier(0,0,0,1) var(--stagger,0s) forwards,idle 1.83s cubic-bezier(.33,0,.67,1) calc(.6s + var(--stagger,0s)) infinite alternate}
.settle-in.in{animation:settle .7s cubic-bezier(0,0,0,1) forwards,idle 2.2s cubic-bezier(.33,0,.67,1) .7s infinite alternate}
@keyframes pop{0%{opacity:0;scale:.3;rotate:8deg}70%{opacity:1;scale:1.07;rotate:-2deg}100%{opacity:1;scale:1;rotate:0deg}}
@keyframes settle{0%{opacity:0;translate:0 24px;scale:.94}70%{opacity:1;scale:1.015}100%{opacity:1;translate:0 0;scale:1}}
@keyframes idle{from{transform:translateY(-3px)}to{transform:translateY(3px)}}
.trio figure:nth-child(2) img{--stagger:.1s}
.trio figure:nth-child(3) img{--stagger:.2s}

/* pricing: zaki rises from behind the yearly card, then bobs */
.plan{position:relative}
.peek{position:absolute;right:28px;bottom:100%;width:96px;height:64px;overflow:hidden;pointer-events:none}
.peek img{display:block;width:100%;height:auto;translate:0 100%}
.peek.in img{animation:rise .6s cubic-bezier(0,0,0,1) .3s forwards,peek-bob 1.83s cubic-bezier(.33,0,.67,1) .9s infinite alternate}
@keyframes rise{0%{translate:0 100%}70%{translate:0 -6%}100%{translate:0 0}}
@keyframes peek-bob{from{translate:0 0}to{translate:0 6%}}

/* closing: zaki hops in and waves twice */
.wave-in{display:block;width:112px;height:auto;margin:0 auto 20px;transform-origin:50% 100%}
.wave-in.in{animation:pop .6s cubic-bezier(0,0,0,1) forwards,wave 1.2s cubic-bezier(.33,0,.67,1) .7s 2,idle 1.83s cubic-bezier(.33,0,.67,1) 3.1s infinite alternate}
@keyframes wave{0%,100%{rotate:0deg}25%{rotate:-6deg}75%{rotate:5deg}}

.motion-paused :is(.zaki-intro,.zaki-squash,.pose){animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) :is(.zaki-intro,.zaki-squash,.pose,.pop-in,.settle-in,.peek img,.wave-in){animation:none!important;opacity:1;translate:none;scale:none;rotate:none}
  body:not(.motion-enabled) :is(.pose-sort,.pose-pop){opacity:0}
}
@media (max-width:640px){.peek{width:80px;height:53px;right:20px}.wave-in{width:96px}}

/* ---------- motion layer, part two ---------- */
.demo-heading{justify-content:flex-end}
.hero-demo.offscreen :is(.sorter *,.cast *,.demo-steps li){animation-play-state:paused!important}

/* grouped cards land one after another, 90ms apart */
.motion-js .stagger:not(.in)>*{opacity:0}
.stagger.in>*{animation:land .55s cubic-bezier(0,0,0,1) backwards}
.stagger.in>:nth-child(2){animation-delay:.09s}
.stagger.in>:nth-child(3){animation-delay:.18s}
.stagger.in>:nth-child(4){animation-delay:.27s}
@keyframes land{0%{opacity:0;translate:0 18px;scale:.96}70%{opacity:1;scale:1.015}100%{opacity:1;translate:0 0;scale:1}}

/* ask block: answer rises after the question is typed, sources pop in turn */
.chat.pending .a,.chat.pending .src span{opacity:0}
.chat.played .a{animation:land .5s cubic-bezier(0,0,0,1) backwards}
.chat.played .src span{animation:pop .45s cubic-bezier(0,0,0,1) backwards}
.chat.played .src span:nth-child(1){animation-delay:.35s}
.chat.played .src span:nth-child(2){animation-delay:.45s}
.chat.played .src span:nth-child(3){animation-delay:.55s}
.q-text.typing::after{content:"";display:inline-block;width:1.5px;height:1em;margin-left:2px;vertical-align:-2px;background:var(--ink);animation:caret .7s steps(1) infinite}
@keyframes caret{50%{opacity:0}}

/* paused or reduced motion: entrances show their final state instead of freezing hidden */
.motion-paused :is(.pop-in,.settle-in,.wave-in,.stagger>*){animation:none!important;opacity:1!important}
.motion-paused .peek img{animation:none!important;translate:0 0}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) :is(.stagger>*,.chat .a,.chat .src span){animation:none!important;opacity:1!important}
}

/* ---------- clean hero, flags, zaki's yellow ---------- */
.hero{padding:40px 0 64px}
.hero-demo{position:relative}
#motionToggle{min-height:32px;padding:0 10px;font-size:12px}
.demo-heading{display:none}
.sorter-orbit{display:none}
/* one flat shape behind the stage, like a product on a single colour field */
.sorter-blob{position:absolute;inset:6% 0 4%;width:100%;height:auto;z-index:0;fill:var(--tint);transform-origin:50% 50%;animation:breathe 8s cubic-bezier(.33,0,.67,1) infinite alternate}
@keyframes breathe{from{transform:scale(.985) rotate(-1deg)}to{transform:scale(1.015) rotate(1deg)}}
/* the tidy card is the yellow of the card zaki holds up */
.nc-tags span{background:#FDEBB3}
.nc-cat{background:#D3E7D7}
/* checklist ticks itself at the cheer beat, two frames apart */
.nc-box{position:relative}
.nc-box::after{content:"";position:absolute;left:3px;top:0;width:5px;height:9px;border:solid #1F4630;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transform-origin:60% 60%}
.nc-list li .nc-box::after{animation:tick 14s linear var(--lead) infinite;animation-delay:calc(var(--lead) + (var(--i) - 4) * .067s)}
@keyframes tick{0%,37.9%{transform:rotate(45deg) scale(0)}38.6%{transform:rotate(45deg) scale(1.3)}39.5%,76%{transform:rotate(45deg) scale(1)}76.1%,100%{transform:rotate(45deg) scale(0)}}
/* sparks around zaki on the cheer cut: hard in, soft out */
.hero-spk{position:absolute;z-index:2;opacity:0;fill:var(--cta);animation:hero-spk 14s linear var(--lead) infinite}
.hero-spk.s1{left:8%;top:44%;width:22px;height:22px}
.hero-spk.s2{left:44%;top:40%;width:16px;height:16px;animation-delay:calc(var(--lead) + .1s);fill:#E9A23B}
.hero-spk.s3{left:2%;top:66%;width:14px;height:14px;animation-delay:calc(var(--lead) + .2s)}
@keyframes hero-spk{0%,32.9%{opacity:0;transform:scale(.3)}33%{opacity:1;transform:scale(1.2) rotate(0deg)}36%{opacity:1;transform:scale(1) rotate(30deg)}41%,100%{opacity:0;transform:scale(.4) rotate(60deg)}}
.motion-paused :is(.sorter-blob,.hero-spk,.nc-box::after){animation-play-state:paused!important}
body:not(.motion-enabled) :is(.sorter-blob,.hero-spk,.nc-box::after){animation:none}
body:not(.motion-enabled) .nc-box::after{transform:rotate(45deg) scale(1)}
body:not(.motion-enabled) .hero-spk{opacity:0}
/* story head: one message, stacked */
.story-head{grid-template-columns:1fr;gap:16px;max-width:60ch}
.story-head .h-lg{grid-column:1}
/* languages band: flag beside each name, on the page's own surface */
.band{background:var(--canvas);color:var(--ink);border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);padding:16px 0}
.band-label{color:var(--slate)}
.marquee-track{font-family:var(--sans);font-size:15px;font-weight:500;gap:24px;animation-duration:90s}
.marquee-track span{gap:24px}
.marquee-track span::after{display:none}
.flag{width:36px;height:27px;border-radius:4px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(32,36,31,.12);margin-right:-14px;flex:none}
@media (max-width:1000px){.hero{padding:32px 0 48px}}

/* ---------- depth ---------- */
.sorter{perspective:1100px;perspective-origin:50% 40%}
.scrap.slip{--z:-40px}.scrap.lime{--z:30px}.scrap.pink{--z:-20px}.scrap.memo{--z:50px}.scrap.aqua{--z:10px}.scrap.chat{--z:60px}.scrap.canary{--z:-10px}
.notecard{transform-origin:20% 90%;backface-visibility:hidden}

/* desktop: the hero and the languages band share the first screen, so the
   flags show without scrolling. The stage is sized from the viewport height
   (nav 56 + top pad 32 + caption ~66 + bottom pad 24 + band 61 + margin). */
@media (min-width:1001px){
  .hero{padding:32px 0 24px}
  .sorter,.cast{max-width:min(620px, calc(100dvh - 250px));min-width:380px}
  .hero-demo{max-width:min(620px, calc(100dvh - 250px));min-width:380px}
}

/* phones and tablets: the stacked hero pushes the languages band below the
   first screen, so a compact flag row sits under the buttons instead */
.hero-langs{display:none}
@media (max-width:1000px){
  .hero-langs{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:14px;color:var(--carbon);white-space:nowrap}
  .flag-stack{display:flex;gap:4px;flex:none}
  .flag-stack .flag{width:26px;height:20px;margin:0;border-radius:4px}
  .band{display:none}
}

/* ================================================================
   The cast: zaki and eight kinds of notes burst out of the phone,
   float on their own periods, and every seven seconds a messy note
   drops in and is tidied away. Entrances ride a spring curve.
   ================================================================ */
.cast{position:relative;width:100%;max-width:620px;aspect-ratio:1;justify-self:end;container-type:size;isolation:isolate;perspective:1100px;perspective-origin:50% 40%;transform-style:preserve-3d;transform:rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));transition:transform .32s cubic-bezier(.2,.7,.2,1);will-change:transform;--beat:7s;--beat-delay:4.66s}
.cast-phone{position:absolute;left:38cqi;top:60cqb;width:24cqi;height:34cqb;border-radius:4cqi;background:var(--ink);padding:1.2cqi;z-index:2;transform-origin:50% 100%;animation:phone-in .7s var(--spring) .1s both,phone-idle 3.1s cubic-bezier(.33,0,.67,1) 1s infinite alternate}
.cast-screen{display:grid;place-items:center;width:100%;height:100%;border-radius:3cqi;background:var(--tint)}
.cast-screen img{width:38%;height:auto;border-radius:18%}
@keyframes phone-in{from{scale:.4;rotate:-14deg;opacity:0}to{scale:1;rotate:0deg;opacity:1}}
@keyframes phone-idle{from{rotate:-1.2deg}to{rotate:1.2deg}}

.cc{position:absolute;left:var(--x);top:var(--y);width:28cqi;z-index:3;background:var(--surface);border:1px solid var(--hair);border-radius:12px;padding:1.6cqi 2cqi 1.6cqi 2.6cqi;display:grid;gap:.5cqi;box-shadow:0 10px 28px rgba(32,36,31,.08);font-size:2.2cqi;line-height:1.25;color:var(--ink);
  animation:cc-burst .8s var(--spring) calc(.35s + var(--i) * .07s) both,cc-float calc(1.5s + var(--i) * .21s) cubic-bezier(.33,0,.67,1) calc(1.15s + var(--i) * .07s) infinite alternate}
.cc::before{content:"";position:absolute;left:0;top:16%;bottom:16%;width:3px;border-radius:0 2px 2px 0;background:var(--stripe,var(--accent))}
.cc-h{display:flex;align-items:center;gap:.9cqi;font-weight:700}
.cc-h .ic{width:2.6cqi;height:2.6cqi;color:var(--cta);flex:none}
.cc small{color:var(--slate);font-size:1.9cqi;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-todo{--stripe:#9BCB3E}.c-sched{--stripe:#62B9E0}.c-mail{--stripe:#B49BF2}.c-cards{--stripe:#E98A6C}.c-idea{--stripe:#F2C94C}.c-voice{--stripe:#96DCC8}.c-remind{--stripe:#F0B84B}.c-lock{--stripe:#20241F}
@keyframes cc-burst{from{transform:translate(calc(50cqi - var(--x) - 14cqi),calc(76cqb - var(--y))) rotate(-40deg) scale(0);opacity:0}30%{opacity:1}to{transform:rotate(var(--r)) scale(1);opacity:1}}
@keyframes cc-float{from{translate:0 -.8cqb;rotate:1 .5 0 -5deg}to{translate:0 .8cqb;rotate:1 .5 0 5deg}}
.c-remind{animation:cc-burst .8s var(--spring) calc(.35s + var(--i) * .07s) both,cc-float calc(1.5s + var(--i) * .21s) cubic-bezier(.33,0,.67,1) calc(1.15s + var(--i) * .07s) infinite alternate,cc-bump var(--beat) linear var(--beat-delay) infinite}
@keyframes cc-bump{0%,52%{scale:1}54%{scale:1.14}58%{scale:.97}62%,100%{scale:1}}

.cast-zaki{position:absolute;left:32cqi;top:34cqb;width:36cqi;z-index:4;transform-origin:50% 100%;animation:zk-burst .85s var(--spring) .2s both,float 2.67s cubic-bezier(.33,0,.67,1) 1.1s infinite alternate}
@keyframes zk-burst{from{translate:0 30cqb;scale:.2;opacity:0}to{translate:0 0;scale:1;opacity:1}}
.cz{display:block;width:100%;height:auto}
.cz-present{position:relative;animation:cz-present var(--beat) linear var(--beat-delay) infinite}
.cz-pop{position:absolute;left:-6%;bottom:0;width:112%;opacity:0;animation:cz-pop var(--beat) linear var(--beat-delay) infinite}
@keyframes cz-pop{0%,51.9%{opacity:0}52%,63.9%{opacity:1}64%,100%{opacity:0}}
@keyframes cz-present{0%,51.9%{opacity:1}52%,63.9%{opacity:0}64%,100%{opacity:1}}

.coin{position:absolute;left:49cqi;top:60cqb;width:2.4cqi;height:2.4cqi;border-radius:50%;background:var(--accent);z-index:3;opacity:0;animation:coin var(--beat) linear calc(1.3s + var(--i) * .05s) infinite}
.coin:nth-child(odd){background:#F2C94C}
@keyframes coin{0%{opacity:1;transform:translate(0,0) scale(0)}9%{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1.15);animation-timing-function:cubic-bezier(.33,0,.67,1)}22%{opacity:0;transform:translate(var(--dx),calc(var(--dy) - 8cqb)) scale(.6)}100%{opacity:0;transform:translate(var(--dx),calc(var(--dy) - 8cqb)) scale(.6)}}

.drop-note{position:absolute;left:36cqi;top:-20cqb;width:26cqi;z-index:5;opacity:0;rotate:-8deg;animation:drop-in var(--beat) linear var(--beat-delay) infinite}
@keyframes drop-in{0%,38%{opacity:0;transform:translateY(0) rotate(0)}40%{opacity:1;transform:translateY(2cqb) rotate(0);animation-timing-function:cubic-bezier(.59,0,.94,1)}52%{opacity:1;transform:translateY(52cqb) rotate(18deg)}52.1%,100%{opacity:0;transform:translateY(52cqb)}}

.cast .hero-spk{animation:cast-spk var(--beat) linear var(--beat-delay) infinite}
.cast .hero-spk.s1{left:30cqi;top:26cqb}.cast .hero-spk.s2{left:66cqi;top:30cqb;animation-delay:calc(var(--beat-delay) + .08s)}.cast .hero-spk.s3{left:28cqi;top:58cqb;animation-delay:calc(var(--beat-delay) + .16s)}
@keyframes cast-spk{0%,51.9%{opacity:0;transform:scale(.3)}52%{opacity:1;transform:scale(1.2)}56%{opacity:1;transform:scale(1) rotate(30deg)}62%,100%{opacity:0;transform:scale(.4) rotate(60deg)}}
.demo-note{font-size:13px;color:var(--slate)}

.motion-paused .cast{transform:none;transition:none}
.motion-paused .cast *,.hero-demo.offscreen .cast *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.cast,.stage{transform:none!important;transition:none!important;will-change:auto}}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) .cast *{animation:none!important}
  body:not(.motion-enabled) :is(.cast-phone,.cast-zaki,.cc){opacity:1;translate:none;scale:none}
  body:not(.motion-enabled) .cc{transform:rotate(var(--r))}
  body:not(.motion-enabled) :is(.cz-pop,.drop-note,.coin,.cast .hero-spk){opacity:0}
}

/* ================================================================
   One feature at a time: alternating rows, each with its own scene
   that enters once in view and then loops.
   ================================================================ */
.rows{padding:24px 0 0}
.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;min-height:530px;padding:40px 0}
.row:nth-child(even) .row-text{order:2;justify-self:end}
.row-text{max-width:460px}
.row-text h2{font-size:clamp(32px,3.75vw,48px);line-height:1.08;color:var(--cta);margin:0 0 18px}
.row-text p{font-size:17px;line-height:24px;color:var(--slate);margin:0}

.stage{position:relative;width:100%;max-width:520px;aspect-ratio:1;justify-self:center;container-type:size;isolation:isolate;perspective:1000px;transform-style:preserve-3d;transform:rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));transition:transform .32s cubic-bezier(.2,.7,.2,1);will-change:transform}
.stage .art{position:absolute;inset:6%;width:88%;height:88%;object-fit:contain}
.motion-js .stage:not(.in) .art{opacity:0}
.stage.in .art{animation:settle .7s var(--spring) both}
.stage .spk{position:absolute;width:4cqi;height:4cqi;opacity:0;fill:var(--cta)}
.stage.in .st1{animation:spk 2.4s cubic-bezier(.33,0,.67,1) .6s infinite}
.stage.in .st2{animation:spk 1.9s cubic-bezier(.33,0,.67,1) 1.3s infinite;fill:#F2C94C}
.stage.offscreen *{animation-play-state:paused!important}
.motion-paused .stage{transform:none;transition:none}
.motion-paused .stage *{animation-play-state:paused!important}

.chip{position:absolute;display:inline-flex;align-items:center;gap:1.4cqi;padding:1.6cqi 2.4cqi;border-radius:999px;background:var(--surface);border:1px solid var(--hair);box-shadow:0 8px 24px rgba(32,36,31,.1);font-size:2.6cqi;font-weight:600;color:var(--ink);white-space:nowrap;opacity:0;z-index:2}
.chip .ic{width:3cqi;height:3cqi;color:var(--cta);flex:none}

/* capture: three thoughts rise out of the phone in turn */
.s-capture .chip{left:54cqi;top:44cqb}
.s-capture .ch2{left:48cqi}.s-capture .ch3{left:58cqi}
.s-capture.in .chip{animation:rise-chip 6s cubic-bezier(.33,0,.67,1) infinite}
.s-capture.in .ch2{animation-delay:2s}.s-capture.in .ch3{animation-delay:4s}
.s-capture .st1{left:70cqi;top:30cqb}.s-capture .st2{left:14cqi;top:22cqb}
@keyframes rise-chip{0%{opacity:0;transform:translateY(4cqb) scale(.6)}6%{opacity:1;transform:translateY(0) scale(1.06)}10%{transform:translateY(-1cqb) scale(1)}26%{opacity:1;transform:translateY(-14cqb)}33%,100%{opacity:0;transform:translateY(-18cqb) scale(.9)}}

/* sort: the eight formats, four shown in turn */
.s-sort .fm{left:56cqi;top:17cqb}  /* sits on the art's top edge (the formats art fills the middle half) */
.s-sort.in .fm{animation:cycle 6s var(--spring) infinite}
.s-sort.in .fm2{animation-delay:1.5s}.s-sort.in .fm3{animation-delay:3s}.s-sort.in .fm4{animation-delay:4.5s}
.s-sort .st1{left:46cqi;top:20cqb}
@keyframes cycle{0%{opacity:0;scale:.5;rotate:-6deg}5%{opacity:1;scale:1;rotate:0deg}20%{opacity:1;scale:1}24%,100%{opacity:0;scale:.8}}

/* ask: the typed question, with zaki peeking over the card */
.s-ask{aspect-ratio:auto;container-type:inline-size;display:grid;align-items:end;padding-top:84px}
.s-ask .chat{width:100%;max-width:520px;margin:0}
.ask-peek{position:absolute;right:8%;top:0;width:150px;height:auto;opacity:0}
.s-ask.in .ask-peek{animation:pop .6s var(--spring) .25s forwards,idle 1.83s cubic-bezier(.33,0,.67,1) .9s infinite alternate}

/* privacy: the number is starred out digit by digit, then locked */
.slipchip{position:absolute;left:6cqi;top:6cqb;display:inline-flex;align-items:center;gap:1.4cqi;padding:1.8cqi 2.4cqi;border-radius:10px;background:#F3F1E8;font-family:ui-monospace,Menlo,monospace;font-size:2.4cqi;color:var(--carbon);box-shadow:0 8px 24px rgba(32,36,31,.1);opacity:0;z-index:2}
.s-privacy.in .slipchip{animation:pop .6s var(--spring) .15s forwards}
.mask{display:inline-flex;gap:.2cqi;margin-left:.6cqi;color:var(--ink);font-weight:600}
.mask i{position:relative;font-style:normal}
.mask i::after{content:"\2022";position:absolute;inset:0;background:#F3F1E8;color:var(--cta);opacity:0;text-align:center}
.s-privacy.in .mask i::after{animation:maskd 6s linear calc(1s + var(--k) * .12s) infinite}
@keyframes maskd{0%,14%{opacity:0}15%,78%{opacity:1}79%,100%{opacity:0}}
.lockic{width:3cqi;height:3cqi;color:var(--cta);opacity:.35;flex:none}
.s-privacy.in .lockic{animation:lockpop 6s linear 1s infinite}
@keyframes lockpop{0%,34%{opacity:.35;scale:1}35%{opacity:1;scale:1.45}41%,78%{opacity:1;scale:1}79%,100%{opacity:.35;scale:1}}
.s-privacy .st1{left:14cqi;top:28cqb}

/* export: the four files land in turn, zaki presents them */
.s-export{aspect-ratio:auto;container-type:inline-size;display:grid;padding:24px 0 48px}
.s-export .exports{grid-template-columns:repeat(2,minmax(0,1fr))}
.export-zaki{position:absolute;right:-4%;bottom:-6%;width:34%;height:auto;opacity:0;z-index:2}
.s-export.in .export-zaki{animation:pop .7s var(--spring) .45s forwards,idle 1.83s cubic-bezier(.33,0,.67,1) 1.2s infinite alternate}

/* ================================================================
   The apps: a phone with the real app, zaki beside it, notes floating
   like the props around the reference's phone scene.
   ================================================================ */
.appband{background:var(--tint);padding:96px 0;overflow:hidden}
.appband-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.appband h2{font-size:clamp(32px,3.75vw,48px);line-height:1.08;color:var(--ink);margin:0 0 20px}
.appband p{font-size:17px;line-height:1.55;color:var(--carbon);max-width:52ch;margin:0 0 28px}
/* the two store buttons sit side by side at one width, in the store-badge two-line form */
.badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:380px}
.badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 14px;border-radius:var(--r-pill);background:var(--ink);color:#fff;text-decoration:none;white-space:nowrap;transition:transform .45s var(--spring)}
.badge:is(a,button){cursor:pointer}
.badge:is(a,button):hover{translate:0 -1px;box-shadow:0 8px 20px rgba(14,19,32,.18)}
.badge:is(a,button):active{transform:scale(.96);transition-duration:.1s}
.badge .ic{width:22px;height:22px;flex:none}
.badge span{display:grid;line-height:1.15;font-weight:800;font-size:15px}
.badge small{font-size:11px;font-weight:500;opacity:.8}
.badge.soon{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--stone);cursor:default}

.crowd{padding:96px 0 32px}
.close .h-lg{font-size:clamp(32px,3.75vw,48px)}

@media (max-width:900px){
  .row{grid-template-columns:1fr;min-height:0;padding:36px 0;gap:24px}
  .row:nth-child(even) .row-text{order:0;justify-self:start}
  .row-text h2{font-size:34px}
  .stage{max-width:440px}
  .s-ask{padding-top:72px}
  .appband{padding:64px 0}
  .appband-in{grid-template-columns:1fr;gap:32px}
  .appband h2{font-size:40px}
}

/* Fresh Zaki thought studio: capture, gather, reveal, hold. */
.thought-studio{position:relative;width:100%;aspect-ratio:1;container-type:size;isolation:isolate;--cycle:14s}
.studio-halo{position:absolute;inset:9% 0 8%;border-radius:50%;background:radial-gradient(ellipse at 55% 45%,#e3f7ee,#f4f8ee 65%,#fff 72%)}
.studio-orbit{position:absolute;inset:14% 5%;border:1px dashed #c4ded2;border-radius:50%;transform:rotate(-24deg)}
.studio-zaki{position:absolute;left:0;top:20%;width:65%;z-index:3;transform-origin:50% 85%;animation:studio-character var(--cycle) ease-in-out infinite}
.studio-zaki img{width:100%;height:auto;filter:drop-shadow(0 18px 16px #1c51451a)}
.studio-input{position:absolute;z-index:4;width:43%;padding:3.1cqi;border-radius:16px;font-size:clamp(12px,2.9cqi,17px);line-height:1.4;box-shadow:0 16px 35px #173f3514;animation:studio-gather var(--cycle) cubic-bezier(.4,0,.2,1) infinite}
.studio-input small{display:block;font-size:1.65cqi;font-weight:700;letter-spacing:.07em;margin-bottom:1.5cqi;opacity:.65}
.si-one{left:4%;top:7%;background:#fff;border:1px solid #dbe5de;--angle:-7deg;--dx:18cqi;--dy:28cqi}
.si-two{right:0;top:20%;background:var(--note-yellow);--angle:8deg;--dx:-28cqi;--dy:15cqi}
.si-three{right:3%;bottom:17%;background:var(--note-lilac);--angle:-5deg;--dx:-25cqi;--dy:-18cqi}
.studio-wave{display:block;color:var(--cta);letter-spacing:.28em;margin-top:1cqi}
.studio-note{position:absolute;right:1%;top:15%;width:56%;padding:5cqi 4cqi 3cqi;background:#fffef9;border:1px solid #e7e5d9;border-radius:20px;box-shadow:0 25px 65px #204a3820,6px 7px 0 #e6eddf;z-index:4;animation:studio-reveal var(--cycle) cubic-bezier(.2,.8,.2,1) infinite;transform-origin:50% 90%}
.studio-note-label{font-size:1.6cqi;letter-spacing:.06em;font-weight:700;color:var(--cta)}
.studio-note h3{font-size:4.3cqi;line-height:1.1;margin:2.5cqi 0}
.studio-note p{font-size:2.5cqi;line-height:1.5;color:var(--slate);margin:0 0 3cqi}
.studio-note ul{list-style:none;padding:0;margin:0;display:grid;gap:2.4cqi;font-size:2.35cqi}
.studio-note li{display:flex;gap:1.5cqi;align-items:center}
.studio-note li>span{display:grid;place-items:center;border-radius:50%;background:#def2df;color:#235c43;width:3.5cqi;height:3.5cqi;flex:none}
.studio-tags{display:flex;gap:1cqi;margin:4cqi 0;font-size:1.9cqi;color:var(--cta)}
.studio-tags span{padding:.6cqi 1.4cqi;border-radius:999px;background:#eaf3e9}
.studio-done{border-top:1px solid #e6e8df;padding-top:2cqi;color:var(--cta);font-size:2cqi}
.studio-story{position:absolute;bottom:4%;left:0;right:0;text-align:center;font-size:clamp(15px,3.2cqi,20px);font-weight:700;color:var(--cta)}
.studio-story span{position:absolute;left:0;right:0;animation:studio-caption var(--cycle) linear infinite}
.story-sort{animation-name:studio-caption-sort!important}.story-ready{animation-name:studio-caption-ready!important}
@keyframes studio-gather{0%,28%{opacity:1;transform:translateY(0) rotate(var(--angle)) scale(1)}36%,82%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(0deg) scale(.15)}82.1%{opacity:0;transform:translateY(15px) rotate(var(--angle)) scale(.9)}88%,100%{opacity:1;transform:translateY(0) rotate(var(--angle)) scale(1)}}
@keyframes studio-character{0%,29%{transform:translate(4%,0) rotate(-3deg)}35%{transform:translate(4%,-4%) rotate(3deg) scale(1.05)}43%,87%{transform:translate(-10%,10%) rotate(-5deg) scale(.84)}94%,100%{transform:translate(4%,0) rotate(-3deg)}}
@keyframes studio-reveal{0%,33%{opacity:0;transform:translateY(35px) rotate(8deg) scale(.7)}40%,84%{opacity:1;transform:translateY(0) rotate(-3deg) scale(1)}91%,100%{opacity:0;transform:translateY(-15px) rotate(-3deg) scale(.96)}}
@keyframes studio-caption{0%,27%{opacity:1}30%,87%{opacity:0}90%,100%{opacity:1}}
@keyframes studio-caption-sort{0%,28%{opacity:0}31%,37%{opacity:1}40%,100%{opacity:0}}
@keyframes studio-caption-ready{0%,39%{opacity:0}42%,84%{opacity:1}89%,100%{opacity:0}}
.motion-paused .thought-studio *,.hero-demo.offscreen .thought-studio *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
body:not(.motion-enabled) .thought-studio *{animation:none!important}
body:not(.motion-enabled) .studio-input,body:not(.motion-enabled) .story-capture,body:not(.motion-enabled) .story-sort{opacity:0}
body:not(.motion-enabled) .studio-note{opacity:1;transform:rotate(-3deg)}
body:not(.motion-enabled) .studio-zaki{transform:translate(-10%,10%) rotate(-5deg) scale(.84)}
}
@media(max-width:520px){.thought-studio{aspect-ratio:.94}.studio-input{border-radius:12px}.studio-note{border-radius:14px}}

/* A complete final composition remains visible when animations are unavailable. */
.studio-note{transform:rotate(-3deg)}
.studio-zaki{transform:translate(-10%,10%) rotate(-5deg) scale(.84)}

/* ---------- colour pass on the thought studio ----------
   flat colour fields, the app's own note colours on the inputs, a butter
   plan card, confetti on the reveal; zaki hops between two 3D poses whose
   face panels are the same size */
.studio-halo{background:#DDF4EA}
.studio-halo::after{content:"";position:absolute;inset:16% 14%;border-radius:50%;background:#C6EEDD}
.studio-orbit{border-color:#9FD8C3}
.studio-input{border:0;color:var(--ink);box-shadow:0 14px 30px rgba(32,36,31,.12)}
.studio-input small{opacity:.72;letter-spacing:0;font-size:1.9cqi;margin-bottom:1.2cqi}
.si-one{background:#DBEFA5}
.si-two{background:#FCD874}
.si-three{background:#D8CFFA}
.si-four{left:6%;bottom:9%;width:33%;background:var(--note-sky);--angle:6deg;--dx:22cqi;--dy:-22cqi;animation-delay:.35s}
.si-five{right:5%;top:3%;width:29%;background:var(--note-pink);--angle:-9deg;--dx:-20cqi;--dy:24cqi;animation-delay:.6s}
.studio-wave{display:flex;align-items:flex-end;gap:.7cqi;height:3.2cqi;margin-top:1.6cqi}
.studio-wave i{display:block;width:.9cqi;height:var(--h);border-radius:1cqi;background:var(--cta);transform-origin:50% 100%;animation:wave-bar 1.1s cubic-bezier(.33,0,.67,1) calc(var(--d,0) * -1s) infinite alternate}
@keyframes wave-bar{from{transform:scaleY(.35)}to{transform:scaleY(1.1)}}
.studio-note{background:#FFF3BF;border-color:#F2CC4D;box-shadow:0 25px 65px rgba(32,36,31,.14),6px 7px 0 #F2C94C}
.studio-note h3{color:var(--ink)}
.studio-note li .ic{width:3.6cqi;height:3.6cqi;padding:.7cqi;border-radius:50%;background:#C6EEDD;color:#1F4630;flex:none}
.studio-tags span:nth-child(1){background:#DBEFA5;color:#2F5847}
.studio-tags span:nth-child(2){background:#D8CFFA;color:#4B3F8F}
.studio-tags span:nth-child(3){background:#A8DEE3;color:#1F5A63}
.studio-story{color:var(--cta)}

.z3{display:block;width:100%;height:auto}
.z3-jump{position:absolute;left:1.2%;top:0;width:97.6%;opacity:0;animation:z3-jump var(--cycle) linear infinite}
.z3-open{position:relative;animation:z3-open var(--cycle) linear infinite}
@keyframes z3-open{0%,29.9%{opacity:1}30%,41.9%{opacity:0}42%,100%{opacity:1}}
@keyframes z3-jump{0%,29.9%{opacity:0}30%,41.9%{opacity:1}42%,100%{opacity:0}}
@keyframes studio-character{
  0%,27%{transform:translate(4%,0) rotate(-3deg)}
  29.5%{transform:translate(4%,1.5%) rotate(-2deg) scale(1.06,.94)}
  34%{transform:translate(4%,-10%) rotate(3deg) scale(.98,1.04)}
  38%{transform:translate(2%,1%) rotate(0deg) scale(1.05,.95)}
  43%,84%{transform:translate(-10%,10%) rotate(-5deg) scale(.84)}
  91%,100%{transform:translate(4%,0) rotate(-3deg)}}

.studio-coin{position:absolute;left:32%;top:50%;width:2.6cqi;height:2.6cqi;border-radius:50%;opacity:0;z-index:5;animation:studio-coin var(--cycle) linear calc(var(--i) * .04s) infinite}
.studio-coin:nth-child(5n+1){background:#9BCB3E}.studio-coin:nth-child(5n+2){background:#E98A6C}.studio-coin:nth-child(5n+3){background:#B49BF2}.studio-coin:nth-child(5n+4){background:#F2C94C}.studio-coin:nth-child(5n+5){background:#62B9E0}
@keyframes studio-coin{0%,38.9%{opacity:0;transform:scale(0)}39%{opacity:1;transform:translate(0,0) scale(0)}43%{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1.15);animation-timing-function:cubic-bezier(.33,0,.67,1)}49%,100%{opacity:0;transform:translate(var(--dx),calc(var(--dy) - 8cqi)) scale(.6)}}
.studio-spk{position:absolute;width:4.5cqi;height:4.5cqi;opacity:0;z-index:5;fill:#E98A6C;animation:studio-spk var(--cycle) linear infinite}
.studio-spk.k1{left:14%;top:30%}.studio-spk.k2{left:58%;top:26%;fill:#F2C94C;animation-delay:.1s}.studio-spk.k3{left:20%;top:62%;fill:#B49BF2;animation-delay:.2s}
@keyframes studio-spk{0%,29.9%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1.2)}34%{opacity:1;transform:scale(1) rotate(30deg)}40%,100%{opacity:0;transform:scale(.4) rotate(60deg)}}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) .z3-open{opacity:1}
  body:not(.motion-enabled) :is(.z3-jump,.studio-coin,.studio-spk){opacity:0}
}

.hero{overflow-x:clip}  /* the paint may bleed past the stage, never past the page */

/* ---------- halftone behind the hero ----------
   a print-screen dot field in the note colours: dots shrink toward a soft
   paint-like edge. It sits between the copy and the studio, leaning toward
   the headline, kept faint enough that the text stays fully legible. On the
   sort beat of the studio cycle the yellow field gives one faint pulse. */
.hero{position:relative}
.hero-grid{position:relative;z-index:1}
.halftone{position:absolute;pointer-events:none;z-index:0;overflow:visible}
.ht-butter{left:calc(50% - 560px);top:-40px;width:820px;fill:#F2C94C;opacity:.2;transform-origin:62% 55%;animation:ht-pulse 14s linear infinite}
.ht-lav{left:calc(50% - 40px);bottom:-30px;width:320px;fill:#B49BF2;opacity:.18}
@keyframes ht-pulse{0%,36%{opacity:.2;scale:1}40%{opacity:.32;scale:1.025}48%,100%{opacity:.2;scale:1}}
.motion-paused .halftone,.hero-demo.offscreen ~ .halftone{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .halftone{animation:none}}
@media (max-width:1000px){
  .ht-butter{left:-30%;top:-20px;width:150%;max-width:none}
  .ht-lav{left:auto;right:-20%;bottom:auto;top:46%;width:70%}
}

/* hero: zaki stands in front of the arriving notes; the plan card still lands in front of him */
.studio-input{z-index:2}
.si-one{top:4%}

/* ---------- review pass: rhythm ----------
   one vertical rhythm for the sections below the rows (112px desktop),
   rows share one height, and the pricing headline sits on two lines */
.row{min-height:600px}
.crowd{padding:112px 0 40px}
.pricing{padding:112px 0}
.pricing .h-lg{max-width:22ch}
.faq{padding:112px 0}
.close{padding:40px 0 128px}
@media (max-width:900px){.row{min-height:0}.crowd{padding:80px 0 24px}.pricing,.faq{padding:80px 0}.close{padding:24px 0 96px}}

/* ---------- the sorted card, in the original zakar card's order ----------
   meta (category, time, source), title, tags, when, a checklist section, an
   ideas section, the masked-and-locked line, then the reminder and "sorted by
   zaki". Same butter card, type and colours as the rest of the new site; the
   rows land one after another once the card has sprung out of zaki. */
.studio-note{top:7%;right:0;width:61%;padding:3.4cqi 3.6cqi 2.8cqi;display:grid;gap:1.15cqi;font-size:2.2cqi;line-height:1.3;color:var(--ink)}
.studio-note>*{margin:0}
.sn-meta{display:flex;align-items:center;gap:1.3cqi;flex-wrap:wrap;font-size:1.85cqi;color:#5c6660}
.sn-cat{display:inline-flex;align-items:center;height:3.2cqi;padding:0 1.4cqi;border-radius:999px;background:#C6EEDD;color:#1F4630;font-weight:700}
.sn-src{margin-left:auto;display:inline-flex;align-items:center;gap:.6cqi}
.sn-src .ic,.sn-when .ic{width:2.2cqi;height:2.2cqi;flex:none}
.studio-note h3{font-size:3.6cqi;line-height:1.12;letter-spacing:-.01em;margin:.4cqi 0 0}
.studio-note .studio-tags{margin:0;font-size:1.8cqi}
.sn-when{display:flex;align-items:center;gap:1cqi;font-weight:700;color:var(--ink);font-size:2.15cqi}
.sn-when .ic{color:#1F4630}
.sn-h{font-weight:700;font-size:2.25cqi;margin-top:.6cqi!important}
.studio-note .sn-list{display:grid;gap:.9cqi;font-size:2.1cqi}
.studio-note .sn-list li{display:flex;align-items:center;gap:1.3cqi;color:#36433B}
.sn-box{width:2.5cqi;height:2.5cqi;border-radius:50%;border:1.5px solid #8f8a6c;flex:none}
.sn-row{font-size:2.1cqi;color:#36433B}
.sn-lock{display:flex;gap:1.3cqi;align-items:flex-start;padding:1.3cqi 1.6cqi;border-radius:10px;background:rgba(255,255,255,.62)}
.sn-lock .ic{width:2.5cqi;height:2.5cqi;color:#1F4630;flex:none;margin-top:.2cqi}
.sn-lock b{display:block;font-size:2cqi;font-weight:700}
.sn-lock small{display:block;font-size:1.75cqi;color:#5c6660}
.sn-foot{display:flex;align-items:center;justify-content:space-between;gap:1.2cqi;flex-wrap:wrap;padding-top:1.3cqi;border-top:1px solid rgba(32,36,31,.1);font-size:2cqi}
.sn-foot>span{display:inline-flex;align-items:center;gap:.8cqi}
.sn-foot .ic{width:2.3cqi;height:2.3cqi;color:#1F4630;flex:none}
.sn-by{font-size:1.75cqi;color:var(--cta)}
.sn-by .ic{color:var(--cta)}
/* the rows land in order as the card arrives (card reveal is 33-40% of the 14 s cycle) */
.studio-note>*{animation:sn-row var(--cycle) linear infinite;animation-delay:calc(var(--r,0) * 70ms)}
.studio-note .sn-list li{animation:sn-row var(--cycle) linear infinite;animation-delay:calc(var(--r,0) * 70ms)}
.studio-note .sn-list{animation:none}
@keyframes sn-row{0%,35%{opacity:0;transform:translateX(-1.2cqi)}40%,84%{opacity:1;transform:none}90%,100%{opacity:0}}
.motion-paused .studio-note *,.hero-demo.offscreen .studio-note *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .studio-note *{animation:none!important;opacity:1;transform:none}}
.studio-note p{margin:0}  /* the card's rhythm comes from its grid gap alone */
.sn-h{display:flex;align-items:center;gap:1cqi;margin-top:.8cqi!important}
.sn-h .em{font-size:2.2cqi;line-height:1}
/* phones: the scene is ~330px wide, so the card gets a wider body and fixed, legible type */
@media (max-width:520px){
  .studio-note{width:80%;top:2%;padding:10px 12px 9px;gap:4px;font-size:10px;border-radius:14px}
  .sn-meta,.studio-note .studio-tags,.sn-lock small,.sn-by{font-size:9px}
  .sn-cat{height:15px;padding:0 6px}
  .studio-note h3{font-size:14px}
  .sn-when,.sn-row,.studio-note .sn-list{font-size:10px}
  .sn-h{font-size:10.5px;gap:4px}.sn-h .em{font-size:10.5px}
  .studio-note .sn-list{gap:3px}
  .sn-box{width:10px;height:10px;border-width:1.2px}
  .sn-lock{padding:5px 7px;border-radius:8px;gap:5px}.sn-lock b{font-size:9.5px}
  .sn-foot{font-size:9.5px;padding-top:5px}
  .sn-src .ic,.sn-when .ic,.sn-lock .ic,.sn-foot .ic{width:10px;height:10px}
}

/* Play app bar: Android only, pinned to the bottom edge */
.app-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:flex-start;gap:12px;padding:14px 6px calc(14px + env(safe-area-inset-bottom)) 16px;background:var(--surface);border-top:1px solid var(--hair);box-shadow:rgba(0,0,0,.06) 0 -6px 24px 0}
.app-bar[hidden]{display:none}
.app-bar img{width:52px;height:52px;border-radius:12px;flex:none}
.app-bar-body{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1;font-size:13px;line-height:1.35;color:var(--slate)}
.app-bar-body b{font-size:16px;line-height:1.3;color:var(--ink);font-weight:600}
.app-bar-body b,.app-bar-body>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-bar-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.app-bar-store{display:inline-flex;white-space:nowrap;align-items:center;gap:5px;color:var(--carbon);font-weight:600}
.app-bar-store .ic{width:14px;height:14px}
.app-bar .btn{flex:none;height:38px;padding:0 22px;font-weight:600}
.app-bar-x{flex:none;display:grid;place-items:center;width:40px;height:40px;margin:-10px 0 0 -6px;border:0;border-radius:50%;background:none;color:var(--slate);cursor:pointer}
.app-bar-x:hover{background:var(--fog)}
.app-bar-x .ic{width:18px;height:18px}
@media (prefers-reduced-motion:no-preference){.app-bar{animation:app-bar-in .6s var(--spring) .8s both}}
@keyframes app-bar-in{from{transform:translateY(110%)}}
/* phones: hero actions fill the column, like a native sign-up screen */
@media (max-width:520px){.hero-ctas{display:grid}.hero-ctas .btn-lg{justify-content:center}}

/* sorted notes: a fan of bright notes peeks out from behind the big card */
.studio-pile{position:absolute;right:1%;top:7%;width:61%;height:58%;z-index:3;pointer-events:none}
.studio-pile i{position:absolute;inset:0;border-radius:20px;background:var(--c);box-shadow:0 14px 30px rgba(32,36,31,.08);opacity:0;animation:studio-pile var(--cycle) cubic-bezier(.2,.8,.2,1) infinite}
.sp1{--c:var(--note-pink);--fan:translate(-7%,-9%) rotate(-7deg)}
.sp2{--c:var(--note-sky);--fan:translate(5%,-12%) rotate(4deg)}
.sp3{--c:var(--note-mint);--fan:translate(9%,-3%) rotate(10deg)}
.sp2{animation-delay:.06s}.sp3{animation-delay:.12s}
@keyframes studio-pile{0%,35%{opacity:0;transform:translateY(35px) rotate(8deg) scale(.7)}40%{opacity:1;transform:rotate(-3deg)}47%,84%{opacity:1;transform:var(--fan)}91%,100%{opacity:0;transform:rotate(-3deg) scale(.96)}}
body:not(.motion-enabled) .studio-pile i{opacity:1;transform:var(--fan);animation:none}
.motion-paused .studio-pile i,.hero-demo.offscreen .studio-pile i{animation-play-state:paused}
@media(max-width:520px){.studio-pile{width:80%;top:2%;right:0}.studio-pile i{border-radius:14px}.sp3{--fan:translate(4%,-6%) rotate(6deg)}}

/* ---------- reminders: the clock hops in place while notes ride a belt under it.
   One note reaches the middle on every landing (beat), and turns from a plain
   sentence into a reminder in a single frame. ---------- */
.remind{padding:72px 0 96px;overflow-x:clip}
.remind-text{max-width:640px;margin:0 auto;text-align:center}
.remind-text h2{font-size:clamp(32px,3.75vw,48px);line-height:1.08;color:var(--cta);margin:0 0 18px}
.remind-text p{font-size:17px;line-height:24px;color:var(--slate);max-width:44ch;margin:0 auto}
.remind-stage{--beat:1.2s;--life:4.8s;--cw:30cqi;--ch:13.5cqi;--span:70cqi;--step:35cqi;--clk:15cqi;--lift:-7cqi;
  position:relative;width:100%;max-width:1040px;aspect-ratio:2.5;margin:28px auto 0;container-type:inline-size}
.rm-belt{position:absolute;inset:-12% 0 0;margin:0;padding:0;list-style:none;
  -webkit-mask:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
.rm-belt li{position:absolute;left:50%;bottom:3cqi;width:var(--cw);height:var(--ch);margin-left:calc(var(--cw) / -2);box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:1.6cqi 1.9cqi;border-radius:16px;
  background:#fff;border:1px solid var(--hair);color:var(--graphite);box-shadow:0 12px 28px rgba(32,36,31,.07)}
.rm-belt p{margin:0;font-size:clamp(12px,1.6cqi,17px);line-height:1.3;font-weight:600;color:inherit}
.rm-chip{display:inline-flex;align-items:center;gap:.7cqi;padding:.55cqi 1.1cqi;border-radius:var(--r-pill);background:#FFC94D;color:var(--ink);font-size:clamp(11px,1.3cqi,14px);white-space:nowrap;opacity:0}
.rm-chip .ic{width:1.15em;height:1.15em}
.rm-chip b{font-weight:800;margin-right:.3em}
/* still frame (no motion yet, or reduced motion): three notes, two already reminders */
.rm-belt li:nth-child(1){transform:translateX(calc(var(--step) * -1)) scale(.95)}
.rm-belt li:nth-child(3){transform:translateX(var(--step)) scale(1.02)}
.rm-belt li:nth-child(4){opacity:0}
.rm-belt li:nth-child(-n+2){background:var(--c);border-color:transparent;color:var(--ink)}
.rm-belt li:nth-child(-n+2) .rm-chip{opacity:1}
.rm-clock{position:absolute;left:50%;bottom:calc(3cqi + var(--ch) - .5cqi);width:var(--clk);margin-left:calc(var(--clk) / -2);transform-origin:50% 100%;z-index:1}
.rm-clock img{width:100%;height:auto;filter:drop-shadow(0 10px 10px rgba(28,81,69,.12))}
.rm-shadow{position:absolute;left:50%;bottom:calc(3cqi + var(--ch) - 1.4cqi);width:calc(var(--clk) * .8);height:2cqi;margin-left:calc(var(--clk) * -.4);border-radius:50%;background:rgba(32,36,31,.1)}
.rm-spk{position:absolute;width:2.4cqi;height:2.4cqi;opacity:0}
.rm-spk.k1{left:-16%;top:4%;fill:var(--cta)}
.rm-spk.k2{right:-16%;top:0;fill:#F2B705}
.rm-spk.k3{right:6%;top:-16%;width:1.8cqi;height:1.8cqi;fill:#E86A92}
.remind-stage.in .rm-belt li{animation:rm-belt var(--life) linear infinite,rm-cut var(--life) linear infinite;animation-delay:calc(var(--i) * var(--beat) * -1)}
.remind-stage.in .rm-chip{animation:rm-chip var(--life) linear infinite;animation-delay:calc(var(--i) * var(--beat) * -1)}
.remind-stage.in .rm-clock{animation:rm-hop var(--beat) infinite}
.remind-stage.in .rm-shadow{animation:rm-shadow var(--beat) infinite}
.remind-stage.in .rm-spk{animation:rm-spk var(--beat) linear infinite}
@keyframes rm-belt{0%{opacity:0;transform:translate(var(--span),2.5cqi) scale(1.05)}8%,92%{opacity:1}50%{transform:translate(0,0) scale(1)}100%{opacity:0;transform:translate(calc(var(--span) * -1),-2cqi) scale(.9)}}
@keyframes rm-cut{0%,49.9%{background:#fff;border-color:var(--hair);color:var(--graphite)}50%,100%{background:var(--c);border-color:transparent;color:var(--ink)}}
@keyframes rm-chip{0%,49.9%{opacity:0;transform:translateY(.8cqi) scale(.6)}50%{opacity:1;transform:scale(1.15)}56%,100%{opacity:1;transform:none}}
/* landing squash, ring wobble, then a hop: rise eases out, fall eases in */
@keyframes rm-hop{
  0%{transform:translateY(0) scale(1.04,.95);animation-timing-function:cubic-bezier(.33,0,.67,1)}
  7%{transform:translateY(0) rotate(-7deg)}
  14%{transform:translateY(0) rotate(6deg)}
  21%{transform:translateY(0) rotate(-3deg)}
  28%{transform:translateY(0) rotate(0) scale(1.02,.97);animation-timing-function:cubic-bezier(.05,0,.4,1)}
  64%{transform:translateY(var(--lift)) scale(.98,1.03);animation-timing-function:cubic-bezier(.59,0,.94,1)}
  100%{transform:translateY(0) scale(1.04,.95)}}
@keyframes rm-shadow{0%,28%,100%{transform:scale(1);opacity:1}64%{transform:scale(.62);opacity:.5}}
@keyframes rm-spk{0%{opacity:1;transform:scale(.3)}10%{opacity:1;transform:scale(1)}26%,100%{opacity:0;transform:scale(1.1)}}
.remind-stage.offscreen *,.motion-paused .remind-stage *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .remind-stage *{animation:none!important}}
@media (max-width:640px){
  .remind{padding:56px 0 72px}
  .remind-stage{--cw:60cqi;--ch:27cqi;--span:124cqi;--step:62cqi;--clk:30cqi;--lift:-12cqi;aspect-ratio:1.2}
  .rm-belt li{padding:3.4cqi 4cqi;border-radius:14px}
  .rm-belt p{font-size:3.7cqi}
  .rm-chip{font-size:3cqi;gap:1.4cqi;padding:1.2cqi 2.4cqi}
  .rm-spk{width:5cqi;height:5cqi}
}

/* the last feature stacks (headline over a strip of formats) so the rows never zigzag three times running */
#export{grid-template-columns:1fr;justify-items:center;text-align:center;min-height:0;gap:28px}
#export .row-text{justify-self:center;max-width:640px}
#export .row-text p{margin:0 auto;max-width:48ch}
#export .s-export{max-width:980px;padding:8px 0 72px}
#export .s-export .exports{grid-template-columns:repeat(4,minmax(0,1fr));text-align:left}
#export .export-zaki{width:12%;right:1%;bottom:calc(100% - 22px)} /* sits on the JSON tile */
@media (max-width:900px){#export{text-align:left;justify-items:stretch}#export .row-text{justify-self:start}#export .s-export .exports{grid-template-columns:repeat(2,minmax(0,1fr))}#export .export-zaki{width:30%;right:-4%;bottom:-6%}}

/* language band, closer to the reference: bigger flags with a soft lip, roomier grey names */
.band{padding:22px 0;border-top:2px solid var(--hair);border-bottom:2px solid var(--hair)}
.marquee-track{font-size:17px;font-weight:700;color:var(--graphite);gap:30px}
.marquee-track span{gap:30px}
.marquee-track .flag{margin-right:-20px;border-radius:6px;box-shadow:inset 0 0 0 1.5px rgba(32,36,31,.1),0 2px 0 rgba(32,36,31,.12)}

/* capture row: "note" in other languages and the small things people jot on the go */
.s-capture .word{position:absolute;display:inline-flex;align-items:center;gap:1.4cqi;padding:1.1cqi 2.2cqi;border-radius:var(--r-pill);background:#fff;border:1px solid var(--hair);box-shadow:0 8px 20px rgba(32,36,31,.08);font-size:clamp(11px,2.9cqi,15px);font-weight:700;color:var(--ink);white-space:nowrap;opacity:0;z-index:2}
.s-capture .word .flag{width:4.2cqi;height:3.15cqi;min-width:16px;min-height:12px;margin:0;border-radius:3px}
.s-capture .word.jot{background:var(--c);border-color:transparent;font-weight:600}
.w1{left:2%;top:6%}.w2{left:30%;top:1%}.w3{right:4%;top:9%}.w4{left:0;top:40%}.w5{right:0;top:54%}.w6{left:54%;bottom:14%}
.w7{left:6%;bottom:16%;--c:var(--note-yellow)}.w8{left:0;top:58%;--c:var(--note-sky)}.w9{left:30%;bottom:2%;--c:var(--note-mint)}.w10{right:0;top:68%;--c:var(--note-pink)}.w11{right:8%;bottom:4%}
.s-capture.in .word{animation:word-in .7s var(--spring) both,word-bob 3.4s cubic-bezier(.33,0,.67,1) infinite alternate;animation-delay:calc(var(--k) * .12s),calc(var(--k) * .12s + .7s)}
.w1{--k:0}.w2{--k:1}.w3{--k:2}.w4{--k:3}.w5{--k:4}.w6{--k:5}.w7{--k:6}.w8{--k:7}.w9{--k:8}.w10{--k:9}.w11{--k:10}
@keyframes word-in{from{opacity:0;transform:translateY(10px) scale(.6) rotate(-6deg)}to{opacity:1;transform:none}}
@keyframes word-bob{from{translate:0 0}to{translate:0 -6px}}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .s-capture .word{animation:none;opacity:1}}

/* the flashing words: bigger, in their note colour, with the matching icon */
.s-capture .chip,.s-sort .fm{background:var(--c,var(--surface));border-color:transparent;font-size:clamp(14px,4cqi,21px);font-weight:800;gap:1.8cqi;padding:2cqi 3.4cqi;box-shadow:0 12px 28px rgba(32,36,31,.12)}
.s-capture .chip .ic,.s-sort .fm .ic{width:4.6cqi;height:4.6cqi;min-width:18px;min-height:18px;color:var(--ink)}
.s-capture .chip{left:44cqi}.s-capture .ch2{left:38cqi}.s-capture .ch3{left:50cqi}
.s-sort .fm{left:50%;top:12cqb;translate:-50% 0}
.s-sort.in .fm{animation:cycle6 9s var(--spring) infinite}
.s-sort.in .fm2{animation-delay:1.5s}.s-sort.in .fm3{animation-delay:3s}.s-sort.in .fm4{animation-delay:4.5s}.s-sort.in .fm5{animation-delay:6s}.s-sort.in .fm6{animation-delay:7.5s}
@keyframes cycle6{0%{opacity:0;scale:.5;rotate:-6deg}4%{opacity:1;scale:1.08;rotate:0deg}7%{scale:1}14%{opacity:1;scale:1}17%,100%{opacity:0;scale:.8}}
.s-capture .word{font-size:clamp(13px,3.4cqi,18px);padding:1.4cqi 2.8cqi}
.s-capture .word .flag{width:5cqi;height:3.75cqi}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .s-sort .fm1,body:not(.motion-enabled) .s-capture .ch1{opacity:1;animation:none}}

/* ---------- apps band: an Android phone and an iPhone in soft 3D. Each screen
   pushes through different sorted notes; every 4 s the note just written on
   Android lifts off, arcs over and lands on the iPhone. ---------- */
.appband-in{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.appband h2{font-size:clamp(32px,4.4vw,56px)}
.devices{position:relative;width:100%;max-width:640px;aspect-ratio:1.08;justify-self:center;container-type:inline-size}
.dv-disc{position:absolute;border-radius:50%;opacity:.55}
.dv-disc.d1{left:-2cqi;top:16cqi;width:52cqi;aspect-ratio:1;background:var(--note-pink)}
.dv-disc.d2{right:-4cqi;top:-2cqi;width:56cqi;aspect-ratio:1;background:var(--note-mint)}
.dv-disc.d3{left:40cqi;bottom:2cqi;width:24cqi;aspect-ratio:1;background:var(--note-yellow)}
.dv{position:absolute;width:40cqi;perspective:1400px;filter:drop-shadow(0 3cqi 3cqi rgba(32,36,31,.16))} /* the shadow lives here so the body below keeps its 3D */
.dv-and{left:7cqi;top:18cqi;--rest:rotateY(18deg) rotateZ(-5deg);--edge:#E39AB2;--l:17.63%;--t:7.14%;--r:18.03%;--b:7.48%;--rad:11% / 5.2%;z-index:1}
.dv-ios{right:5cqi;top:3cqi;--rest:rotateY(-16deg) rotateZ(4deg);--edge:#79C2AA;--l:16.84%;--t:7.22%;--r:16.78%;--b:7.4%;--rad:13% / 6%;z-index:2}
.dv-body{position:relative;aspect-ratio:720/1273;transform:var(--rest);transform-style:preserve-3d}
.dv-body::before{content:"";position:absolute;left:14.5%;right:14.5%;top:2.4%;bottom:2.4%;border-radius:15% / 7.5%;background:var(--edge);transform:translateZ(-1.6cqi)} /* the phone's depth */
.dv-screen{position:absolute;left:calc(var(--l) - .5%);top:calc(var(--t) - .3%);right:calc(var(--r) - .5%);bottom:calc(var(--b) - .3%);border-radius:var(--rad);overflow:hidden;background:#fff}
.dv-screen .sc{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0}
.dv-screen .sc:first-child{opacity:1}
.dv-frame{position:relative;display:block;width:100%;height:auto;pointer-events:none}
.devices.in .dv-ios .sc{animation:dv-ios-sc 12s cubic-bezier(.32,.72,0,1) infinite both;animation-delay:calc(var(--k) * 3s)}
.devices.in .dv-and .sc{animation:dv-and-sc 12s cubic-bezier(.32,.72,0,1) infinite both;animation-delay:calc(var(--k) * 4s)}
@keyframes dv-ios-sc{0%{opacity:0;transform:translateX(40%)}3.5%,25%{opacity:1;transform:none}28.5%,100%{opacity:0;transform:translateX(-14%)}}
@keyframes dv-and-sc{0%{opacity:0;transform:translateX(40%)}3%,33.3%{opacity:1;transform:none}36.5%,100%{opacity:0;transform:translateX(-14%)}}
.devices.in .dv-body{animation:dv-float 6.6s cubic-bezier(.33,0,.67,1) infinite alternate}
.devices.in .dv-ios .dv-body{animation-duration:7.4s;animation-delay:-2s}
@keyframes dv-float{from{transform:var(--rest) translateY(0)}to{transform:var(--rest) rotateY(5deg) translateY(-2cqi)}}
/* the note in flight */
.dv-fly,.dv-tag{position:absolute;display:inline-flex;align-items:center;gap:1.4cqi;padding:1.6cqi 2.6cqi;border-radius:var(--r-pill);background:var(--c);font-size:clamp(12px,2.9cqi,17px);font-weight:800;color:var(--ink);white-space:nowrap;box-shadow:0 10px 24px rgba(32,36,31,.14);z-index:4}
.dv-fly .ic,.dv-tag .ic{width:3.4cqi;height:3.4cqi;min-width:14px;min-height:14px}
.dv-fly{left:12cqi;top:42cqi;opacity:0}
.devices.in .dv-fly{animation:dv-fly 12s cubic-bezier(.45,0,.35,1) infinite both;animation-delay:calc(var(--k) * 4s + 1.4s)}
@keyframes dv-fly{
  0%{opacity:0;transform:translate(0,0) scale(.5)}
  3%{opacity:1;transform:translate(0,-3cqi) scale(1.08)}
  5%{transform:translate(0,-3cqi) scale(1)}
  13%{transform:translate(22cqi,-22cqi) scale(1) rotate(-4deg)}
  20%{opacity:1;transform:translate(46cqi,-12cqi) scale(.92) rotate(0)}
  23%,100%{opacity:0;transform:translate(48cqi,-10cqi) scale(.5)}}
.dv-tag.g1{right:0;top:44cqi}.dv-tag.g2{right:6cqi;bottom:6cqi}.dv-tag.g3{left:0;top:10cqi}
.devices.in .dv-tag{animation:pop .6s var(--spring) both,word-bob 3.2s cubic-bezier(.33,0,.67,1) infinite alternate}
.devices.in .g2{animation-delay:.15s,.9s}.devices.in .g3{animation-delay:.3s,1.6s}
.dv-zaki{position:absolute;left:33cqi;bottom:-3cqi;width:25cqi;height:auto;z-index:3;filter:drop-shadow(0 2cqi 2cqi rgba(28,81,69,.18))}
.devices.in .dv-zaki{animation:idle 2.2s cubic-bezier(.33,0,.67,1) infinite alternate}
.devices.offscreen *,.motion-paused .devices *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .devices *{animation:none!important}body:not(.motion-enabled) .dv-tag{opacity:1}}
@media (max-width:900px){.appband-in{grid-template-columns:1fr}.devices{max-width:560px}}

/* ---------- more ways in: two tiles, email and the web ---------- */
.ways{padding:24px 0 72px}
.ways-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.way{padding:0 8px;display:flex;flex-direction:column} /* no tile colour: the art brings its own panel */
.way img{width:100%;max-width:460px;height:auto;aspect-ratio:3/2;object-fit:contain;align-self:center;margin:0 0 20px} /* same art box in both tiles, so the headings line up */
.way h3{display:flex;align-items:flex-start;gap:10px;font-size:clamp(24px,2.4vw,30px);line-height:1.15;color:var(--cta);margin:0 0 10px}
.way h3 .ic{width:28px;height:28px;flex:none;margin-top:.1em}
.way p{font-size:17px;line-height:24px;color:var(--slate);max-width:44ch}
@media (max-width:760px){.ways-in{grid-template-columns:1fr;gap:48px}.way{padding:0}}

/* ---------- hero polish ----------
   1. the copy and the studio rise in on load, one line after another */
@media (prefers-reduced-motion:no-preference){
  .motion-js .hero-copy>*{animation:hero-rise .9s var(--spring) both}
  .motion-js .hero-copy>:nth-child(2){animation-delay:.08s}
  .motion-js .hero-copy>:nth-child(3){animation-delay:.16s}
  .motion-js .hero-copy>:nth-child(4){animation-delay:.24s}
  .motion-js .hero-copy>:nth-child(5){animation-delay:.32s}
  .motion-js .hero-demo{animation:hero-settle 1.1s var(--spring) .15s both}
  @keyframes hero-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
  @keyframes hero-settle{from{opacity:0;transform:translateY(16px) scale(.95)}to{opacity:1;transform:none}}
}
/* 2. nothing sits dead still: the plan card and its pile breathe while they hold, Zaki bobs
      (these use the separate translate property, so they stack on the scene's own transforms) */
.studio-note{animation:studio-reveal var(--cycle) cubic-bezier(.2,.8,.2,1) infinite,studio-breathe 3.6s cubic-bezier(.33,0,.67,1) infinite alternate}
.studio-pile i{animation:studio-pile var(--cycle) cubic-bezier(.2,.8,.2,1) infinite,studio-breathe 3.6s cubic-bezier(.33,0,.67,1) infinite alternate}
.studio-zaki{animation:studio-character var(--cycle) ease-in-out infinite,studio-bob 2.4s cubic-bezier(.33,0,.67,1) infinite alternate}
@keyframes studio-breathe{from{translate:0 0}to{translate:0 -1.2cqi}}
@keyframes studio-bob{from{translate:0 0}to{translate:0 -1cqi}}
/* 3. the sort beat gets a pulse: the orbit swells and a mint ring leaves Zaki as the inputs land in him */
.studio-orbit{animation:studio-orbit-pulse var(--cycle) linear infinite}
@keyframes studio-orbit-pulse{0%,35%{scale:1;opacity:1}40%{scale:1.05;opacity:.45}47%,100%{scale:1;opacity:1}}
.studio-halo::after{content:"";position:absolute;left:14%;top:28%;width:38%;aspect-ratio:1;border-radius:50%;border:.8cqi solid var(--note-mint);opacity:0;animation:studio-ring var(--cycle) cubic-bezier(0,0,.2,1) infinite}
@keyframes studio-ring{0%,38%{opacity:0;scale:.35}39%{opacity:.9;scale:.4}47%,100%{opacity:0;scale:1.35}}
.motion-paused .studio-halo::after,.hero-demo.offscreen .studio-halo::after{animation-play-state:paused}
/* 4. on a mouse, the whole studio leans a little toward the pointer, like the feature scenes */
.thought-studio{transform:perspective(1200px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));transition:transform .4s ease}
@media (prefers-reduced-motion:reduce){body:not(.motion-enabled) .studio-halo::after{animation:none}}

/* ---------- apps band polish: depth on scroll, and the phones react to the handoff ---------- */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .dv-and{animation:dv-par linear both;animation-timeline:view();animation-range:entry 0% exit 100%;--from:3cqi;--to:-3cqi}
    .dv-ios{animation:dv-par linear both;animation-timeline:view();animation-range:entry 0% exit 100%;--from:7cqi;--to:-7cqi}
    @keyframes dv-par{from{translate:0 var(--from)}to{translate:0 var(--to)}}
  }
}
.devices.in .dv-and .dv-screen{animation:dv-send 4s cubic-bezier(.33,0,.67,1) 1.4s infinite}
.devices.in .dv-ios .dv-screen{animation:dv-catch 4s cubic-bezier(.33,0,.67,1) 3.8s infinite}
@keyframes dv-send{0%{scale:1}5%{scale:.975}14%,100%{scale:1}}
@keyframes dv-catch{0%{scale:1;filter:brightness(1)}6%{scale:1.03;filter:brightness(1.1)}18%,100%{scale:1;filter:brightness(1)}}

.pocket-art{width:min(100%,400px);height:auto;margin-top:36px;display:block}
@media (max-width:900px){.pocket-art{max-width:360px;margin:28px auto 0}}
/* the rising speech chips travel from 44% up to 26% of the capture stage, so no word sits on that path */

/* ---------- apps band, one phone: bigger, upright-ish, every note format in turn (21 s) ---------- */
.devices{aspect-ratio:.92;max-width:560px}
.dv-and{left:50%;top:2cqi;width:52cqi;margin-left:-26cqi;--rest:rotateY(-10deg) rotateZ(-2deg);--edge:#E39AB2}
.dv-disc.d1{left:-6cqi;top:34cqi;width:54cqi;background:var(--note-mint)}
.dv-disc.d2{right:-8cqi;top:-4cqi;width:60cqi;background:var(--note-pink);opacity:.45}
.dv-disc.d3{left:62cqi;bottom:4cqi;width:26cqi;background:var(--note-yellow)}
.devices.in .dv-and .sc{animation:dv-one-sc 21s cubic-bezier(.32,.72,0,1) infinite both;animation-delay:calc(var(--k) * 3s)}
@keyframes dv-one-sc{0%{opacity:0;transform:translateX(40%)}2%,14.3%{opacity:1;transform:none}16.3%,100%{opacity:0;transform:translateX(-14%)}}
.devices.in .dv-and .dv-screen{animation:none}
.dv-tag.g1{right:0;top:22cqi}.dv-tag.g2{right:-2cqi;top:58cqi}.dv-tag.g3{left:-2cqi;top:12cqi}.dv-tag.g4{left:0;top:72cqi}
.devices.in .g4{animation-delay:.45s,2.2s}
.dv-zaki{left:2cqi;bottom:-2cqi;width:30cqi}
@media (max-width:900px){.devices{max-width:480px}}

/* ---------- apps band: the phone faces front so the screens stay sharp and whole ----------
   The screenshots are a little wider than this phone's screen, so each one is fitted whole,
   pinned to the top, and the sliver left at the bottom takes that note's own colour. */
.devices{max-width:600px;aspect-ratio:.9}
.dv-and{width:56cqi;margin-left:-28cqi;top:3cqi;--rest:none;filter:drop-shadow(0 4cqi 5cqi rgba(32,36,31,.16))}
.dv-and .dv-body{transform:none}
.dv-body::before{display:none}
.devices.in .dv-body{animation:dv-bob 6.6s cubic-bezier(.33,0,.67,1) infinite alternate}
@keyframes dv-bob{from{translate:0 0}to{translate:0 -1.6cqi}}
.dv-screen .sc{object-fit:contain;object-position:top;background:var(--bg,#fff)}
.dv-tag.g1{right:-1cqi;top:30cqi}
.dv-tag.g2{right:0;top:78cqi;bottom:auto} /* an older rule also set bottom, which stretched this pill */
.dv-tag.g3{left:0;top:14cqi}
.dv-tag.g4{left:-1cqi;top:62cqi}
.dv-zaki{left:2cqi;bottom:0;width:26cqi}
@media (max-width:900px){.devices{max-width:480px}}
/* Zaki stands in front of the yellow card wherever they overlap, on every screen size */
.studio-zaki{z-index:5}
/* hero timing: the card launches at the top of Zaki's jump and is fully out as he lands (40%),
   the pile right behind it, so the circle is never left empty after the notes go into him */
/* hero timing, loop end: the next notes drift in (82-88%) while the card is still leaving (84-91%),
   so Zaki is never left standing alone in an empty circle */

/* the phone is a little wider (normal 0.46 screen, same height): the frame was widened by repeating
   plain bezel columns either side of the punch-hole, so corners and camera keep their shape */
.dv-and{width:59cqi;margin-left:-29.5cqi;--l:16.72%;--r:17.1%}
.dv-and .dv-body{aspect-ratio:759/1273}
.dv-and .dv-screen .sc{object-fit:cover}

.clarity-demo{display:grid;grid-template-columns:1fr 170px 1fr;align-items:center;gap:20px;max-width:1000px;margin:64px auto 0;position:relative}
.clarity-demo article{border:1px solid var(--stone);border-radius:12px;padding:28px;text-align:left;min-width:0;box-shadow:none}
.clarity-input{background:#f0eee7;transform:rotate(-2deg)}
.clarity-output{background:#fff;transform:rotate(2deg)}
.clarity-label{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin-bottom:24px}
.clarity-memo{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--cta)}
.clarity-memo span{margin-left:auto;color:var(--slate)}
.clarity-memo .ic,.clarity-reminder .ic{width:16px;height:16px;flex:none}
.clarity-input p{font-family:var(--serif);font-size:25px;line-height:1.35;margin:20px 0 0}
.clarity-helper{align-self:end;text-align:center;color:var(--cta);font-size:12px;padding-bottom:18px}
.clarity-helper img{width:100%;height:210px;object-fit:contain;animation:clarity-help 6s ease-in-out infinite}
.clarity-helper span{display:block;margin-top:12px}
.clarity-output h2{font-family:var(--serif);font-size:29px;line-height:1.1;margin:0 0 12px;font-weight:400;letter-spacing:-.02em}
.clarity-tag{font-size:11px;color:var(--cta)}
.clarity-output ul{list-style:none;padding:0;margin:22px 0;font-size:14px}
.clarity-output li{display:flex;gap:10px;margin:10px 0}
.clarity-output li::before{content:'✓';color:var(--cta)}
.clarity-reminder{display:flex;gap:8px;align-items:center;border-top:1px solid var(--hair);padding-top:16px;margin:0;font-size:12px;color:var(--carbon)}
.clarity-caption{max-width:1000px;margin:24px auto 0;display:flex;justify-content:space-between;font-size:12px;color:var(--slate)}
.clarity-caption span{font-size:10px}
@keyframes clarity-help{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}
.motion-paused .clarity-helper img{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .clarity-helper img{animation:none}}
.home-footer{background:#151d18;color:#f4f4ed;border:0;padding:80px 0 0}
.home-footer .footer-top{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.35fr);gap:80px;align-items:start}
.footer-statement{font-size:32px;line-height:1.2;letter-spacing:-.02em;margin:0}
.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-footer .foot-h{color:#a9b4ac;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:500;margin-bottom:20px}
.home-footer .foot-col a{color:#c4cdc6;font-size:13px;line-height:1.6;padding:6px 0}
.home-footer .foot-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.home-footer .foot-art{padding:0;margin:72px 0 48px;border:0;max-width:none;overflow:hidden}
.home-footer .foot-line{text-align:left;color:#f4f4ed;font-size:clamp(30px,5vw,64px);margin-bottom:40px;max-width:none}
.home-footer .foot-art img{width:100%;max-width:none;margin:0;object-fit:contain}
.home-footer .foot-base{padding:24px 0 28px;border-top:1px solid #354139;color:#a9b4ac;font-size:11px}
.home-footer #motionToggle{border:0;border-radius:0;color:#c4cdc6;background:none;padding:0;min-height:36px;font-size:11px}
@media(max-width:900px){.home-footer .footer-top{grid-template-columns:1fr;gap:48px}.clarity-demo{grid-template-columns:1fr 100px 1fr;gap:12px}.clarity-demo article{padding:22px}.clarity-helper img{height:160px}.clarity-input p{font-size:21px}.clarity-output h2{font-size:25px}}
@media(max-width:600px){.desktop-break{display:none}.clarity-demo{grid-template-columns:1fr;max-width:400px;margin-top:48px;gap:0}.clarity-demo article{padding:24px;position:relative;z-index:1}.clarity-helper{display:flex;align-items:center;justify-content:center;gap:20px;padding:0;height:112px}.clarity-helper img{width:100px;height:132px}.clarity-helper span{margin:0}.clarity-caption{font-size:11px;line-height:1.5;gap:18px}.clarity-caption span{flex:none}.home-footer{padding-top:56px}.footer-statement{font-size:30px}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.home-footer .foot-art{margin:56px 0 32px}.home-footer .foot-line{font-size:34px;line-height:1.1;margin-bottom:32px}.home-footer .foot-art img{width:180%;max-width:none;transform:translateX(-38%);animation:none}.home-footer .foot-base{align-items:flex-start;gap:8px;flex-direction:column}.home-footer .foot-col a{font-size:13px;min-height:44px}}
/* The homepage uses an editorial headline face; app and supporting pages retain their type. */
.clarity-input p,.clarity-output h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}
/* The example progresses automatically without hiding its readable content. */
.clarity-input{animation:thought-arrives 8s ease-in-out infinite}
.clarity-output{animation:thought-tidies 8s ease-in-out infinite}
.clarity-output li::before{animation:thought-checks 8s ease-in-out infinite}
@keyframes thought-arrives{0%,100%{transform:rotate(-2deg) translateY(0)}20%,40%{transform:rotate(-1deg) translateY(-7px)}}
@keyframes thought-tidies{0%,35%,100%{transform:rotate(2deg) translateY(0)}55%,80%{transform:rotate(0deg) translateY(-6px)}}
@keyframes thought-checks{0%,40%,100%{opacity:.35}55%,85%{opacity:1}}
.motion-paused .clarity-demo *{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .clarity-demo *{animation:none}}
.home-footer{scroll-margin-top:96px}
@keyframes hero-dot-colours{
  0%,100%{color:var(--note-yellow,#FFE07A)}
  20%{color:var(--note-pink,#FFB8CD)}
  40%{color:var(--note-lilac,#D7C8FF)}
  60%{color:var(--note-sky,#A8C7FA)}
  80%{color:var(--note-mint,#9FE3BC)}
}

/* The studio (yellow card) sits under the hero as its own beat. */

.studio-sec{padding:8px 0 96px}
.studio-sec .hero-demo{max-width:620px;margin:0 auto}
@media(max-width:600px){.studio-sec{padding-bottom:64px}}

/* Footer: statement and links on top, the crowd art as the closing wordmark, all in one screen. */
.home-footer{min-height:100svh;display:flex;flex-direction:column;padding-top:72px}
.home-footer>.wrap{flex:1;display:flex;flex-direction:column;width:100%}
.home-footer .footer-statement{color:#f4f4ed}
.home-footer .foot-h{color:#b9c4bc}
.home-footer .foot-col a{color:#dfe5e0}
.home-footer .foot-art{flex:1;display:flex;flex-direction:column;justify-content:flex-end;margin:56px 0 0;position:relative}
.home-footer .foot-line{color:#f4f4ed;margin-bottom:24px}
.home-footer .foot-art img{display:block;-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.home-footer .foot-base{border-top:0;padding:28px 0 32px;color:#b9c4bc;display:flex;justify-content:space-between;gap:16px}
.home-footer{padding-top:calc(var(--head-h,72px) + 40px)}
.home-footer .footer-statement{font-size:clamp(30px,3vw,40px);line-height:1.15}
.home-footer .foot-col a{font-size:15px}
.home-footer .foot-h{font-size:12px}
.home-footer .foot-base{font-size:13px}

/* Footer: the crowd melts into the dark at every edge, the columns sit tighter under the statement. */
.home-footer .foot-art{margin-top:32px}
.home-footer .foot-line{margin-bottom:16px;font-size:clamp(34px,5.6vw,72px)}
.home-footer .foot-art img{-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(180deg,#000 70%,rgba(0,0,0,.35) 92%,transparent);-webkit-mask-composite:source-in;mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(180deg,#000 70%,rgba(0,0,0,.35) 92%,transparent);mask-composite:intersect;margin-bottom:-12px}
.home-footer .foot-base{border-top:1px solid rgba(244,244,237,.1);padding:22px 0 28px}
.home-footer .footer-top{gap:64px}

@media(max-width:600px){.home-footer .foot-art{-webkit-mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}.home-footer .foot-art img{-webkit-mask:linear-gradient(180deg,#000 70%,rgba(0,0,0,.35) 92%,transparent);mask:linear-gradient(180deg,#000 70%,rgba(0,0,0,.35) 92%,transparent)}.home-footer .foot-line{margin-bottom:8px}}

/* Homepage rhythm: stable anchor landings and one gentle entrance per section. */
.home-page main [id]{scroll-margin-top:calc(var(--header-height,72px) + 24px)}
.home-page #how{scroll-margin-top:var(--how-scroll-offset,96px)}
.home-page .studio-sec{overflow-x:clip}
.home-page .row{min-height:0;padding:56px 0;gap:clamp(32px,5vw,72px)}
.home-page .row + .row{border-top:1px solid rgba(24,87,74,.08)}
.home-page .row-text{max-width:460px}
.home-page .feature-eyebrow{display:block;margin-bottom:16px;color:var(--cta);font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.14em;text-transform:uppercase}
.home-page .row-text h2{text-wrap:balance;letter-spacing:-.025em}
.home-page .row-text p{line-height:1.65;text-wrap:pretty}
.home-page .stage{max-width:500px;transform:none;will-change:auto}
.home-page .s-capture .word{font-size:clamp(11px,3cqi,15px);padding:1.3cqi 2.5cqi;box-shadow:0 5px 18px rgba(32,36,31,.06)}
.home-page .s-capture .word .flag{width:4.6cqi;height:3.45cqi}
.home-page .s-capture .w1{left:3%;top:8%}
.home-page .s-capture .w2{left:37%;top:2%}
.home-page .s-capture .w3{right:2%;top:14%}
.home-page .s-capture .w4{left:0;top:40%}
.home-page .s-capture .w5{right:0;top:51%}
.home-page .s-capture .w6{left:auto;right:7%;bottom:17%}
.home-page .s-capture .w7{left:4%;bottom:18%}
.home-page .s-capture .w10{right:0;top:65%}
.home-page .s-capture .w11{right:26%;bottom:4%}
.home-page .s-capture.in .word{animation-name:word-in,word-bob;animation-duration:.55s,5s}
.home-page .pop-in.in,.home-page .settle-in.in{animation:section-arrive .65s cubic-bezier(.2,.65,.3,1) both}
.motion-js .home-page .reveal-once:not(.in){opacity:0;translate:0 18px}
.home-page .reveal-once.in{animation:section-arrive .7s cubic-bezier(.2,.65,.3,1) both}
.home-page .stage.in .art{animation:section-arrive .6s cubic-bezier(.2,.65,.3,1) both}
@keyframes section-arrive{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
.home-page.motion-paused .reveal-once,
.home-page.motion-paused .stage .art,
.home-page.motion-paused .s-capture .word{opacity:1;translate:none;transform:none;animation:none}
@media(prefers-reduced-motion:reduce){
  .home-page .reveal-once,.home-page .stage .art,.home-page .s-capture .word{opacity:1!important;translate:none!important;transform:none!important;animation:none!important}
}
@media(max-width:900px){
  .home-page .row{padding:44px 0;gap:30px}
  .home-page .row-text{max-width:600px}
  .home-page .stage{max-width:440px}
  .home-page .feature-eyebrow{margin-bottom:12px}
}
@media(max-width:600px){
  .home-page .row{padding:36px 0;gap:24px}
  .home-page .row-text h2{font-size:clamp(30px,8.5vw,36px);line-height:1.12}
  .home-page .row-text p{font-size:16px;line-height:1.6}
}

/* Capture row: she speaks, and each word flies out of her phone to its place, then floats. */
.home-page .s-capture .w1{--fx:52cqi;--fy:39cqi}.home-page .s-capture .w2{--fx:18cqi;--fy:46cqi}
.home-page .s-capture .w3{--fx:-23cqi;--fy:33cqi}.home-page .s-capture .w4{--fx:53cqi;--fy:7cqi}
.home-page .s-capture .w5{--fx:-28cqi;--fy:-4cqi}.home-page .s-capture .w6{--fx:-19cqi;--fy:-28cqi}
.home-page .s-capture .w7{--fx:46cqi;--fy:-28cqi}.home-page .s-capture .w10{--fx:-23cqi;--fy:-18cqi}
.home-page .s-capture .w11{--fx:0cqi;--fy:-41cqi}
.home-page .s-capture .word{opacity:0}
.home-page .s-capture.in .word{animation:word-cycle var(--cycle) cubic-bezier(.22,.9,.3,1.08) both infinite,word-bob 5s cubic-bezier(.33,0,.67,1) infinite alternate;animation-delay:calc(.4s + var(--k) * var(--beat)),calc(1.3s + var(--k) * var(--beat))}
.home-page .s-capture .word.alt{animation-delay:calc(.4s + var(--k) * var(--beat) + var(--cycle) / 2),calc(1.3s + var(--k) * var(--beat))}
.home-page .s-capture{--beat:1.2s;--cycle:10.8s}
/* each spot shows one word for half the cycle, then its partner flies out of the phone to replace it */
@keyframes word-cycle{0%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.3)}3%{opacity:1}8%{opacity:1;transform:none}43%{opacity:1;transform:none}49%,100%{opacity:0;transform:translateY(-10px) scale(.92)}}
.home-page .s-capture .art{transform-origin:55% 90%}
.home-page .s-capture.in .art{animation:section-arrive .6s cubic-bezier(.2,.65,.3,1) both,voice-sway 6s ease-in-out .6s infinite alternate}
@keyframes voice-sway{0%,100%{rotate:-.8deg;scale:1;translate:0 0}25%{translate:0 -3px}50%{rotate:.8deg;scale:1.015;translate:0 0}75%{translate:0 -2px}}
.home-page .s-capture.in .art{animation-direction:normal,normal;animation-duration:.6s,4.8s}
.home-page .s-capture.in .st1{animation-duration:1.4s}
.home-page .s-capture.offscreen .art,.home-page .s-capture.offscreen .word{animation-play-state:paused}
.home-page.motion-paused .s-capture .art,.home-page.motion-paused .s-capture .word{opacity:1;animation:none}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .s-capture .art,body:not(.motion-enabled) .s-capture .word{opacity:1;animation:none}}

/* =====================================================================
   Chapter grammar: one serif headline per chapter, flat art beside it,
   pastel tiles for the smaller ideas, a dark footer with the wordmark.
   ===================================================================== */
.home-page{--canvas:#F4F5F1;--card:#E9EBE5;--display:"Young Serif",Georgia,"Times New Roman",serif}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-page .display,.home-page .h-xl,.home-page .h-lg2,.home-page .why-col h3,.home-page .tile h3,.home-page .serif,.home-page .faq-list summary,.home-page .price{font-family:var(--display);font-weight:400;letter-spacing:-.02em}
.h-xl{font-size:clamp(44px,6.2vw,84px);line-height:.98;text-wrap:balance;margin:0;color:var(--ink)}
.h-lg2{font-size:clamp(34px,4.2vw,54px);line-height:1.04;text-wrap:balance;margin:0;color:var(--ink)}
.ch-eyebrow{display:block;font-family:var(--sans);font-size:clamp(17px,1.5vw,21px);font-weight:800;letter-spacing:-.01em;color:var(--cta);margin:0 0 14px}
.ch-body{font-size:clamp(19px,1.55vw,21px);line-height:1.45;color:var(--slate);max-width:44ch;margin:24px 0 0;text-wrap:pretty}
.ch{padding:clamp(80px,10vw,136px) 0}
.ch-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center}
.ch-scene{min-width:0}
.ch-scene-studio .hero-demo{max-width:none;margin:0}
.ch-how .ch-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.ch-sort .ch-copy-wide{max-width:none}
.ch-scene-wide .stage{max-width:540px;margin:24px auto 0}
.ch-body-after{text-align:center;margin:24px auto 0}
/* the inline art inside the meet headline */
.inl{display:inline-block;vertical-align:-.1em;margin:0 .06em 0 .1em}
.inl-zaki img{display:block;height:1.1em;width:auto;animation:inl-bob 3.2s ease-in-out infinite}
.inl-note{vertical-align:-.05em;margin-left:.14em}
.inl-note i{display:inline-flex;flex-direction:column;align-items:flex-start;font-style:normal;font-family:var(--sans);font-size:.24em;line-height:1.25;background:var(--note-yellow);color:var(--carbon);border-radius:.5em;padding:.5em .8em;rotate:-5deg;box-shadow:0 .25em .9em rgba(32,36,31,.14);animation:inl-sway 4.4s ease-in-out infinite alternate}
.inl-note b{font-weight:800;color:var(--ink)}
@keyframes inl-bob{0%,100%{translate:0 0;rotate:-3deg}50%{translate:0 -.08em;rotate:3deg}}
@keyframes inl-sway{from{rotate:-6deg}to{rotate:-2deg}}
.motion-paused :is(.inl-zaki img,.inl-note i){animation-play-state:paused}
/* the apps, as a rounded panel */
.home-page .appband{background:var(--tint);border-radius:32px;max-width:calc(var(--page) - 48px);margin:8px auto 0;padding:72px 56px}
/* why zaki: three columns on hairlines */
.why{padding:112px 0 48px}
.why-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}
.why-col{padding:16px 36px 16px 0}
.why-col + .why-col{border-left:1px solid var(--hair);padding-left:36px}
.why-art{height:132px;display:flex;align-items:flex-end;margin-bottom:28px}
.why-art img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:left bottom}
.why-art-clock img{animation:why-hop 1.6s cubic-bezier(.33,0,.67,1) infinite}
@keyframes why-hop{0%,100%{translate:0 0}40%{translate:0 -10px}}
.why-col h3{font-size:clamp(22px,2.1vw,28px);line-height:1.1;margin:0 0 12px;color:var(--ink)}
.why-col p{font-size:16px;line-height:1.55;color:var(--slate);margin:0;max-width:46ch}
/* the bento */
.bento{padding:64px 0 96px}
.bento h2{max-width:20ch;margin:0 0 40px}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"ask email email" "remind remind web";gap:16px}
.tile{position:relative;background:var(--c);border-radius:24px;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;overflow:hidden;color:var(--ink)}
.t-ask{grid-area:ask}.t-email{grid-area:email}.t-web{grid-area:web}.t-remind{grid-area:remind}
.tile h3{font-size:clamp(22px,2vw,26px);line-height:1.1;margin:0 0 8px}
.tile p{font-size:15px;line-height:1.5;color:var(--carbon);margin:0;max-width:42ch}
.tile-art{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;margin:0 auto 20px;flex:1 1 auto;min-height:0}
.t-email .tile-art,.t-remind .tile-art{max-height:260px}
.tile .s-ask{position:relative;display:block;width:100%;aspect-ratio:auto;padding-top:80px;margin-bottom:24px;container-type:inline-size}
.tile .s-ask .chat{max-width:none}
.t-remind .remind-stage{position:relative;width:100%;aspect-ratio:2.4;margin:0 0 12px}
/* languages, in the typeface of the chapters */
.home-page .band{background:transparent;border:0;padding:40px 0 8px}
.home-page .band-in{justify-content:center}
.home-page .band-label{font-size:clamp(17px,1.5vw,21px);font-weight:800;letter-spacing:-.01em;color:var(--cta)}
.home-page .marquee{margin-top:24px}
.home-page .marquee-track{font-family:var(--display);font-size:26px;font-weight:400;color:var(--carbon);gap:56px}
.home-page .marquee-track span{gap:14px}
.home-page .marquee-track .flag{margin-right:0}
/* crowd, pricing, questions, the closing panel */
.home-page .crowd{padding:96px 0 16px}
.home-page .crowd .h-xl{font-size:clamp(36px,4.8vw,64px);max-width:18ch;margin:0 auto 40px}
.home-page .pricing{padding:96px 0}
.home-page .pricing .h-xl{font-size:clamp(40px,5.4vw,72px);margin-bottom:12px;max-width:none}
.home-page .plans{max-width:820px;gap:20px}
.home-page .plan{background:var(--card);border:0;border-radius:24px;padding:32px}
.home-page .plan h3{font-family:var(--sans);font-size:19px;font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.home-page .price{font-size:52px}
.home-page .faq{border:0;padding:96px 0}
.home-page .faq-art .h-xl{font-size:clamp(44px,6vw,80px);margin-bottom:32px}
.home-page .faq-art img{max-width:260px}
.home-page .faq-list{counter-reset:q;border-top:1px solid var(--stone)}
.home-page .faq-list details{border-bottom:1px solid var(--stone)}
.home-page .faq-list summary{justify-content:flex-start;gap:22px;font-size:22px;font-weight:400;padding:22px 0}
.home-page .faq-list summary::before{counter-increment:q;content:counter(q,decimal-leading-zero);font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--slate);width:24px;flex:none;padding-top:.45em}
.home-page .faq-list summary .ic{margin-left:auto}
.home-page .faq-list .body{padding:0 0 26px 46px}
.home-page .cta{padding:32px 0 120px;text-align:center}
.cta-panel{background:var(--note-yellow);border-radius:32px;padding:80px 32px 72px}
.home-page .close .wave-in{display:block;width:150px;height:auto;margin:0 auto 12px;position:static;opacity:1}
.home-page .cta .h-xl{font-size:clamp(36px,5vw,64px);max-width:18ch;margin:0 auto 12px}
.home-page .cta .lede{margin:0 auto 28px;text-align:center;max-width:44ch}
/* footer: the wordmark fills the width, the crowd stands under it */
.home-footer .foot-mark{display:block;width:100%;height:auto;overflow:visible;margin:0 0 4px}
.home-footer .foot-mark text{font-family:var(--sans);font-weight:900;font-size:150px;fill:#f4f4ed;letter-spacing:-.04em}
@media(max-width:900px){
  .ch{padding:64px 0}
  .ch-grid,.ch-how .ch-grid{grid-template-columns:1fr;gap:40px}
  .home-page .appband{border-radius:20px;max-width:none;margin:0 16px;padding:48px 24px}
  .home-page .appband-in{padding:0}
  .why-grid{grid-template-columns:1fr}
  .why-col,.why-col + .why-col{padding:28px 0;border-left:0;border-top:1px solid var(--hair)}
  .why-col:first-child{border-top:0;padding-top:0}
  .tiles{grid-template-columns:1fr;grid-template-areas:none}
  .tile{grid-area:auto;min-height:0}
  .t-remind .remind-stage{aspect-ratio:1.15;margin-top:12px}
  .home-page .faq-list .body{padding-left:0}
  .cta-panel{border-radius:20px;padding:56px 20px 48px}
}
@media(max-width:600px){
  .h-xl{font-size:clamp(38px,10.5vw,52px)}
  .h-lg2{font-size:clamp(30px,8vw,40px)}
  .ch-body{font-size:17px}
  .inl-note i{font-size:.3em}
  .tile{padding:22px}
  .home-page .marquee-track{font-size:20px}
}
/* the first chapter starts close under the hero, so its headline and deck rise into the first screen */
.ch-meet{padding-top:clamp(40px,5vw,64px)}
/* with motion off, one word per spot: the partner set stays hidden */
.home-page.motion-paused .s-capture .word.alt{display:none}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .s-capture .word.alt{display:none}}

/* Section arrivals: a longer, softer rise, and the pieces of a group land one after another. */
.home-page .reveal-once.in,.home-page .pop-in.in,.home-page .settle-in.in{animation-duration:.9s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
@keyframes section-arrive{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
.home-page .why-col:nth-child(2).in{animation-delay:.12s}
.home-page .tile:nth-child(2).in{animation-delay:.08s}
.home-page .tile:nth-child(3).in{animation-delay:.16s}
.home-page .tile:nth-child(4).in{animation-delay:.24s}
.home-page .tile:nth-child(5).in{animation-delay:.32s}
.home-page .tile:nth-child(6).in{animation-delay:.4s}
.home-page .plan:nth-child(2).in{animation-delay:.12s}
.home-page .faq-list li:nth-child(2).in{animation-delay:.06s}
.home-page .faq-list li:nth-child(3).in{animation-delay:.12s}
.home-page .faq-list li:nth-child(4).in{animation-delay:.18s}
.home-page .faq-list li:nth-child(5).in{animation-delay:.24s}
.home-page .faq-list li:nth-child(6).in{animation-delay:.3s}
.home-page .faq-list li:nth-child(7).in{animation-delay:.36s}
.motion-js .home-page .ch-copy:not(.in) .ch-eyebrow,.motion-js .home-page .ch-copy:not(.in) h2,.motion-js .home-page .ch-copy:not(.in) .ch-body{opacity:0}
.home-page .ch-copy.in .ch-eyebrow,.home-page .ch-copy.in h2,.home-page .ch-copy.in .ch-body{animation:section-arrive .9s cubic-bezier(.16,1,.3,1) both}
.home-page .ch-copy.in h2{animation-delay:.08s}
.home-page .ch-copy.in .ch-body{animation-delay:.18s}
@media(prefers-reduced-motion:reduce){body:not(.motion-enabled) .ch-copy .ch-eyebrow,body:not(.motion-enabled) .ch-copy h2,body:not(.motion-enabled) .ch-copy .ch-body{opacity:1!important;animation:none!important}}
/* the chapter copy block itself stays put; its eyebrow, headline and body do the rising */
.motion-js .home-page .ch-copy.reveal-once:not(.in){opacity:1;translate:none}
.home-page .ch-copy.reveal-once.in{animation:none}

/* The apps panel: the phone stands on a soft glow, the perks read as a list. */
.app-perks{list-style:none;padding:0;margin:22px 0 28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.app-perks li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:var(--ink);line-height:1.3}
.app-perks .ic{width:22px;height:22px;flex:none;color:var(--cta)}
.home-page .devices{max-width:520px;aspect-ratio:.86}
.home-page .dv-and{width:60cqi;margin-left:-30cqi;top:3cqi;filter:drop-shadow(0 3cqi 4cqi rgba(32,36,31,.18))}
.dv-halo{position:absolute;left:50%;top:48%;width:118cqi;aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.55) 45%,rgba(255,255,255,0));pointer-events:none}
.dv-floor{position:absolute;left:50%;bottom:0;width:46cqi;height:6cqi;translate:-50% 0;border-radius:50%;background:radial-gradient(closest-side,rgba(32,36,31,.2),transparent);pointer-events:none}
@media(max-width:600px){.app-perks{grid-template-columns:1fr;gap:10px}.home-page .devices{max-width:340px}}

/* Scroll as depth: the hero copy recedes as the page moves on, and the footer
   dusks in from the page colour, so the light page hands over to the dark one. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .home-page .home-footer{animation:foot-dusk linear both;animation-timeline:view();animation-range:entry 0% entry 30%}
  }
}
@keyframes foot-dusk{from{background-color:var(--canvas)}}
@media(max-width:340px){.badges{grid-template-columns:1fr}}

/* A day in four panels: a colour manga page lying on the desk, read left to right,
   top to bottom. It sits on a faint screentone, the panels land in reading order,
   and the page straightens when you point at it. On phones it becomes a strip you swipe. */
.manga{position:relative;padding:clamp(72px,9vw,120px) 0;overflow-x:clip}
.manga::before{content:"";position:absolute;inset:4% 0 0;pointer-events:none;background:radial-gradient(circle,rgba(32,36,31,.085) 1.3px,transparent 1.8px) 0 0/15px 15px;-webkit-mask:radial-gradient(closest-side,#000 30%,transparent);mask:radial-gradient(closest-side,#000 30%,transparent)}
.manga .wrap{position:relative}
.manga h2{text-align:center;max-width:16ch;margin:0 auto clamp(32px,4vw,48px)}
.manga-page{list-style:none;margin:0 auto;padding:clamp(14px,1.8vw,22px);max-width:min(920px,calc((100svh - 96px) * .92));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.8vw,22px);background:#fffdf8;border-radius:6px;box-shadow:0 34px 80px rgba(32,36,31,.13),0 2px 0 rgba(32,36,31,.05);rotate:-.8deg;transition:rotate .7s var(--spring)}
.manga-page:hover{rotate:0deg}
.manga-panel{margin:0;min-width:0}
.manga-panel img{display:block;width:100%;height:auto;border-radius:3px}
.manga-panel p{margin:12px 2px 2px;font-size:clamp(15px,1.4vw,17px);font-weight:800;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.home-page .manga-panel:nth-child(2).in{animation-delay:.14s}
.home-page .manga-panel:nth-child(3).in{animation-delay:.28s}
.home-page .manga-panel:nth-child(4).in{animation-delay:.42s}
@media(max-width:700px){
  .manga-page{display:flex;gap:12px;max-width:none;margin:0 -24px;padding:6px 24px 18px;background:none;box-shadow:none;rotate:none;transition:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;scrollbar-width:none}
  .manga-page::-webkit-scrollbar{display:none}
  .manga-panel{flex:0 0 80%;scroll-snap-align:start;background:#fffdf8;padding:10px 10px 12px;border-radius:6px;box-shadow:0 14px 34px rgba(32,36,31,.1)}
  .home-page .manga-panel.in{animation-delay:0s}
}
@media(prefers-reduced-motion:reduce){.manga-page{transition:none}}

/* =====================================================================
   Before and after: without zakar, a pile of rough scraps in a soft dashed
   drop zone; with zakar, a plain white card in front with three steps and
   the tidy note they end in. Small green labels name each side. The pile
   stays messy for good; the card plays its own 12 s loop: three scraps fly
   in, the steps light up in turn, the note lands, holds, and clears.
   ===================================================================== */
.ba{position:relative;width:100%;max-width:600px;margin:0 auto;container-type:inline-size;--loop:12s;--ink2:#1F2A24}
/* cqi inside .ba-in measure .ba (an element cannot be its own container) */
.ba-in{position:relative;padding:11cqi 0 10cqi 40cqi}
.ba-before{position:absolute;left:0;top:7cqi;bottom:7cqi;width:66cqi;box-sizing:border-box;border-radius:4.5cqi;background:var(--fog);border:1.5px dashed var(--stone)}
.scrap{position:absolute;left:var(--x);top:var(--y);width:31cqi;padding:1.6cqi 2cqi 1.8cqi;border-radius:1.8cqi;background:#fff;box-shadow:0 1.2cqi 3cqi rgba(32,36,31,.14);font-size:clamp(9px,2.05cqi,13px);line-height:1.3;color:var(--carbon);rotate:var(--r);display:grid;grid-template-columns:auto 1fr;gap:.1em .7em;animation:scrap-bob 4.6s cubic-bezier(.33,0,.67,1) calc(var(--i) * -.7s) infinite alternate}
.scrap .ic{grid-row:1/3;width:1.6em;height:1.6em;color:var(--cta);align-self:start;margin-top:.1em}
.scrap b{font-weight:800;color:var(--ink);font-size:.95em}
.scrap:nth-child(7){grid-template-rows:auto}
@keyframes scrap-bob{from{translate:0 -.4cqi}to{translate:0 .4cqi}}
.ba-after{position:relative;z-index:2;background:var(--surface);border:1px solid var(--stone);border-radius:4.5cqi;padding:4cqi;box-shadow:0 2.4cqi 6cqi rgba(24,87,74,.14);display:grid;gap:2.6cqi}
.ba-steps{list-style:none;margin:0;padding:0;display:grid;gap:2.2cqi}
.ba-steps li{display:flex;align-items:center;gap:2cqi;height:9.4cqi;padding:0 3cqi;border-radius:2.6cqi;background:#fff;border:1px solid var(--stone);font-size:clamp(11px,3.1cqi,19px);font-weight:800;letter-spacing:-.01em;color:var(--slate);animation:var(--loop) linear infinite}
.ba-steps .ic{width:1.15em;height:1.15em;color:currentColor}
.ba-steps li:nth-child(1){animation-name:ba-step1}
.ba-steps li:nth-child(2){animation-name:ba-step2}
.ba-steps li:nth-child(3){animation-name:ba-step3}
.ba-steps li:nth-child(1) .ic{color:var(--cta)}
.ba-steps li:nth-child(2) .ic{color:#E59A1C;animation:ba-spin var(--loop) linear infinite}
.ba-steps li:nth-child(3) .ic{color:var(--cta)}
/* step 1 lights at the first landing and bumps at each; 2 and 3 follow; all rest again at the end */
@keyframes ba-step1{0%,6%{color:var(--slate);background:#fff;transform:none}7.5%{color:var(--ink);background:var(--note-yellow);transform:scale(1.045)}9.5%{transform:none}15.5%{transform:scale(1.045)}17.5%{transform:none}23.5%{transform:scale(1.045)}25.5%,90%{color:var(--ink);background:var(--note-yellow);transform:none}95%,100%{color:var(--slate);background:#fff}}
@keyframes ba-step2{0%,26%{color:var(--slate);background:#fff;transform:none}28%{color:var(--ink);background:var(--note-yellow);transform:scale(1.045)}30%,90%{color:var(--ink);background:var(--note-yellow);transform:none}95%,100%{color:var(--slate);background:#fff}}
@keyframes ba-step3{0%,34%{color:var(--slate);background:#fff;transform:none}36%{color:var(--ink);background:var(--note-yellow);transform:scale(1.045)}38%,90%{color:var(--ink);background:var(--note-yellow);transform:none}95%,100%{color:var(--slate);background:#fff}}
@keyframes ba-spin{0%,26%{rotate:0deg}34%{rotate:360deg}100%{rotate:360deg}}
.ba-tick path{stroke-dasharray:1;stroke-dashoffset:1;animation:ba-tick var(--loop) linear infinite}
@keyframes ba-tick{0%,35%{stroke-dashoffset:1}40%,92%{stroke-dashoffset:0}96%,100%{stroke-dashoffset:1}}
/* three scraps fly from the pile into the first step */
.ba-fly{position:absolute;z-index:3;left:var(--sx);top:var(--sy);display:inline-flex;align-items:center;gap:.5em;padding:.45em .8em;border-radius:999px;background:#fff;border:1px solid var(--stone);box-shadow:0 .8cqi 2cqi rgba(32,36,31,.16);font-size:clamp(9px,2.1cqi,13px);font-weight:800;color:var(--ink);white-space:nowrap;opacity:0;animation:ba-fly var(--loop) cubic-bezier(.4,0,.2,1) calc(var(--k) * .96s) infinite;--ex:58cqi;--ey:19.5cqi}
.ba-fly .ic{width:1.2em;height:1.2em;color:var(--cta)}
@keyframes ba-fly{0%{opacity:0;transform:translate(0,0) scale(.85)}1.5%{opacity:1;transform:translate(0,-1cqi) scale(1)}7%{opacity:1;transform:translate(calc(var(--ex) - var(--sx)),calc(var(--ey) - var(--sy))) scale(.3)}7.5%,100%{opacity:0;transform:translate(calc(var(--ex) - var(--sx)),calc(var(--ey) - var(--sy))) scale(.3)}}
/* the tidy note springs up under the steps once the third one is lit, its rows landing in order */
.ba-note{background:#FFF3BF;border:1px solid #F2C94C;border-radius:2.6cqi;padding:2.6cqi 3cqi 2.4cqi;display:grid;gap:1.1cqi;font-size:clamp(10px,2.25cqi,14px);line-height:1.3;color:var(--ink);transform-origin:50% 0;animation:ba-note var(--loop) linear infinite}
@keyframes ba-note{0%,39%{opacity:0;transform:translateY(5cqi) scale(.94);animation-timing-function:var(--spring)}46%,89%{opacity:1;transform:none}94%,100%{opacity:0;transform:translateY(2cqi) scale(.97)}}
.ba-note>*,.ba-list li{margin:0;opacity:0;animation:ba-row var(--loop) linear infinite;animation-delay:calc(var(--r,0) * 70ms)}
.ba-list{list-style:none;padding:0;opacity:1;animation:none;display:grid;gap:.5em}
@keyframes ba-row{0%,43%{opacity:0;translate:0 .4em;animation-timing-function:cubic-bezier(.2,.7,.2,1)}46%,89%{opacity:1;translate:0 0}92%,100%{opacity:0}}
.ba-meta{display:flex;align-items:center;gap:.6em;font-size:.85em;color:#5c6660}
.ba-cat{display:inline-flex;align-items:center;height:1.6em;padding:0 .7em;border-radius:999px;background:#C6EEDD;color:var(--ink2);font-weight:700}
.ba-note h3{font-family:var(--sans);font-weight:800;font-size:1.55em;line-height:1.12;letter-spacing:-.015em;margin:.1em 0 0}
.ba-tags{display:flex;gap:.45em;font-size:.82em;color:var(--cta)}
.ba-tags span{padding:.2em .7em;border-radius:999px;background:#eaf3e9}
.ba-list li{display:flex;align-items:center;gap:.6em;color:#36433B;font-size:.95em}
.ba-list i{width:1.1em;height:1.1em;border-radius:50%;border:1.5px solid #8f8a6c;flex:none}
.ba-foot{display:flex;align-items:center;justify-content:space-between;gap:.6em;flex-wrap:wrap;padding-top:.6em;border-top:1px solid rgba(32,36,31,.1);font-size:.9em}
.ba-foot>span{display:inline-flex;align-items:center;gap:.4em}
.ba-foot .ic{width:1.05em;height:1.05em;color:#1F4630}
.ba-by{font-size:.85em;color:var(--cta)}
.ba-by .ic{color:var(--cta)}
/* zaki peeks over the card's top edge while the note is out */
.ba-zaki{position:absolute;z-index:1;right:4cqi;top:0;width:19cqi;height:auto;translate:0 60%;opacity:0;animation:ba-zaki var(--loop) cubic-bezier(.2,.7,.2,1) infinite}
@keyframes ba-zaki{0%,38%{translate:0 60%;opacity:0}44%,89%{translate:0 -2%;opacity:1}94%,100%{translate:0 60%;opacity:0}}
/* small green labels, one above the pile and one under the card, fading in as the scene arrives */
.ba-label{position:absolute;z-index:4;font-weight:800;font-size:clamp(12px,2.6cqi,15px);line-height:1;color:var(--cta);white-space:nowrap}
.ba-label-before{left:1cqi;top:1.5cqi}
.ba-label-after{right:1cqi;bottom:2cqi}
.motion-js .ba:not(.in) .ba-label{opacity:0}
.ba.in .ba-label{animation:section-arrive .6s cubic-bezier(.2,.65,.3,1) both}
.ba.in .ba-label-before{animation-delay:.5s}.ba.in .ba-label-after{animation-delay:1.1s}
.ba.offscreen *,.motion-paused .ba *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
  body:not(.motion-enabled) .ba *{animation:none!important}
  body:not(.motion-enabled) .ba-steps li{color:var(--ink);background:var(--note-yellow)}
  body:not(.motion-enabled) .ba-tick path{stroke-dashoffset:0}
  body:not(.motion-enabled) .ba-note,body:not(.motion-enabled) .ba-note>*,body:not(.motion-enabled) .ba-list li{opacity:1;transform:none;translate:none}
  body:not(.motion-enabled) .ba-zaki{opacity:1;translate:0 -2%}
  body:not(.motion-enabled) .ba-fly{display:none}
  body:not(.motion-enabled) .ba-label{opacity:1}
}
@media(max-width:600px){.ba{max-width:440px}}

/* ---------- cinematic hero: a bright rooftop morning in a rounded panel. The copy
   sits on the quiet left; zaki sits on the ledge at the right tapping his phone and
   blinking now and then, and hand-written scraps rise out of the phone and turn into
   tidy cards as he works on them. Phones stack the copy over the scene and send the
   notes off to the left instead of up. ---------- */
.hero.cine{padding:8px 8px 0;overflow:visible;background:var(--canvas)}
.cine-panel{--gutter:max(28px,calc((100% - var(--page)) / 2 + 24px));--cycle:12s;
  --ph:clamp(600px,calc(100dvh - 16px),1040px);--pw:calc(100vw - 16px);--rh:max(var(--ph),calc(var(--pw) * .6641));
  position:relative;isolation:isolate;overflow:hidden;border-radius:28px;color:var(--ink);
  min-height:var(--ph);display:grid;align-content:center;
  background:#dbe9f4 linear-gradient(180deg,#a9d3ee 0%,#ece5d4 56%,#efd0b3 100%)}
.cine-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:70% 100%}
.cine-panel::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,251,244,.62) 0%,rgba(255,251,244,.32) 38%,transparent 62%)}
.cine-copy{position:relative;z-index:2;max-width:calc(var(--gutter) + 820px);box-sizing:border-box;margin:0;
  padding:clamp(96px,14vh,160px) 24px clamp(128px,18vh,176px) var(--gutter)}
.cine-title{margin:0;font-family:var(--sans);font-size:clamp(46px,6.4vw,100px);line-height:.95;letter-spacing:-.045em;font-weight:900;text-wrap:balance;color:var(--ink)}
.cine-title em{font-style:normal;color:var(--cta)}
.cine-lede{margin:26px 0 0;max-width:520px;font-size:clamp(17px,1.4vw,21px);line-height:1.5;font-weight:600;color:var(--carbon);text-wrap:pretty}
.caret{display:inline-block;width:2px;height:.9em;margin-left:4px;vertical-align:-.1em;border-radius:1px;background:var(--cta);animation:caret 1.1s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.cine .hero-ctas{margin-top:34px;gap:12px}
.cine-langs{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0;
  padding:0 24px clamp(26px,4vh,40px) var(--gutter);font-size:15px;font-weight:700;color:var(--carbon)}
.cine-flags{display:flex;gap:6px}
.cine-flags i{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid rgba(32,36,31,.1);font-style:normal;font-size:12px;font-weight:800;color:var(--ink)}
.cine-flags b{color:inherit}
.cine-flags .flag{width:22px;height:16px;margin:0;border-radius:3px;box-shadow:none}
/* zaki: a box the width of the cutout, its bottom on the ledge. The ledge top is 25% up
   the rendered picture, whose height is the panel's or the width-fitted one, whichever
   is taller (the picture is anchored to the panel's bottom edge). */
.cine-zaki{position:absolute;z-index:1;right:8%;bottom:calc(var(--rh) * .25);width:var(--zw);aspect-ratio:1100/1445;container-type:inline-size;transform-origin:50% 100%}
.cine-zaki>.zk-body,.cine-zaki noscript img{display:block;width:100%;height:100%}
.lid{position:absolute;border-radius:50%;background:#114443;transform:scaleY(0);transform-origin:50% 0}
.lid-l{left:33.4%;top:30.2%;width:11.6%;height:8.6%}
.lid-r{left:62.3%;top:24.4%;width:10.6%;height:11.8%}
.cine-glow{position:absolute;left:36%;top:38%;width:50%;aspect-ratio:1;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,228,140,.8),rgba(255,228,140,0) 62%);mix-blend-mode:screen;opacity:.3}
/* the notes: what zaki does on his phone shows beside him. A hand-written scrap pops
   out of the phone and drifts along his arm; on his next tap it becomes a sorted note
   in the app's own paper colours (a checklist, flashcards, an email draft), and the
   taps after that land on the card: a box ticks, an answer turns up, a reminder is
   set, then the "Sorted" stamp. Three of them, a third of a cycle apart. */
.cn{--x1:-32cqw;--y1:-8cqw;--x2:-70cqw;--y2:-22cqw;--tx:-90cqw;--ty:-56cqw;
  position:absolute;left:32cqw;top:72cqw;width:60cqw;height:14cqw;font-size:clamp(12px,4.2cqw,15px);line-height:1.3;opacity:0;transform-origin:50% 100%}
.cn-rough,.cn-tidy{position:absolute;box-sizing:border-box}
.cn-rough{left:0;top:0;width:100%;border-radius:.9em;padding:.6em .9em .7em;box-shadow:0 .6em 1.8em rgba(32,36,31,.16);font-family:"Caveat",cursive;font-weight:700;font-size:1.3em;line-height:1.15;color:#3b443f;background:#fff6cf;rotate:-5deg}
.cn-tidy{right:0;bottom:0;width:var(--cardw);display:grid;gap:.36em;padding:.8em .95em .85em;border-radius:1.1em;border:1px solid rgba(32,36,31,.08);background:var(--paper,#fff);color:#20241F;opacity:0;transform-origin:100% 100%;
  box-shadow:0 .15em .4em rgba(32,36,31,.08),0 1em 2.6em rgba(32,36,31,.22)}
.cn-yellow{--paper:#FFF6B8}.cn-pink{--paper:#FBE4E0}.cn-sky{--paper:#DCEBF6}
.cn-kind{display:flex;align-items:center;gap:.4em;font-style:normal;font-size:.78em;font-weight:800;letter-spacing:.02em;color:#18574A}
.cn-tidy .ic{flex:none;width:1.2em;height:1.2em;margin:0;fill:currentColor}
.cn-kind em{margin-left:auto;padding:.1em .65em;border-radius:99px;background:rgba(255,255,255,.72);font-style:normal;font-weight:700;color:#454745}
.cn-tidy>b{font-size:1.05em;font-weight:800;line-height:1.2;letter-spacing:-.01em}
.cn-row{display:flex;align-items:flex-start;gap:.5em;font-size:.9em;font-weight:600;line-height:1.3;color:#3b443f}
.cn-row>i{flex:none;min-width:1.1em;font-style:normal;font-weight:800;color:#18574A}
.cn-row .ic{margin-top:.05em;color:#18574A}
.cn-row .cn-box{display:grid;place-items:center;width:1.15em;height:1.15em;min-width:0;margin-top:.06em;border-radius:50%;background:#18574A;box-shadow:inset 0 0 0 1.5px #18574A}
.cn-box svg,.cn-done svg{width:.78em;height:.78em;fill:none;stroke:#fff;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round}
.cn-body{font-weight:500}
.cn-more{font-size:.82em;color:#595955}
.cn-when{font-weight:700;color:#18574A}
.cn-done{position:absolute;right:-.5em;bottom:-.7em;display:flex;align-items:center;gap:.3em;padding:.25em .7em .25em .5em;border-radius:99px;background:#18574A;color:#fff;font-style:normal;font-size:.78em;font-weight:800;rotate:-4deg;box-shadow:0 .3em .8em rgba(24,87,74,.35)}
/* what zaki wears: the woolly hat sits on the cutout, sized in its own width. It carries no
   src until snow first comes round (index.html). */
.cine-zaki .zk-prop{position:absolute;display:block;max-width:none;height:auto;opacity:0;pointer-events:none;
  transition:opacity .4s ease,scale .8s var(--spring),rotate .8s var(--spring),translate .8s var(--spring)}
.cine-zaki .zk-beanie{left:4cqw;top:-43cqw;width:86cqw;height:62cqw;translate:0 -46cqw}
/* rain and hot sun: an umbrella or a parasol pasted over a zaki whose hands are both on the
   phone never looks held, so each has its own picture of him, one fist round the shaft and the
   phone in the other hand (index.html; rain has a day and a night one, the sun one wears the
   sunglasses too). It is drawn on his box at his size with his feet on the same line, fades in
   over the cutout, and the cutout goes once it is fully in. In the rain only the eyes sit
   elsewhere, so the lids move with it; in the sun they are behind the sunglasses, so the lids go. */
.cine-zaki :is(.zk-rain,.zk-sun){position:absolute;left:-40.91cqw;top:-31.82cqw;width:162.73cqw;max-width:none;height:auto;opacity:0;pointer-events:none;transition:opacity .45s ease,filter 1.8s ease}
.cine-zaki .zk-sun{top:-50.91cqw}
[data-wx="rain"] .has-rain .zk-rain,[data-wx="sun"] .has-sun .zk-sun{opacity:1}
[data-wx="rain"] .has-rain>.zk-body,[data-wx="sun"] .has-sun>.zk-body{opacity:0;transition:filter 1.8s ease,opacity 0s .45s}
[data-wx="rain"] .has-rain .lid-l{left:36%;top:29.8%;width:10.4%;height:11.4%}
[data-wx="rain"] .has-rain .lid-r{left:64.2%;top:26.9%;width:9.6%;height:11.2%}
[data-wx="sun"] .has-sun .lid{display:none}
[data-wx="snow"] .zk-beanie{opacity:1;translate:0 0}
/* zaki takes the light of the hour and of the weather: both are plain filters, so the
   lids (flat colour) and the props shift exactly as the cutout does */
.cine-panel{--tod-f:brightness(1);--wx-f:brightness(1);--wx-art:none}
/* the sorted card's lane: --clear is where the card's left edge sits (from the panel's
   left), so the lede and the buttons stop short of it at every side-by-side width */
/* zaki's width also answers to the panel's height. He and the umbrella or parasol over him
   (the parasol rises highest: --zrise of his width above his box) must fit between the header and the ledge, so in a
   short window he is smaller instead of the canopy losing its top under the header. Phones
   grow the panel instead (--need, below). */
.cine-panel{--zrise:.49;--zfit:calc((var(--ph) - var(--rh) * .25 - 70px) / (1.3136 + var(--zrise)))}
.cine-panel{--zw:min(clamp(200px,22vw,360px),var(--zfit));--cardw:max(var(--zw) * .76,200px);--clear:calc(var(--pw) * .92 - var(--zw) * .98 - var(--cardw))}
.cine-lede{max-width:min(520px,calc(var(--clear) - var(--gutter) - 20px))}
.cine-zaki :is(.zk-body,.zk-rain,.zk-sun,.lid,.zk-prop){filter:var(--tod-f) var(--wx-f)}
.cine-art{filter:var(--wx-art)}
html[data-tod="afternoon"] .cine-panel{--tod-f:brightness(1.03) saturate(1.06)}
html[data-tod="evening"] .cine-panel{--tod-f:sepia(.24) saturate(1.16) brightness(.97) hue-rotate(-8deg)}
html.night .cine-zaki .zk-prop{filter:brightness(.58) saturate(.8) hue-rotate(10deg) var(--wx-f)}
@media (prefers-reduced-motion:no-preference){
  .cine-zaki{animation:zaki-breathe 3.4s cubic-bezier(.33,0,.67,1) infinite alternate}
  .motion-js .cine-art{animation:cine-settle 1.4s var(--ease) both}
  .motion-js .cine-zaki{animation:zaki-pop 1s var(--spring) .25s both,zaki-breathe 3.4s cubic-bezier(.33,0,.67,1) 1.25s infinite alternate}
  .lid{animation:zaki-blink 5.2s linear infinite}
  .cine-glow{animation:zaki-glow calc(var(--cycle) / 12) linear infinite}
  .cn,.cn *{animation-duration:var(--cycle);animation-delay:calc(var(--n) * var(--cycle) / -3);animation-iteration-count:infinite;animation-timing-function:linear}
  .cn{animation-name:cn-rise;animation-timing-function:cubic-bezier(.3,0,.5,1)}
  .cn-rough{animation-name:cn-rough}
  .cn-tidy{animation-name:cn-tidy}
  .cn-t1{animation-name:cn-t1}.cn-t1 svg{animation-name:cn-r1}
  .cn-t2{animation-name:cn-t2}.cn-t2 svg{animation-name:cn-r2}
  .cn-r1{animation-name:cn-r1}.cn-r2{animation-name:cn-r2}
  .cn-done{animation-name:cn-done}
  @keyframes cine-settle{from{opacity:0;scale:1.04}to{opacity:1;scale:1}}
  @keyframes zaki-pop{from{opacity:0;translate:0 6%}to{opacity:1;translate:0 0}}
  @keyframes zaki-breathe{from{scale:1}to{scale:1.016 1.022}}
  @keyframes zaki-blink{0%,42%{transform:scaleY(0)}44%,45.5%{transform:scaleY(1)}47.5%,93%{transform:scaleY(0)}95%,96.5%{transform:scaleY(1)}98.5%,100%{transform:scaleY(0)}}
  @keyframes zaki-glow{0%,20%{opacity:.3}35%{opacity:.95}52%,100%{opacity:.3}}
  /* a sorted card always sits above the next scrap waiting its turn (z-index steps with the phase);
     zaki taps once a second (the glow peaks at 35% of each one): the scrap leaves on a
     tap, turns tidy on the tap at 19.6%, and the card answers the taps at 36.3% and 44.6% */
  @keyframes cn-rise{0%{opacity:0;translate:0 0;scale:.3;z-index:1}3%{opacity:1}5%{translate:var(--x1) var(--y1);scale:1}11%{translate:var(--x2) var(--y2)}20%{translate:var(--x2) var(--y2);z-index:1}29%{translate:var(--tx) var(--ty);z-index:2}51%{opacity:1;translate:var(--tx) calc(var(--ty) - 2cqw);scale:1}56.5%,100%{opacity:0;translate:var(--tx) calc(var(--ty) - var(--up,30cqw));scale:.92;z-index:2}}
  @keyframes cn-rough{0%,19.6%{opacity:1;rotate:-5deg;scale:1}23.5%,100%{opacity:0;rotate:0deg;scale:.9}}
  @keyframes cn-tidy{0%,20.5%{opacity:0;rotate:4deg;scale:.72}26%,100%{opacity:1;rotate:0deg;scale:1}}
  @keyframes cn-t1{0%,36.2%{background:transparent;box-shadow:inset 0 0 0 1.5px #6b6b67;scale:1}37.3%{scale:1.45}38.6%,100%{background:#18574A;box-shadow:inset 0 0 0 1.5px #18574A;scale:1}}
  @keyframes cn-t2{0%,44.5%{background:transparent;box-shadow:inset 0 0 0 1.5px #6b6b67;scale:1}45.6%{scale:1.45}46.9%,100%{background:#18574A;box-shadow:inset 0 0 0 1.5px #18574A;scale:1}}
  @keyframes cn-r1{0%,36.2%{opacity:0;translate:0 .5em}38.6%,100%{opacity:1;translate:0 0}}
  @keyframes cn-r2{0%,44.5%{opacity:0;translate:0 .5em}46.9%,100%{opacity:1;translate:0 0}}
  @keyframes cn-done{0%,45.6%{opacity:0;scale:.4;rotate:-18deg}47%{opacity:1;scale:1.18}48.4%,100%{opacity:1;scale:1;rotate:-4deg}}
}
.motion-paused :is(.caret,.cine-zaki,.cine-zaki *),.cine-zaki.offscreen,.cine-zaki.offscreen *{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  body:not(.motion-enabled) :is(.caret,.cine-zaki,.lid,.cine-glow,.cn,.cn *,.zk-prop,.wx-clouds,.wx-rays){animation:none}
  body:not(.motion-enabled) .cn{opacity:0}
  body:not(.motion-enabled) .cn[style*="--n:0"]{opacity:1;translate:var(--tx) var(--ty)}
  body:not(.motion-enabled) .cn[style*="--n:0"] .cn-rough{opacity:0}
  body:not(.motion-enabled) .cn[style*="--n:0"] .cn-tidy{opacity:1}
  body:not(.motion-enabled) :is(.zk-prop,.wxg,.wx-clouds,.wx-rays,.wx-snowcap,.cine-art,.cine-zaki *){transition:none}
}
@media (max-width:1100px){.cine-art{object-position:72% 100%}}
@media (max-width:1000px){.cine-copy{max-width:min(100%,calc(var(--gutter) + 620px))}.cine-zaki{right:7%}
  .cine-panel{--zw:min(clamp(180px,24vw,260px),var(--zfit));--cardw:max(var(--zw) * .76,150px);--clear:calc(var(--pw) * .93 - var(--zw) * .98 - var(--cardw))}
  .hero.cine .store-row{display:flex;flex-wrap:wrap;max-width:calc(var(--clear) - var(--gutter) - 12px)}}
@media (max-width:760px){
  .hero.cine{padding:6px 6px 0}
  .cine-panel{--gutter:24px;--ph:min(calc(100dvh - 12px),900px);--pw:calc(100vw - 12px);border-radius:22px;align-content:start}
  .cine-art{object-position:74% 100%}
  .cine-panel::before{background:linear-gradient(180deg,rgba(255,251,244,.72) 0%,rgba(255,251,244,.4) 42%,transparent 62%)}
  .cine-copy{max-width:none;padding:84px 24px 24px}
  .cine-title{font-size:clamp(36px,10.5vw,64px)}
  .cine-lede{font-size:17px;margin-top:18px}
  .cine .hero-ctas{margin-top:26px}
  .cine-panel{--zw:clamp(124px,33vw,170px);--need:calc((var(--copy-b,430px) + var(--zw) * (1.3136 + var(--zrise))) / .75);--rh:max(var(--ph),var(--need));min-height:var(--rh)}
  .cine-zaki{right:9%;bottom:calc(var(--rh) * .25)}
  .cine-lede{max-width:520px}
  .hero.cine .store-row{display:grid;max-width:none}
  /* phones: the sorted card sits beside zaki, below the buttons, and drops its longest row */
  .cn{--x1:-52cqw;--y1:-4cqw;--x2:-104cqw;--y2:-12cqw;--tx:-118cqw;--ty:-6cqw;--up:12cqw;width:96cqw;font-size:11.5px}
  .cn-tidy{width:max(122cqw,190px)}
  .cn-body{display:none}
  .cine-langs{padding:0 24px 24px;font-size:14px;gap:8px 12px}
  .cine-flags i{width:32px;height:32px;border-radius:9px}
  .cine-flags .flag{width:20px;height:15px}
}

/* ---------- home header: floats over the hero. At the top it is only the mark and the
   button on the picture; once the page scrolls it becomes a frosted pill and the name
   slides in beside the mark. ---------- */
.nav-sentinel{position:absolute;top:0;left:0;width:1px;height:48px;pointer-events:none}
.home-page .nav{position:fixed;left:0;right:0;top:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;animation:none;box-shadow:none;pointer-events:none}
.home-page .nav-in{pointer-events:auto;box-sizing:border-box;width:calc(100% - 24px);max-width:var(--page);height:56px;margin:10px auto 0;padding:0 8px 0 20px;border-radius:999px;border:1px solid transparent;
  transition:background-color .35s var(--ease),border-color .35s var(--ease),box-shadow .35s var(--ease)}
.home-page .nav.stuck .nav-in{background:rgba(255,255,255,.74);border-color:rgba(32,36,31,.08);box-shadow:0 10px 30px rgba(32,36,31,.1);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px)}
.home-page .brand{gap:8px;min-height:44px}
.home-page .brand img{width:34px;height:34px;border-radius:9px;transform-origin:left center;scale:1.3;transition:scale .5s cubic-bezier(.16,1,.3,1)}
.home-page .nav.stuck .brand img{scale:1}
.home-page .brand span{display:inline-block;max-width:0;overflow:hidden;opacity:0;translate:-10px 0;white-space:nowrap;transition:max-width .5s cubic-bezier(.16,1,.3,1),opacity .4s ease,translate .5s cubic-bezier(.16,1,.3,1)}
.home-page .nav.stuck .brand span{max-width:140px;opacity:1;translate:0 0}
@media (prefers-reduced-transparency:reduce){.home-page .nav.stuck .nav-in{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (prefers-reduced-motion:reduce){.home-page :is(.nav-in,.brand img,.brand span){transition:none}}
@media (max-width:760px){.home-page .nav-in{width:calc(100% - 16px);height:52px;margin-top:8px;padding:0 6px 0 14px}.home-page .brand img{width:30px;height:30px}}
/* the lower half of the page is laid out and painted only as it comes near */
.appband,.why,.pricing,.faq{content-visibility:auto;contain-intrinsic-size:auto 900px}

/* =====================================================================
   Night. From 19:00 to 06:00 local time, or when the system is dark, the
   home page goes to a deep night blue: the rooftop is the same ledge under
   a crescent moon, zaki is lit by his phone, the mint becomes the one
   bright accent, and every paper card (notes, scraps, tiles, the manga
   page) keeps its daylight ink so it still reads as paper. The footer was
   already night.
   ===================================================================== */
html.night .home-page{--canvas:#0E1320;--card:#182033;--surface:#161D2E;--fog:#1F2941;--ink:#F2F4F8;--charcoal:#E6E9F0;--carbon:#C9CFDB;--slate:#9AA3B5;--graphite:#7E8798;--hair:rgba(255,255,255,.08);--stone:rgba(255,255,255,.16);--tint:#14292E;--accent-border:#3C6E68;--cta:#5CCDA8;--cta-hover:#7ADCBE;--link:#8FB8FF;--butter:#D8BE5E;--note-yellow:#D8BE5E;--note-pink:#D59AAE;--note-lilac:#AFA1E3;--note-sky:#8EB0E2;--note-mint:#84C7A6;--shadow-float:rgba(0,0,0,.45) 0 8px 48px 0;--shadow-nav:rgba(0,0,0,.3) 0 0 36px 0;color:var(--ink)}
html.night{color-scheme:dark}
html.night .home-page .btn-primary{color:#0E1320}
html.night .home-page .cta-panel .btn-primary{color:#fff}
/* tile text reads darker on the muted night tiles */
html.night .home-page .tile p{color:#2D3531}
html.night .home-page .badge{background:#F2F4F8;color:#0E1320}
html.night .home-page .badge.soon{background:var(--surface);color:var(--ink)}
/* paper stays paper: these light cards keep their daylight tokens */
html.night .home-page :is(.ba-before,.ba-after,.ba-fly,.manga-page,.manga-panel,.tile,.cta-panel,.inl-note i,.cn-tidy,.s-capture .word,.rm-belt li,.chip){--ink:#20241F;--charcoal:#292929;--carbon:#454745;--slate:#6b6b67;--graphite:#818179;--canvas:#F4F5F1;--surface:#fff;--fog:#eaebe5;--hair:#e3e3e3;--stone:#d5d5d2;--cta:#18574A;--link:#006fd6;--tint:#E3F2EC;--accent-border:#7ABBA9;color:var(--ink)}
html.night .home-page .manga::before{background:radial-gradient(circle,rgba(255,255,255,.1) 1.3px,transparent 1.8px) 0 0/15px 15px}
/* at night the phone stands in a soft mint glow (a dimmed white halo read as grey murk) */
html.night .home-page .dv-halo{opacity:1;background:radial-gradient(closest-side,rgba(92,205,168,.26),rgba(92,205,168,.1) 52%,rgba(92,205,168,0))}
html.night .home-footer{background:#0A0F1A}
/* the hero at night: the copy sits in a dark wash over the moonlit rooftop */
html.night .cine-panel{background:#0E1320 linear-gradient(180deg,#0B1437 0%,#17265A 56%,#233368 100%)}
html.night .cine-panel::before{background:linear-gradient(90deg,rgba(8,12,30,.74) 0%,rgba(8,12,30,.46) 38%,transparent 62%)}
html.night .cine-flags i{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.14)}
html.night .cine-glow{opacity:.5}
/* the night sticker's eyes sit a touch to the right of the morning's; the lids follow, in its darker face colour */
html.night .lid{background:#052A33}
html.night .lid-l{left:33.8%;top:30.4%;width:12.1%;height:8.9%}
html.night .lid-r{left:63%;top:25%;width:10.4%;height:12.1%}
html.night .home-page .nav.stuck .nav-in{background:rgba(14,19,32,.72);border-color:rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(0,0,0,.35)}
@media (prefers-reduced-transparency:reduce){html.night .home-page .nav.stuck .nav-in{background:#0E1320}}
@media (max-width:760px){html.night .cine-panel::before{background:linear-gradient(180deg,rgba(8,12,30,.8) 0%,rgba(8,12,30,.52) 42%,transparent 62%)}}

/* the hero's store row: the iPhone waitlist first and Google Play second, as app pages
   order them; side by side on wide screens, stacked full width on phones */
.cine .store-row{display:grid;grid-template-columns:repeat(2,max-content);gap:12px}
.cine .store-row .badge{min-height:60px;padding:0 22px 0 18px;gap:10px}
.cine .store-row .badge .ic{width:24px;height:24px}
.cine .store-row .badge span{font-size:17px}
.cine .store-row .badge small{font-size:11.5px}
@media (max-width:520px){.cine .store-row{grid-template-columns:1fr}.cine .store-row .badge{justify-content:center}}
.faq-wl{display:inline;padding:0;font:inherit;color:var(--cta);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* =====================================================================
   The iPhone waitlist: a sheet that rises over the page (a card on wide
   screens, a bottom sheet on phones) with a name, an email and a TestFlight
   switch. Its rows arrive in turn, labels float, the switch springs, a
   wrong field shakes, and joining throws note-coloured confetti while zaki
   cheers. Every colour comes from the page tokens, so it follows night too.
   ===================================================================== */
html:has(.wl[open]){overflow:hidden}
.wl [hidden]{display:none!important}
.wl{padding:0;border:0;background:transparent;color:var(--ink);width:min(460px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:visible}
.wl::backdrop{background:rgba(14,19,32,.46);-webkit-backdrop-filter:blur(8px) saturate(140%);backdrop-filter:blur(8px) saturate(140%)}
.wl-sheet{position:relative;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;background:var(--surface);border-radius:28px;padding:28px 28px 22px;box-shadow:0 40px 100px rgba(14,19,32,.35),0 0 0 1px var(--hair)}
.wl-x{position:absolute;z-index:2;right:14px;top:14px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--fog);color:var(--slate);transition:color .2s,background-color .2s}
.wl-x:hover{color:var(--ink)}
.wl-x .ic{width:18px;height:18px}
.wl-head{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.wl-icon{width:56px;height:56px;border-radius:14px;box-shadow:0 10px 24px rgba(14,19,32,.2)}
.wl-soon{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;background:var(--tint);color:var(--cta);font-size:13px;font-weight:800}
.wl-soon .ic{width:15px;height:15px}
.wl h2{font-family:var(--display);font-weight:400;font-size:clamp(27px,5.2vw,32px);line-height:1.08;letter-spacing:-.02em;margin:0;color:var(--ink);text-wrap:balance}
.wl-lede{margin:10px 0 20px;font-size:16px;line-height:1.45;color:var(--slate);text-wrap:pretty}
.wl-field{position:relative;display:block;margin:0 0 12px}
.wl-field input{display:block;box-sizing:border-box;width:100%;height:56px;padding:22px 16px 4px;border-radius:14px;border:1.5px solid var(--stone);background:var(--canvas);color:var(--ink);font:inherit;font-size:16px;font-weight:600;outline:none;transition:border-color .2s,box-shadow .2s}
.wl-field input:focus{border-color:var(--cta);box-shadow:0 0 0 4px color-mix(in srgb,var(--cta) 20%,transparent)}
.wl-field span{position:absolute;left:17px;top:50%;translate:0 -50%;font-size:16px;font-weight:600;line-height:1;color:var(--slate);pointer-events:none;transform-origin:0 50%;transition:top .22s var(--ease),scale .22s var(--ease),color .2s}
.wl-field input:focus+span,.wl-field input:not(:placeholder-shown)+span,.wl-field input:-webkit-autofill+span{top:15px;scale:.76}
.wl-field input:focus+span{color:var(--cta)}
.wl-field.bad input{border-color:#D9534F;box-shadow:0 0 0 4px rgba(217,83,79,.16)}
.wl-beta{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;margin:4px 0 16px;padding:14px;border-radius:16px;background:var(--fog);cursor:pointer}
.wl-beta input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.wl-switch{position:relative;width:46px;height:28px;border-radius:999px;background:var(--stone);transition:background-color .25s}
.wl-switch i{position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:translate .4s var(--spring)}
.wl-beta input:checked+.wl-switch{background:var(--cta)}
.wl-beta input:checked+.wl-switch i{translate:18px 0}
.wl-beta input:focus-visible+.wl-switch{outline:2px solid var(--cta);outline-offset:3px}
.wl-beta b{display:block;font-size:15px;font-weight:800;line-height:1.3;color:var(--ink)}
.wl-beta small{display:block;margin-top:3px;font-size:13.5px;line-height:1.4;color:var(--slate)}
.wl-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.wl-err{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:rgba(217,83,79,.1);color:#B23A36;font-size:14px;font-weight:700;line-height:1.4}
.wl-err.shake{animation:wl-shake .42s cubic-bezier(.36,.07,.19,.97)}
.wl-go{position:relative;display:grid;place-items:center;width:100%;height:54px;border-radius:999px;background:var(--cta);color:#fff;font-size:16px;font-weight:800;transition:transform .45s var(--spring),background-color .2s}
.wl-go:hover{background:var(--cta-hover)}
.wl-go:active{transform:scale(.97);transition-duration:.1s}
.wl-go>*{grid-area:1/1}
.wl-go[aria-busy="true"]{cursor:progress}
.wl-go[aria-busy="true"] span{opacity:0}
.wl-spin{width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;opacity:0;animation:wl-spin .7s linear infinite}
.wl-go[aria-busy="true"] .wl-spin{opacity:1}
.wl-fine{margin:12px 0 0;text-align:center;font-size:13px;color:var(--slate)}
.wl-fine a{color:var(--cta);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.wl-done{text-align:center;outline:none}
.wl-party{position:relative;height:156px;margin:0 0 8px}
.wl-zaki{position:absolute;left:50%;top:0;width:auto;height:150px;translate:-50% 0}
.wl-confetti{position:absolute;left:50%;top:58%}
.wl-confetti i{position:absolute;width:10px;height:14px;border-radius:2px;background:var(--c);opacity:0}
.wl-done h2{margin-top:4px}
.wl-done-p{margin:10px 0 0;font-size:16px;line-height:1.45;color:var(--slate);overflow-wrap:anywhere}
.wl-done-p b{color:var(--ink)}
.wl-done-beta{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 0;padding:10px 14px;border-radius:14px;background:var(--tint);color:var(--cta);font-size:14px;font-weight:800;line-height:1.35}
.wl-done-beta .ic{width:16px;height:16px;flex:none}
.wl-done .wl-go{margin-top:20px}
/* motion: the sheet springs up, its rows arrive in turn, it sinks away on close */
.wl[open]::backdrop{animation:wl-fade .3s ease both}
.wl[open] .wl-sheet{animation:wl-in .62s var(--spring) both}
.wl[open] .wl-form>*{animation:wl-row .5s cubic-bezier(.2,.7,.2,1) both}
.wl[open] .wl-form>:nth-child(2){animation-delay:.05s}.wl[open] .wl-form>:nth-child(3){animation-delay:.09s}
.wl[open] .wl-form>:nth-child(4){animation-delay:.13s}.wl[open] .wl-form>:nth-child(5){animation-delay:.17s}
.wl[open] .wl-form>:nth-child(6){animation-delay:.21s}.wl[open] .wl-form>:nth-child(7){animation-delay:.25s}
.wl[open] .wl-form>:nth-child(n+8){animation-delay:.29s}
.wl[open] .wl-icon{animation:wl-pop .7s var(--spring) .12s both}
.wl.closing::backdrop{animation:wl-fade .23s ease reverse both}
.wl.closing .wl-sheet{animation:wl-out .23s cubic-bezier(.4,0,1,1) both}
.wl.joined .wl-done>*{animation:wl-row .5s cubic-bezier(.2,.7,.2,1) both}
.wl.joined .wl-done>:nth-child(2){animation-delay:.18s}.wl.joined .wl-done>:nth-child(3){animation-delay:.24s}
.wl.joined .wl-done>:nth-child(4){animation-delay:.3s}.wl.joined .wl-done>:nth-child(5){animation-delay:.36s}
.wl.joined .wl-zaki{animation:wl-cheer .8s var(--spring) both,wl-bob 2.4s cubic-bezier(.33,0,.67,1) .8s infinite alternate}
.wl.joined .wl-confetti i{animation:wl-burst 1.1s cubic-bezier(.15,.7,.3,1) var(--d) both}
@keyframes wl-fade{from{opacity:0}}
@keyframes wl-in{from{opacity:0;transform:translateY(30px) scale(.95)}}
@keyframes wl-out{to{opacity:0;transform:translateY(18px) scale(.97)}}
@keyframes wl-row{from{opacity:0;transform:translateY(10px)}}
@keyframes wl-pop{from{opacity:0;transform:scale(.4) rotate(-12deg)}}
@keyframes wl-cheer{from{opacity:0;transform:translateY(30px) scale(.5)}}
@keyframes wl-bob{to{translate:-50% -6px}}
@keyframes wl-burst{0%{opacity:1;transform:translate(0,0) rotate(0) scale(.6)}70%{opacity:1}100%{opacity:0;transform:translate(var(--x),calc(var(--y) + 60px)) rotate(var(--r)) scale(1)}}
@keyframes wl-shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@keyframes wl-spin{to{rotate:360deg}}
/* phones: a bottom sheet with a grabber, sliding up from the edge */
@media (max-width:600px){
  .wl{width:100%;margin:auto 0 0;max-height:94dvh}
  .wl-sheet{max-height:94dvh;border-radius:26px 26px 0 0;padding:30px 20px calc(18px + env(safe-area-inset-bottom))}
  .wl-sheet::before{content:"";position:absolute;left:50%;top:9px;width:40px;height:5px;border-radius:3px;background:var(--stone);translate:-50% 0}
  .wl[open] .wl-sheet{animation:wl-up .55s cubic-bezier(.16,1,.3,1) both}
  .wl.closing .wl-sheet{animation:wl-down .25s cubic-bezier(.4,0,1,1) both}
  @keyframes wl-up{from{transform:translateY(100%)}}
  @keyframes wl-down{to{transform:translateY(100%)}}
}
@media (prefers-reduced-motion:reduce){
  .wl[open] .wl-sheet,.wl.closing .wl-sheet,.wl[open] .wl-form>*,.wl[open] .wl-icon,.wl.joined .wl-done>*,.wl.joined .wl-zaki,.wl.joined .wl-confetti i,.wl-err.shake{animation:none}
  .wl-switch i,.wl-field span,.wl-go{transition:none}
}
@media (prefers-reduced-transparency:reduce){.wl::backdrop{background:rgba(14,19,32,.72);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* night: the sheet is night glass; the green button takes dark words like the page's */
html.night .wl-go{color:#0E1320}
html.night .wl-err{color:#FFB4B1;background:rgba(255,120,110,.12)}
html.night .wl::backdrop{background:rgba(4,6,14,.6)}

/* day and night trade places while the page is open: the new sky opens outward from
   the sun or moon's corner of the hero (index.html adds .turning for the transition) */
html.turning::view-transition-old(root),html.turning::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.turning::view-transition-new(root){animation:sky-turn 1.1s cubic-bezier(.4,0,.2,1) both}
@keyframes sky-turn{from{clip-path:circle(0 at 84% 12%)}to{clip-path:circle(150vmax at 84% 12%)}}
/* without scripts the day/night pictures have no src: the <noscript> copies show instead */
img[data-night]:not([src]){display:none}


/* =====================================================================
   Every season, every hour. The rooftop keeps the visitor's time of day
   (index.html sets html[data-tod]) and works through the weather on
   .cine-panel[data-wx]: a colour grade and clouds between the picture and
   the copy's wash, sun rays, a cap of snow along the ledge, a canvas for
   what falls, and a small switch to pick the weather by hand.
   ===================================================================== */
.wx{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.wxg,.wx-clouds,.wx-rays{position:absolute;inset:0;opacity:0;transition:opacity 1.8s ease}
.cine-art{transition:filter 1.8s ease}
.cine-zaki :is(.zk-body,.lid){transition:filter 1.8s ease}
.wxg-rain{background:linear-gradient(180deg,rgba(58,72,100,.66),rgba(92,104,126,.42) 58%,rgba(118,126,140,.28))}
.wxg-sun{background:radial-gradient(120% 95% at 94% 0%,rgba(255,224,132,.8),rgba(255,198,98,.3) 34%,transparent 64%)}
.wxg-wind{background:linear-gradient(180deg,rgba(226,146,62,.26),rgba(244,200,136,.14))}
.wxg-snow{background:linear-gradient(180deg,rgba(150,174,208,.74),rgba(196,212,232,.5) 58%,rgba(232,239,247,.34))}
.wxg-bloom{background:linear-gradient(180deg,rgba(255,166,204,.26),rgba(255,214,228,.14))}
[data-wx="rain"] .wxg-rain,[data-wx="sun"] .wxg-sun,[data-wx="wind"] .wxg-wind,[data-wx="snow"] .wxg-snow,[data-wx="bloom"] .wxg-bloom{opacity:1}
[data-wx="rain"]{--wx-art:saturate(.6) brightness(.8) contrast(.96);--wx-f:brightness(.88) saturate(.88)}
[data-wx="sun"]{--wx-art:saturate(1.24) contrast(1.05) brightness(1.04);--wx-f:brightness(1.04) saturate(1.08)}
[data-wx="wind"]{--wx-art:sepia(.2) saturate(1.14);--wx-f:sepia(.1) saturate(1.04)}
[data-wx="snow"]{--wx-art:saturate(.52) brightness(1.07);--wx-f:brightness(1.02) saturate(.9)}
[data-wx="bloom"]{--wx-art:saturate(1.1) brightness(1.02)}
/* clouds: soft lobes along the top that drift; storm grey for rain, pale for snow */
.wx-clouds{--cl:66,78,102;inset:-8% -12% auto;height:58%;filter:blur(16px);
  background:radial-gradient(38% 62% at 10% 22%,rgba(var(--cl),.95),transparent 70%),radial-gradient(34% 56% at 36% 8%,rgba(var(--cl),.9),transparent 70%),radial-gradient(40% 66% at 63% 20%,rgba(var(--cl),.95),transparent 70%),radial-gradient(36% 58% at 90% 10%,rgba(var(--cl),.9),transparent 70%),linear-gradient(180deg,rgba(var(--cl),.75),transparent 72%)}
[data-wx="rain"] .wx-clouds{opacity:.92}
[data-wx="snow"] .wx-clouds{--cl:186,200,222;opacity:.8}
/* rays fan out from where the sun sits in the picture */
.wx-rays{--sx:96%;--sy:calc(100% - var(--rh) * .97);transform-origin:var(--sx) var(--sy);mix-blend-mode:screen;
  background:repeating-conic-gradient(from 96deg at var(--sx) var(--sy),rgba(255,244,200,0) 0deg,rgba(255,244,200,.34) 3.5deg,rgba(255,244,200,0) 8deg 15deg);
  -webkit-mask-image:radial-gradient(95% 115% at var(--sx) var(--sy),#000 8%,transparent 68%);mask-image:radial-gradient(95% 115% at var(--sx) var(--sy),#000 8%,transparent 68%)}
html[data-tod="evening"] .wx-rays{--sx:97%;--sy:calc(100% - var(--rh) * .585)}
[data-wx="sun"] .wx-rays{opacity:1}
/* snow settles along the top of the ledge, behind zaki */
.wx-snowcap{position:absolute;left:0;right:0;bottom:calc(var(--rh) * .249);height:calc(var(--rh) * .03);z-index:0;pointer-events:none;opacity:0;scale:1 0;transform-origin:50% 100%;transition:opacity 1.4s ease,scale 3s ease;
  --snow:#fff;--snow-edge:rgba(140,164,198,.55);background:radial-gradient(70px 100% at 50% 100%,var(--snow) 97%,transparent) 0 100%/131px 100% repeat-x,radial-gradient(110px 78% at 50% 100%,var(--snow) 97%,transparent) 47px 100%/211px 100% repeat-x,radial-gradient(46px 64% at 50% 100%,var(--snow) 97%,transparent) 19px 100%/83px 100% repeat-x,linear-gradient(var(--snow),var(--snow)) 0 100%/100% 46% no-repeat;
  filter:drop-shadow(0 2px 0 var(--snow-edge))}
[data-wx="snow"] .wx-snowcap{opacity:1;scale:1 1}
.wx-fx{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  .wx-clouds{animation:wx-drift 46s cubic-bezier(.45,0,.55,1) infinite alternate}
  .wx-rays{animation:wx-rays 9s cubic-bezier(.45,0,.55,1) infinite alternate}
  @keyframes wx-drift{from{translate:-5% 0}to{translate:5% 0}}
  @keyframes wx-rays{from{rotate:-3deg}to{rotate:4deg}}
}
.motion-paused :is(.wx-clouds,.wx-rays),.cine-panel:has(.cine-zaki.offscreen) :is(.wx-clouds,.wx-rays){animation-play-state:paused}
/* at night the weather darkens rather than greys, and there is no hot sun */
html.night .wxg-rain{background:linear-gradient(180deg,rgba(4,8,22,.6),rgba(10,16,36,.4))}
html.night .wxg-snow{background:linear-gradient(180deg,rgba(150,170,214,.3),rgba(176,192,226,.2))}
html.night .wxg-wind{background:linear-gradient(180deg,rgba(120,70,40,.22),rgba(60,40,60,.12))}
html.night .wxg-bloom{background:linear-gradient(180deg,rgba(214,120,170,.2),rgba(120,90,160,.1))}
html.night [data-wx="rain"]{--wx-art:saturate(.7) brightness(.78)}
html.night [data-wx="snow"]{--wx-art:saturate(.7) brightness(1.08)}
html.night [data-wx="rain"] .wx-clouds{--cl:8,12,30;opacity:.9}
html.night [data-wx="snow"] .wx-clouds{--cl:120,136,180;opacity:.6}
html.night .wx-snowcap{--snow:#C3D0EE;--snow-edge:rgba(24,34,78,.6)}
/* the weather switch: a small frosted pill in the hero's bottom corner */
.wx-switch{position:absolute;right:clamp(14px,2vw,28px);bottom:clamp(18px,3vh,30px);z-index:3;display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;
  background:rgba(255,255,255,.66);border:1px solid rgba(32,36,31,.08);box-shadow:0 8px 24px rgba(32,36,31,.1);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}
.wx-say{padding:0 10px 0 14px;font-size:13px;font-weight:800;color:var(--ink);white-space:nowrap}
.wx-switch button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--carbon);cursor:pointer;transition:background-color .25s ease,color .25s ease,scale .35s var(--spring)}
.wx-switch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wx-switch button:hover{background:rgba(32,36,31,.07)}
.wx-switch button:active{scale:.9}
.wx-switch button:focus-visible{outline:2px solid var(--cta);outline-offset:2px}
.wx-switch button[aria-pressed="true"]{background:var(--cta);color:#fff}
.wx-set{display:flex;align-items:center;gap:2px}
.wx-sep{width:1px;height:22px;margin:0 4px;background:rgba(32,36,31,.16)}
html.night .wx-sep{background:rgba(255,255,255,.2)}
.motion-btn .i-play,.motion-paused .motion-btn .i-pause{display:none}
.motion-paused .motion-btn .i-play{display:block}
.motion-btn .i-play path{fill:currentColor}
html.night .wx-switch{background:rgba(14,19,32,.62);border-color:rgba(255,255,255,.12);box-shadow:0 8px 24px rgba(0,0,0,.35)}
html.night .wx-switch button:hover{background:rgba(255,255,255,.1)}
html.night .wx-switch button[aria-pressed="true"]{color:#0E1320}
html.night .wx-switch [data-wx="sun"]{display:none}
@media (prefers-reduced-transparency:reduce){.wx-switch{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}html.night .wx-switch{background:#0E1320}}
@media (max-width:1180px){.wx-say{display:none}}
/* narrower screens: icons only, on the ledge wall above the languages row */
@media (max-width:900px){.wx-switch{left:var(--gutter);right:auto;bottom:88px}}
@media (max-width:760px){.wx-switch{left:20px;bottom:112px}.wx-switch button{width:38px;height:38px}}
/* the hour's wash behind the copy: the afternoon sky is a deeper blue and the evening
   one is orange, so the cream wash is a little stronger there */
html[data-tod="afternoon"] .cine-panel{background:#cfe6f6 linear-gradient(180deg,#6fb9ee 0%,#bfe2f5 56%,#efe3cf 100%)}
html[data-tod="afternoon"] .cine-panel::before{background:linear-gradient(90deg,rgba(255,253,248,.7) 0%,rgba(255,253,248,.4) 38%,transparent 64%)}
html[data-tod="evening"] .cine-panel{background:#f3c9a4 linear-gradient(180deg,#b9aee6 0%,#f6b9a4 52%,#f7c98d 100%)}
html[data-tod="evening"] .cine-panel::before{background:linear-gradient(90deg,rgba(255,247,236,.72) 0%,rgba(255,247,236,.44) 38%,transparent 64%)}
@media (max-width:760px){
  html[data-tod="afternoon"] .cine-panel::before{background:linear-gradient(180deg,rgba(255,253,248,.78) 0%,rgba(255,253,248,.46) 42%,transparent 62%)}
  html[data-tod="evening"] .cine-panel::before{background:linear-gradient(180deg,rgba(255,247,236,.8) 0%,rgba(255,247,236,.5) 42%,transparent 62%)}
}

/* ---------- the phone: screens push in like the app's own navigation. Each sorted
   note slides over the last one, fully opaque, so no frame ever shows two screens
   bleeding through each other; a copy of the first screen closes the loop. Beneath
   the phone a caption names what the rough words became. ---------- */
.home-page .dv-screen .sc{opacity:1;transform:translateX(102%)}
.home-page .dv-screen .sc:first-child{transform:none}
.home-page .devices.in .dv-and .sc{animation:dv-push 28s cubic-bezier(.32,.72,0,1) infinite both;animation-delay:calc(var(--k) * 4s - 28.6s)}
.home-page .devices.in .dv-and .sc-wrap{animation-name:dv-push-wrap;animation-delay:-.6s}
@keyframes dv-push{0%{transform:translateX(102%)}1.9%,14.2857%{transform:none}16.1%{transform:translateX(-24%)}16.11%,100%{transform:translateX(102%)}}
@keyframes dv-push-wrap{0%{transform:translateX(102%)}1.9%{transform:none}1.91%,100%{transform:translateX(102%)}}
/* a bigger phone, so the sorted notes on it can be read */
.home-page .devices{max-width:min(600px,74vh);margin-bottom:64px}
.home-page .dv-and{width:64cqi;margin-left:-32cqi}
.dv-cap{position:absolute;left:0;right:0;top:calc(100% + 16px);display:grid;justify-items:center;margin:0}
.dv-line{grid-area:1/1;display:flex;align-items:center;gap:10px;white-space:nowrap;opacity:0}
.dv-line:first-child{opacity:1}
.dv-line q{font-family:"Caveat",cursive;font-weight:700;font-size:24px;line-height:1;color:var(--ink)}
.dv-line .dv-to{width:16px;height:16px;color:var(--slate)}
.dv-line b{display:inline-flex;align-items:center;gap:6px;padding:7px 14px 7px 11px;border-radius:999px;background:var(--cta);color:#fff;font-size:14px;font-weight:800;line-height:1.2}
.dv-line b .ic{width:16px;height:16px}
html.night .dv-line b{color:#0E1320}
.home-page .devices.in .dv-line{animation:dv-cap 28s ease infinite both;animation-delay:calc(var(--k) * 4s - 28.6s)}
@keyframes dv-cap{0%{opacity:0;translate:0 8px}2.2%,12.6%{opacity:1;translate:0 0}14.2%,100%{opacity:0;translate:0 -8px}}
@media (max-width:600px){.home-page .devices{max-width:340px;aspect-ratio:.6;margin-bottom:84px}.home-page .dv-and{width:92cqi;margin-left:-46cqi}.dv-line{flex-direction:column;gap:6px}.dv-line .dv-to{rotate:90deg}.dv-line q{font-size:20px}}
/* the small grey lines (plan terms, per-month) sat at 4.45:1 on the card colour; a shade darker clears 4.5:1 */
html:not(.night) .home-page{--slate:#62625E}
