/* ResolverAI v6, in the AI Quest brand (aiquest.in).
   Tokens match aiq-web config/theme.json: ground #fff, surface #f4f4f4, border #e0e0e0,
   ink #1a1a1a, body #555, purple #5e17eb, red #ff3131, lavender #b79bff.
   Headings Playfair Display 400, body Inter. Square corners, B&W photography. */
:root{
  --bg:#FFFFFF; --bg2:#F4F4F4; --card:#F4F4F4; --card2:#EAEAEA; --well:#FFFFFF;
  --line:#E0E0E0; --line2:#D4D4D4;
  --fg:#1A1A1A; --dim:#555555; --mute:#999999;
  --accent:#5E17EB; --accent-2:#4A0FC4; --accent-soft:#F2ECFE; --accent-line:#D8C8FB; --lav:#B79BFF; --vio:#A47CFF;
  --red:#FF3131; --red-soft:#FFF0F0; --red-line:#FFC9C9;
  --ok:#5E17EB; --ok-soft:#F2ECFE; --ok-line:#D8C8FB;
  --band:#DFDFDF; --ink2:#0A0A0F;
  --shadow:0 2px 8px rgba(0,0,0,.05);
  --display:"Playfair Display",Georgia,"Times New Roman",serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gut:max(16px,4vw);
  --r:0px;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--dim);font-family:var(--body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:#fff}
.wrap{max-width:1210px;margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}
h1,h2,h3{font-family:var(--display);font-weight:400;letter-spacing:0;margin:0;text-wrap:balance;color:var(--fg)}
h2 em,h1 em{font-style:normal;color:var(--accent)}
h2 em.r{color:var(--red)}
p{margin:0}

/* ---------- nav (dark bar, as on aiquest.in) ---------- */
.nav{position:fixed;inset:0 0 auto 0;top:env(safe-area-inset-top,0px);z-index:50;background:rgba(26,26,26,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.nav .wrap{height:64px;display:flex;align-items:center;gap:34px}
.brand{font-family:var(--display);font-size:24px;color:#fff;letter-spacing:0;line-height:1}
.brand b{font-weight:400;color:var(--vio)}
.nav .links{display:flex;gap:22px;white-space:nowrap;font-size:14.5px;color:rgba(255,255,255,.86)}
.nav .links a:hover{color:#fff;text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--lav)}
.nav .right{margin-left:auto;display:flex;align-items:center;gap:16px}
.nav .aiq img{display:block;height:30px;width:auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;padding:12px 24px;font-weight:600;font-size:15px;border:1px solid transparent;transition:background .2s,box-shadow .2s,border-color .2s,transform .2s;white-space:nowrap}
.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn.primary:hover{background:var(--accent-2);border-color:var(--accent-2);box-shadow:0 6px 22px -8px rgba(94,23,235,.6)}
.btn.sm{padding:7px 18px;font-size:14px;font-weight:500}
.btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.34)}
.btn.ghost:hover{border-color:#fff}
.btn.quiet{background:#fff;border-color:var(--line2);color:var(--fg)}
.btn.lg{padding:14px 26px;font-size:16px}
.menu-btn{display:none;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:8px;width:44px;height:40px;align-items:center;justify-content:center}
.menu-btn span{display:block;width:16px;height:1.5px;background:#fff;box-shadow:0 5px 0 #fff,0 -5px 0 #fff}

/* ---------- hero: plain white ground ---------- */
.hero{position:relative;overflow:hidden;background:#fff;text-align:center;padding:clamp(130px,14vw,170px) 0 clamp(64px,7vw,90px);border-bottom:1px solid var(--line)}
.hero .wrap{position:relative;z-index:1}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}
.eyebrow::before{content:"";display:block;width:36px;height:2px;background:var(--red);margin:0 auto 16px}
.hero h1{font-size:clamp(40px,5.6vw,72px);line-height:1.08;color:var(--fg);margin:16px auto 0;max-width:900px}
.hero h1 em{color:var(--accent)}
.tri{font-family:var(--display);font-style:italic;font-size:clamp(20px,2.1vw,26px);color:var(--accent);margin-top:18px;line-height:1.35}
.hero .sub{font-size:clamp(16px,1.3vw,18px);color:var(--dim);max-width:640px;margin:18px auto 0;line-height:1.65}
.hero .ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:32px}
.hero .note{margin-top:26px;font-size:13.5px;color:var(--mute)}
.hero .note b{font-weight:600;color:var(--fg)}
.btn.quiet:hover{border-color:var(--accent);color:var(--accent)}
.play-ic{width:20px;height:20px;border-radius:50%;background:var(--accent);display:grid;place-items:center}
.play-ic::after{content:"";border-left:7px solid #fff;border-top:4.5px solid transparent;border-bottom:4.5px solid transparent;margin-left:2px}

/* ---------- grey tagline band ---------- */
.strip{background:var(--band)}
.strip .wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 44px;padding-top:13px;padding-bottom:13px}
.strip span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#3a3a3a}
.strip svg{width:17px;height:17px;color:var(--accent);flex:none}

/* ---------- sections ---------- */
.sec{padding:clamp(76px,9vw,116px) 0 0}
.head{max-width:780px}
.head.center{text-align:center;margin:0 auto}
.kicker{font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--accent)}
.kicker::before{content:"";display:block;width:36px;height:2px;background:var(--red);margin-bottom:14px}
.head.center .kicker::before{margin-left:auto;margin-right:auto}
.head h2{font-size:clamp(30px,3.6vw,44px);line-height:1.18;margin-top:12px}
.head p{color:var(--dim);font-size:17px;margin-top:14px;max-width:640px}
.head.center p{margin-left:auto;margin-right:auto}
.mantra{font-family:var(--display);font-style:italic;font-size:clamp(17px,1.5vw,20px);color:var(--accent);margin-top:30px}

/* ---------- the demo call ---------- */
.stage{position:relative;margin:40px auto 0;width:min(560px,100%);display:flex;flex-direction:column;align-items:center}
.orb-wrap{position:relative;width:min(260px,66vw);aspect-ratio:1;max-width:100%;display:grid;place-items:center}
.orb-wrap .ring{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(94,23,235,.18);animation:ring 6s ease-in-out infinite}
.orb-wrap .ring:nth-child(2){inset:9%;animation-delay:-2s;border-style:dashed;border-color:rgba(94,23,235,.22)}
.orb-wrap .ring:nth-child(3){inset:-9%;animation-delay:-4s;border-color:rgba(94,23,235,.08)}
@keyframes ring{50%{transform:scale(1.035);opacity:.6}}
.orb{position:absolute;inset:20%;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#fff 0%,#EDE4FF 10%,#B79BFF 36%,#5E17EB 66%,#1E0A52 100%);
  box-shadow:0 28px 60px -14px rgba(94,23,235,.5),inset -16px -22px 50px rgba(30,10,82,.5);
  animation:breathe 5s ease-in-out infinite;transition:background .5s,box-shadow .5s}
.orb.speak{background:radial-gradient(circle at 34% 28%,#fff 0%,#FDE7F7 10%,#F0A5E0 34%,#9B4DFF 62%,#2A0B6B 100%);box-shadow:0 28px 60px -14px rgba(155,77,255,.55),inset -16px -22px 50px rgba(42,11,107,.5);animation:talk .9s ease-in-out infinite}
.orb.listen{animation:breathe 2.4s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.045)}}
@keyframes talk{0%,100%{transform:scale(1)}30%{transform:scale(1.07)}60%{transform:scale(1.02)}}
.orb-btn{position:relative;z-index:2;width:72px;height:72px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.18);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;transition:transform .2s,background .2s}
.orb-btn:hover{transform:scale(1.06);background:rgba(255,255,255,.28)}
.orb-btn::after{content:"";border-left:19px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent;margin-left:5px}
.orb-btn.stop::after{border:0;width:17px;height:17px;margin:0;background:#fff;border-radius:3px}
.stage .lbl{margin-top:12px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.stage.wide{width:min(1060px,100%)}
.live{width:100%;margin-top:22px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:stretch;text-align:left}
.call,.work{border:1px solid var(--line);background:#fff;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0}
.call{border-top:3px solid var(--accent)}
.work{border-top:3px solid var(--red)}
.call .top,.work .top{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);background:var(--bg2)}
.call .top .dot{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px rgba(255,49,49,.18);animation:blink 1.2s ease-in-out infinite;flex:none}
.call .top .t,.work .top .t{font-variant-numeric:tabular-nums;letter-spacing:.06em}
.work .top .t{margin-left:auto;color:var(--red)}
.work.fin .top .t{color:var(--accent)}
.work .pulse{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px rgba(255,49,49,.15);animation:blink 1s ease-in-out infinite;flex:none}
.work.fin .pulse{background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);animation:none}
.snd{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--fg);background:#fff;border:1px solid var(--line2);padding:4px 8px;cursor:pointer}
.snd:hover{border-color:var(--accent);color:var(--accent)}
.snd svg{width:14px;height:14px}
.snd .x{display:none}
.snd[aria-pressed="false"]{color:var(--mute)}
.snd[aria-pressed="false"] .w{display:none}
.snd[aria-pressed="false"] .x{display:inline}
@keyframes blink{50%{opacity:.35}}
.lines{padding:14px 16px;display:flex;flex-direction:column;gap:10px;flex:1 1 0;height:0;min-height:290px;overflow-y:auto;scroll-behavior:smooth}
#callState{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ln{display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.55;animation:up .35s ease both}
.ln small{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.ln.agent small{color:var(--accent)}
.ln.agent span{color:var(--fg)}
.ln.caller span{color:var(--dim)}
.ln.think{flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--red)}
.ln.think i{width:6px;height:6px;border-radius:50%;background:var(--red);animation:blink .8s ease-in-out infinite}
.ln.think i:nth-child(2){animation-delay:.15s}.ln.think i:nth-child(3){animation-delay:.3s}
@keyframes up{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* behind the call */
.steps{list-style:none;margin:0;padding:12px 16px 14px;display:flex;flex-direction:column}
.step{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;padding:7px 0;position:relative}
.step:not(:last-child)::before{content:"";position:absolute;left:10px;top:33px;bottom:-5px;width:2px;background:var(--line);transition:background .4s}
.step.done:not(:last-child)::before{background:var(--accent-line)}
.step .mk{width:22px;height:22px;border-radius:50%;border:2px solid var(--line2);background:#fff;display:grid;place-items:center;position:relative;z-index:1;transition:all .3s}
.step.on .mk{border-color:var(--red);box-shadow:0 0 0 4px var(--red-soft)}
.step.on .mk::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);animation:blink .9s ease-in-out infinite}
.step.done .mk{background:var(--accent);border-color:var(--accent)}
.step.done .mk::after{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(0,-1px) rotate(45deg)}
.step b{display:block;font-size:14.5px;font-weight:600;line-height:22px;color:var(--mute);transition:color .3s}
.step.on b,.step.done b{color:var(--fg)}
.step div{min-width:0}
.step div > span{display:block;font-size:13px;line-height:1.45;color:var(--mute);margin-top:1px}
.step.on div > span{color:var(--red)}
.step.done div > span{color:var(--dim)}
.checks{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:5px}
.checks li{display:grid;grid-template-columns:80px minmax(0,1fr) 8px;align-items:center;gap:8px;padding:5px 9px;border:1px solid var(--line);font-size:12.5px;background:var(--bg2);transition:background .3s,border-color .3s}
.checks li::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--line2)}
.checks em{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.checks li span{color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.checks li.run{border-color:var(--red-line);background:var(--red-soft)}
.checks li.run span{color:var(--red)}
.checks li.run::after{background:var(--red);animation:blink .7s ease-in-out infinite}
.checks li.ok{background:#fff;border-color:var(--accent-line)}
.checks li.ok span{color:var(--fg)}
.checks li.ok::after{background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}

/* chain: call -> agent -> systems -> plan -> resource -> fix */
.chain{display:flex;align-items:center;margin-top:52px}
.cn{flex:1 1 0;min-width:0;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);padding:18px 16px;display:flex;flex-direction:column;gap:3px}
.cn .ic{width:36px;height:36px;background:#fff;border:1px solid var(--line);color:var(--accent);display:grid;place-items:center;margin-bottom:12px}
.cn .ic svg{width:19px;height:19px}
.cn small{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.cn b{font-family:var(--display);font-weight:400;font-size:19px;line-height:1.25;color:var(--fg)}
.cn > span:last-child{font-size:13.5px;color:var(--dim);line-height:1.4}
.cn.ai{background:var(--fg);border-color:var(--fg)}
.cn.ai .ic{background:var(--accent);border-color:var(--accent);color:#fff}
.cn.ai small{color:var(--lav)}.cn.ai b{color:#fff}.cn.ai > span:last-child{color:rgba(255,255,255,.72)}
.cn.win{border-color:var(--accent);background:var(--accent)}
.cn.win .ic{background:#fff;border-color:#fff;color:var(--accent)}
.cn.win small{color:#E5DAFF}.cn.win b{color:#fff}.cn.win > span:last-child{color:rgba(255,255,255,.85)}
.cn.sys{flex-grow:1.15;padding:14px;background:var(--accent-soft);border-color:var(--accent-line)}
.cn.sys small{color:var(--accent);margin-bottom:8px}
.cn.sys ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.cn.sys li{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--accent-line);padding:5px 9px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fg)}
.cn.sys li em{width:7px;height:7px;border-radius:50%;background:var(--line2);flex:none;animation:check 3s infinite}
.cn.sys li:nth-child(2) em{animation-delay:.25s}
.cn.sys li:nth-child(3) em{animation-delay:.5s}
.cn.sys li:nth-child(4) em{animation-delay:.75s}
.cn.sys li:nth-child(5) em{animation-delay:1s}
@keyframes check{0%,15%{background:var(--line2)}25%,85%{background:var(--accent);box-shadow:0 0 0 3px rgba(94,23,235,.18)}100%{background:var(--line2)}}
.lk{flex:0 0 26px;height:2px;background:var(--line2);position:relative;overflow:hidden}
.lk::after{content:"";position:absolute;top:0;left:-40%;width:40%;height:100%;background:var(--red);animation:run 1.8s linear infinite}
@keyframes run{to{left:100%}}

/* person / parts / plan */
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:48px}
.pane{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);padding:26px;display:flex;flex-direction:column;gap:14px;min-width:0;transition:border-color .35s,box-shadow .35s,transform .35s}
.pane:hover{border-color:rgba(94,23,235,.2);box-shadow:0 3px 12px rgba(94,23,235,.1);transform:translateY(-2px)}
.pane-h{display:flex;flex-direction:column;gap:10px}
.pane .num{font-size:11px;font-weight:700;letter-spacing:.18em;color:var(--accent)}
.pane .num::before{content:"";display:block;width:36px;height:2px;background:var(--red);margin-bottom:12px}
.pane h3{font-size:24px}
.pane > p{color:var(--dim);font-size:15px}
.mock{margin-top:auto;background:var(--well);border:1px solid var(--line);padding:12px;font-size:14px;display:flex;flex-direction:column;gap:6px}
.eng{display:flex;align-items:center;gap:12px;padding:8px 10px}
.eng .av{width:30px;height:30px;background:var(--card2);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--dim);flex:none}
.eng .nm{font-weight:600;font-size:14.5px;color:var(--fg)}
.eng .why{font-size:12.5px;color:var(--mute)}
.eng .tag{margin-left:auto;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.eng.m{background:var(--accent-soft);border:1px solid var(--accent-line)}
.eng.m .av{background:var(--accent);color:#fff}
.eng.m .tag{color:var(--accent)}
.part{display:flex;align-items:center;gap:12px;padding:9px 10px;border:1px solid var(--line)}
.part > span:first-child{min-width:0}
.part b{display:block;font-weight:600;font-size:14.5px;color:var(--fg)}
.part b + span{font-size:12.5px;color:var(--mute)}
.st{margin-left:auto;flex:none;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:3px 8px;border:1px solid var(--line2);color:var(--dim);background:#fff}
.st.ok{border-color:var(--accent);color:#fff;background:var(--accent)}
.plan{padding:0;gap:0;overflow:hidden}
.plan-h{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--bg2);font-weight:600;font-size:13.5px;color:var(--fg)}
.plan dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 14px;padding:12px}
.plan dt{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--mute);padding-top:3px}
.plan dd{margin:0;font-size:14px;color:var(--fg)}

/* features */
.feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:44px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.ft{display:flex;gap:16px;padding:26px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.ft .ic{width:38px;height:38px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent);display:grid;place-items:center;flex:none}
.ft .ic svg{width:19px;height:19px}
.ft h3{font-size:20px;line-height:1.3}
.ft p{color:var(--dim);font-size:14.5px;margin-top:4px}

/* systems */
.rc{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(30px,5vw,64px);align-items:center;background:var(--card);border:1px solid var(--line);padding:clamp(26px,5vw,56px)}
.rc h2{font-size:clamp(28px,3.4vw,42px);line-height:1.18;margin-top:12px}
.rc p.lead{color:var(--dim);font-size:16.5px;margin-top:16px}
.ticks{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:11px}
.ticks li{display:flex;gap:12px;align-items:flex-start;color:var(--fg);font-size:15.5px}
.ticks li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative}
.hub .t{display:grid;place-items:center;text-align:center;min-height:78px;padding:10px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--fg);position:relative}
.hub .t.tel{border-color:var(--accent-line);color:var(--accent);background:var(--accent-soft)}
.hub .core{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;background:var(--fg);color:#fff;box-shadow:0 0 0 6px var(--accent-soft),0 0 0 7px var(--accent-line)}
.hub .core svg{width:26px;height:26px;background:var(--accent);padding:3px}
.hub .core b{font-family:var(--display);font-weight:400;font-size:17px}

/* customers */
.quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:44px}
.qt{margin:0;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:30px 30px 26px;display:flex;flex-direction:column;gap:24px;position:relative;min-width:0}
.qt::before{content:"";position:absolute;left:-1px;top:28px;width:3px;height:40px;background:var(--accent)}
.qt blockquote{margin:0;font-family:var(--display);font-style:italic;font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--fg)}
.qt figcaption{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:18px;border-top:1px solid var(--line)}
.qt .plate{width:116px;height:52px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;padding:9px 14px;flex:none}
.qt .plate.pill{width:156px;padding:4px}
.qt .plate img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}
.qt figcaption b{display:block;font-size:15px;font-weight:600;color:var(--fg)}
.qt figcaption b + span{font-size:13px;color:var(--dim)}

/* faq */
.faq{max-width:860px;margin:40px 0 0;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:0 4px}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0;font-family:var(--display);font-size:21px;color:var(--fg)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--body);font-size:24px;font-weight:400;color:var(--mute);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg);color:var(--red)}
.faq details p{color:var(--dim);padding-bottom:22px;font-size:16px;max-width:700px}

