/* THE LIVIARA WAITLIST PAGE — preview v5 carried into production.
   Every style lives here: the page has no inline style, no <style> element,
   and loads nothing from another origin (the CSP in waitlist/router.ts).
   Colours follow the brand sheet: page #F9F9F9, panels #F8F8F8 / #F3F3F3,
   fields #E7E7E7, and the brand cyan #00FFF3 only as a fill under dark text.
   The preview's noise texture is left out: it was an inline SVG URI, and
   img-src allows 'self' only. */

/* LIVIARA WAITLIST, preview v5.
   Concept: light through water. The page takes its atmosphere from the logo's
   own gradient (bright cyan into deep petrol) as soft "sky" panels with leaf
   shapes from the L; the product itself stays white, sharp and real.
   Layout: a centred hero on a full-bleed light panel with the clickable app
   floating out of it; an app marquee; an accordion with one rich scene per
   step; Monday before/after; trust with real states; questions; a closing
   panel that bookends the hero. Sections after the hero are left-aligned. */
@font-face{font-family:"Geist";src:url("/fonts/GeistVF.woff") format("woff");font-weight:100 900;font-display:swap}
:root{
  --page:#f9f9f9;
  --white:#ffffff;
  --card-2:#f3f3f3;
  --field:#e7e7e7;
  --ink:#141616;
  --muted:#556060;
  --dim:#6f7979;
  --brand:#00fff3;
  --teal:#00807a;
  --deep:#0b5566;
  --line:#e7e7e7;
  --line-2:#dcdcdc;
  --sky:linear-gradient(180deg,#f4fffe 0%,#dafdfb 30%,#a6f6f1 62%,#4fe3e2 88%,#1fc8d0 100%);
  --font:"Geist",-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,"Helvetica Neue",Arial,sans-serif;
  /* tokens the app component expects */
  --bg:var(--page);--rail:#f8f8f8;--card:#f8f8f8;--hover:#e7e7e7;--brand-ink:#141616;--fg:var(--ink);--accent-hover:#00e6db;--error:#a2271f;
  --lift:0 40px 90px -40px rgba(11,85,102,.45),0 2px 6px rgba(11,85,102,.08);
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--page)}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;letter-spacing:-.01em}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:600;text-wrap:balance}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}
#does,#monday,#trust,#faq,#join,#hlCapture{scroll-margin-top:80px}

/* nav */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:40;background:rgba(249,249,249,.9)}
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;background:rgba(249,249,249,.82);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.nav-in{max-width:1240px;margin:0 auto;height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:17px;letter-spacing:-.02em}
.brand-logo{width:26px;height:26px;display:block}
.nav-mid{display:flex;gap:2px}
.nav-mid a{padding:7px 14px;border-radius:999px;font-size:14px;color:var(--muted)}
.nav-mid a:hover{color:var(--ink);background:var(--field)}
.nav-cta{justify-self:end;height:40px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:600}
.nav-cta:hover{background:#2b3131}

/* the sky: logo gradient as atmosphere */
.sky{position:absolute;inset:0;background:var(--sky);overflow:hidden;pointer-events:none}
.leaf{position:absolute;border-radius:62% 38% 58% 42% / 50% 60% 40% 50%;filter:blur(2px)}
.l1{width:62%;aspect-ratio:2.4;left:-14%;bottom:-6%;background:linear-gradient(120deg,rgba(255,255,255,.75),rgba(255,255,255,0) 70%);transform:rotate(-8deg)}
.l2{width:48%;aspect-ratio:2.2;right:-10%;bottom:12%;background:linear-gradient(240deg,rgba(255,255,255,.6),rgba(255,255,255,0) 70%);transform:rotate(10deg)}
.l3{width:36%;aspect-ratio:1;right:18%;top:-14%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.9),rgba(255,255,255,0));filter:blur(10px)}
@media (prefers-reduced-motion:no-preference){
  .hero .l1{animation:drift 18s ease-in-out infinite alternate}
  .hero .l2{animation:drift 22s ease-in-out infinite alternate-reverse}
}
@keyframes drift{to{transform:translate(4%,-3%) rotate(-2deg)}}

