/* Deepstill, product-page scaffolding.
   Shared by the pages that sell one system: /front-desk/, /team-enablement/ and
   whatever follows. Loaded only by those templates, not by the whole site, so the
   marketing pages stay light. Each product page then adds one page-scoped block
   for its own signature element.
   Everything here is prefixed .x. Page-specific mechanics stay in the template. */

/* ── intro, the light block the panel scrolls up beneath ── */
.xhero{padding:150px 0 0;}
.xhero-in{max-width:1200px;margin:0 auto;padding:0 36px;
  display:grid;grid-template-columns:1.62fr 1fr;gap:56px;align-items:end;}
.xhero h1{font-size:clamp(40px,5.2vw,68px);line-height:1.14;max-width:14ch;}
.xhero p{font-size:19px;line-height:1.42;font-weight:500;max-width:32ch;padding-bottom:10px;}
@media(max-width:900px){.xhero-in{grid-template-columns:1fr;gap:28px;}}
@media(max-width:640px){.xhero{padding-top:120px;}.xhero-in{padding:0 20px;}}
/* ── close, so the full bleed reads as a frame that opened ── */
.xafter{padding:110px 0 130px;}
.xafter-in{max-width:1200px;margin:0 auto;padding:0 36px;}
.xafter h3{font-family:var(--serif);font-weight:400;font-size:clamp(26px,3vw,38px);
  line-height:1.16;max-width:20ch;}
.xgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px;}
.xcard{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px 24px;}
.xcard b{display:block;font-size:15px;font-weight:600;}
.xcard p{margin-top:9px;font-size:14px;line-height:1.55;color:var(--ink2);}
@media(max-width:820px){.xgrid{grid-template-columns:1fr;}.xafter-in{padding:0 20px;}}
/* ── shared scaffolding for the sections below the frame ── */
.xsec{padding:118px 0 0;}
.xin{max-width:1200px;margin:0 auto;padding:0 36px;}
.xlab{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink3);margin-bottom:20px;}
.xh{font-family:var(--serif);font-weight:400;font-size:clamp(30px,4vw,50px);
  line-height:1.14;max-width:20ch;letter-spacing:0;}
.xh .acc{color:var(--blue);}
.xlead{margin-top:18px;font-size:17px;line-height:1.6;color:var(--ink2);max-width:60ch;}
/* ── two rooms ── */
.xrooms{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:54px;}
.xroom{background:var(--card);border:1px solid var(--line);border-radius:22px;
  padding:30px 28px 28px;display:flex;flex-direction:column;}
.xroom-k{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--blue);}
.xroom-k::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue);}
.xroom h3{font-family:var(--serif);font-weight:400;font-size:25px;line-height:1.2;
  margin:13px 0 8px;min-height:2.4em;}
.xroom > p{font-size:14.5px;line-height:1.55;color:var(--ink2);}
.xchat{margin-top:24px;display:flex;flex-direction:column;gap:10px;}
.xask{align-self:flex-end;max-width:84%;background:var(--panel);color:#EDEAE0;
  border-radius:16px 16px 5px 16px;padding:11px 14px;font-size:14px;line-height:1.5;}
.xans{align-self:flex-start;max-width:94%;background:var(--bg);border:1px solid var(--line);
  border-radius:16px 16px 16px 5px;padding:13px 15px;font-size:14px;line-height:1.55;}
.xans .cite{display:flex;width:max-content;align-items:center;gap:6px;margin-top:11px;
  font-size:11px;color:var(--ink3);border:1px solid var(--line);border-radius:999px;
  padding:4px 10px;background:var(--card);}
.xans .cite::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--blue);}
.xans.over{border-style:dashed;border-color:var(--blue-soft);}
.xans .over-k{display:block;margin-top:11px;padding-top:10px;border-top:1px solid var(--line);
  font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--blue);}
.xroom ul{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);
  list-style:none;display:grid;gap:11px;}
.xroom li{position:relative;padding-left:20px;font-size:14px;line-height:1.5;color:var(--ink2);}
.xroom li::before{content:"";position:absolute;left:0;top:10px;width:9px;height:1px;
  background:var(--blue);}

.xkicker{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--blue);margin-bottom:18px;}
/* ── the example switcher. Reuses the site's .tabs pill bar; only the
      panel behaviour is local, because site.js is not loaded here. ── */
