/* site-v2 round 7b additions (kept apart from v2.css while Noa works there) */
/* the drone video alone, wide, its caption on the picture over a soft dark bottom (xFigura) */
#arch.a1sec{padding-top:72px;padding-bottom:72px}
.a1{position:relative;max-width:1400px;margin:0 auto;aspect-ratio:16/9;max-height:84vh;border-radius:20px;overflow:hidden;background:var(--navy-2);box-shadow:0 0 0 1px var(--line-2),0 50px 100px -50px rgba(0,0,0,.9)}
.a1 video{display:block;width:100%;height:100%;object-fit:cover}
.a1::after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;pointer-events:none;background:linear-gradient(to top,rgba(6,10,11,.9) 0%,rgba(6,10,11,.62) 34%,rgba(6,10,11,.2) 68%,transparent)}
.a1 figcaption{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 32px 44px;text-align:center}
.a1 figcaption i{display:inline-block;margin-bottom:14px;padding:6px 10px;border-radius:8px;font:500 11px/1 var(--f-mono);font-style:normal;letter-spacing:.09em;text-transform:uppercase;color:#EDF6F6;
  background:rgba(237,246,246,.12);box-shadow:inset 0 0 0 1px rgba(237,246,246,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[lang=he] .a1 figcaption i{font:500 12px/1 var(--f-he);letter-spacing:0}
.a1 figcaption b{display:block;font:500 clamp(24px,2.4vw,34px)/1.15 var(--f);letter-spacing:-.025em;color:#fff}
html[lang=he] .a1 figcaption b{font-family:var(--f-he);letter-spacing:0}
.a1 figcaption .sub{display:block;margin:10px auto 0;max-width:46ch;text-wrap:balance;font-size:16px;line-height:1.5;color:rgba(237,246,246,.72)}
@media (max-width:760px){
  #arch.a1sec{padding:40px 12px}
  .a1{aspect-ratio:4/5;border-radius:16px}
  .a1 figcaption{padding:0 18px 22px} .a1 figcaption i{margin-bottom:8px} .a1 figcaption .sub{font-size:14px}
}

/* AGENTZ, round 7b: one picture that changes in place, the request box floating over it in the corner */
.ag5{margin-top:54px;display:flex;justify-content:center}
.ag5-pic{position:relative;margin:0;width:min(100%,1180px);aspect-ratio:2000/1116;border-radius:20px;overflow:hidden;background:#11191B;box-shadow:0 0 0 1px var(--line-2),0 50px 100px -50px rgba(0,0,0,.9)}
.ag5-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ag5-pic .aft{-webkit-mask-image:linear-gradient(100deg,#000 40%,transparent 60%);mask-image:linear-gradient(100deg,#000 40%,transparent 60%);
  -webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-position:100% 0;mask-position:100% 0}
.ag5-pic.done .aft{-webkit-mask-position:0 0;mask-position:0 0}
.ag5-pic.run .aft{animation:ag5rev 1.8s cubic-bezier(.55,0,.2,1) forwards}
@keyframes ag5rev{from{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:0 0;mask-position:0 0}}
/* the light that passes over the upper floor and the terrace with the change */
.ag5-pic .glow{position:absolute;left:30%;top:22%;width:52%;height:46%;pointer-events:none;opacity:0;mix-blend-mode:screen;
  background:linear-gradient(100deg,transparent 0%,rgba(190,245,246,.0) 38%,rgba(190,245,246,.38) 50%,rgba(190,245,246,0) 62%,transparent 100%) no-repeat;background-size:260% 100%;background-position:120% 0;
  -webkit-mask-image:radial-gradient(70% 70% at 50% 50%,#000 55%,transparent);mask-image:radial-gradient(70% 70% at 50% 50%,#000 55%,transparent)}
.ag5-pic.run .glow{animation:ag5glow 1.8s cubic-bezier(.55,0,.2,1) forwards}
@keyframes ag5glow{0%{opacity:0;background-position:120% 0}15%{opacity:1}85%{opacity:1}100%{opacity:0;background-position:-20% 0}}
.ag5-pic .hl{position:absolute;left:32%;top:26%;width:42%;height:40%;border-radius:10px;box-shadow:0 0 0 1.5px rgba(143,227,230,.8),0 0 0 6px rgba(143,227,230,.14);opacity:0;transition:opacity .5s}
.ag5-pic.done .hl{opacity:1}
.ag5-pic .tg{position:absolute;top:16px;left:16px;padding:5px 10px;border-radius:8px;font:500 11px/1.3 var(--f-mono);letter-spacing:.06em;color:#fff;background:rgba(11,18,20,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[lang=he] .ag5-pic .tg{left:auto;right:16px;font-family:var(--f-he);letter-spacing:0}
.ag5-box{position:absolute;left:2.5%;bottom:4%;width:min(29%,360px);padding:16px 18px;border-radius:16px;background:rgba(14,21,23,.86);color:var(--text);
  box-shadow:0 0 0 1px rgba(237,246,246,.12),0 30px 60px -24px rgba(0,0,0,.8);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-size:14px;line-height:1.5}
html[lang=he] .ag5-box{left:auto;right:3%;direction:rtl;font-family:var(--f-he)}
.ag5-box .hd{display:flex;align-items:center;gap:8px;font:600 11.5px/1 var(--f);letter-spacing:.08em}
.ag5-box .hd i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}
.ag5-box .me{margin-top:12px;min-height:44px;padding:10px 12px;border-radius:12px;background:rgba(237,246,246,.07);box-shadow:inset 0 0 0 1px rgba(237,246,246,.08)}
.ag5-box .state{margin-top:10px;font:500 11px/1 var(--f-mono);color:var(--accent);opacity:0;transition:opacity .3s}
html[lang=he] .ag5-box .state{font-family:var(--f-he)}
.ag5-box .ans{margin-top:10px;font-size:13px;color:rgba(237,246,246,.8);max-height:0;opacity:0;overflow:hidden;transition:max-height .5s var(--ease),opacity .4s}
.ag5-box .ans.on{max-height:120px;opacity:1}
.ag5-box .foot{margin-top:12px;padding-top:10px;border-top:1px solid rgba(237,246,246,.09);font-size:12px;color:var(--muted);opacity:0;transition:opacity .4s}
.ag5-box .foot.on{opacity:1}
@media (max-width:900px){
  .ag5{margin-top:32px;flex-direction:column}
  .ag5-pic{aspect-ratio:auto;overflow:visible;background:none;box-shadow:none;border-radius:0}
  .ag5-pic img{position:relative;display:block;border-radius:16px;box-shadow:0 0 0 1px var(--line-2)}
  .ag5-pic .aft{position:absolute;top:0;left:0;height:auto}
  .ag5-pic .glow,.ag5-pic .hl{display:none}
  .ag5-box,html[lang=he] .ag5-box{position:relative;left:auto;right:auto;bottom:auto;width:auto;margin-top:12px}
}
@media (prefers-reduced-motion:reduce){.ag5-pic .aft{-webkit-mask-image:none;mask-image:none;opacity:0;transition:opacity .8s}.ag5-pic.done .aft{opacity:1}.ag5-pic .glow{display:none}}

/* How it works, round 7b (Yuval): the frame scrolls with the page, starting where the section starts and ending before the
   next one; only the step list stays put inside it; the seven steps (a title band + a stage) rise one under another */
#stages .pa{height:auto}
#stages .pa-frame{position:relative;top:auto;height:auto}
#stages .pa-in{height:auto;overflow:clip;align-items:start}
#stages .pa-list{position:sticky;top:80px;height:calc(100vh - 110px);max-height:760px;align-self:start;border-inline-end:0}
#stages .pa-in::before{content:"";grid-column:1;grid-row:1;align-self:stretch;border-inline-end:1px solid var(--hair);pointer-events:none}
#stages .pa-list{grid-column:1;grid-row:1}
#stages .pa-main{grid-column:2;grid-row:1;display:block}
#stages .ps+.ps{border-top:1px solid var(--hair)}
#stages .ps-band{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px 44px;border-bottom:1px solid var(--hair);background:var(--col)}
#stages .ps-band h3{font-weight:400;font-size:24px;line-height:1.28;letter-spacing:-.02em;max-width:36ch;color:var(--ink);text-wrap:pretty}
html[lang=he] #stages .ps-band h3{letter-spacing:0;line-height:1.36}
#stages .ps-band h3 .dim{display:block}
#stages .ps-band .n{flex:none;font:500 11px/1 var(--f-mono);letter-spacing:.08em;color:#66727A}
#stages .ps-band .n b{color:var(--ink);font-weight:500}
#stages .ps-stage{position:relative;aspect-ratio:16/10.5;max-height:72vh;width:100%;background:var(--stage);overflow:hidden}

/* the first screen is all hero: the white sheet of the next section starts below it, never as a strip at the bottom (Yuval) */
@media (min-width:761px){.h4{min-height:100vh;min-height:100svh}}

/* phones: a menu button in the nav (Yuval, like Synaps / xFigura): Product, Plugin, Pricing, Log in */
.nav-mb{display:none;width:34px;height:34px;border-radius:9px;color:rgba(237,246,246,.8);place-items:center}
.nav-mb svg{width:18px;height:18px}
.nav-m{position:fixed;top:66px;left:12px;right:12px;z-index:59;border-radius:16px;background:rgba(12,18,20,.97);box-shadow:0 0 0 1px rgba(237,246,246,.09),0 30px 60px -24px rgba(0,0,0,.85);
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);max-height:calc(100svh - 84px);overflow:auto}
.nav-m[hidden]{display:none}
.nav-m-in{padding:10px}
.nav-m-h{display:block;padding:8px 12px 6px;font:500 10.5px/1 var(--f-mono);font-style:normal;letter-spacing:.09em;text-transform:uppercase;color:rgba(237,246,246,.4)}
html[lang=he] .nav-m-h{font:500 12px/1 var(--f-he);letter-spacing:0}
.nav-m-in>a{display:block;padding:10px 12px;border-radius:10px}
.nav-m-in>a b{display:block;font:500 12.5px/1.2 var(--f-mono);letter-spacing:.06em;color:var(--text)}
.nav-m-in>a>span{display:block;margin-top:3px;font-size:13px;color:rgba(237,246,246,.55)}
html:not([lang=he]) .nav-m-in>a>span.he,html[lang=he] .nav-m-in>a>span.en{display:none}
.nav-m-l{display:flex;flex-direction:column;margin-top:6px;padding-top:6px;border-top:1px solid rgba(237,246,246,.08)}
.nav-m-l a{padding:12px;font-size:15px;color:var(--text);border-radius:10px}
.nav-m a:active{background:rgba(237,246,246,.06)}
@media (max-width:900px){.nav-mb{display:grid}}
@media (min-width:901px){.nav-m{display:none!important}}

/* How it works on phones (round 7b): a swipe carousel, one step at a time, tabs above; the page gets far shorter */
@media (max-width:900px){
  #stages .pa-m{display:flex;flex-direction:row;gap:12px;margin:14px -20px 0;padding:0 20px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
  #stages .pa-m::-webkit-scrollbar{display:none}
  #stages .pa-m .pm{flex:0 0 88%;scroll-snap-align:center}
  #stages .pm-tabs{display:flex;gap:4px;margin:28px -20px 0;padding:0 20px;overflow-x:auto;scrollbar-width:none}
  #stages .pm-tabs::-webkit-scrollbar{display:none}
  #stages .pm-tabs button{flex:none;display:inline-flex;align-items:baseline;gap:6px;padding:8px 12px;border-radius:999px;font-size:14px;color:#7B8586;box-shadow:inset 0 0 0 1px var(--pline);transition:color .2s,background-color .2s,box-shadow .2s}
  #stages .pm-tabs button span{font:500 10.5px/1 var(--f-mono);color:#A3ADAD}
  #stages .pm-tabs button[aria-selected=true]{color:#fff;background:var(--ink);box-shadow:none}
  #stages .pm-tabs button[aria-selected=true] span{color:rgba(255,255,255,.6)}
}

/* phones, round 7b (Yuval, after xFigura / Synaps): the bar is the logo, Sign up and the menu; the language is in the menu */
.nav-m-lang{display:flex;align-items:center;gap:8px;padding:12px;font-size:15px;color:var(--text);border-radius:10px;text-align:start}
.nav-m-lang svg{width:16px;height:16px;opacity:.7}
@media (max-width:900px){ .nav .lang-btn{display:none} }
.start .plans{margin-top:10px;font-size:14px} .start .plans a{color:var(--teal-ink)}   /* the end box is white: the sheet's link ink (4.7:1), not the dark-theme accent */ .start .plans a:hover{text-decoration:underline;text-underline-offset:3px}
/* rows of cards become swipe carousels with dots on phones */
@media (max-width:760px){
  .w6,.ctl2{display:flex!important;flex-direction:row;gap:12px;margin-inline:-20px;padding:0 20px 4px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;max-width:none!important}
  .w6::-webkit-scrollbar,.ctl2::-webkit-scrollbar{display:none}
  .w6>*,.ctl2>*{flex:0 0 86%;scroll-snap-align:center}
  .sw-dots{display:flex;justify-content:center;gap:6px;margin-top:14px}
  .sw-dots i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.25;transition:opacity .25s,width .25s}
  .sw-dots i.on{opacity:.85;width:16px;border-radius:3px}
  .sheet .sw-dots{color:var(--ink)} .dark .sw-dots{color:#EDF6F6}
}
/* phones: three steps zoom into the one part that tells the story, so it can be read (Upload: the found plan; Draw: the plan;
   Export: the format rows); the scene's motion scales with it */
@media (max-width:900px){
  /* final review: Draw zooms less so the whole plan card shows, and Export is not zoomed: its rows run nearly the window's
     whole width, so any zoom cut their words at the edge */
  #stages .pm-stage .sc-up{transform:scale(1.75);transform-origin:4% 38%}
  #stages .pm-stage .sc-s{transform:scale(1.35);transform-origin:42% 42%}
  html[dir=rtl] #stages .pm-stage .sc-up{transform-origin:96% 38%}
  html[dir=rtl] #stages .pm-stage .sc-s{transform-origin:58% 42%}
}

/* the More menu (Yuval: Teams, Guides, FAQ, About from the home) and Open LABZ with its Beta tag, desktop only */
.dd-m.dd-m1{display:block;width:280px}
.nav .nav-labz{margin-inline-start:4px;color:var(--text)}
.nav .beta{margin-inline-start:6px;padding:2px 5px;border-radius:5px;font:600 9px/1 var(--f-mono);letter-spacing:.08em;color:rgba(237,246,246,.7);box-shadow:inset 0 0 0 1px rgba(237,246,246,.25)}
@media (max-width:900px){.nav .nav-labz{display:none}}

/* the same quiet whiteboard dots on every dark part of the home (Yuval: keep the dark, a little more of the dots) */
.dark{isolation:isolate}
.dark::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle,rgba(237,246,246,.098) 1.15px,transparent 1.4px) 0 0/28px 28px;
  -webkit-mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent)}

/* round 7b (Yuval: "this film higher on the home page and bigger, look at the size of Synaps' video; write Built for designers"):
   the studio film sits right under the hero, nearly the whole window like Synaps' (1536 x 790 at a 1906 window): the page's
   width less a gutter, up to 1680, and the window's height less the nav; the words big on its lower start corner */
.sfilm{padding:clamp(24px,3vw,48px) 0}
.sf{--g:clamp(16px,4vw,72px);--w:min(100vw - 2 * var(--g),1680px);width:var(--w);max-width:none;aspect-ratio:auto;border-radius:20px;
  height:max(360px,min(100vh - 108px,var(--w) / 1.6));height:max(360px,min(100svh - 108px,var(--w) / 1.6))}
.sf::after{background:linear-gradient(180deg,transparent 46%,rgba(8,13,15,.84))}
.sf figcaption{inset-inline:clamp(22px,3.4vw,56px);bottom:clamp(22px,3.4vw,52px)}
.sf figcaption h2{margin-top:12px;max-width:none;font-size:clamp(34px,3.5vw,58px);line-height:1.02;letter-spacing:-.035em}
html[lang=he] .sf figcaption h2{letter-spacing:0;line-height:1.1}
.sf figcaption p{margin-top:12px;max-width:44ch;font-size:clamp(15px,1.15vw,18px);line-height:1.45;color:rgba(237,246,246,.76)}
@media (max-width:760px){.sf{height:auto;aspect-ratio:4/5;border-radius:16px}.sf figcaption h2{font-size:30px}.sf figcaption p{font-size:14.5px}}

/* round 7b (Ron's page flow): each tool section on the home leads to the tool's own page */
.head2 .more-row{flex-basis:100%;margin-top:-18px}
.more{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--accent);transition:gap .2s var(--ease)}
.sheet .more{color:var(--teal-ink)}
.more:hover{gap:9px;text-decoration:underline;text-underline-offset:3px}
html[dir=rtl] .more i{display:inline-block;transform:scaleX(-1)}
/* the official wordmark in the bar (Yuval): M, the creature as the O, DELZ in Space Grotesk; the live site's copy is in site/static/v2chrome.css */
.nav .brand.wm{gap:0;font:500 15px/1 var(--f-logo);letter-spacing:.34em;color:#E8F1F1;direction:ltr;unicode-bidi:isolate;margin-right:10px;margin-left:0}
html[dir=rtl] .nav .brand.wm{margin-right:0;margin-left:10px}
.nav .brand.wm .wm-o{display:block;flex:none;width:auto;height:.86em;margin:0 .34em 0 0;transform:translateY(-.03em)}
.brand.wm .wm-l:last-child{margin-right:-.34em}
@media (max-width:900px){.nav .brand.wm{font-size:14.5px;margin-right:8px} html[dir=rtl] .nav .brand.wm{margin-right:0;margin-left:8px}}
