/* AEVYX tokens: one place for colour, type, radii, shadows, buttons, inputs and icons. Loaded after the page skin on
   every site page and on the coming-soon page.
   Radii: 12, 20 and 28 only. Separation by space and tone, not lines; a needed line is 1px at 8% ink.
   One primary button per view: solid ink, 48px, pill. Secondary: a ghost (soft tint, no border). */
:root{
  --r-s:12px;--r-m:20px;--r-l:28px;--r-pill:999px;
  --sh-1:0 1px 2px rgba(28,22,14,.06),0 12px 40px rgba(28,22,14,.08);
  --sh-2:0 1px 2px rgba(28,22,14,.06),0 24px 64px -12px rgba(28,22,14,.16),0 8px 20px -10px rgba(28,22,14,.1);
  --line:rgba(20,16,10,.08);
  --ease-out:cubic-bezier(.2,.7,.2,1);--ease-weight:cubic-bezier(.16,1,.3,1);
  /* warm paper, like the app */
  --bg:#f6f4ef;--bg-2:#efece5;--card:#fffdf9;--card-2:#f3f0ea;
  --ink:#141310;--ink-2:#4a4741;--ink-3:#625e57;
  --btn:#141310;--btn-ink:#fffdf9;--tint:rgba(20,16,10,.05);--tint-2:rgba(20,16,10,.08);
  --ring:0 0 0 2px var(--bg),0 0 0 4px rgba(20,19,16,.55);
}
[data-theme=dark]{
  --sh-1:0 1px 2px rgba(0,0,0,.4),0 12px 40px rgba(0,0,0,.35);
  --sh-2:0 1px 2px rgba(0,0,0,.5),0 24px 64px -12px rgba(0,0,0,.6),0 8px 20px -10px rgba(0,0,0,.45);
  --line:rgba(255,255,255,.08);
  --bg:#0e0d0c;--bg-2:#161513;--card:#1b1a18;--card-2:#22211e;
  --ink:#f4f1ea;--ink-2:rgba(244,241,234,.74);--ink-3:rgba(244,241,234,.6);
  --btn:#f4f1ea;--btn-ink:#141310;--tint:rgba(255,255,255,.06);--tint-2:rgba(255,255,255,.1);
  --ring:0 0 0 2px var(--bg),0 0 0 4px rgba(244,241,234,.6);
}
body{font-size:17px}
:focus-visible{outline:none;box-shadow:var(--ring)!important;border-radius:var(--r-s)}