.xtabs{margin-top:48px;}
.xtab-p[hidden]{display:none;}
.js .xtab-p{animation:xfade .5s var(--ease) both;}
@keyframes xfade{from{opacity:0;transform:translateY(8px)}}
.xconv-note{margin-top:16px;font-size:13px;line-height:1.55;color:var(--ink3);}
/* ── the outbound case: the conversation beside what it changes ── */
.xout{display:grid;grid-template-columns:1.08fr 1fr;gap:44px;margin-top:54px;align-items:start;}
.xwins > div{border-top:1px solid var(--ink);padding:18px 0 22px;}
.xwins b{display:block;font-family:var(--serif);font-weight:400;font-size:21px;line-height:1.25;}
.xwins span{display:block;margin-top:9px;font-size:14px;line-height:1.6;color:var(--ink2);}
/* ── sources ── */
.xsrcs{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:52px;}
.xsrc-i{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px 22px;}
.xsrc-i .g{display:block;width:48px;height:44px;border-radius:3px;overflow:hidden;
  line-height:0;margin-bottom:18px;}
.xsrc-i .g svg{width:100%;height:100%;display:block;}
.xsrc-i b{display:block;font-size:14.5px;font-weight:600;}
.xsrc-i span{display:block;margin-top:7px;font-size:13px;line-height:1.55;color:var(--ink2);}
/* ── the trace ── */
.xsteps{margin-top:52px;border-top:1px solid var(--line);}
.xstep{display:grid;grid-template-columns:58px 1fr 1fr;gap:30px;padding:30px 0;
  border-bottom:1px solid var(--line);align-items:start;}
.xstep .n{font-family:var(--serif);font-size:30px;line-height:1;color:var(--blue);}
.xstep h3{font-size:19px;font-weight:600;line-height:1.3;}
.xstep h3 + p{margin-top:9px;font-size:14.5px;line-height:1.6;color:var(--ink2);}
.xstep .ex{font-size:13.5px;line-height:1.6;color:var(--ink3);
  border-left:2px solid var(--line);padding-left:18px;}
.xstep .ex b{color:var(--ink);font-weight:600;}
/* ── limits ── */
.xnots{margin-top:48px;}
.xnot{padding:28px 0 28px 30px;border-left:2px solid var(--line);
  transition:border-color .35s var(--ease);}
.xnot:hover{border-left-color:var(--blue);}
.xnot b{display:block;font-family:var(--serif);font-weight:400;
  font-size:clamp(22px,2.7vw,31px);line-height:1.2;}
.xnot span{display:block;margin-top:10px;font-size:14.5px;line-height:1.6;
  color:var(--ink2);max-width:64ch;}
/* ── where it runs ── */
.xrun{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:48px;}
.xrun div{border-top:1px solid var(--ink);padding-top:16px;}
.xrun b{display:block;font-size:14.5px;font-weight:600;}
.xrun span{display:block;margin-top:8px;font-size:13.5px;line-height:1.55;color:var(--ink2);}
/* ── the plan ── */
.xplan{display:grid;grid-template-columns:1.35fr 1fr;gap:60px;margin-top:52px;align-items:start;}
.xtl{position:relative;padding-left:32px;}
.xtl::before{content:"";position:absolute;left:5px;top:9px;bottom:34px;width:1px;background:var(--line);}
.xtl-i{position:relative;padding-bottom:30px;}
.xtl-i::before{content:"";position:absolute;left:-32px;top:5px;width:11px;height:11px;
  border-radius:50%;background:var(--bg);border:2px solid var(--blue);}
.xtl-i .w{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink3);}
.xtl-i b{display:block;margin-top:7px;font-size:18px;font-weight:600;}
.xtl-i p{margin-top:7px;font-size:14.5px;line-height:1.6;color:var(--ink2);}
.xneed{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:30px 28px;
  position:sticky;top:96px;}
.xneed h3{font-family:var(--serif);font-weight:400;font-size:22px;line-height:1.2;}
.xneed ul{margin-top:18px;list-style:none;display:grid;gap:12px;}
.xneed li{position:relative;padding-left:20px;font-size:14px;line-height:1.55;color:var(--ink2);}
.xneed li::before{content:"";position:absolute;left:0;top:10px;width:9px;height:1px;background:var(--blue);}
.xneed p{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);
  font-size:13.5px;line-height:1.6;color:var(--ink3);}
/* ── price ── */
.xprice{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:44px;align-items:start;}
.xprice .big{font-family:var(--serif);font-weight:400;font-size:clamp(24px,3vw,36px);
  line-height:1.2;}
.xrow{display:grid;grid-template-columns:auto 1fr;gap:20px;padding:18px 0;
  border-bottom:1px solid var(--line);}