/* cta band: plain grey surface */
.cta-band{position:relative;margin-top:clamp(80px,10vw,120px);padding:clamp(56px,7vw,88px) 0;background:var(--bg2);border-top:1px solid var(--line)}
.cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.cta h2{font-size:clamp(32px,4vw,52px);line-height:1.12;margin-top:12px}
.cta p{color:#3a3a3a;font-size:17px;margin-top:16px;max-width:520px}
.cta form,.cta .done{background:#fff;border:1px solid var(--line);border-top:3px solid var(--accent);box-shadow:0 10px 30px -18px rgba(0,0,0,.35);padding:26px}
form{display:grid;gap:12px}
.fld label{display:block;font-size:13px;font-weight:600;color:var(--fg);margin-bottom:6px}
.fld input{width:100%;background:#fff;border:1px solid var(--line2);color:var(--fg);font:inherit;font-size:16px;padding:12px 14px;outline:none;border-radius:0;transition:border-color .15s,box-shadow .15s}
.fld input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(94,23,235,.15)}
.fld input.bad{border-color:var(--red)}
.hp{position:absolute;left:-9999px}
form .btn{margin-top:6px}
.done h3{font-size:24px}
.done p{margin-top:8px;color:var(--dim)}

/* footer, as on aiquest.in */
footer{background:#fff;border-top:1px solid var(--line)}
footer .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:32px;padding-top:56px;padding-bottom:40px;font-size:14px;color:var(--dim)}
footer h4{margin:0 0 14px;font-size:16px;font-weight:600;color:var(--fg)}
.f-brand img{display:block;height:38px;width:auto}
.f-brand p{margin-top:16px;max-width:320px}
footer nav{display:flex;flex-direction:column;gap:9px}
footer nav a:hover,.f-contact a:hover{color:var(--accent);text-decoration:underline}
.f-contact{display:flex;flex-direction:column;gap:6px}
.f-contact a{color:var(--accent);margin-top:6px}
.copy{border-top:1px solid var(--line);text-align:center;font-size:13px;color:var(--mute);padding:18px var(--gut)}

/* gentle entrance: content is visible at rest, it only lifts slightly */
.js .rise{transform:translateY(14px);transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.js .rise.in{transform:none}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .nav .links{gap:16px;font-size:14px}
  .nav .aiq{display:none}
}
@media (max-width:1060px){
  .chain{flex-direction:column;align-items:stretch;max-width:520px}
  .cn{flex:none}
  .cn .ic{margin-bottom:8px}
  .lk{flex:0 0 22px;width:2px;height:auto;align-self:center}
  .lk::after{left:0;top:-40%;width:100%;height:40%;animation-name:rundn}
  @keyframes rundn{to{top:100%}}
  .cn.sys ul{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
}
@media (max-width:900px){
  .nav .links{display:none}
  .menu-btn{display:flex}
  .nav .right .btn{display:none}
  .nav.open .links{display:flex;position:absolute;top:64px;left:0;right:0;flex-direction:column;gap:18px;padding:20px var(--gut) 24px;background:rgba(26,26,26,.98);border-bottom:1px solid rgba(255,255,255,.1)}
  .trio,.feats,.quotes{grid-template-columns:1fr}
  .rc,.cta{grid-template-columns:1fr}
  .live{grid-template-columns:1fr}
  .stage.wide{width:min(560px,100%)}
  .lines{flex:none;height:280px;min-height:0}
  footer .wrap{grid-template-columns:1fr 1fr}
  .f-brand{grid-column:1 / -1}
}
@media (min-width:901px) and (max-width:1100px){
  .feats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .hero{padding-top:112px}
  .hero .ctas .btn{flex:1 1 100%}
  .strip .wrap{justify-content:flex-start;gap:8px 24px}
  .strip span{font-size:11.5px}
  .hub .t,.hub .core{min-height:64px;font-size:11px}
  .ft{padding:22px 18px}
  footer .wrap{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* ---------- dynamic scheduling (inside the call demo) ---------- */
.sched{grid-column:1/-1;border:1px solid var(--line);border-top:3px solid var(--accent);background:#fff;box-shadow:var(--shadow);min-width:0;scroll-margin:90px}
.sched .top{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--fg);background:var(--bg2)}
.sched .top .job{font-weight:600;letter-spacing:.04em;text-transform:none;color:var(--dim);font-size:12.5px}
.sched .top .t{margin-left:auto;color:var(--mute);letter-spacing:.06em}
.sched .pulse{width:7px;height:7px;border-radius:50%;background:var(--line2);flex:none}
.sched.on .pulse{background:var(--red);box-shadow:0 0 0 3px rgba(255,49,49,.15);animation:blink 1s ease-in-out infinite}
.sched.on .top .t{color:var(--red)}
.sched.fin .pulse{background:var(--accent);animation:none;box-shadow:0 0 0 3px var(--accent-soft)}
.sched.fin .top .t{color:var(--accent)}
.sc-body{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.sc-map{position:relative;border-right:1px solid var(--line);min-width:0;min-height:420px;overflow:hidden}
.map{position:absolute;inset:0;display:block;width:100%;height:100%}
.uk{position:absolute;left:10px;top:10px;width:64px;height:auto;background:#fff;border:1px solid var(--line);padding:5px}
.m-bg{fill:#FAF9FD}
.m-grid{stroke:#EFEBF8;stroke-width:1}
.m-road{fill:none;stroke:#E6E0F2;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.m-road.mw{stroke:#D9CFF0;stroke-width:4}
.m-rl rect{fill:#fff;stroke:#D9CFF0}
.m-rl text{font:700 8.5px Inter,sans-serif;fill:#8A7FA8;text-anchor:middle;letter-spacing:.04em}
.m-town{fill:#B9B2C9}
.m-tl{font:500 10.5px Inter,sans-serif;fill:#9A93AB}
.m-ring{fill:rgba(94,23,235,.035);stroke:#C9B8F5;stroke-width:1.2;stroke-dasharray:4 5}
.m-route{fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:0;transition:stroke-dashoffset 1.1s ease,opacity .3s}
.m-route.show{opacity:.55;stroke-dashoffset:0;stroke-dasharray:4 5}
.m-route.best{opacity:1;stroke-dasharray:none;stroke-width:3}
.m-eng{transition:opacity .4s}
.m-eng .pin{fill:#fff;stroke:#8F86A6;stroke-width:2;transition:all .3s}
.m-eng .ini{font:700 6.5px Inter,sans-serif;fill:#5C5470;text-anchor:middle}
.m-eng .nm{font:600 10.5px Inter,sans-serif;fill:var(--fg);paint-order:stroke;stroke:#FAF9FD;stroke-width:3px}
.m-eng .chip{opacity:0;transition:opacity .3s}
.m-eng .chip rect{fill:var(--accent-soft);stroke:var(--accent-line)}
.m-eng .chip text{font:700 8.5px Inter,sans-serif;fill:var(--accent);letter-spacing:.04em}
.m-eng.chk .chip{opacity:1}
.m-eng.no .chip rect{fill:var(--red-soft);stroke:var(--red-line)}
.m-eng.no .chip text{fill:var(--red)}
.m-eng.out{opacity:.38}
.m-eng.ok .pin{stroke:var(--accent)}
.m-eng.best .pin{fill:var(--accent);stroke:var(--accent)}
.m-eng.best .ini{fill:#fff}
.m-job circle{fill:var(--red)}
.m-job .halo{fill:rgba(255,49,49,.18);animation:halo 1.6s ease-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes halo{0%{transform:scale(.6);opacity:1}100%{transform:scale(2.4);opacity:0}}
.m-job .tag rect{fill:var(--fg)}
.m-job .tag text{font:700 9.5px Inter,sans-serif;fill:#fff;text-anchor:middle;letter-spacing:.03em}
.uk .gb{fill:#E9E1FB;stroke:#B79BFF;stroke-width:.8;stroke-linejoin:round}
.uk .zone{fill:none;stroke:var(--red);stroke-width:1.6}
.sc-side{padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px;min-width:0}
.ss{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.ss li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;padding:6px 8px;border:1px solid transparent;transition:all .3s}
.ss .mk{width:16px;height:16px;border-radius:50%;border:2px solid var(--line2);margin-top:2px;display:grid;place-items:center}
.ss b{display:block;font-size:13.5px;font-weight:600;color:var(--mute);line-height:1.35}
.ss div span{display:block;font-size:12px;color:var(--mute);line-height:1.4}
.ss li.on{border-color:var(--red-line);background:var(--red-soft)}
.ss li.on .mk{border-color:var(--red)}
.ss li.on .mk::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--red);animation:blink .9s infinite}
.ss li.on b,.ss li.done b{color:var(--fg)}
.ss li.on div span{color:var(--red)}
.ss li.done div span{color:var(--dim)}
.ss li.done .mk{background:var(--accent);border-color:var(--accent)}
.ss li.done .mk::after{content:"";width:3.5px;height:7px;border:solid #fff;border-width:0 1.8px 1.8px 0;transform:translate(0,-1px) rotate(45deg)}
.rank{list-style:none;margin:0;padding:0;display:grid;gap:5px;align-content:start;min-height:246px}
.rank li{display:grid;grid-template-columns:minmax(0,1fr) 120px 28px;align-items:center;gap:10px;padding:7px 9px;border:1px solid var(--line);background:var(--bg2);opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
.rank.show li{opacity:1;transform:none}
.rank li b{font-size:12.5px;font-weight:600;color:var(--fg);display:flex;gap:8px;align-items:center;min-width:0}
.rank li b em{font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.rank li .sc{text-align:right;font-family:var(--display);font-size:18px;line-height:1;color:var(--fg)}
.rank li .bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.rank li .bars i{display:block;height:4px;background:var(--line);position:relative;overflow:hidden}
.rank li .bars i::after{content:"";position:absolute;inset:0 auto 0 0;width:0;background:var(--lav);transition:width .9s ease .2s}
.rank.show li .bars i::after{width:var(--v)}
.rank li.best{border-color:var(--accent);background:#fff;box-shadow:0 0 0 1px var(--accent)}
.rank li.best .sc{color:var(--accent)}
.rank li.best .bars i::after{background:var(--accent)}
.rank .lg{display:grid;grid-template-columns:minmax(0,1fr) 120px 28px;gap:10px;padding:0 9px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);opacity:1;transform:none;border:0;background:none}
.rank .lg span{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.rank .lg i{font-style:normal}
.rank .lg > i:last-child{text-align:right}
@media (max-width:900px){.sc-body{grid-template-columns:1fr}.sc-map{border-right:0;border-bottom:1px solid var(--line);min-height:0;aspect-ratio:600/400}.sched .top .job{display:none}.rank{min-height:0}}
@media (max-width:560px){.sc-map{aspect-ratio:1/1}.rank li,.rank .lg{grid-template-columns:minmax(0,1fr) 96px 26px}.rank .lg{font-size:9px;letter-spacing:.05em}.uk{width:46px;top:auto;bottom:10px}}

/* ---------- how we work + custom pricing ---------- */
.how{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.how li{position:relative;padding:28px 26px 30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;min-width:0}
.how li::after{content:"";position:absolute;left:26px;top:0;width:36px;height:2px;background:var(--red)}
.how .n{font-family:var(--display);font-size:40px;line-height:1;color:var(--lav)}
.how h3{font-family:var(--display);font-weight:400;font-size:23px;margin-top:18px;color:var(--fg)}
.how p{color:var(--dim);font-size:15px;line-height:1.6;margin-top:10px}
.price{margin-top:22px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px;align-items:center;padding:clamp(28px,4vw,46px);background:var(--fg);color:#fff;position:relative;overflow:hidden}
.price::before{content:"";position:absolute;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;border:56px solid rgba(183,155,255,.10)}
.price > *{position:relative}
.price .kicker{color:var(--lav)}
.price h3{font-family:var(--display);font-weight:400;font-size:clamp(26px,2.8vw,36px);line-height:1.2;margin-top:12px;color:#fff}
.price h3 em{color:var(--lav)}
.price p{color:rgba(255,255,255,.78);font-size:16px;line-height:1.65;margin:14px 0 24px;max-width:560px}
.price ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.price li{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid rgba(255,255,255,.14);font-size:15px;color:#fff}
.price li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:var(--accent);margin-top:1px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@media (max-width:1000px){.how{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.price{grid-template-columns:1fr;gap:26px}}
@media (max-width:560px){.how{grid-template-columns:1fr}}


/* published pricing */
.plans{margin-top:44px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.tier{position:relative;display:flex;flex-direction:column;padding:28px 24px 26px;border:1px solid var(--line);background:#fff;min-width:0}
.tier::before{content:"";position:absolute;left:24px;top:0;width:36px;height:2px;background:var(--red)}
.tier.pop{border-color:var(--accent);box-shadow:0 18px 40px -28px rgba(94,23,235,.55)}
.tier.pop::after{content:"Most popular";position:absolute;right:20px;top:26px;background:var(--accent);color:#fff;font-size:11.5px;font-weight:600;letter-spacing:.04em;padding:4px 10px}
.tier h3{font-family:var(--body);font-weight:600;font-size:17px;color:var(--accent)}
.tier .amt{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin-top:12px;font-family:var(--display);font-size:48px;line-height:1;color:var(--fg)}
.tier .amt .cur{font-size:30px;margin-right:-6px}
.tier .amt small{font-family:var(--body);font-size:13.5px;font-weight:500;color:var(--dim)}
.tier .bl{margin-top:14px;font-size:15px;line-height:1.55;color:var(--fg);min-height:3.1em}
.tier .inc{margin-top:18px;font-size:13.5px;font-weight:600;color:var(--fg)}
.tier ul{list-style:none;margin:12px 0 0;padding:16px 0 0;border-top:1px solid var(--line);display:grid;gap:11px;flex:1;align-content:start}
.tier .inc + ul{margin-top:10px}
.tier li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--dim)}
.tier li::before{content:"";flex:none;width:17px;height:17px;border-radius:50%;margin-top:1px;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.tier .pa{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.tier .pa .btn{flex:1 1 auto}
.tier.ent{background:var(--fg);border-color:var(--fg);color:#fff;overflow:hidden}
.tier.ent > *{position:relative}
.tier.ent h3{color:var(--lav)}
.tier.ent .amt{color:#fff}
.tier.ent .bl,.tier.ent .inc{color:#fff}
.tier.ent ul{border-color:rgba(255,255,255,.16)}
.tier.ent li{color:rgba(255,255,255,.8)}
.vat{margin-top:16px;font-size:13px;color:var(--mute)}
@media (max-width:1100px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.plans{grid-template-columns:1fr}.tier .bl{min-height:0}}

/* ROI calculator */
.roi{margin-top:40px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);border:1px solid var(--line);background:#fff;scroll-margin-top:90px}
.roi-in{padding:clamp(22px,3.6vw,42px);min-width:0}
.roi h3{font-family:var(--display);font-weight:400;font-size:clamp(24px,2.6vw,32px);line-height:1.2;margin-top:12px;color:var(--fg);text-wrap:balance}
.roi h3 em{color:var(--accent)}
.roi .lead{color:var(--dim);font-size:15px;line-height:1.6;margin:10px 0 20px;max-width:560px}
.seg{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.seg label{cursor:pointer}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:inline-block;padding:9px 14px;border:1px solid var(--line2);font-size:14px;font-weight:600;color:var(--fg);transition:border-color .15s,background .15s,color .15s}
.seg input:checked + span{background:var(--accent);border-color:var(--accent);color:#fff}
.seg input:focus-visible + span{box-shadow:0 0 0 3px rgba(94,23,235,.25)}
.sl{padding:14px 0;border-top:1px solid var(--line)}
.sl label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:14px;font-weight:600;color:var(--fg)}
.sl .hint{font-weight:500;color:var(--mute);margin-right:auto;margin-left:-10px}
.sl output{font-family:var(--display);font-size:20px;font-weight:400;color:var(--accent);white-space:nowrap}
.sl input[type=range]{width:100%;margin-top:10px;accent-color:var(--accent);height:22px;cursor:pointer}
.asm{border-top:1px solid var(--line)}
.asm summary{cursor:pointer;padding:14px 0;font-size:14px;font-weight:600;color:var(--accent);list-style:none}
.asm summary::-webkit-details-marker{display:none}
.asm summary::before{content:"+";display:inline-block;width:18px;font-weight:700}
.asm[open] summary::before{content:"\2013"}
.asm .sl:first-of-type{border-top:0;padding-top:0}
.roi-out{background:var(--bg2);border-left:1px solid var(--line);padding:clamp(22px,3.6vw,42px);display:flex;flex-direction:column;gap:18px;min-width:0}
.roi-out .big{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;font-family:var(--display);font-size:clamp(40px,5vw,58px);line-height:1;color:var(--fg)}
.roi-out .big small{font-family:var(--body);font-size:15px;color:var(--dim)}
.roi-out dl{margin:0}
.roi-out dl div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--line2);font-size:14px}
.roi-out dl .x{font-weight:700}
.roi-out dt{color:var(--dim)}
.roi-out dd{margin:0;font-weight:600;color:var(--fg);text-align:right}
.roi-out dl .x dd{color:var(--accent);font-size:16px}
.roi-out .fine{font-size:12.5px;color:var(--mute);margin:0}
.roi-out .btn{align-self:flex-start}
@media (max-width:860px){.roi{grid-template-columns:1fr}.roi-out{border-left:0;border-top:1px solid var(--line)}}
@media (max-width:420px){.roi-out .btn{width:100%}.sl label{flex-wrap:wrap}.sl .hint{margin-left:0}}
.tier .pa .btn{white-space:normal;text-align:center}


/* ---------- theatre: the whole call plays on one screen, nothing to scroll ---------- */
.stage.playing{width:min(1180px,100%);display:grid;grid-template-columns:168px minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:". live" "orb live" "lbl live" ". live";column-gap:22px;justify-items:center;scroll-margin-top:76px}
.stage.playing .orb-wrap{grid-area:orb;width:150px}
.stage.playing .orb-btn{width:50px;height:50px}
.stage.playing .orb-btn::after{border-left-width:14px;border-top-width:8px;border-bottom-width:8px;margin-left:4px}
.stage.playing .orb-btn.stop::after{width:13px;height:13px;border:0;margin:0}
.stage.playing .lbl{grid-area:lbl;margin-top:14px;text-align:center;line-height:1.6;max-width:150px}
.stage.playing .live{grid-area:live;margin-top:0;height:clamp(500px,calc(100svh - 104px),720px);grid-template-rows:minmax(0,1fr);position:relative;justify-self:stretch}
.stage.playing .lines{flex:1 1 0;height:0;min-height:0}
.stage.playing .call,.stage.playing .work{transition:opacity .4s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.stage.playing .call{animation:flyIn .7s cubic-bezier(.2,.8,.2,1) .12s backwards}
.stage.playing .work{animation:flyIn .7s cubic-bezier(.2,.8,.2,1) .3s backwards}
@keyframes flyIn{from{opacity:0;transform:translateX(90px) scale(.96)}}
.stage.playing .work{overflow-y:auto}

/* the scheduling card takes the stage for the search */
.stage.playing .sched{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateX(80px) scale(.97);transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1),visibility 0s linear .6s}
.stage.playing.sc-on .sched{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.stage.playing.sc-on .call,.stage.playing.sc-on .work{opacity:0;transform:translateX(-50px) scale(.96)}
.stage.playing .sc-body{flex:1 1 auto;min-height:0}
.stage.playing .sc-map{min-height:0}
.stage.playing .sc-side{overflow:hidden}
.stage.playing .rank{min-height:0}

/* map: opens on GB, then zooms into the job */
.sc-map{background:#FAF9FD}
.sc-map .map{transform-origin:39.2% 48%;transition:transform 1.5s cubic-bezier(.3,.7,.2,1),opacity .9s ease}
.sc-map.far .map{transform:scale(.5);opacity:.15}
.uk{transition:left 1.3s cubic-bezier(.3,.7,.2,1),top 1.3s cubic-bezier(.3,.7,.2,1),transform 1.3s cubic-bezier(.3,.7,.2,1)}
.sc-map.far .uk{left:50%;top:50%;transform:translate(-50%,-50%) scale(2.3)}
.sc-map.far .uk .zone{animation:blink .7s ease-in-out infinite}

/* the hunt: each engineer flickers while it is checked, then resolves */
.m-eng.scan .chip{opacity:1;animation:scan .55s ease both}
.m-eng.scan .chip rect{fill:#fff;stroke:var(--accent)}
.m-eng.scan .pin{stroke:var(--accent);stroke-width:3}
@keyframes scan{0%{opacity:0}14%{opacity:1}32%{opacity:.35}50%{opacity:1}68%{opacity:.35}86%,100%{opacity:1}}
.m-eng.out{opacity:.32;filter:grayscale(1)}
.m-eng .pin{transform-box:fill-box;transform-origin:center}
.m-eng.out .pin{transform:scale(.72)}
.m-eng.best .pin{animation:win 1.5s ease-in-out infinite}
@keyframes win{50%{transform:scale(1.32)}}
.m-route.best{animation:glow 1.4s ease-in-out infinite}
@keyframes glow{50%{stroke:var(--lav)}}
.sc-win{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;display:grid;gap:2px;padding:12px 16px;background:#fff;border:1px solid var(--accent);box-shadow:0 14px 34px -18px rgba(94,23,235,.6);opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .5s cubic-bezier(.18,.9,.32,1.25);pointer-events:none}
.sched.fin .sc-win{opacity:1;transform:none}
.sc-win small{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.sc-win b{font-family:var(--display);font-weight:400;font-size:21px;color:var(--fg);line-height:1.2}
.sc-win span{font-size:12.5px;color:var(--dim)}

/* live ranking: bars hunt, rows re-sort, the winner climbs */
.rank.hunting li{opacity:1;transform:none}
.rank.hunting li .bars i::after{width:var(--v);transition:none}
.rank li.out{opacity:.42}
.rank li.out .bars i::after{background:var(--line2)}
.rank li .sc{font-variant-numeric:tabular-nums}

@media (max-width:1100px){.stage.playing{grid-template-columns:128px minmax(0,1fr);column-gap:16px}.stage.playing .orb-wrap{width:118px}.stage.playing .lbl{max-width:120px;font-size:11px}}
@media (max-width:900px){
  .stage.playing{width:min(620px,100%);grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"orb lbl" "live live";row-gap:10px;column-gap:12px;justify-items:stretch;align-items:center;scroll-margin-top:72px}
  .stage.playing .orb-wrap{width:52px;justify-self:center}
  .stage.playing .orb-btn{width:30px;height:30px}
  .stage.playing .orb-btn::after{border-left-width:10px;border-top-width:6px;border-bottom-width:6px;margin-left:3px}
  .stage.playing .orb-btn.stop::after{width:9px;height:9px}
  .stage.playing .orb-wrap .ring:nth-child(3){display:none}
  .stage.playing .lbl{margin:0;text-align:left;max-width:none;font-size:11px;letter-spacing:.14em}
  .stage.playing .live{height:max(470px,calc(100svh - 64px - 52px - 30px));grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:10px}
  .stage.playing .call .top,.stage.playing .work .top,.stage.playing .sched .top{min-height:38px;padding:6px 12px}
  .stage.playing .lines{padding:10px 12px;gap:8px}
  .stage.playing .ln{font-size:14px;line-height:1.5}
  .stage.playing .work{overflow:visible}
  .stage.playing .steps{padding:8px 12px 10px}
  .stage.playing .step{grid-template-columns:18px minmax(0,1fr);gap:10px;padding:3px 0}
  .stage.playing .step .mk{width:18px;height:18px}
  .stage.playing .step.done .mk::after{width:4px;height:8px}
  .stage.playing .step:not(:last-child)::before{left:8px;top:24px}
  .stage.playing .step b{font-size:13px;line-height:18px}
  .stage.playing .step div > span{font-size:12px}
  .stage.playing .step:not(.on) div > span{display:none}
  .stage.playing .step[data-step="book"].done div > span{display:block}
  .stage.playing .checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:5px}
  .stage.playing .checks li{grid-template-columns:auto minmax(0,1fr) 7px;gap:6px;padding:3px 7px;font-size:11.5px}
  .stage.playing .checks em{font-size:9.5px;letter-spacing:.06em}
  .stage.playing .sc-body{display:flex;flex-direction:column}
  .stage.playing .sc-map{flex:1 1 auto;aspect-ratio:auto;min-height:160px}
  .stage.playing .sc-side{flex:none;padding:8px 10px 10px;gap:6px}
  .stage.playing .ss li:not(.on){display:none}
  .stage.playing .ss li{padding:4px 8px}
  .stage.playing .ss div span{display:none}
  .stage.playing .rank{gap:3px}
  .stage.playing .rank li{padding:4px 8px}
  .sc-win{left:8px;right:8px;bottom:8px;padding:8px 12px}
  .sc-win b{font-size:17px}
  .sc-win span{font-size:11.5px}
}
@media (max-width:560px){.stage.playing .uk{width:40px}.sc-map.far .uk{top:50%;bottom:auto}}

.m-eng.l .nm{text-anchor:end}
@media (max-width:900px){
  .stage.playing .sched .top{font-size:10.5px;letter-spacing:.08em;white-space:nowrap;gap:8px}
  .stage.playing .sched .top .t{min-width:0;overflow:hidden;text-overflow:ellipsis}
}
@media (max-width:900px){.sc-win{top:8px;bottom:auto;transform:translateY(-10px)}}
@media (max-width:560px){.sc-win span{display:none}.sc-win{padding:7px 12px}}
#listen{overflow-x:hidden;overflow-x:clip}


/* ---------- motion pass (Sumit, 19 Nov): glide, then the windows fly up ---------- */
/* 1. on Play the orb glides aside; once it lands, the two windows fly up one after the other */
.stage.playing .call{animation:flyUp .9s cubic-bezier(.2,1.22,.36,1) .7s backwards}
.stage.playing .work{animation:flyUp .9s cubic-bezier(.2,1.22,.36,1) .95s backwards}
@keyframes flyUp{from{opacity:0;transform:translateY(110px) scale(.93)}60%{opacity:1}}
/* 2. the search takes the stage: the windows glide out, the scheduling card rises in */
.stage.playing .call,.stage.playing .work{transition:opacity .55s ease .35s,transform .9s cubic-bezier(.2,1.2,.36,1) .35s}
.stage.playing .work{transition-delay:.55s,.55s}
.stage.playing.sc-on .call,.stage.playing.sc-on .work{opacity:0;transform:translateX(-70px) scale(.9);transition:opacity .5s ease,transform .75s cubic-bezier(.65,0,.35,1)}
.stage.playing .sched{transform:translateY(60px) scale(.94);transition:opacity .45s ease,transform .6s cubic-bezier(.65,0,.35,1),visibility 0s linear .6s}
.stage.playing.sc-on .sched{transform:none;transition:opacity .55s ease .3s,transform .95s cubic-bezier(.2,1.15,.36,1) .3s}
/* 3. map holds on Great Britain, then flies in */
.sc-map .map{transition:transform 2.1s cubic-bezier(.65,0,.25,1),opacity 1.2s ease}
.uk{transition:left 1.9s cubic-bezier(.65,0,.25,1),top 1.9s cubic-bezier(.65,0,.25,1),transform 1.9s cubic-bezier(.65,0,.25,1)}
/* 4. step cards land one by one; each engineer check flickers longer */
.stage.playing .ss li{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .55s cubic-bezier(.2,1.2,.36,1),background .3s,border-color .3s}
.stage.playing .ss li.in{opacity:1;transform:none}
.m-eng.scan .chip{animation-duration:.7s}
.sched.fin .sc-win{transition-delay:.5s}
.stage.playing .lbl{animation:lblIn .6s ease 1s backwards}
@keyframes lblIn{from{opacity:0;transform:translateY(6px)}}
@media (max-width:900px){.stage.playing .sc-side{min-height:238px}}


/* ---------- motion pass 2: slow, gradual, gliding (no springy overshoot) ---------- */
/* page entrances: a soft fade and rise */
.js .rise{opacity:.001;transform:translateY(26px);transition:opacity 1.1s ease,transform 1.3s cubic-bezier(.22,1,.36,1)}
.js .rise.in{opacity:1;transform:none}
.ln{animation:up .7s cubic-bezier(.22,1,.36,1) both}
.btn{transition:background .35s ease,box-shadow .35s ease,border-color .35s ease,transform .35s ease}
/* play: the orb glides aside, then the windows drift up one after the other */
.stage.playing .call{animation:flyUp 1.4s cubic-bezier(.22,1,.36,1) 1s backwards}
.stage.playing .work{animation:flyUp 1.4s cubic-bezier(.22,1,.36,1) 1.4s backwards}
@keyframes flyUp{from{opacity:0;transform:translateY(80px) scale(.96)}55%{opacity:1}}
.stage.playing .lbl{animation:lblIn .9s ease 1.5s backwards}
/* search takes the stage: windows glide away, the scheduling card drifts up in their place */
.stage.playing .call,.stage.playing .work{transition:opacity 1s ease .7s,transform 1.4s cubic-bezier(.22,1,.36,1) .7s}
.stage.playing .work{transition-delay:1s,1s}
.stage.playing.sc-on .call,.stage.playing.sc-on .work{opacity:0;transform:translateX(-60px) scale(.94);transition:opacity .9s ease,transform 1.2s cubic-bezier(.65,0,.35,1)}
.stage.playing .sched{transform:translateY(50px) scale(.96);transition:opacity .9s ease,transform 1.1s cubic-bezier(.65,0,.35,1),visibility 0s linear 1.1s}
.stage.playing.sc-on .sched{transform:none;transition:opacity 1s ease .6s,transform 1.5s cubic-bezier(.22,1,.36,1) .6s}
/* map: holds on GB, then a long glide in */
.sc-map .map{transition:transform 3s cubic-bezier(.65,0,.35,1),opacity 1.6s ease}
.uk{transition:left 2.8s cubic-bezier(.65,0,.35,1),top 2.8s cubic-bezier(.65,0,.35,1),transform 2.8s cubic-bezier(.65,0,.35,1)}
/* steps, engineers, routes, result: everything settles gently */
.stage.playing .ss li{transition:opacity .8s ease,transform .9s cubic-bezier(.22,1,.36,1),background .6s ease,border-color .6s ease}
.m-eng{transition:opacity .9s ease,filter .9s ease}
.m-eng .pin{transition:transform .9s cubic-bezier(.22,1,.36,1),fill .6s ease,stroke .6s ease}
.m-eng .chip{transition:opacity .6s ease}
.m-route{transition:stroke-dashoffset 1.8s cubic-bezier(.65,0,.35,1),opacity .8s ease}
.rank li{transition:opacity .8s ease,background .6s ease,border-color .6s ease,box-shadow .6s ease}
.rank li.out{transition:opacity 1s ease}
.sc-win{transition:opacity 1s ease,transform 1.2s cubic-bezier(.22,1,.36,1)}
.sched.fin .sc-win{transition-delay:.7s}
.checks li{transition:background .6s ease,border-color .6s ease}
.step .mk,.step b{transition:all .6s ease}
@media (prefers-reduced-motion:reduce){.js .rise{opacity:1;transform:none}}


/* ---------- slot filling (Sumit, 19 Nov): the job details fill in as the caller says them ---------- */
.slots{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:3px}
.slots li{display:grid;grid-template-columns:7px 78px minmax(0,1fr) 62px;align-items:center;gap:9px;padding:5px 9px;border:1px solid transparent;font-size:12.5px;line-height:1.35;transition:background .5s ease,border-color .5s ease}
.slots li > i{width:7px;height:7px;border-radius:50%;background:var(--line2);transition:background .4s,box-shadow .4s}
.slots em{font-style:normal;font-size:12px;color:var(--mute);transition:color .4s}
.slots li span{text-align:right;color:var(--line2);overflow-wrap:anywhere}
.slots li small{font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);opacity:.75}
.slots li small:empty{visibility:hidden}
.slots li.ask{background:var(--accent-soft);border-color:var(--accent-line)}
.slots li.ask > i{background:var(--accent);animation:blink .9s ease-in-out infinite}
.slots li.ask em{color:var(--accent)}
.slots li.ask span{color:var(--accent);font-style:italic;opacity:.8}
.slots li.ok{background:rgba(22,163,74,.07);border-color:rgba(22,163,74,.16)}
.slots li.ok > i{background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.15)}
.slots li.ok em{color:var(--dim)}
.slots li.ok span{color:#15803d;font-weight:600;animation:slotIn .6s cubic-bezier(.22,1,.36,1) both}
@keyframes slotIn{from{opacity:0;transform:translateX(8px)}}
.slots .ready{grid-template-columns:7px minmax(0,1fr);margin-top:3px;padding:7px 9px;opacity:0;transform:translateY(6px);transition:opacity .6s ease,transform .6s cubic-bezier(.22,1,.36,1)}
.slots .ready b{font-size:13px;font-weight:700;color:#15803d}
.slots .ready.on{opacity:1;transform:none;background:rgba(22,163,74,.1);border-color:rgba(22,163,74,.22)}
.slots .ready.on > i{background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.15)}
@media (prefers-reduced-motion:reduce){.slots li.ok span{animation:none}.slots .ready{transition:none}}
@media (max-width:900px){
  .stage.playing .slots{gap:2px;margin-top:5px}
  .stage.playing .slots li{grid-template-columns:6px 74px minmax(0,1fr);gap:7px;padding:2px 7px;font-size:11.5px;line-height:1.35}
  .stage.playing .slots li > i{width:6px;height:6px}
  .stage.playing .slots em{font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .stage.playing .slots li small{display:none}
  .stage.playing .slots .ready{grid-template-columns:6px minmax(0,1fr);padding:3px 7px;margin-top:1px}
  .stage.playing .slots .ready b{font-size:12px}
}
@media (max-width:900px){
  /* phones: show only the step that matters now, so the slots and the transcript both fit */
  .stage.playing .step[data-step="call"].done,
  .stage.playing .step[data-step="person"],
  .stage.playing .step[data-step="book"]:not(.on):not(.done){display:none}
  .stage.playing .step[data-step="sys"].done .slots li[data-s]{padding-block:1px}
}
@media (min-width:901px) and (max-height:820px){
  .stage.playing .steps{padding-block:8px 10px}
  .stage.playing .step{padding-block:4px}
  .stage.playing .slots li{padding-block:3px}
}


/* ---------- call player bar (Rajat, 20 Nov): scrub the call like a video ---------- */
.cbar{display:none}
.stage.playing .cbar{grid-area:bar;justify-self:stretch;display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;margin-top:12px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);font-size:12px;font-variant-numeric:tabular-nums;color:var(--dim);animation:flyUp 1.4s cubic-bezier(.22,1,.36,1) 1.8s backwards}
.cb-pp{flex:none;width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent);cursor:pointer;padding:0;transition:background .3s,color .3s,border-color .3s}
.cb-pp:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.cb-pp svg{width:12px;height:12px;fill:currentColor}
.cb-pp .pl{display:none}.cbar.paused .cb-pp .pa{display:none}.cbar.paused .cb-pp .pl{display:block}
.cb-t{flex:none;min-width:30px;font-weight:600;letter-spacing:.04em}
.cb-t#cbD{color:var(--mute);text-align:right}
.cb-track{position:relative;flex:1 1 auto;min-width:0;height:100%;display:flex;align-items:center}
.cb-rail{position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;background:var(--line);overflow:hidden}
.cb-fill{position:absolute;inset:0;background:var(--accent);transform-origin:left;transform:scaleX(0);transition:transform .12s linear}
.cb-mk{position:absolute;top:50%;width:2px;height:11px;margin:-5.5px 0 0 -1px;background:var(--lav);pointer-events:none}
.cb-mk em{position:absolute;left:50%;top:-14px;transform:translateX(-50%);font-style:normal;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.cb-in{position:relative;z-index:1;width:100%;height:100%;margin:0;background:transparent;cursor:pointer;-webkit-appearance:none;appearance:none}
.cb-in:focus{outline:none}
.cb-in:focus-visible{outline:2px solid var(--accent-line);outline-offset:2px}
/* the bar takes a row under the windows; the windows give up its height */
.stage.playing{grid-template-rows:1fr auto auto 1fr auto;grid-template-areas:". live" "orb live" "lbl live" ". live" ". bar"}
.stage.playing .live{height:clamp(450px,calc(100svh - 158px),666px)}
.ln.inst{animation:none}
/* the end: the windows and the bar slide away before the orb glides home */
.stage.playing.leaving .live,.stage.playing.leaving .cbar{opacity:0;transform:translateY(30px);transition:opacity .9s ease,transform 1.1s cubic-bezier(.65,0,.35,1)}
@media (max-width:900px){
  .stage.playing{grid-template-rows:auto auto auto;grid-template-areas:"orb lbl" "live live" "bar bar"}
  .stage.playing .live{height:max(430px,calc(100svh - 64px - 52px - 30px - 52px))}
  .stage.playing .cbar{margin-top:0;height:40px;padding:0 10px;gap:9px}
  .cb-mk em{font-size:8.5px;letter-spacing:.06em}
}
@media (prefers-reduced-motion:reduce){.stage.playing .cbar{animation:none}.stage.playing.leaving .live,.stage.playing.leaving .cbar{transition:none}}
/* short laptop screens: make room for the bar */
@media (min-width:901px) and (max-height:820px){
  .stage.playing .step[data-step="call"].done div > span{display:none}
  .stage.playing .slots{gap:2px}
}
/* small phones: drop the panel header and tighten the slots so the transcript keeps its room */
@media (max-width:900px) and (max-height:700px){
  .stage.playing .work .top{display:none}
  .stage.playing .slots li{padding-block:1px}
  .stage.playing .slots .ready{padding-block:2px}
  .stage.playing .steps{padding-block:6px 8px}
  .stage.playing .cbar{height:36px}
}
/* narrow bars: the two marks sit close, so one label goes above the line and one below */
@media (max-width:700px){#mkBook em{top:auto;bottom:-13px}}
/* seek handle: a small, quiet square with a soft halo that opens on hover and drag */
.cb-in::-webkit-slider-runnable-track{height:8px;background:transparent}
.cb-in::-moz-range-track{height:8px;background:transparent}
.cb-in::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:8px;height:8px;margin-top:0;border:0;background:var(--accent);box-shadow:0 0 0 3px rgba(94,23,235,.12);transition:box-shadow .3s ease,transform .3s cubic-bezier(.22,1,.36,1)}
.cb-in::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:0;background:var(--accent);box-shadow:0 0 0 3px rgba(94,23,235,.12);transition:box-shadow .3s ease,transform .3s cubic-bezier(.22,1,.36,1)}
.cb-in:hover::-webkit-slider-thumb,.cb-in:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 5px rgba(94,23,235,.14)}
.cb-in:hover::-moz-range-thumb,.cb-in:focus-visible::-moz-range-thumb{box-shadow:0 0 0 5px rgba(94,23,235,.14)}
.cb-in:active::-webkit-slider-thumb{transform:scale(1.2);box-shadow:0 0 0 6px rgba(94,23,235,.16)}
.cb-in:active::-moz-range-thumb{transform:scale(1.2);box-shadow:0 0 0 6px rgba(94,23,235,.16)}

/* demo form: send error */
.ferr{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--red);background:rgba(255,49,49,.06);color:var(--fg);font-size:14px;line-height:1.5}
form .btn:disabled{opacity:.7;cursor:wait}
