/* Bo, the assistant: shared by the homepage (editorial.css pages) and the pricing page (proto page). Moved out of editorial.css on 2026-11-05 so both load one file. */
/* ============================================================
   Bo, the assistant: a pill at the bottom centre. Opening makes the sheet grow out of the pill (clip-path, as on designme.agency, own code);
   the header, conversation, input and note then fade up one after another. Appears after the first screen so it never covers the hero.
   ============================================================ */
.editorial .ask{--ease:cubic-bezier(.22,1,.36,1);--pw:9rem;--ph:3rem;--bo-ink:var(--wine);--bo-orange:var(--red);--bo-cream:var(--paper);position:fixed;left:50%;bottom:var(--ask-gap);transform:translateX(-50%);z-index:30;width:min(calc(100% - 2 * var(--hero-gutter)),var(--ask-w));height:0;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;}
.editorial .ask.is-visible{opacity:1;visibility:visible;}
.editorial .ask-pill{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:inline-flex;align-items:center;gap:0.625rem;height:3rem;padding:0 1.25rem 0 0.5rem;border:1px solid var(--line);border-radius:62.4375rem;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(0.875rem);color:var(--ink);font:400 var(--fs-text)/1 var(--body);letter-spacing:var(--ls-text);white-space:nowrap;cursor:pointer;box-shadow:var(--shadow-float);transition:transform .3s var(--ease),opacity .12s linear;}
.editorial .ask-pill bo-avatar{width:2.125rem;}
@media (hover: hover){
.editorial .ask-pill:hover{transform:translateX(-50%) translateY(-0.125rem);}}
.editorial .ask.is-open .ask-pill{opacity:0;pointer-events:none;}
.editorial .ask-sheet{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;height:min(37rem,calc(100dvh - 7rem));border:1px solid var(--line);border-radius:1.75rem;background:var(--paper);box-shadow:var(--shadow-sheet);color:var(--ink);overflow:hidden;clip-path:inset(calc(100% - var(--ph)) calc((100% - var(--pw)) / 2) 0 calc((100% - var(--pw)) / 2) round 62.4375rem);opacity:0;visibility:hidden;pointer-events:none;transition:clip-path .45s var(--ease),opacity .15s linear .3s,visibility 0s .5s;}
.editorial .ask.is-open .ask-sheet{clip-path:inset(0 round 1.75rem);opacity:1;visibility:visible;pointer-events:auto;transition:clip-path .55s var(--ease),opacity .12s linear,visibility 0s;}
.editorial .ask-in{opacity:0;transform:translateY(0.5rem);transition:opacity .12s linear,transform .2s var(--ease);}
.editorial .ask.is-open .ask-in{opacity:1;transform:none;transition:opacity .3s var(--ease),transform .5s var(--ease);}
.editorial .ask.is-open .ask-in:nth-child(1){transition-delay:.17s;}
.editorial .ask.is-open .ask-in:nth-child(2){transition-delay:.22s;}
.editorial .ask.is-open .ask-in:nth-child(3){transition-delay:.27s;}
.editorial .ask.is-open .ask-in:nth-child(4){transition-delay:.32s;}
.editorial .ask.is-open .ask-in:nth-child(5){transition-delay:.37s;}
.editorial .ask-head{display:flex;align-items:center;gap:0.875rem;margin:0 1.25rem;padding:1.125rem 0;border-bottom:1px solid var(--line);}
.editorial .ask-head bo-avatar{width:3.25rem;flex:none;}
.editorial .ask-id{flex:1 1 0;min-width:0;}
.editorial .ask-name{margin:0;font:400 var(--fs-faq)/1.2 var(--body);letter-spacing:var(--ls-text);}
.editorial .ask-sub{margin:0.1875rem 0 0;font-size:var(--fs-pill);line-height:1.3;color:var(--muted);}
.editorial .ask-clear{display:none;border:0;background:none;padding:0.5rem 0.625rem;border-radius:62.4375rem;color:var(--muted);font:400 var(--fs-text)/1 var(--body);cursor:pointer;transition:color .2s;}
.editorial .ask-sheet:has(.ask-user) .ask-clear{display:inline-block;}
@media (hover: hover){
.editorial .ask-clear:hover{color:var(--ink);}}
.editorial .ask-x{position:relative;flex:none;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer;transition:transform .3s var(--ease),background .2s;}
@media (hover: hover){
.editorial .ask-x:hover{transform:rotate(90deg);background:var(--surface);}}
.editorial .ask-x i{position:absolute;left:50%;top:50%;width:1.125rem;height:0.09375rem;margin:-0.04688rem 0 0 -0.5625rem;background:currentColor;transform:rotate(45deg);}
.editorial .ask-x i + i{transform:rotate(-45deg);}
.editorial .ask-log{display:flex;flex-direction:column;gap:1.125rem;padding:1.25rem 1.75rem 1rem;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;}
.editorial .ask-hero{margin:0 0 0.5rem;font:400 clamp(1.875rem,2.3vw,2.25rem)/1.05 var(--serif);letter-spacing:var(--sf-ls);}
.editorial .ask-msg{animation:ask-msg .45s var(--ease) both;}
.editorial .ask-log.is-restored .ask-msg{animation:none;}
@keyframes ask-msg{from{opacity:0;transform:translateY(0.625rem) scale(.97);}}
.editorial .ask-bot{display:grid;grid-template-columns:1.75rem minmax(0,1fr);gap:0.875rem;align-items:start;max-width:92%;font-size:var(--fs-faq);line-height:1.4;letter-spacing:var(--ls-text);}
.editorial .ask-star{color:var(--red);font-size:var(--fs-faq);line-height:1.4;}
.editorial .ask-body p{margin:0;}
.editorial .ask-body p + p{margin-top:.5em;}
.editorial .ask-body ul + p,.editorial .ask-body ul + ul{margin-top:.75em;}   /* a paragraph or a second list after a list needs the same air as before it */
.editorial .ask-body ul{margin:.6em 0 0;padding:0;list-style:none;display:grid;gap:.3em;}
.editorial .ask-body li{position:relative;padding-left:1em;font-size:inherit;line-height:1.45;}
.editorial .ask-body li::before{content:"";position:absolute;left:0;top:.65em;width:0.25rem;height:0.25rem;border-radius:50%;background:currentColor;opacity:.5;}
.editorial .ask-body .ask-meta{margin:0.625rem 0 0;font-size:var(--fs-tiny);line-height:var(--lh-tiny);color:var(--muted);}
.editorial .ask-link{display:inline-block;margin-top:.7em;font-size:var(--fs-text);font-weight:400;text-decoration:underline;text-underline-offset:0.25rem;text-decoration-thickness:1px;}
.editorial .ask-example{display:block;width:100%;margin-top:.7em;padding:0.875rem 1.125rem;border:1px solid var(--line);border-radius:1rem;background:transparent;color:var(--ink);font:400 var(--fs-text)/1.45 var(--body);letter-spacing:var(--ls-text);text-align:left;cursor:pointer;transition:background .2s,border-color .2s;}   /* an example answer in the intake: a click adds it to the description */
.editorial .ask-example::before{content:"+ ";color:var(--red);font-weight:400;}
@media (hover: hover){
.editorial .ask-example:hover{border-color:var(--ink);background:var(--surface);}}
.editorial .ask[data-screen]:not([data-screen="idea"]) .ask-example{opacity:.5;pointer-events:none;}
.editorial .ask-user{align-self:flex-end;max-width:82%;padding:1rem 1.75rem;border-radius:1.875rem;background:var(--wine);color:var(--white);font-size:var(--fs-faq);line-height:1.3;letter-spacing:var(--ls-text);}
.editorial .ask-dots{display:inline-flex;gap:0.3125rem;padding:0.75rem 0;}
.editorial .ask-dots span{width:0.4375rem;height:0.4375rem;border-radius:50%;background:var(--muted);animation:ask-dot .9s ease-in-out infinite;}
.editorial .ask-dots span:nth-child(2){animation-delay:.15s;}
.editorial .ask-dots span:nth-child(3){animation-delay:.3s;}
@keyframes ask-dot{0%,100%{opacity:.3;transform:translateY(0);}50%{opacity:1;transform:translateY(-0.1875rem);}}
.editorial .ask-topics{display:flex;gap:0.625rem;margin:0 1.5rem 0.75rem;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:none;}
.editorial .ask-topics::-webkit-scrollbar{display:none;}
.editorial .ask-chip{flex:none;height:2.75rem;padding:0 1.25rem;border:1px solid var(--line);border-radius:62.4375rem;background:transparent;color:var(--ink);font:400 var(--fs-text)/1 var(--body);letter-spacing:var(--ls-text);white-space:nowrap;cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
@media (hover: hover){
.editorial .ask-chip:hover{background:var(--ink);color:var(--white);border-color:var(--ink);}}
.editorial .ask-foot{margin:0 1.5rem;}
.editorial .ask-form{display:flex;align-items:center;gap:0.625rem;padding:0.375rem 0.375rem 0.375rem 1.75rem;border:1px solid var(--line);border-radius:62.4375rem;background:var(--paper);transition:border-color .2s;}
@media (hover: hover){
.editorial .ask-form:hover{border-color:var(--ink);}}
.editorial .ask-form:focus-within{border-color:var(--red);}
.editorial .ask .ask-form input:focus-visible{outline:0;}
.editorial .ask-form input{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;color:var(--ink);font:400 var(--fs-faq)/1.2 var(--body);letter-spacing:var(--ls-text);padding:0.875rem 0;}
.editorial .ask-form input::placeholder{color:var(--muted);}
.editorial .ask-form button{flex:none;display:grid;place-items:center;width:3.25rem;height:3.25rem;border:0;border-radius:50%;background:var(--red);color:var(--white);cursor:pointer;transition:background .2s,transform .2s var(--ease);}
.editorial .ask-form button svg{width:1.375rem;height:1.375rem;}
@media (hover: hover){
.editorial .ask-form button:hover{background:var(--ink);transform:scale(1.05);}}
.editorial .ask-note{margin:0;padding:0.75rem 1.5rem 1.125rem;text-align:center;font-size:var(--fs-tiny);line-height:var(--lh-tiny);color:var(--muted);}
.editorial .ask-note a{color:var(--ink);text-decoration:underline;text-underline-offset:0.1875rem;}
.editorial .ask :is(button,input,a):focus-visible{outline:0.125rem solid var(--red);outline-offset:0.1875rem;}
@media(max-width:700px){
  .editorial .ask-sheet{height:min(40rem,calc(100dvh - 5.5rem));border-radius:1.5rem;}
  .editorial .ask.is-open .ask-sheet{clip-path:inset(0 round 1.5rem);}
  .editorial .ask-log{padding:1.25rem 1.125rem 0.875rem;gap:1.125rem;}
  .editorial .ask-bot{max-width:100%;grid-template-columns:1.375rem minmax(0,1fr);gap:0.625rem;}
      .editorial .ask-user{max-width:90%;padding:0.875rem 1.375rem;}
  .editorial .ask-form{padding-left:1.25rem;}
  .editorial .ask-form button{width:2.875rem;height:2.875rem;}
}
@media(prefers-reduced-motion:reduce){
  .editorial .ask,.editorial .ask-sheet,.editorial .ask.is-open .ask-sheet,.editorial .ask-in,.editorial .ask.is-open .ask-in,.editorial .ask-pill{transition:none;}
  .editorial .ask-msg,.editorial .ask-dots span{animation:none;}
}
.editorial .ask bo-avatar{pointer-events:none;}
/* pricing page, below 1000px: the price bar sits at the bottom of the screen (about 5.4rem high), so the closed pill rides above it */
@media(max-width:999px){
  .editorial:has(.mobile-pricebar:not([hidden])) .ask:not(.is-open) .ask-pill{bottom:5.75rem;}
}