.xrow:first-child{border-top:1px solid var(--line);}
.xrow dt{font-size:11.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink3);width:12.5ch;padding-top:2px;}
.xrow dd{font-size:14.5px;line-height:1.55;}
.xfine{margin-top:26px;font-size:13.5px;line-height:1.6;color:var(--ink3);}
/* ── close ── */
.xend{margin-top:120px;background:var(--panel);}
.xend-in{max-width:760px;margin:0 auto;padding:104px 36px;text-align:center;}
.xend h2{font-family:var(--serif);font-weight:400;color:#F4F1E5;
  font-size:clamp(30px,3.8vw,48px);line-height:1.15;max-width:none;}
.xend p{margin:18px auto 0;max-width:52ch;font-size:16px;line-height:1.6;color:var(--blue-soft);}

@media(max-width:1020px){
  .xsrcs{grid-template-columns:repeat(2,1fr);}
  .xrun{grid-template-columns:repeat(2,1fr);}
  .xplan,.xprice{grid-template-columns:1fr;gap:36px;}
  .xneed{position:static;}
}
@media(max-width:880px){
  .xrooms,.xout{grid-template-columns:1fr;}
  .xout{gap:34px;}
  .xstep{grid-template-columns:40px 1fr;gap:20px;}
  .xstep .ex{grid-column:2;border-left:0;border-top:1px solid var(--line);
    padding:16px 0 0;margin-top:4px;}
}
@media(max-width:640px){
  .xsec{padding-top:88px;}
  .xin,.xfoot-in{padding:0 20px;}
  .xsrcs{grid-template-columns:1fr;}
  .xend-in{padding:76px 24px;}
}

/* ── the CTA button, used on the dark closing panel ── */

/* same as .p-btn: this is the book-a-call CTA, so the arrow leads */

/* ── live demo frame ─────────────────────────────────────────────────────────
   Used by the demo page and the Front Desk offering via the demo-frame partial.
   The browser chrome is deliberate: an iframe with no frame reads as part of
   this page, and the point is that it is somebody else's shop. */
.demo{margin-top:52px;}
.chrome{border-radius:14px;overflow:hidden;border:1px solid var(--line);
  background:#EDEAE0;box-shadow:0 30px 70px -40px rgba(26,42,74,.45);}
.chrome-bar{display:flex;align-items:center;gap:9px;padding:11px 14px;
  background:linear-gradient(#F3F1E8,#EAE7DC);border-bottom:1px solid var(--line);}
.dots{display:flex;gap:6px;}
.dots i{width:10px;height:10px;border-radius:50%;background:#D6D2C4;display:block;}
.addr{flex:1;text-align:center;font-size:12px;color:var(--ink3);
  background:#FCFBF4;border:1px solid var(--line);border-radius:7px;padding:5px 12px;
  max-width:340px;margin:0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* A fixed aspect keeps the page from reflowing while the iframe loads, and the
   tall minimum stops the assistant panel being cropped on a laptop. */
.frame{position:relative;width:100%;aspect-ratio:16/10.5;min-height:620px;background:#fff;}
.frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
/* Shown until the iframe reports back, and left in place if it never does — a
   demo that silently fails to load is worse than one that says so. */
.frame .fallback{position:absolute;inset:0;display:grid;place-content:center;gap:14px;
  text-align:center;padding:40px;background:#FCFBF4;}
.frame.ready .fallback{display:none;}
.fallback p{font-size:14px;color:var(--ink3);max-width:44ch;line-height:1.6;}
.spin{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--blue);
  border-radius:50%;margin:0 auto;animation:sp .8s linear infinite;}
@keyframes sp{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.spin{animation:none;}}
.cap{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:16px;font-size:13px;color:var(--ink3);}
.cap b{color:var(--ink2);font-weight:600;}
.note{margin-top:34px;border-left:2px solid var(--line);padding:2px 0 2px 18px;
  font-size:13px;color:var(--ink3);line-height:1.65;max-width:70ch;}
/* On a phone the framed shop is a shop inside a 340px column with its own
   horizontal scrollbar, and the assistant panel covers all of it. Below this
   width the frame is replaced by a card that opens the demo in its own tab. */
.launch{display:none;background:var(--card);border:1px solid var(--line);
  border-radius:18px;padding:26px 24px;}
.launch p{font-size:14.5px;line-height:1.6;color:var(--ink2);margin-bottom:20px;}
@media(max-width:760px){
  .chrome{display:none;}
  .launch{display:block;}
}
/* The demo sits directly under .xafter on the Front Desk page, which already
   carries 130px of bottom padding — its own top padding would double the gap. */
.xsec-tight{padding-top:0;}
