/* Salesforge rebuild, version 10, round 10: "Book a demo, right here" (js/book.js).

   A chat with Agent Frank on every page (a button at the bottom right on tablets and computers, a row in the phone
   menu, the FAQ's "via chat", a hello once a visit): he answers from the six pages' own words and books the demo,
   with a calendar in the visitor's own time zone. The same calendar sits on the Agent Frank page where Frank's HubSpot
   calendar was, and Frank's "Hire Agent Frank" buttons come back on the Agent Frank hero and the Pricing card.
   Demo mode: nothing is booked or sent. Works in both looks; every class starts with bk-.
   Buttons carry two classes (or :root) because night-base.css resets every button at night with (0,1,2). */

/* ---------------------------------------------------------------- colours, both looks */
.bk, .bk-fab, .bk-hello, .bk-in, .bk-menu {
  --bk-panel: #fff; --bk-ink: #101828; --bk-text: #475467; --bk-muted: #667085; --bk-line: #eaecf0; --bk-soft: #f9fafb;
  --bk-frank: #f2f4f7; --bk-me: #6e40d7; --bk-me-text: #fff; --bk-accent: #6e40d7; --bk-accent-text: #6e40d7;
  --bk-chip: #fff; --bk-chip-line: #d0d5dd; --bk-chip-text: #344054; --bk-chip-hover: #f9fafb;
  --bk-main: #f4ebff; --bk-main-line: #d6bbfb; --bk-main-text: #6e40d7;
  --bk-field: #fff; --bk-field-line: #d0d5dd; --bk-ok: #17b26a; --bk-ok-bg: #dcfae6; --bk-ok-text: #067647;
  --bk-glow: radial-gradient(120% 140% at 0% 0%, rgba(110, 64, 215, .12), transparent 60%);
  --bk-shadow: 0 30px 70px -24px rgba(16, 24, 40, .38), 0 0 0 1px rgba(16, 24, 40, .07);
  font-family: "Inter", sans-serif;
}
html[data-look="night"] .bk, html[data-look="night"] .bk-fab, html[data-look="night"] .bk-hello, html[data-look="night"] .bk-in, html[data-look="night"] .bk-menu {
  --bk-panel: #11121a; --bk-ink: #f4f4fa; --bk-text: #bbbdc9; --bk-muted: #9597a6; --bk-line: rgba(255, 255, 255, .09); --bk-soft: rgba(255, 255, 255, .03);
  --bk-frank: #1c1d29; --bk-me: #7a4ae6; --bk-accent: #7a4ae6; --bk-accent-text: #b7a4ff;   /* #7a4ae6: white words on it read at 5.3:1 */
  --bk-chip: rgba(255, 255, 255, .04); --bk-chip-line: rgba(255, 255, 255, .16); --bk-chip-text: #e6e6f0; --bk-chip-hover: rgba(255, 255, 255, .08);
  --bk-main: rgba(143, 99, 246, .2); --bk-main-line: rgba(183, 164, 255, .42); --bk-main-text: #d3c3ff;
  --bk-field: #1e1f2c; --bk-field-line: rgba(255, 255, 255, .16); --bk-ok-bg: rgba(23, 178, 106, .16); --bk-ok-text: #75e0a7;
  --bk-glow: radial-gradient(110% 130% at 0% 0%, rgba(143, 99, 246, .26), transparent 60%), radial-gradient(80% 90% at 100% 0%, rgba(254, 166, 104, .08), transparent 60%);
  --bk-shadow: 0 30px 90px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .09);
}