/* hero */
.hero{position:relative;margin:8px max(10px,env(safe-area-inset-left,0px)) 0 max(10px,env(safe-area-inset-right,0px));border-radius:32px;isolation:isolate}
.hero>.sky{border-radius:32px;bottom:180px}
.hero-in{position:relative;max-width:980px;margin:0 auto;text-align:center;padding:clamp(56px,8vw,112px) 20px clamp(36px,4vw,52px)}
.hero-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid rgba(11,85,102,.12);font-size:13.5px;color:var(--deep)}
.hero-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px rgba(0,128,122,.14)}
.hero h1{margin-top:22px;font-size:clamp(46px,8vw,112px);line-height:.96;letter-spacing:-.06em;font-weight:600}
.hero h1 span{display:block}
.hero h1 span+span{color:var(--deep)}
.hero-sub{margin:22px auto 0;max-width:34em;font-size:clamp(17px,1.5vw,20px);color:#2f4246}
.hero-try{margin-top:28px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--deep)}
.hero-try svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){.hero-try svg{animation:nudge 1.6s ease-in-out infinite}}
@keyframes nudge{50%{transform:translateY(3px)}}
.hero-app{position:relative;max-width:1120px;margin:0 auto;padding:0 max(14px,env(safe-area-inset-left,0px)) 0 max(14px,env(safe-area-inset-right,0px))}

