/* ============================================================================
   A REQUEST, START TO FINISH — contact page hero. After Zip's procurement hero.

   Zip's is a 34s looping <video>: a prompt, the supplier card, "A couple quick
   things before I get started" with an Answer-4-questions card, the request's
   workflow board filling with approvals, a legal redline, "Request fully
   approved". Rebuilt as HTML on a fixed 1080x600 stage, condensed to 16s and
   four scenes (css/motion.css, REQUEST). Resting state is scene C finished:
   every step done, so with motion off it still says what happened.
   ========================================================================== */

.rq{--s:1;position:relative;max-width:100%;width:calc(1080px * var(--s));height:calc(600px * var(--s));margin:40px auto 0}
.rq-stage{position:absolute;left:0;top:0;width:1080px;height:600px;transform:scale(var(--s));transform-origin:0 0;
  border-radius:8px;overflow:hidden;contain:layout paint;font-family:var(--ui);color:var(--ink);
  /* no backdrop of its own: the window and its glass frame sit on the page's blue fade */
  background:transparent}
.rq-foot{margin:14px 0 0;font-size:12.5px;color:var(--t4)}
.rq-hero{overflow:hidden}   /* a stale --s can never widen the page */
.rq-win{position:absolute;left:60px;top:44px;width:960px;height:600px;border-radius:8px;overflow:hidden;
  background:#f6f9fe;border:1px solid rgba(255,255,255,.6);
  /* glass frame, as on the other dashboards: a translucent white band with bright hairlines */
  box-shadow:0 0 0 1px rgba(255,255,255,.3),0 0 0 14px rgba(255,255,255,.2),0 0 0 15px rgba(255,255,255,.45)}
.rq-a,.rq-b,.rq-c,.rq-d{position:absolute;inset:0;display:block}
.rq-a,.rq-b,.rq-d{opacity:0}   /* resting frame is the finished workflow */
.rq-av{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background-size:cover;background-position:center;
  background-color:var(--sky);font:700 11px var(--ui);font-style:normal;color:var(--blue-d)}