/* ---------------------------------------------------------------- the chat */
.bk { position: fixed; inset: 0; z-index: 1990; pointer-events: none; color: var(--bk-text); line-height: 1.45; }
.bk[hidden] { display: none; }
.bk [hidden] { display: none !important; }
.bk button, .bk input { font-family: inherit; }
.bk :focus-visible { outline: 2px solid #6e40d7; outline-offset: 2px; }
html[data-look="night"] .bk :focus-visible { outline-color: #b7a4ff; }
.bk-scrim { display: none; }
.bk-panel {
  position: absolute; right: 24px; bottom: 24px; width: 392px; height: min(660px, calc(100% - 112px));
  display: flex; flex-direction: column; overflow: hidden; outline: none; pointer-events: auto;
  border-radius: 20px; background: var(--bk-panel); box-shadow: var(--bk-shadow);
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: 100% 100%;
  transition: opacity .22s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.bk.is-open .bk-panel { opacity: 1; transform: none; }

.bk-head {
  flex: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 34px; align-items: center; gap: 12px;
  padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--bk-line); background: var(--bk-glow), var(--bk-panel);
}
.bk-head__av, .bk-msg__av, .bk-in__av, .bk-menu__av { display: block; border-radius: 50%; overflow: hidden; background: #e9e3fb; }
.bk-head__av { position: relative; width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--bk-panel), 0 0 0 4px rgba(110, 64, 215, .35); }
.bk-head__av img, .bk-msg__av img, .bk-in__av img, .bk-menu__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-head__name { margin: 0; font-size: 15px; line-height: 20px; font-weight: 650; color: var(--bk-ink); }
.bk-head__sub { display: flex; align-items: center; gap: 6px; margin: 1px 0 0; font-size: 12.5px; line-height: 17px; color: var(--bk-muted); }
.bk-head__dot { width: 7px; height: 7px; border-radius: 50%; background: #17b26a; box-shadow: 0 0 0 3px rgba(23, 178, 106, .18); }
:root .bk-x {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px;
  background: transparent; color: var(--bk-muted); cursor: pointer; transition: background-color .2s, color .2s;
}
:root .bk-x:hover { background: var(--bk-chip-hover); color: var(--bk-ink); }
.bk-x svg { width: 18px; height: 18px; }

.bk-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; scrollbar-width: thin; }
.bk-lines-wrap { display: flex; flex-direction: column; gap: 10px; }
.bk-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; animation: bk-in .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bk-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bk-msg--me { justify-content: flex-end; }
.bk-msg__av { flex: none; width: 28px; height: 28px; }
.bk-msg--frank:has(+ .bk-msg--frank) .bk-msg__av { visibility: hidden; }   /* his face by the last line of each turn */
.bk-msg__body { min-width: 0; max-width: calc(100% - 36px); }
.bk-bubble {
  margin: 0; padding: 10px 13px; border-radius: 16px 16px 16px 6px; background: var(--bk-frank); color: var(--bk-ink);
  font-size: 14px; line-height: 20px; overflow-wrap: anywhere;
}
.bk-bubble b { font-weight: 650; }
.bk-msg--me .bk-bubble { max-width: 82%; border-radius: 16px 16px 6px 16px; background: var(--bk-me); color: var(--bk-me-text); }
html[data-look="night"] .bk-msg--me .bk-bubble { background: #7a4ae6 linear-gradient(135deg, #7f50ea, #6a3dd0); }   /* white words at 5:1 or more */
.bk-lines p { margin: 0; color: var(--bk-text); }
.bk-lines .bk-lines__first { color: var(--bk-ink); font-weight: 500; }
.bk-lines p + p { margin-top: 4px; }
.bk-ans { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.bk-ans__src { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 600; letter-spacing: .02em; color: var(--bk-accent-text); }
.bk-ans__t { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; color: var(--bk-ink); }
.bk-ans__b { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--bk-text); }
.bk-ans__go {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px;
  font-size: 13px; line-height: 18px; font-weight: 600; color: var(--bk-accent-text); text-decoration: none;
}
.bk-ans__go svg { width: 14px; height: 14px; transition: transform .2s; }
.bk-ans__go:hover svg { transform: translateX(3px); }
.bk-bubble--card { padding: 0; background: transparent; }

/* the booked demo, like a calendar invite */
.bk-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 16px;
  border: 1px solid var(--bk-line); background: var(--bk-panel); box-shadow: 0 10px 24px -14px rgba(16, 24, 40, .3);
}
html[data-look="night"] .bk-card { background: #171823; box-shadow: none; }
.bk-card__cal { display: flex; flex-direction: column; overflow: hidden; width: 52px; height: 56px; border-radius: 12px; border: 1px solid var(--bk-line); text-align: center; background: var(--bk-panel); }
.bk-card__mon { padding: 3px 0 2px; background: var(--bk-accent); color: #fff; font-size: 10.5px; line-height: 13px; font-weight: 700; letter-spacing: .06em; }
.bk-card__day { flex: 1; display: grid; place-items: center; font-size: 22px; line-height: 1; font-weight: 700; color: var(--bk-ink); }
.bk-card__text { min-width: 0; }
.bk-card__text p { margin: 0; }
.bk-card__title { font-size: 14px; line-height: 20px; font-weight: 650; color: var(--bk-ink); }
.bk-card__when { margin-top: 2px; font-size: 13.5px; line-height: 19px; color: var(--bk-ink); }
.bk-card__zone, .bk-card__to { font-size: 12.5px; line-height: 18px; color: var(--bk-muted); overflow-wrap: anywhere; }
.bk-card__demo {
  grid-column: 1 / -1; margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--bk-soft);
  font-size: 12px; line-height: 17px; color: var(--bk-muted);
}

/* Frank is typing */
.bk-typing { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.bk-typing__dots { display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 16px 16px 16px 6px; background: var(--bk-frank); }
.bk-typing__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--bk-muted); animation: bk-dot 1.1s infinite ease-in-out; }
.bk-typing__dots i:nth-child(2) { animation-delay: .15s; }
.bk-typing__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bk-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* what the visitor can answer now */
.bk-now { padding: 10px 0 4px 36px; }
.bk-now:empty { display: none; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips + .bk-chips, .bk-chips + .bk-cal, .bk-chips + .bk-paths { margin-top: 8px; }
.bk-chips--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-chips--grid .bk-chip:last-child { grid-column: span 3; }
:root .bk-chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 13px;
  border: 1px solid var(--bk-chip-line); border-radius: 9999px; background: var(--bk-chip); color: var(--bk-chip-text);
  font-size: 13px; line-height: 18px; font-weight: 550; text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
:root .bk-chip:hover { background: var(--bk-chip-hover); border-color: #b692f6; }
:root .bk-chip:active { transform: scale(.98); }
:root .bk-chip.bk-chip--main { background: var(--bk-main); border-color: var(--bk-main-line); color: var(--bk-main-text); }
:root .bk-chip.bk-chip--main:hover { border-color: var(--bk-accent); }
.bk-paths { display: grid; gap: 8px; }
:root .bk-path {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left;
  border: 1px solid var(--bk-chip-line); border-radius: 12px; background: var(--bk-chip); color: var(--bk-ink); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
:root .bk-path:hover { border-color: #b692f6; background: var(--bk-chip-hover); }
.bk-path__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--bk-main); color: var(--bk-accent-text); }
.bk-path__icon img { width: 100%; height: 100%; object-fit: cover; }
.bk-path__icon svg { width: 18px; height: 18px; }
.bk-path__text { display: flex; flex-direction: column; }
.bk-path__title { font-size: 14px; line-height: 19px; font-weight: 650; }
.bk-path__who { font-size: 12.5px; line-height: 17px; color: var(--bk-muted); }
.bk-path__price { font-size: 12.5px; line-height: 17px; font-weight: 600; color: var(--bk-accent-text); }

/* the calendar (chat and Agent Frank page) */
.bk-cal { padding: 12px; border: 1px solid var(--bk-line); border-radius: 16px; background: var(--bk-panel); }
html[data-look="night"] .bk-cal { background: #151620; }
.bk-cal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.bk-cal__month { margin: 0; font-size: 13.5px; line-height: 18px; font-weight: 650; color: var(--bk-ink); }
.bk-cal__nav { display: inline-flex; gap: 4px; }
:root .bk-cal__arrow {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--bk-chip-line); border-radius: 8px;
  background: var(--bk-chip); color: var(--bk-chip-text); cursor: pointer; transition: background-color .2s, border-color .2s;
}
:root .bk-cal__arrow:hover:not(:disabled) { border-color: #b692f6; }
:root .bk-cal__arrow:disabled { opacity: .35; cursor: default; }
.bk-cal__arrow svg { width: 15px; height: 15px; }
.bk-cal__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
:root .bk-cal__day {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 8px; border: 1px solid var(--bk-chip-line);
  border-radius: 12px; background: var(--bk-chip); color: var(--bk-ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
:root .bk-cal__day:hover { border-color: #b692f6; }
:root .bk-cal__day.is-on { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(110, 64, 215, .7); }
.bk-cal__wd { font-size: 11px; line-height: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.bk-cal__dn { font-size: 17px; line-height: 22px; font-weight: 700; }
.bk-cal__label { margin: 12px 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--bk-ink); }
.bk-cal__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
:root .bk-cal__slot {
  height: 36px; padding: 0 4px; border: 1px solid var(--bk-main-line); border-radius: 9px; background: var(--bk-chip);
  color: var(--bk-accent-text); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
:root .bk-cal__slot:hover, :root .bk-cal__slot.is-on { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; }
.bk-cal__tz { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; line-height: 16px; color: var(--bk-muted); }
.bk-cal__globe { flex: none; display: inline-flex; }
.bk-cal__globe svg { width: 14px; height: 14px; }

/* the field at the bottom */
.bk-compose { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--bk-line); }
.bk-compose__input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--bk-field-line); border-radius: 12px;
  background: var(--bk-field); color: var(--bk-ink); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.bk-compose__input::placeholder { color: var(--bk-muted); opacity: 1; }
.bk-compose__input:focus { border-color: #b692f6; box-shadow: 0 0 0 4px rgba(110, 64, 215, .12); }
:root .bk-send {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: var(--bk-accent); color: #fff; cursor: pointer; transition: background-color .2s, opacity .2s;
}
:root .bk-send:hover { background: #7f56e0; }
:root .bk-send:disabled { opacity: .5; cursor: default; }
.bk-send svg { width: 20px; height: 20px; }
.bk-fine { flex: none; margin: 0; padding: 2px 14px 10px; font-size: 11.5px; line-height: 16px; text-align: center; color: var(--bk-muted); }

/* phones: the whole screen */
html.bk-locked, html.bk-locked body { overflow: hidden; }
@media (max-width: 767px) {
  .bk { pointer-events: auto; }
  .bk-scrim { display: block; position: absolute; inset: 0; background: var(--bk-panel); }
  .bk-panel { right: 0; bottom: 0; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; transform: translateY(24px); }
  .bk-head { padding-top: calc(12px + env(safe-area-inset-top)); }
  .bk-fine { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .bk-compose__input { font-size: 16px; }                      /* no zoom on focus */
}
@media (max-width: 359px) {
  .bk-now { padding-left: 0; }
  .bk-cal { padding: 10px; }
  .bk-cal__days { gap: 4px; }
  .bk-cal__dn { font-size: 15px; }
  :root .bk-cal__slot { font-size: 12px; }
}

/* ---------------------------------------------------------------- the button at the bottom right (tablets and computers) */
:root .bk-fab {
  position: fixed; z-index: 62; right: 24px; bottom: 24px; display: none; width: 60px; height: 60px; padding: 0;
  border: 0; border-radius: 50%; background: #e9e3fb; cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(110, 64, 215, .45), 0 16px 34px -10px rgba(16, 24, 40, .45);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), bottom .35s cubic-bezier(.2, .8, .2, 1), opacity .2s, box-shadow .25s;
}
.bk-fab img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bk-fab__badge {
  position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #6e40d7; color: #fff; box-shadow: 0 0 0 2px #fff;
}
.bk-fab__badge svg { width: 13px; height: 13px; }
:root .bk-fab:hover { transform: scale(1.06); }
:root .bk-fab:focus-visible { outline: 2px solid #b692f6; outline-offset: 6px; }
html[data-look="night"] .bk-fab { box-shadow: 0 0 0 3px #11121a, 0 0 0 5px rgba(183, 164, 255, .5), 0 18px 40px -10px rgba(143, 99, 246, .6); }
html[data-look="night"] .bk-fab__badge { background: #7a4ae6 linear-gradient(135deg, #7f50ea, #6a3dd0); box-shadow: 0 0 0 2px #11121a; }
@media (min-width: 768px) { :root .bk-fab { display: block; } }
@media (min-width: 768px) and (max-width: 863px) { html.bk-dock-up .bk-fab { bottom: 104px; } }   /* the dock would touch it */
html.bk-open .bk-fab { opacity: 0; pointer-events: none; transform: scale(.9); }

/* the hello, once a visit */
.bk-hello {
  position: fixed; z-index: 63; right: 24px; bottom: 98px; width: 300px; padding: 14px 14px 14px 16px; border-radius: 18px;
  background: var(--bk-panel); color: var(--bk-text); box-shadow: var(--bk-shadow);
  opacity: 0; transform: translateY(10px) scale(.98); transform-origin: 100% 100%;
  transition: opacity .25s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.bk-hello.is-on { opacity: 1; transform: none; }
.bk-hello::after {
  content: ""; position: absolute; right: 26px; bottom: -6px; width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--bk-panel); box-shadow: 3px 3px 6px -3px rgba(16, 24, 40, .2);
}
@media (min-width: 768px) and (max-width: 863px) { html.bk-dock-up .bk-hello { bottom: 178px; } }
.bk-hello__t { margin: 0 26px 2px 0; font-size: 14.5px; line-height: 20px; font-weight: 650; color: var(--bk-ink); }
.bk-hello__l { margin: 0; font-size: 13.5px; line-height: 19px; }
.bk-hello__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
:root .bk-hello__btn {
  height: 34px; padding: 0 12px; border: 1px solid var(--bk-chip-line); border-radius: 9999px; background: var(--bk-chip);
  color: var(--bk-chip-text); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s;
}
:root .bk-hello__btn:hover { border-color: #b692f6; }
:root .bk-hello__btn.bk-hello__btn--main { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; }
:root .bk-hello__btn.bk-hello__btn--main:hover { background: #7f56e0; }
:root .bk-hello__x {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--bk-muted); cursor: pointer;
}
:root .bk-hello__x:hover { background: var(--bk-chip-hover); color: var(--bk-ink); }
.bk-hello__x svg { width: 15px; height: 15px; }
.bk-hello :focus-visible { outline: 2px solid #b692f6; outline-offset: 2px; }
@media (max-width: 767px) { .bk-hello { display: none; } }

/* ---------------------------------------------------------------- the phone menu: a row under "Get started" */
:root .bk-menu { display: none; }
@media (max-width: 991px) {
  :root .bk-menu {
    display: flex; align-items: center; gap: 14px; width: 100%; height: 64px; padding: 0 20px;
    border: 0; border-bottom: 1px solid var(--gray-200); border-radius: 0; background: var(--white);
    color: #222; font-family: inherit; font-size: 18px; font-weight: 500; text-align: left; cursor: pointer;
  }
  .bk-menu__av { flex: none; width: 32px; height: 32px; }
  .bk-menu__text { flex: 1; min-width: 0; }
  .bk-menu__tag { flex: none; padding: 3px 10px; border-radius: 9999px; background: var(--violet-100); color: var(--violet); font-size: 13px; font-weight: 600; }
  :root .bk-menu:focus-visible { outline: 2px solid #b692f6; outline-offset: -2px; }
  html[data-look="night"] .bk-menu { background: var(--n-bg); border-bottom-color: var(--n-line); color: #e6e6f0; }
  html[data-look="night"] .bk-menu__tag { background: rgba(143, 99, 246, .2); color: #d3c3ff; }
}

/* ---------------------------------------------------------------- Frank's own "Hire Agent Frank" buttons, back */
/* the Agent Frank hero: his 288 x 56 button, #6e40d7, radius 8, 16 px semibold, between the words and the rating */
.af-hero__cta { margin-bottom: 15px; }
:root .bk-hire {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 288px; max-width: 100%; height: 56px; padding: 9px 20px;
  border: 1px solid #6e40d7; border-radius: 8px; background: #6e40d7; color: #fff; font-family: inherit;
  font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: background-color .4s, border-color .4s, box-shadow .4s;
}
:root .bk-hire:hover { background: var(--violet-hover, #7f56d9); border-color: #6941c6; }
:root .bk-hire:focus-visible { outline: 2px solid #b692f6; outline-offset: 3px; }
html[data-look="night"] .bk-hire { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -10px rgba(143, 99, 246, .85); }
html[data-look="night"] .bk-hire:hover { background: #7a4ae6; border-color: #7a4ae6; }
@media (max-width: 991px) { .af-hero__cta { align-self: center; } }
@media (max-width: 767px) { .af-hero__cta { align-self: stretch; display: flex; justify-content: center; } }
/* the Pricing card: "Hire Agent Frank" (#6e40d7, white words) beside "Learn more", as on Frank's page */
:root .plans__ai-buttons .plans__btn--hire { background: #6e40d7; border: 1px solid #6e40d7; color: #fff; font-family: inherit; font-weight: 600; cursor: pointer; }
:root .plans__ai-buttons .plans__btn--hire:hover { background: var(--violet-hover, #7f56d9); border-color: #6941c6; color: #fff; }
html[data-look="night"] .plans__ai-buttons .plans__btn--hire { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px -12px rgba(143, 99, 246, .9); }
/* the FAQ's "via chat" and "book a demo with our team" */
:root .bk-link {
  display: inline; padding: 0; border: 0; background: none; color: var(--violet); font: inherit; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer;
}
:root .bk-link:hover { text-decoration-thickness: 2px; }
html[data-look="night"] .bk-link { color: var(--n-violet-text, #b7a4ff); }

/* ---------------------------------------------------------------- the Agent Frank page: the calendar where Frank's HubSpot calendar was */
.bk-sec { padding: 0 0 112px; }
.bk-sec__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 64px;
  padding: 56px; border-radius: 24px; border: 1px solid var(--gray-200, #eaecf0);
  background: radial-gradient(90% 120% at 0% 0%, rgba(110, 64, 215, .09), transparent 60%), var(--white, #fff);
}
html[data-look="night"] .bk-sec__grid { border-color: rgba(255, 255, 255, .08); background: radial-gradient(90% 120% at 0% 0%, rgba(143, 99, 246, .22), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(254, 166, 104, .07), transparent 60%), #10111a; }
.bk-sec__tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 4px 12px 4px 4px; border-radius: 9999px;
  background: var(--violet-100, #f4ebff); color: var(--violet, #6e40d7); font-size: 14px; line-height: 20px; font-weight: 600;
}
.bk-sec__tag img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
html[data-look="night"] .bk-sec__tag { background: rgba(143, 99, 246, .2); color: #d3c3ff; }
.bk-sec__title { margin: 0; }
.bk-sec__lead { margin: 16px 0 0; }
.bk-sec__list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.bk-sec__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 24px; color: var(--body, #475467); }
.bk-sec__n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--violet-100, #f4ebff);
  color: var(--violet, #6e40d7); font-size: 13px; font-weight: 700;
}
html[data-look="night"] .bk-sec__list li { color: var(--n-body); }
html[data-look="night"] .bk-sec__n { background: rgba(143, 99, 246, .2); color: #d3c3ff; }
@media (max-width: 991px) {
  .bk-sec__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 32px; }
  .bk-sec__copy { text-align: center; }
  .bk-sec__list { justify-items: center; }
  .bk-sec__list li { max-width: 560px; text-align: left; }
  .bk-in { margin: 0 auto; }
}
@media (max-width: 767px) {
  .bk-sec { padding-bottom: 80px; }
  .bk-sec__grid { padding: 28px 16px; border-radius: 20px; }
}

.bk-in {
  width: 100%; max-width: 520px; padding: 18px; border-radius: 20px; background: var(--bk-panel); color: var(--bk-text);
  box-shadow: 0 24px 60px -24px rgba(16, 24, 40, .35), 0 0 0 1px rgba(16, 24, 40, .06);
}
html[data-look="night"] .bk-in { background: #13141e; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.bk-in__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bk-in__av { flex: none; width: 40px; height: 40px; }
.bk-in__name { margin: 0; font-size: 15px; line-height: 20px; font-weight: 650; color: var(--bk-ink); }
.bk-in__sub { margin: 1px 0 0; font-size: 13px; line-height: 18px; color: var(--bk-muted); }
.bk-in .bk-cal { border: 0; padding: 0; background: transparent; }
.bk-in .bk-cal__slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 420px) { .bk-in .bk-cal__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bk-in { padding: 14px; } }
.bk-in__when { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--bk-main); color: var(--bk-ink); font-size: 15px; line-height: 21px; font-weight: 600; }
.bk-in__zone { font-size: 12.5px; line-height: 17px; font-weight: 500; color: var(--bk-muted); }
.bk-in__label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--bk-ink); }
.bk-in__row { display: flex; gap: 8px; }
.bk-in__input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--bk-field-line); border-radius: 10px;
  background: var(--bk-field); color: var(--bk-ink); font-family: inherit; font-size: 16px; outline: none;
}
.bk-in__input:focus { border-color: #b692f6; box-shadow: 0 0 0 4px rgba(110, 64, 215, .12); }
.bk-in__input[aria-invalid="true"] { border-color: #f04438; }
.bk-in__err { margin: 8px 0 0; font-size: 13px; line-height: 18px; color: #d92d20; }
html[data-look="night"] .bk-in__err { color: #fda29b; }
:root .bk-in__btn {
  flex: none; height: 46px; padding: 0 16px; border: 1px solid var(--bk-chip-line); border-radius: 10px; background: var(--bk-chip);
  color: var(--bk-chip-text); font-family: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
:root .bk-in__btn:hover { border-color: #b692f6; }
:root .bk-in__btn.bk-in__btn--main { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; }
:root .bk-in__btn.bk-in__btn--main:hover { background: #7f56e0; }
:root .bk-in__btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 479px) { .bk-in__row { flex-direction: column; } :root .bk-in__btn { width: 100%; } }
:root .bk-in__back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 0; border: 0; background: none;
  color: var(--bk-accent-text); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.bk-in__back svg { width: 14px; height: 14px; }
.bk-in__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bk-in :focus-visible { outline: 2px solid #6e40d7; outline-offset: 2px; }
html[data-look="night"] .bk-in :focus-visible { outline-color: #b7a4ff; }

@media (prefers-reduced-motion: reduce) {
  .bk-panel, .bk-hello, :root .bk-fab, .bk-msg { transition: none; animation: none; }
  .bk-typing__dots i { animation: none; }
}