/* ---------- buttons ---------- */
.pill{height:48px;padding:0 26px;border-radius:var(--r-pill);font-size:15.5px;font-weight:550;letter-spacing:-.005em;gap:10px;
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),background-color .25s,filter .25s}
.pill svg{width:17px;height:17px}
.pill.solid{background:var(--btn);color:var(--btn-ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.35),0 1px 2px rgba(28,22,14,.12),0 6px 16px -6px rgba(28,22,14,.3)}
[data-theme=dark] .pill.solid{box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(0,0,0,.18),0 1px 2px rgba(0,0,0,.4),0 6px 16px -6px rgba(0,0,0,.5)}
.pill.solid:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.35),0 2px 4px rgba(28,22,14,.1),0 12px 28px -10px rgba(28,22,14,.32)}
.pill:active{transform:scale(.98)}
.pill.big{height:52px;padding:0 28px;font-size:16px}
.pill.ghost{background:var(--tint);box-shadow:none;color:var(--ink)}
.pill.ghost:hover{background:var(--tint-2)}
.bar .dl{height:40px;padding:0 18px;font-size:14.5px}
.link{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.link:hover{text-decoration-color:currentColor}

/* ---------- inputs ---------- */
.form input,.form textarea{min-height:48px;border-radius:var(--r-s);background:var(--tint);box-shadow:none;transition:box-shadow .3s var(--ease-out),background-color .3s}
.form input:focus,.form textarea:focus{background:var(--card);box-shadow:0 0 0 1px var(--line),0 0 0 4px var(--tint-2)}
.form label{font-size:15px;color:var(--ink-2)}

/* ---------- surfaces: shadows, not outlines ---------- */
.paper,.leak,.note,.ticket,.form,.mtile,.bpass{border-radius:var(--r-m);box-shadow:var(--sh-1);background:var(--card)}
.form{border-radius:var(--r-l)}
.win{border-radius:var(--r-s);box-shadow:var(--sh-2)}
[data-theme=dark] .win{box-shadow:0 0 0 1px rgba(255,255,255,.06),var(--sh-2)}
.reel,.demo{border-radius:var(--r-l)}
.menu{border-radius:var(--r-m);box-shadow:0 1px 2px rgba(28,22,14,.06),0 24px 60px -12px rgba(28,22,14,.22)}
.mails a,.ask,.steps{box-shadow:none;background:var(--tint);border-radius:var(--r-m)}
.mails a:hover{background:var(--tint-2)}
.faq{border-top:1px solid var(--line)}.faq details{border-bottom:1px solid var(--line)}
.foot{border-top:0;background:var(--bg-2)}
.bar.solid{box-shadow:0 1px 0 var(--line)}
.ticket .ts{border-left:2px dashed var(--line)}

/* ---------- type: nothing small or faint ---------- */
.eyebrow{font-family:var(--f-sans);font-size:15px;font-weight:600;letter-spacing:.01em;color:var(--ink-3)}
.cta-note{font-size:15px;color:var(--ink-3)}
.lede{color:var(--ink-2)}
.foot .cols a,.foot nav a,.foot .mail{font-size:15.5px;color:var(--ink-2)}
.foot .cols h4{font-size:15px;color:var(--ink)}
.foot .cols p,.foot small{font-size:15px;color:var(--ink-3)}
.note p,.leak p,.paper p,.ticket p,.idx p,.fx p,.cp p{font-size:16px}
.note .ft{font-size:15px;color:var(--ink-3)}
.hero .signin{font-size:15.5px;color:var(--ink-3)}
.faq summary{font-size:18px}.faq details p{font-size:16.5px;color:var(--ink-2)}

/* ---------- icons: 1.5px strokes ---------- */
.burger i{height:1.5px}
.faq summary::after{border-width:0 1.5px 1.5px 0}
.soc svg [stroke-width]{stroke-width:1.5}

/* ---------- the header logo: the blade glints once on load ---------- */
.logo .mk{display:block;width:24px;height:24px;
  -webkit-mask:url(s8/brand/symbol-currentcolor.svg) center/contain no-repeat;mask:url(s8/brand/symbol-currentcolor.svg) center/contain no-repeat;
  background:linear-gradient(118deg,var(--ink) 0 42%,#E4267F 47%,#E67B2F 50%,#41CE3B 53%,#0BB5D8 56%,var(--ink) 61% 100%) 100% 0/320% 100% no-repeat;
  animation:glint 1.8s var(--ease-weight) .5s both}
@keyframes glint{from{background-position:100% 0}to{background-position:0 0}}

/* ---------- hero: bigger, airier; the loop arc frames the headline ---------- */
.hero.top{padding-top:calc(var(--bar) + env(safe-area-inset-top) + clamp(170px,17vw,250px))}
.hero h1{font-size:clamp(46px,8.2vw,112px);line-height:.98;letter-spacing:-.045em;font-weight:650;max-width:12ch}
.hero .sub{margin-top:22px;font-size:clamp(18px,1.9vw,23px)}
.hero .cta-box .acts{margin-top:36px}
.hero .tag{height:32px;padding:0 14px;font-size:14px;background:var(--tint);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.loop{transition:translate 1.2s var(--ease-weight)}
.hero::after{display:none}

/* ---------- the product window: big, crisp, tilts and settles flat as it scrolls in ---------- */
.demo{width:min(1240px,100%);margin-top:clamp(56px,7vw,88px);aspect-ratio:16/10.6;box-shadow:var(--sh-2);
  background:linear-gradient(180deg,#f1ede6,#e8e2d8)}
[data-theme=dark] .demo{background:linear-gradient(180deg,#1e1c1a,#141311)}
.demo .wall{display:none}
.demo .dw{left:6%;top:3.5%;width:88%}
@supports (animation-timeline:view()){
  .demo{animation:settle linear both;animation-timeline:view();animation-range:entry 0% cover 42%;transform-origin:50% 100%}
  @keyframes settle{from{transform:perspective(2000px) rotateX(10deg) scale(.96);opacity:.7}to{transform:none;opacity:1}}
}
@media (max-width:620px){.demo{aspect-ratio:4/3.4}.demo .dw{left:4%;width:92%;top:9%}}

/* ---------- reveal: never hidden, only settles in ---------- */
.rv,.paper,.cp,.acc{transition:opacity .75s var(--ease-out),transform .8s var(--ease-out)}
.rv{opacity:1;transform:none}
.pre{opacity:.25;transform:translateY(20px)}
.in-view{opacity:1;transform:none}

/* ---------- tactile accents around the screenshots ---------- */
.shotwrap{position:relative}
.acc{position:absolute;z-index:2;pointer-events:none}
.acc-stamp{right:-14px;bottom:18%;width:118px;height:118px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1f8f1a;background:color-mix(in srgb,var(--card) 92%,transparent);
  box-shadow:inset 0 0 0 3px currentColor,inset 0 0 0 9px var(--card),inset 0 0 0 10.5px color-mix(in srgb,currentColor 70%,transparent),var(--sh-1);transform:rotate(-12deg)}
[data-theme=dark] .acc-stamp{color:#5ee37b}
.acc-stamp b{font-family:var(--f-hand);font-weight:800;font-size:21px;line-height:1}
.acc-stamp small{margin-top:4px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.acc-stamp.pre{opacity:0;transform:rotate(-30deg) scale(1.7)}
.acc-stamp.in-view{transition:opacity .35s var(--ease-out) .35s,transform .7s cubic-bezier(.34,1.4,.5,1) .35s}
.acc-rc{right:7%;bottom:-38px;width:210px;padding:16px 16px 22px;background:#fbf8f1;color:#1b1b1d;border-radius:3px;font-family:var(--f-mono);font-size:12px;line-height:22px;
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x;filter:drop-shadow(0 14px 18px rgba(28,22,14,.22))}
.acc-rc .rh{display:block;text-align:center;letter-spacing:.08em;padding-bottom:6px;margin-bottom:4px;border-bottom:1px dashed rgba(0,0,0,.25)}
.acc-rc .rl{display:flex;justify-content:space-between;border-bottom:1px dashed rgba(0,0,0,.12)}
.acc-rc .rl i{font-style:normal}
.acc-rc .pd{position:absolute;right:14px;bottom:26px;padding:2px 9px;border:2px solid #1f8f1a;border-radius:6px;color:#1f8f1a;font-family:var(--f-hand);font-size:17px;transform:rotate(-9deg)}
.acc-rc.pre{opacity:0;transform:translateY(-46px)}
.acc-rc.in-view{transition:opacity .5s var(--ease-out) .25s,transform 1s var(--ease-weight) .25s}
.acc-note{left:-18px;top:-22px;width:176px;padding:16px 16px 18px;border-radius:4px 4px 14px 4px;color:#0b0b0c;transform:rotate(-4deg);
  background:linear-gradient(172deg,#ffe58a,#ffd95e);box-shadow:0 14px 24px -14px rgba(28,22,14,.4)}
.acc-note b{display:block;font-family:var(--f-hand);font-size:20px;line-height:1.1}
.acc-note span{display:block;margin-top:4px;font-family:var(--f-hand);font-size:15px;line-height:1.25;color:rgba(11,11,12,.75)}
.acc-note.pre{opacity:0;transform:rotate(-10deg) translateY(16px)}
.acc-note.in-view{transition:opacity .5s var(--ease-out) .2s,transform .9s var(--ease-weight) .2s}
@media (max-width:620px){.acc-stamp{width:88px;height:88px;right:-6px}.acc-stamp b{font-size:16px}.acc-rc{width:170px;right:4%;bottom:-30px;font-size:11px}.acc-note{left:-6px;width:150px}}

@media (prefers-reduced-motion:reduce){
  .pre,.acc.pre,.acc-stamp.pre,.acc-rc.pre,.acc-note.pre{opacity:1;transform:none}
  .acc-stamp{transform:rotate(-12deg)}.acc-note{transform:rotate(-4deg)}
  .demo{animation:none!important;transform:none!important}.logo .mk{animation:none;background:var(--ink)}
  .rv,.paper,.cp,.acc,.pill,.loop{transition:none}
}
@media print{.pre{opacity:1;transform:none}}
.hero h1{font-size:clamp(46px,7.6vw,108px);max-width:14.5ch}
.leak{padding:28px}.leak h3{font-size:20px}
.note{padding:30px 26px 26px}.note .n{font-family:var(--f-sans);font-weight:600;font-size:15px;color:var(--ink-3)}
.note h3{margin-top:14px}
main{overflow-x:clip}
.acc-stamp.pre{transform:rotate(-26deg) scale(1.35)}
/* offscreen sections skip rendering work until they are near the viewport */
/* (content-visibility removed: the page is short now and placeholders distorted its length) */
/* the demo: one geometry at every size; the whole frame scales to fit the screen, nothing is cropped */
.demo{aspect-ratio:16/10.2;width:min(1240px,100%,calc(80vh * 16 / 10.2));margin-left:auto;margin-right:auto}
.demo .dw{left:10%;top:4.7%;width:80%}
@media (max-width:620px){
  .demo{aspect-ratio:16/10.2;border-radius:var(--r-m)}.demo .dw{left:10%;top:4.7%;width:80%}
  .demo .dw .wt{height:2.9cqw;font-size:1.05cqw;padding-left:1cqw;gap:.7cqw}.demo .dw .wt img{width:1.35cqw;height:1.35cqw}.demo .dw .wt .ctl i{width:3.9cqw}
  .demo .tb{height:5.4cqw}.demo .tb span{width:3.6cqw;height:3.6cqw}.demo .tb i{width:2.2cqw;height:2.2cqw}.demo .tb img{width:2.5cqw;height:2.5cqw}
  .demo .tb .badge{min-width:1.6cqw;height:1.6cqw;font-size:1cqw;line-height:1.6cqw;border-radius:.8cqw}
  .demo .cur{width:4cqw}.demo .ring{width:7cqw;height:7cqw;margin:-3.5cqw 0 0 -3.5cqw}.demo .cap{font-size:2.8cqw;padding:1.1cqw 2.4cqw}
  .demo .ctl2{width:44px;height:44px;right:6px;top:6px}
}
/* a shorter home: tighter vertical rhythm */
.hero.top{padding-top:calc(var(--bar) + env(safe-area-inset-top) + clamp(150px,13vw,200px))}
.hero .signin{margin-top:10px}
.demo{margin-top:clamp(40px,5vw,64px)}
.sec{padding-top:clamp(64px,8vw,112px)}
.sec.tint{margin-top:clamp(64px,8vw,112px);padding:clamp(56px,7vw,96px) 0}
.sec.tint+.sec{padding-top:clamp(56px,7vw,96px)}
.feat{margin-top:clamp(40px,5vw,64px);gap:clamp(24px,4vw,56px)}
.feat .win{max-width:720px}
.final{margin-top:clamp(64px,8vw,112px)}
.foot{margin-top:clamp(64px,8vw,104px);padding:28px 0 max(28px,env(safe-area-inset-bottom))}
.faq{margin-top:28px}
/* why the app: three short rows, side by side on desktop (window on top, two lines under it) */
@media (min-width:900px){
  #inside>.wrap:last-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start}
  #inside .feat,#inside .feat:nth-of-type(even){display:flex;flex-direction:column-reverse;gap:22px;margin-top:48px}
  #inside .feat .fx h3{font-size:24px}#inside .feat .fx p{font-size:16px;margin-top:8px}
  #inside .acc-stamp{width:96px;height:96px;right:-10px}#inside .acc-stamp b{font-size:17px}
  #inside .acc-rc{width:170px;bottom:-30px;font-size:11px;line-height:20px}#inside .acc-note{width:150px;left:-10px;top:-18px}
}
@media (min-width:900px){#inside .feat,#inside .feat:nth-of-type(even){flex-direction:column}#inside .feat .fx{order:2}#inside .feat .shotwrap{order:1}}
.reel{aspect-ratio:16/10.2;max-height:80vh;margin-inline:auto}.reel video{object-fit:contain;background:#efebe4}
@media (max-width:620px){.reel{aspect-ratio:16/10.2;max-height:none}}