/* capture */
.capture-sec{padding:clamp(48px,6vw,80px) max(20px,env(safe-area-inset-right,0px)) clamp(32px,4vw,56px) max(20px,env(safe-area-inset-left,0px))}
.capture-in{max-width:640px;margin:0 auto;text-align:center}
.capture-in h2{font-size:clamp(26px,3vw,36px);letter-spacing:-.04em}
.capture-in>p{margin-top:8px;color:var(--muted)}
.cap{margin-top:22px;text-align:left;background:#fff;border:1px solid var(--line-2);border-radius:22px;padding:10px;box-shadow:0 20px 50px -30px rgba(11,85,102,.35)}
.cap input::placeholder{color:var(--dim)}
.cap-row{display:flex;gap:8px;padding-top:10px}
.cap-email .cap-row{padding-top:0}
.cap input{flex:1;min-width:0;height:50px;border:1px solid var(--line-2);border-radius:14px;padding:0 14px;font:inherit;font-size:16px;color:var(--ink);outline:none;background:#fff}
.cap input:focus{border-color:var(--ink)}
.btn-brand,.btn-ink{flex:none;height:50px;padding:0 20px;border:0;border-radius:14px;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.btn-brand{background:var(--brand);color:var(--ink)}
.btn-brand:hover{background:#00e6db}
.btn-ink{background:var(--ink);color:#fff}
.btn-ink:hover{background:#2b3131}

/* marquee */
.marquee{padding:clamp(24px,3vw,40px) 0 clamp(56px,7vw,96px);overflow:hidden}
.mq-t{text-align:center;color:var(--muted);font-size:14.5px;margin-bottom:18px}
.mq{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.mq+.mq{margin-top:10px}
.mq-track{display:flex;gap:10px;width:max-content}
@media (prefers-reduced-motion:no-preference){.mq-track{animation:mq 46s linear infinite}.mq.rev .mq-track{animation-direction:reverse;animation-duration:52s}}
@keyframes mq{to{transform:translateX(-50%)}}
.pill-app{flex:none;padding:10px 18px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:15px;color:#2f3838;white-space:nowrap}

/* shared section frame */
.sec-in{max-width:1240px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.sec-head{max-width:640px}
.sec-head h2{font-size:clamp(36px,4.6vw,64px);line-height:1;letter-spacing:-.05em}
.sec-head p{margin-top:16px;font-size:clamp(16px,1.3vw,18.5px);color:var(--muted)}

/* what Liviara does: accordion + scenes */
.does{padding-block:clamp(56px,7vw,104px)}
.acc{margin-top:clamp(32px,4vw,56px);display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,64px);align-items:center}
.acc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.acc-list li{border-top:1px solid var(--line-2)}
.acc-list li:last-child{border-bottom:1px solid var(--line-2)}
.acc-list button{all:unset;box-sizing:border-box;display:block;width:100%;padding:18px 0;cursor:pointer;position:relative}
.acc-list button:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:6px}
.acc-list .at{display:block;font-size:clamp(18px,1.6vw,21px);font-weight:600;letter-spacing:-.025em;color:var(--dim);transition:color .3s}
.acc-list li.on .at{color:var(--ink)}
.ad{display:grid;grid-template-rows:0fr;overflow:hidden;color:var(--muted);font-size:15.5px;transition:grid-template-rows .45s ease,margin .45s ease}
.ad::before{content:none}
.acc-list li .ad{display:block;max-height:0;opacity:0;transition:max-height .45s ease,opacity .35s ease,margin .45s ease}
.acc-list li.on .ad{max-height:120px;opacity:1;margin-top:8px}
.bar{position:absolute;left:0;bottom:-1px;height:2px;width:100%;background:transparent}
.bar i{display:block;height:100%;width:0;background:var(--teal)}
.acc-list li.on .bar i{animation:fill var(--dur,6s) linear forwards}
.acc.paused .acc-list li.on .bar i{animation-play-state:paused}
@keyframes fill{to{width:100%}}

.acc-stage{position:relative;aspect-ratio:1.18;border-radius:28px;overflow:hidden}
.scn{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(20px,4vw,48px);opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s}
.scn.on{opacity:1;visibility:visible;transition:opacity .5s ease}
.scn>*{transform:translateY(14px) scale(.98);transition:transform .7s cubic-bezier(.2,.7,.1,1)}
.scn.on>*{transform:none}
.g1{background:linear-gradient(160deg,#e9fffe 0%,#a9f5f0 55%,#3fdcdc 100%)}
.g2{background:linear-gradient(160deg,#f1fffb 0%,#c7f7e6 50%,#62e0c4 100%)}
.g3{background:linear-gradient(160deg,#f3f1ff 0%,#d9ecff 45%,#9feaf0 100%)}
.g4{background:linear-gradient(160deg,#ecfeff 0%,#9eeef0 50%,#1fb9c4 100%)}
.g5{background:linear-gradient(160deg,#dffcfb 0%,#53d6d8 45%,#0b5566 100%)}
.w{width:min(520px,100%);background:#fff;border-radius:20px;border:1px solid rgba(11,85,102,.1);box-shadow:var(--lift);padding:clamp(18px,2.4vw,28px)}
.w-h{font-size:clamp(20px,2vw,26px);font-weight:600;letter-spacing:-.035em;line-height:1.15;text-align:center;max-width:16ch;margin:4px auto 0}
.w-compose{margin-top:22px;display:flex;align-items:flex-end;gap:10px;border:1px solid var(--line-2);border-radius:16px;padding:12px 10px 10px 16px;font-size:15px;line-height:1.45}
.w-compose span{flex:1}
.caret{display:inline-block;width:2px;height:1.05em;background:var(--teal);vertical-align:-2px;margin-left:2px}
@media (prefers-reduced-motion:no-preference){.caret{animation:blink 1s steps(1) infinite}}
@keyframes blink{50%{opacity:0}}
.w-send{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--field)}
.w-send.on{background:var(--brand)}
.w-send svg,.t-r i svg,.g-acct i svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chat{display:flex;flex-direction:column;gap:10px}
.c-me{align-self:flex-end;max-width:85%;background:#fff;border:1px solid var(--line-2);border-radius:16px 16px 5px 16px;padding:10px 14px;font-size:14.5px}
.c-lv{align-self:flex-start;background:var(--card-2);border-radius:16px 16px 16px 5px;padding:10px 14px;font-size:14.5px}
.c-q{border:1px solid var(--line-2);border-radius:16px;padding:14px}
.c-q small{color:var(--teal);font-size:12.5px;font-weight:600}
.c-q p{margin-top:4px;font-weight:600;font-size:16px;letter-spacing:-.02em}
.c-ch{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.c-ch span{border:1px solid var(--line-2);border-radius:999px;padding:7px 13px;font-size:13.5px}
.c-ch span.on{background:var(--ink);border-color:var(--ink);color:#fff}
.graph{position:relative;width:min(560px,100%);aspect-ratio:4/3}
.g-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:rgba(11,85,102,.35);stroke-width:1.5;stroke-dasharray:4 5}
@media (prefers-reduced-motion:no-preference){.scn.on .g-lines{animation:flow 1.6s linear infinite}}
@keyframes flow{to{stroke-dashoffset:-18}}
.g-core{position:absolute;left:50%;top:50%;width:88px;height:88px;margin:-44px 0 0 -44px;border-radius:26px;background:#fff;display:grid;place-items:center;box-shadow:var(--lift),0 0 0 8px rgba(255,255,255,.45)}
.g-core img{width:46px;height:46px}
.gp{position:absolute;transform:translate(-50%,-50%)}
.p1{left:17%;top:20%}.p2{left:83%;top:20%}.p3{left:15%;top:80%}.p4{left:85%;top:80%}.p5{left:50%;top:8%}.p6{left:50%;top:93%}
.gt{display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;padding:7px 12px 7px 7px;box-shadow:0 10px 24px -14px rgba(11,85,102,.5);white-space:nowrap}
.gt b{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--card-2);font-size:13px;color:var(--muted)}
.gt i{font-style:normal;font-size:13.5px;font-weight:500}
.g-acct{position:absolute;right:2%;bottom:24%;display:flex;align-items:center;gap:10px;background:#fff;border:1px dashed rgba(0,128,122,.5);border-radius:14px;padding:10px 12px;font-size:13px}
.g-acct span{color:var(--muted)}
.g-acct i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--brand)}
.g-acct i svg{width:12px;height:12px}
.test{display:flex;flex-direction:column;gap:10px}
.t-h{font-weight:600;font-size:15px;color:var(--teal)}
.t-r{display:flex;align-items:center;gap:10px;font-size:15px}
.t-r i{width:22px;height:22px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--brand)}
.t-r i svg{width:13px;height:13px}
.scn.on .t-r{animation:pop .5s cubic-bezier(.2,.7,.1,1) both}
.scn.on .t-r:nth-child(3){animation-delay:.25s}.scn.on .t-r:nth-child(4){animation-delay:.5s}.scn.on .t-r:nth-child(5){animation-delay:.75s}
@keyframes pop{from{opacity:0;transform:translateX(-8px)}}
.t-ev{margin-top:6px;border-radius:14px;background:var(--card-2);padding:12px}
.ev-l{font-size:12.5px;color:var(--muted)}
.ev-row{margin-top:6px;display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;font-size:14px;font-variant-numeric:tabular-nums;background:#fff;border-radius:10px;padding:8px 10px}
.w-run{display:flex;flex-direction:column;gap:14px}
.r-flow{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.r-flow span{padding:6px 12px;border-radius:999px;border:1px solid var(--line-2);font-size:13.5px}
.r-flow span.me{background:var(--ink);color:#fff;border-color:var(--ink)}
.r-flow i{width:16px;height:2px;background:var(--teal);border-radius:2px}
.r-ok{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--card-2);font-size:13.5px;color:var(--muted)}
.live{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink);font-size:15px}
.live b{width:9px;height:9px;border-radius:50%;background:#16a36a;box-shadow:0 0 0 4px rgba(22,163,106,.16)}
.r-week{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.r-week span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 0;border-radius:12px;background:var(--card-2);font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.r-week b{font-size:11.5px;font-weight:500;color:var(--dim)}
.r-week .now{background:var(--brand)}
.r-week .now b{color:var(--ink)}
.r-note{font-size:13.5px;color:var(--muted)}

/* Monday */
.monday{padding-block:clamp(56px,7vw,104px)}
.ba{margin-top:clamp(32px,4vw,52px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.ba-before,.ba-after{position:relative;border-radius:28px;padding:clamp(22px,3vw,36px);overflow:hidden;isolation:isolate}
.ba-before{background:#fff;border:1px solid var(--line-2)}
.ba-after{display:flex;flex-direction:column;gap:28px;min-height:100%}
.ba-after>.sky{z-index:-1}
.sky.soft{background:linear-gradient(170deg,#effffe 0%,#c8faf6 55%,#8af0ea 100%)}
.ba-t{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:19px;font-weight:600;letter-spacing:-.02em}
.ba-t span{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0}
.ba-after .ba-t span{color:var(--deep);font-weight:600;font-size:15px}
.log{list-style:none;margin:18px 0 0;padding:0}
.log li{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:15px}
.log time{font-variant-numeric:tabular-nums;color:var(--dim)}
.log li.more{color:var(--dim)}
.log li.end{font-weight:600}
.notif{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:18px;background:#fff;box-shadow:var(--lift);max-width:440px;margin-top:auto}
.notif img{width:30px;height:30px;flex:none;margin-top:1px}
.notif p{font-size:15px}
.n-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:2px}
.n-top time{color:var(--dim);font-size:13px;font-variant-numeric:tabular-nums}
.ba-note{color:#2f4246;font-size:15.5px;max-width:42ch;margin-bottom:auto}

/* trust */
.trust{padding-block:clamp(56px,7vw,104px)}
.tr3{margin-top:clamp(32px,4vw,52px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tc{background:#fff;border:1px solid var(--line-2);border-radius:24px;padding:12px 12px 24px}
.tc h3{margin:20px 12px 0;font-size:19px;letter-spacing:-.02em}
.tc>p{margin:6px 12px 0;color:var(--muted);font-size:15px}
.tv{border-radius:16px;background:var(--card-2);padding:16px;min-height:150px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.tv-row{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:10px 12px;font-size:13.5px}
.tv-row span{color:var(--muted);text-decoration:line-through;text-decoration-color:rgba(20,22,22,.35)}
.tv-row b{font-size:12px;color:#a2271f;background:rgba(179,38,30,.08);padding:3px 9px;border-radius:999px;white-space:nowrap}
.tv-pause{background:#fff;border-radius:12px;padding:12px}
.ps{display:inline-block;font-size:12px;font-weight:600;color:#8a5a00;background:rgba(214,150,0,.14);padding:3px 9px;border-radius:999px}
.tv-pause p{margin-top:8px;font-size:13.5px}
.tv-ch{margin-top:10px;display:flex;gap:6px;flex-wrap:wrap}
.tv-ch span{font-size:12.5px;border:1px solid var(--line-2);border-radius:999px;padding:5px 10px}
.tv-ch span:first-child{background:var(--ink);color:#fff;border-color:var(--ink)}
.tv-msg{display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:12px;padding:12px;font-size:13.5px}
.tv-msg img{width:24px;height:24px;flex:none}

/* questions */
.faq{padding-block:clamp(40px,5vw,72px) clamp(56px,7vw,96px)}
.faq-in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,64px)}
.faq-list details{border-top:1px solid var(--line-2)}
.faq-list details:last-child{border-bottom:1px solid var(--line-2)}
.faq-list summary{list-style:none;cursor:pointer;padding:20px 36px 20px 0;font-size:18px;font-weight:600;letter-spacing:-.02em;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;color:var(--dim);transition:transform .25s}
.faq-list details[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.faq-list details p{padding:0 0 20px;color:var(--muted);max-width:60ch}

/* closing panel */
.join{padding:0 max(10px,env(safe-area-inset-right,0px)) 10px max(10px,env(safe-area-inset-left,0px))}
.join-in{position:relative;isolation:isolate;border-radius:32px;overflow:hidden;text-align:center;padding:clamp(64px,9vw,128px) 20px}
.join-in>.sky{z-index:-1}
.join h2{font-size:clamp(42px,6.4vw,96px);line-height:.98;letter-spacing:-.06em}
.join-in>p{margin-top:14px;color:#2f4246;font-size:18px}
.cap-email{max-width:560px;margin:28px auto 0;padding:8px;border-radius:20px}

/* footer */
.foot-in{max-width:1240px;margin:0 auto;padding:28px max(20px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.foot .brand{color:var(--ink);font-size:15px}
.f-links{display:flex;gap:18px}
.f-links a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.foot-pages{display:flex;flex-wrap:wrap;gap:6px 14px}
.foot-pages a{color:var(--muted);text-decoration:none}
.foot-pages a:hover,.foot-pages a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.lang-links{display:flex;gap:14px}
.lang-links a{color:var(--muted);text-decoration:none}
.lang-links a:hover,.lang-links a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* the app floats on the hero sky */
.app-live{box-shadow:0 50px 120px -50px rgba(11,85,102,.55),0 2px 8px rgba(11,85,102,.08)}

@media (max-width:980px){
  .nav-mid{display:none}
  .nav-in{grid-template-columns:1fr auto}
  .acc{grid-template-columns:minmax(0,1fr)}
  .acc-stage{aspect-ratio:1/1;order:-1}
  .ba,.tr3,.faq-in{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .hero{margin:6px 6px 0;border-radius:24px}
  .hero>.sky{border-radius:24px;bottom:140px}
  .cap-row{flex-direction:column}
  /* stacked: flex:1 would size the field's height from 0, not its 50px */
  .cap input{flex:none;width:100%}
  .btn-brand,.btn-ink{width:100%}
  .acc-stage{aspect-ratio:auto;min-height:440px}
  .p5,.p6{display:none}
  .gt i{display:none}
  .gt{padding:7px}
  .g-acct{left:4%;right:4%;bottom:6%;justify-content:space-between}
  .ev-row{grid-template-columns:auto 1fr;row-gap:4px}
  .r-week span{font-size:15px}
  .join-in{border-radius:24px}
  /* the demo's title bar: no room for the window dots beside the chip */
  .app-top{grid-template-columns:1fr auto;gap:10px}
  .app-top .lights{display:none}
  .demo-chip{font-size:11.5px;padding:3px 9px}
}


/* ---- the demo app (a white copy of the real interface) ---------------- */
/* ---- the app (white skin of the real interface) ------------------------- */
.app-live{position:relative;border-radius:22px;border:1px solid var(--line-2);background:#fff;box-shadow:var(--lift);overflow:hidden}
.app-top{height:44px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px;border-bottom:1px solid var(--line);background:#fff;position:relative}
.app-top .lights{display:flex;gap:6px}
.app-top .lights i{width:10px;height:10px;border-radius:50%;background:var(--field)}
.app-title{font-size:13px;font-weight:600}
.demo-chip{justify-self:end;font-size:12px;color:var(--muted);background:var(--card-2);border:1px solid var(--line);padding:4px 10px;border-radius:999px;white-space:nowrap}
.app-body{display:grid;grid-template-columns:auto minmax(0,1fr);height:clamp(460px,52vw,560px);position:relative}

.app-rail{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:12px 10px;background:var(--rail);border-right:1px solid var(--line);width:64px;transition:width .25s ease}
.app-live.wide .app-rail{width:200px}
.app-rail .ri{display:flex;align-items:center;gap:12px;height:40px;padding:0 10px;border:0;border-radius:11px;background:transparent;color:var(--muted);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap;overflow:hidden;position:relative;text-align:left}
.app-rail .ri:hover{background:var(--hover);color:var(--fg)}
.app-rail .ri svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-rail .ri.on{background:var(--hover);color:var(--fg)}
.app-rail .ri.on svg{stroke:var(--teal)}
.app-rail .rl{opacity:0;transition:opacity .2s}
.app-live.wide .rl{opacity:1}
.app-rail .ri[data-act="expand"] .rl::before{content:"Show labels"}
.app-live.wide .ri[data-act="expand"] .rl::before{content:none}
.app-rail .ri[data-act="expand"] .rl{font-size:0}
.app-live.wide .ri[data-act="expand"] .rl{font-size:14px}
.badge{position:absolute;left:28px;top:5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--brand);color:var(--brand-ink);font-size:10.5px;font-weight:700;line-height:16px;text-align:center}
.app-rail .rsep{height:1px;background:var(--line);margin:4px 6px}
.app-rail .rgrow{flex:1}
.app-rail .rav{width:32px;height:32px;margin-left:4px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--teal);background:#fff;border:1px solid var(--line-2)}
.app-rail .rlogo{width:28px;height:28px;margin:4px 0 0 6px}

.app-views{position:relative;background:var(--card);min-width:0}
.view{position:absolute;inset:0;display:none;flex-direction:column}
.view.on{display:flex}
.vpad{padding:clamp(18px,3vw,32px);overflow:auto}
.v-h{font-size:20px;font-weight:600;letter-spacing:-.02em}
.v-note{margin-top:6px;color:var(--muted);font-size:14px}

/* interview */
.thread{flex:1;overflow:auto;padding:clamp(16px,3vw,32px) clamp(16px,4vw,48px) 12px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}
.empty{margin:auto 0;text-align:center;padding-bottom:12px}
.app-h{font-size:clamp(24px,2.6vw,34px);font-weight:600;letter-spacing:-.035em;line-height:1.1;max-width:16ch;margin:0 auto;text-wrap:balance}
.app-s{margin-top:10px;color:var(--muted);font-size:14.5px}
.sugg{margin-top:22px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.sg{border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-size:13.5px;color:var(--fg);cursor:pointer}
.sg:hover{background:var(--hover)}
.m{display:flex;flex-direction:column;gap:8px;max-width:min(560px,86%)}
.m.me{align-self:flex-end;align-items:flex-end}
.m.lv{align-self:flex-start}
.m .b{padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.45}
.m.me .b{background:#fff;border:1px solid var(--line-2);border-bottom-right-radius:5px}
.m.lv .b{background:var(--card-2);border-bottom-left-radius:5px}
.dots{display:flex;gap:4px;padding:14px 16px!important}
.dots i{width:6px;height:6px;border-radius:50%;background:var(--dim);animation:dot 1s infinite}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes dot{50%{opacity:.25;transform:translateY(-2px)}}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-size:13.5px;cursor:pointer;color:var(--fg)}
.opt:hover:not(:disabled){background:var(--hover)}
.opt:disabled{cursor:default;opacity:.5}
.opt.picked{opacity:1;background:var(--fg);color:#fff;border-color:var(--fg)}
.card{background:#fff;border:1px solid var(--line-2);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px;min-width:min(340px,100%)}
.crow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:10px;background:var(--card-2);font-size:14px}
.crow.acct{background:#fff;border:1px dashed var(--line-2)}
.crow .k{color:var(--muted)}
.cn{border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:5px 12px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--fg)}
.cn:hover{background:var(--hover)}
.cn.ok{background:rgba(0,128,122,.1);border-color:transparent;color:var(--teal);font-weight:600}
.tr{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--dim)}
.tr i{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line-2);flex:none;display:grid;place-items:center}
.tr.ok{color:var(--fg)}
.tr.ok i{background:var(--brand);border-color:transparent}
.tr.ok i::after{content:"";width:7px;height:4px;border-left:2px solid var(--fg);border-bottom:2px solid var(--fg);transform:rotate(-45deg) translate(1px,-1px)}
.fine{font-size:12px;color:var(--dim)}
.nodes{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nd{padding:6px 12px;border-radius:999px;border:1px solid var(--line-2);font-size:13px;background:var(--card)}
.nd:nth-child(3){background:var(--fg);color:#fff;border-color:var(--fg)}
.ln{width:20px;height:2px;background:var(--teal);border-radius:2px}
.approve{align-self:flex-start;border:0;border-radius:12px;padding:10px 16px;background:var(--brand);color:var(--brand-ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.approve:hover:not(:disabled){background:var(--accent-hover)}
.approve:disabled{background:var(--card-2);color:var(--muted);cursor:default}
.status{flex-direction:row;align-items:center;justify-content:space-between}
.status .k{font-size:13px;color:var(--muted)}
.live{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px}
.live i{width:8px;height:8px;border-radius:50%;background:#16a36a;box-shadow:0 0 0 4px rgba(22,163,106,.15)}
.card.cta{align-self:stretch;flex-direction:row;align-items:center;justify-content:space-between;background:var(--fg);color:#fff;border-color:var(--fg);padding:14px 16px}
.card.cta p{font-weight:600}
.restart{align-self:center;border:0;background:none;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px}

.app-compose{margin:0 clamp(12px,3vw,32px) clamp(12px,2vw,20px);display:flex;align-items:flex-end;gap:10px;padding:8px 8px 8px 16px;border-radius:16px;background:#fff;border:1px solid var(--line-2)}
.app-compose:focus-within{border-color:var(--fg)}
.app-compose textarea{flex:1;min-width:0;border:0;outline:none;resize:none;background:transparent;font:inherit;font-size:15px;line-height:1.4;padding:8px 0;color:var(--fg);max-height:96px}
.app-compose textarea::placeholder{color:var(--dim)}
.app-compose.locked{opacity:.55}
.app-send{flex:none;width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--field);color:var(--muted);cursor:pointer}
.app-compose.has .app-send{background:var(--brand);color:var(--brand-ink)}
.app-send svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* automations / apps / settings */
.alist,.apps{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.alist li,.apps li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:14.5px}
.a-n{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.a-n small{margin-left:8px;font-size:11.5px;color:var(--dim)}
.st{font-size:12.5px;padding:3px 10px;border-radius:999px;white-space:nowrap}
.st.run{background:rgba(22,163,106,.12);color:#0f7a4f}
.st.paused{background:var(--card-2);color:var(--muted)}
.apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));margin-top:14px}
.apps-tools{margin-top:16px;display:flex;flex-direction:column;gap:10px}
#appSearch{height:40px;border-radius:12px;border:1px solid var(--line-2);background:#fff;padding:0 14px;font:inherit;font-size:14px;color:var(--fg);outline:none;max-width:360px}
#appSearch:focus{border-color:var(--fg)}
.cats{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cat{flex:none;border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:5px 12px;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer}
.cat:hover{background:var(--hover)}
.cat.on{background:var(--fg);color:#fff;border-color:var(--fg)}
.an{display:flex;align-items:center;gap:10px;min-width:0}
.mono{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--card-2);border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--muted)}
.apps .at{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.apps .at span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apps .at small{font-size:11.5px;color:var(--dim)}
.apps .cn{flex:none}
.set{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.set small{display:block;color:var(--dim);font-size:12.5px;margin-top:2px}
.sw{width:40px;height:24px;border-radius:999px;background:var(--field);border:0;padding:0;position:relative;cursor:pointer;flex:none}
.sw i{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .2s}
.sw.on{background:var(--teal)}
.sw.on i{transform:translateX(16px)}
.sw.locked{opacity:.6;cursor:not-allowed}


/* ---- the early-access forms: states driven by app.js ------------------ */
.btn-brand:disabled,.btn-ink:disabled{cursor:progress;opacity:.65}
.hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.capture-in{position:relative}
.turnstile-slot{display:flex;justify-content:center;margin-top:14px}
.turnstile-slot:empty{display:none}
.toast{margin-top:12px;font-size:14px;color:var(--error);opacity:0;transition:opacity .3s ease}
.toast:empty{display:none}
.toast.show{opacity:1}
.cap,.turnstile-slot{transition:opacity .22s ease,transform .22s ease}
.cap.is-complete,.turnstile-slot.is-complete{opacity:0;transform:translateY(-7px);pointer-events:none}
.cap-done{margin:22px auto 0;max-width:560px;outline:none}
.cap-done-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;min-height:66px;padding:12px 22px;border-radius:22px;border:1.5px solid var(--teal);background:#fff;box-shadow:0 20px 50px -30px rgba(11,85,102,.35);font-size:17px;font-weight:500}
.cap-done-row svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--teal);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cap-done-mail{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 12px;border-radius:999px;background:var(--card-2);font-size:13.5px;font-weight:400;color:var(--muted)}
.cap-done-copy{margin-top:10px;color:var(--muted);font-size:15px}
.join-in .cap-done-copy{color:#2f4246}
.cap-done.is-visible{animation:capIn .5s cubic-bezier(.2,.7,.1,1) both}
@keyframes capIn{from{opacity:0;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){.cap,.turnstile-slot{transition:none}.cap-done.is-visible{animation:none}}
/* the header's "Get early access" is a button (app.js leads it to a form) */
.nav-cta{border:0;font:inherit;font-size:14px;font-weight:600;cursor:pointer}

/* ---- app logos: /media/apps/<name>.svg through <img>, one per tile ------ */
.pl{display:inline-block;width:20px;height:20px;margin-right:8px;vertical-align:-4px}
.pl img,.gt b img,.mono img{display:block;width:100%;height:100%;object-fit:contain}
.gt b:has(img),.mono:has(img){background:#fff;padding:5px}

/* ---- footer: social icons ---------------------------------------------- */
/* Each icon is a glyph-only SVG from /media/social/ used as a mask, so it takes
   one colour from background-color: grey, darker on hover. img-src 'self'
   covers it; nothing is inlined. */
.f-links{align-items:center}
.social-links{display:inline-flex;align-items:center;gap:6px}
.f-links a.social{display:inline-block;width:32px;height:32px;border-radius:8px;text-decoration:none;position:relative}
.social::before{content:"";position:absolute;inset:6px;background-color:var(--muted);transition:background-color .15s ease;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.social:hover::before{background-color:var(--ink)}
.social:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.social:focus-visible::before{background-color:var(--ink)}
.social-tiktok{--icon:url("/media/social/tiktok.svg")}
.social-instagram{--icon:url("/media/social/instagram.svg")}
.social-x{--icon:url("/media/social/x.svg")}
@media (prefers-reduced-motion:reduce){.social::before{transition:none}}

/* start page: three teasers that lead to the other pages */
.teasers{padding-block:clamp(40px,5vw,72px) clamp(56px,7vw,104px)}
.tz3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tz{background:#fff;border:1px solid var(--line-2);border-radius:24px;padding:28px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tz h2{font-size:clamp(22px,2.2vw,28px);line-height:1.1;letter-spacing:-.03em}
.tz p{flex:1;color:var(--muted);font-size:15px}
.tz a{font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tz a::after{content:" \2192"}
@media (max-width:980px){.tz3{grid-template-columns:minmax(0,1fr)}}
/* the short call to action at the end of how it works and trust */
.cta-link{display:inline-flex;align-items:center;justify-content:center;margin-top:20px}