.rq-you{background:#dfe9f7;color:var(--navy)}
.rq-tool{background:#fff;border:1px solid var(--line)}

/* ---- scene A: the ask ---------------------------------------------------- */
.rq-hi{position:absolute;left:0;right:0;top:176px;display:flex;justify-content:center;align-items:center;gap:10px;
  font:600 21px var(--display);color:var(--navy)}
.rq-spark{display:block;width:16px;height:16px;background:linear-gradient(135deg,#667cd2,#6d5dfc);
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.rq-box{position:absolute;left:200px;top:226px;width:560px;height:150px;padding:18px 20px;border-radius:8px;background:#fff;
  border:1px solid #e1e8f4;box-shadow:0 12px 30px -20px rgba(2,37,79,.25)}
.rq-type{display:inline-block;vertical-align:top;overflow:hidden;white-space:nowrap;font-size:15px;line-height:20px;color:var(--ink)}
.rq-caret{display:inline-block;vertical-align:top;width:2px;height:20px;margin-left:1px;background:var(--blue)}
.rq-chips{position:absolute;left:16px;bottom:14px;display:flex;gap:6px}
.rq-chips em{padding:5px 10px;border-radius:6px;border:1px solid var(--line);font-size:11.5px;font-style:normal;color:var(--mute)}
.rq-send{position:absolute;right:14px;bottom:12px;display:block;width:30px;height:30px;border-radius:50%;background:var(--navy)}
.rq-send::after{content:"";position:absolute;left:11px;top:9px;width:8px;height:8px;border-left:2px solid #fff;border-top:2px solid #fff;transform:rotate(45deg)}

/* ---- scene B: the questions first --------------------------------------- */
.rq-me,.rq-say,.rq-form{position:absolute}
.rq-me{right:170px;top:28px;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:8px;background:#fff;
  border:1px solid #e1e8f4;font-size:14.5px;color:var(--ink)}
.rq-me .rq-av{order:2}
.rq-say{left:170px;top:94px;display:flex;align-items:center;gap:10px;font-size:16px;color:var(--ink)}
.rq-form{left:170px;top:140px;width:620px;padding:16px 22px 18px;border-radius:8px;background:#fff;
  box-shadow:0 0 0 10px #e6edfd,0 18px 40px -26px rgba(2,37,79,.35)}
.rq-fh{display:block;margin:-2px 0 4px;font-size:14px;font-weight:600;color:var(--navy)}
.rq-q{display:block;margin-top:14px}
.rq-q>b{display:block;margin-bottom:7px;font-size:13.5px;font-weight:600;color:var(--ink)}
.rq-field{position:relative;display:block;height:24px;border-bottom:1px solid var(--line);font-size:13px}
.rq-field span{position:absolute;left:0;top:2px;white-space:nowrap}
.rq-ph{color:#a7b2c2;opacity:0}
.rq-fill{color:var(--ink)}
.rq-opts{display:flex;gap:6px}
.rq-opts em{padding:5px 12px;border-radius:6px;border:1px solid var(--line);background:#fff;font-size:12.5px;font-style:normal;color:var(--ink)}
/* specificity, not !important: an animation cannot override an !important
   declaration, and the answer has to switch on when it is picked */
.rq-opts .rq-pick{background:var(--blue);border-color:var(--blue);color:#fff}
.rq-file{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:12.5px;color:var(--ink)}
.rq-file i{display:grid;place-items:center;width:22px;height:22px;border-radius:4px;background:#d64545;color:#fff;font:700 8px var(--ui);font-style:normal}
.rq-submit{display:table;margin:14px 0 0 auto;padding:8px 22px;border-radius:6px;background:var(--blue);color:#fff;font-size:13px;font-weight:600}

/* ---- scene C: the workflow ------------------------------------------------ */
.rq-ch{position:absolute;left:30px;top:26px;right:30px;display:flex;flex-direction:column;gap:12px}
.rq-ch b{font:700 20px var(--display);color:var(--navy)}
.rq-tabs{display:flex;gap:6px}
.rq-tabs em{padding:5px 12px;border-radius:6px;font-size:12px;font-style:normal;color:var(--mute)}
.rq-tabs .on{background:#e4ebfc;color:var(--navy);font-weight:600}
.rq-steps{position:absolute;left:30px;right:30px;top:118px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.rq-step{position:relative;display:flex;flex-direction:column;gap:8px;height:124px;padding:44px 12px 12px;border-radius:6px;
  background:#fff;border:1px solid var(--line)}
.rq-step b{font-size:13.5px;font-weight:600;color:var(--ink)}
.rq-by{display:flex;align-items:center;gap:7px;margin-top:auto;font-size:11.5px;color:var(--t4)}
.rq-by .rq-av{width:20px;height:20px;font-size:9px}
.rq-p{position:absolute;left:12px;top:12px;padding:3px 8px;border-radius:5px;font-size:11px;font-weight:600;font-style:normal;white-space:nowrap}
.rq-ready{background:#eef1f5;color:var(--t4);opacity:0}
.rq-need{background:#fef3e2;color:var(--amber);opacity:0}
.rq-ok{background:#e7f6ee;color:var(--green)}

.rq-engine{background:#fff url(../assets/img/manelink-mark.svg) no-repeat center/13px 13px}
/* the activity feed fills the board's lower half, as a second row of steps does
   in the reference; each entry lands as its step completes */
.rq-feed{position:absolute;left:30px;right:30px;top:268px;display:block;padding:14px 18px;border-radius:6px;background:#fff;border:1px solid var(--line)}
.rq-fh2{display:block;margin-bottom:6px;font-size:13.5px;font-weight:600;color:var(--navy)}
.rq-ev{display:flex;align-items:center;gap:10px;height:34px;border-top:1px solid #eef2f7;font-size:13px;color:var(--ink)}
.rq-ev i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--green)}
.rq-amber i{background:#d97706}
.rq-ev em{margin-left:auto;font-size:11.5px;font-style:normal;color:var(--t4)}

/* ---- scene D: done -------------------------------------------------------- */
.rq-d{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:radial-gradient(520px 320px at 50% 45%,rgba(255,255,255,.9),rgba(228,235,252,.95) 70%)}
.rq-tick{display:block;width:30px;height:30px;border-radius:50%;background:var(--green);position:relative}
.rq-tick::after{content:"";position:absolute;left:10px;top:7px;width:7px;height:12px;border-right:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:rotate(45deg)}
.rq-d b{margin-top:4px;font:700 22px var(--display);color:var(--navy)}
.rq-d small{font-size:13.5px;color:var(--mute)}

@media (max-width:991px){ .rq{--s:.66} }
@media (max-width:767px){ .rq{--s:.40} }
@media (max-width:479px){ .rq{--s:.26} }

/* pricing: the illustration is the hero picture, straight under the hero copy */
.phero.phero-shot+.rq-top{padding-top:40px}
.rq-top{padding-bottom:72px}
.rq-top .rq{margin-top:0}
@media (max-width:767px){ .rq-top{padding-bottom:48px} }

/* pricing: the plan tour sits on a grey band after "In every plan" */
.tour.tour-sec{padding:96px 0}
.tour.tour-sec.band{background:var(--cloud)}
@media (max-width:767px){ .tour.tour-sec{padding:64px 0} }
/* "In every plan": the four rules sit under the three unlimited items */
.every-rules{margin-top:36px}
.every-sh{margin-top:0}   /* "In every plan" opens its own section now */
.tour-in{margin-top:0;overflow:hidden;padding:18px 16px 24px}   /* room for the glass frame; the fit script reads this padding */   /* the plan tour, inside the plans section */

/* pricing cards, in the site's plain card style (the workspace kind cards, the Services
   items): white, a thin line, a small royal icon chip, regular grey lead. Several
   workspaces is picked out quietly: a royal top edge, a small tag and the solid button */
.plan{position:relative;padding:26px;border:1px solid var(--line);border-radius:8px;gap:12px;
  background:#fff;
  border-color:#c9d3ef;   /* a visible royal-grey outline */
  box-shadow:0 12px 28px -18px rgba(30,57,163,.22);transition:transform .15s ease,box-shadow .15s ease}
.plan:hover{transform:translateY(-3px);box-shadow:0 20px 40px -20px rgba(30,57,163,.32)}
.plan-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:var(--sky);margin-bottom:4px}
.plan-ic img{display:block;width:20px;height:20px}
.plan .who{min-height:0;font:400 15px/1.5 var(--ui);color:var(--mute);margin:0;padding-bottom:14px}
.plan li:before{width:16px;height:16px;margin-top:3px;border-radius:0;background:url(../assets/icons/pt-check.svg) no-repeat center/contain}
.plan-hot{border:2px solid var(--btn);padding:25px}   /* the picked card is outlined all round */
.plan-flag{position:absolute;top:26px;right:26px;padding:3px 9px;border-radius:5px;background:var(--sky);color:var(--btn);font:600 12px var(--ui)}
.faq-in{margin-top:96px}   /* the questions close the "In every plan" section */

/* the plan cards, after the home page bento cards: a hover glow and an expand
   control that opens the plan's detail panel. The points stay plain lines */
.plan{--glow:#2946b6;--glow-soft:rgba(41,70,182,.22)}
.plan:hover{transform:translateY(-3px);border-color:var(--glow);
  box-shadow:0 0 0 3px var(--glow-soft),0 16px 34px -12px var(--glow-soft)}
.plan h3{padding-right:44px}   /* clear of the expand control */
.plan-exp{position:absolute;top:18px;right:18px;z-index:2;width:32px;height:32px;border-radius:6px;
  background:var(--cloud);border:1px solid var(--line);display:grid;place-items:center;
  transition:background .15s,border-color .15s,transform .15s}
.plan-exp img{display:block;width:14px;height:14px}
.plan:hover .plan-exp{background:var(--sky);border-color:var(--rail);transform:scale(1.08)}
.plan-exp:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.plan-hot .plan-flag{right:60px}   /* the tag sits beside the expand control */
@media (prefers-reduced-motion:reduce){ .plan,.plan-exp{transition:none} .plan:hover{transform:none} }
.incl-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:991px){ .incl-4{grid-template-columns:1fr 1fr} }
@media (max-width:767px){ .incl-4{grid-template-columns:1fr} }

/* the questions as dropdowns: <details>, so they open with JavaScript off. The
   same chevron as the calculator's "More settings" */
.faq-drop{grid-template-columns:minmax(0,1fr);gap:10px;max-width:880px}
.faq-drop .fq{padding:0}
.faq-drop summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:18px 22px;cursor:pointer;list-style:none;font:600 16px/1.4 var(--ui);color:var(--navy)}
.faq-drop summary::-webkit-details-marker{display:none}
.faq-drop summary:after{content:"";flex:0 0 auto;margin-top:6px;width:8px;height:8px;
  border:solid var(--btn);border-width:0 1.7px 1.7px 0;transform:rotate(45deg);transition:transform .15s ease}
.faq-drop .fq[open] summary:after{transform:rotate(-135deg);margin-top:9px}
.faq-drop summary:hover{color:var(--btn)}
.faq-drop .fq:hover{border-color:var(--rail)}
.faq-drop .fq p{margin:0;padding:0 22px 20px;max-width:72ch}
@media (prefers-reduced-motion:reduce){ .faq-drop summary:after{transition:none} }
/* the questions run down the middle of the page, header included */
.faq-in .sh{align-items:center;text-align:center;margin-left:auto;margin-right:auto}
.faq-drop{margin-left:auto;margin-right:auto}
