/* Variant B of the med-spa page (17 Oct 2026). Loads after medspas.css and only on /medspas-b.
   Premium and warm: ivory and stone grounds, BeyondEdge plum as the one strong colour, a serif display face
   (Fraunces) for headlines and Archivo for everything else. The signature is the clickable Clinic AI Inbox. */
.medspa-b {
  --mb-ivory: #f7f3ec;
  --mb-sand: #efe7db;
  --mb-line: #e2d8ca;
  --mb-ink: #231a30;
  --mb-muted: #6b6275;
  --mb-plum: #533d89;
  --mb-plum-deep: #2b1f4f;
  --mb-lilac: #eee8f7;
  --mb-gold: #a8864f;
  --mb-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  background: var(--mb-ivory);
  color: var(--mb-ink);
}
.medspa-b .site-header { background: #f7f3ecf2; }
.medspa-b :where(main) h1,
.medspa-b :where(main) h2 { font-family: var(--mb-serif); font-weight: 400; letter-spacing: -.02em; color: var(--mb-ink); }
.medspa-b :where(main) h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; margin: 0; }
.medspa-b :where(main) h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; }
.medspa-b :where(main) p { color: var(--mb-muted); }
.medspa-b :where(main) .btn { border-radius: 999px; background: var(--mb-plum-deep); color: #fff; padding: 15px 24px; gap: 12px; }
.medspa-b :where(main) .btn:hover { background: var(--mb-plum); }
.medspa-b :where(main) .btn span { font-size: 17px; }

.medspa-b .mb-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mb-gold); }
.mb-small { font-size: 13px; line-height: 1.6; margin: 14px 0 0; }
.mb-section { padding: clamp(64px, 8vw, 104px) 0; }
.mb-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.mb-head p:last-child:not(.mb-eyebrow) { margin: 14px 0 0; font-size: 17px; }
.mb-center { margin-left: auto; margin-right: auto; text-align: center; }
.mb-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mb-lilac); color: var(--mb-plum); flex: 0 0 42px; }

/* Hero: a warm reception photo, with the words on its calm left side */
.mb-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0 28px; }
.mb-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.mb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f7f3ecfa 0%, #f7f3ece8 34%, #f7f3ec80 54%, #f7f3ec00 72%); }
.mb-hero-copy { max-width: 1320px; }
.medspa-b .mb-hero h1 { margin: 0 0 22px; max-width: 13.5ch; font-size: clamp(46px, 5.6vw, 82px); line-height: 1.02; text-align: left; font-weight: 380; font-variation-settings: "opsz" 120; }
.mb-hero h1 > span { display: block; }
.mb-hero h1 > span:last-child { color: var(--mb-plum); }
.medspa-b .mb-hero .mb-lede { max-width: 33rem; font-size: 18px; line-height: 1.65; color: #4c4357; margin: 0; }
.mb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.mb-btn-ghost { display: inline-flex; align-items: center; padding: 14px 22px; border: 1px solid var(--mb-plum-deep); border-radius: 999px; color: var(--mb-plum-deep); font-weight: 550; font-size: 15px; text-decoration: none; background: #ffffff8c; }
.mb-btn-ghost:hover { background: #fff; }
.mb-proof { list-style: none; margin: clamp(48px, 7vw, 96px) 0 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; background: #fffffff0; border: 1px solid var(--mb-line); border-radius: 16px; box-shadow: 0 18px 40px #3b2a1414; }
.mb-proof li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--mb-ink); }
.mb-proof svg { color: var(--mb-plum); flex: 0 0 20px; }

/* The challenge: four photo cards */
.mb-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mb-card { background: #fff; border: 1px solid var(--mb-line); border-radius: 16px; overflow: hidden; }
.mb-card img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.mb-card-body { display: flex; gap: 14px; padding: 20px; }
.mb-card-body p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* The journey: five steps on a stone band */
.mb-journey { background: var(--mb-sand); }
.mb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.mb-steps li { position: relative; background: #fffdf9; border: 1px solid var(--mb-line); border-radius: 16px; padding: 22px 20px 24px; }
.mb-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--mb-sand); color: var(--mb-gold); font-size: 13px; }
.mb-steps svg { display: block; color: var(--mb-plum); margin: 16px 0 14px; }
.mb-steps p { margin: 0; font-size: 14px; line-height: 1.55; }
.mb-step-num { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: var(--mb-plum-deep); color: #fff; font-size: 12px; font-weight: 600; }

/* Revenue at risk: the owner's figures on the left, the estimate on the right */
.mb-calc-band { padding-top: 0; }
.mb-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: stretch; }
.mb-calc-inputs { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--mb-line); border-radius: 18px; }
.mb-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; }
.mb-calc-label label { display: block; font-weight: 600; font-size: 15px; color: var(--mb-ink); }
.mb-calc-label span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mb-muted); }
.mb-calc-field { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 118px; box-sizing: border-box; gap: 6px; padding: 0 12px; border: 1px solid var(--mb-line); border-radius: 10px; background: #fcfaf6; color: var(--mb-muted); font-size: 14px; }
.mb-calc-field:focus-within { border-color: var(--mb-plum); box-shadow: 0 0 0 3px #533d8926; }
.mb-calc-field input { width: 5.5ch; padding: 10px 0; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 600; color: var(--mb-ink); text-align: right; outline: none; -moz-appearance: textfield; }
.mb-calc-field input::-webkit-inner-spin-button, .mb-calc-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mb-calc-range { grid-column: 1 / -1; width: 100%; margin: 0; accent-color: var(--mb-plum); cursor: pointer; }
.medspa-b .mb-calc-inputs .mb-small { margin: 0; }
.mb-calc-result { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: 18px; color: #fff; background: radial-gradient(ellipse at 100% 0%, #5b4590 0%, transparent 60%), var(--mb-plum-deep); }
.mb-calc-steps { margin: 0 0 22px; display: grid; gap: 10px; }
.mb-calc-steps div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #ffffff26; font-size: 14px; }
.mb-calc-steps dt { color: #e6def3; }
.mb-calc-steps dd { margin: 0; font-weight: 600; }
.medspa-b .mb-calc-result p { margin: 0; color: #e6def3; }
.medspa-b .mb-calc-risk-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.medspa-b .mb-calc-result .mb-calc-risk { margin: 6px 0 2px; font-family: var(--mb-serif); font-size: clamp(44px, 5vw, 64px); line-height: 1.05; color: #fff; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.medspa-b .mb-calc-month { font-size: 16px; }
.medspa-b .mb-calc-result .mb-calc-method { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: #cfc4e3; }
.mb-calc-next { margin-top: auto; padding-top: 22px; border-top: 1px solid #ffffff26; }
.mb-calc-result h3 { margin: 22px 0 6px; font-size: 18px; color: #fff; }
.medspa-b .mb-calc-next > p:not(.mb-calc-free) { font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.medspa-b .mb-calc-result .mb-calc-free { margin-top: 10px; font-size: 12.5px; }
.medspa-b .mb-calc-attached { margin: 4px 0 12px; color: var(--mb-plum); }

/* Clinic AI Inbox: the clickable example */
.mb-inbox-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mb-inbox-copy > p:not(.mb-eyebrow):not(.mb-small) { font-size: 17px; line-height: 1.65; margin: 16px 0 22px; }
.mb-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.mb-checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.mb-checks svg { flex: 0 0 auto; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--mb-plum-deep); color: #fff; box-sizing: content-box; width: 12px; height: 12px; }
.mb-app { margin: 0; background: #fff; border: 1px solid var(--mb-line); border-radius: 18px; box-shadow: 0 30px 70px #2b1f4f1f; overflow: hidden; }
.mb-app-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--mb-line); }
.mb-app-logo { font-weight: 700; font-size: 15px; color: var(--mb-ink); }
.mb-brace { color: var(--mb-plum); font-weight: 400; }
.mb-app-flag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mb-gold); border: 1px solid #e6d6b8; border-radius: 999px; padding: 4px 10px; }
.mb-app-body { display: grid; grid-template-columns: 164px 250px minmax(0, 1fr); height: 470px; }
.mb-channels { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--mb-line); background: #fcfaf6; }
.mb-channel { appearance: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 8px; padding: 9px 10px; background: none; font: inherit; font-size: 13px; color: var(--mb-ink); text-align: left; cursor: pointer; }
.mb-channel[aria-pressed="true"] { background: var(--mb-lilac); color: var(--mb-plum-deep); font-weight: 600; }
.mb-count { font-size: 11px; min-width: 20px; text-align: center; border-radius: 999px; padding: 1px 6px; background: #efe9f8; color: var(--mb-plum); }
.mb-convs { overflow-y: auto; border-right: 1px solid var(--mb-line); }
.mb-conv { appearance: none; display: flex; gap: 10px; width: 100%; padding: 13px 14px; border: 0; border-bottom: 1px solid #efe8dd; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--mb-ink); }
.mb-conv[aria-selected="true"] { background: #f6f2fb; box-shadow: inset 3px 0 0 var(--mb-plum); }
.mb-conv[hidden] { display: none; }
.mb-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; background: var(--mb-sand); color: var(--mb-plum-deep); font-size: 12px; font-weight: 700; }
.mb-conv-main { display: grid; gap: 4px; min-width: 0; }
.mb-conv-top { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.mb-time { color: var(--mb-muted); font-size: 11px; white-space: nowrap; }
.mb-conv-preview { font-size: 12.5px; color: var(--mb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-conv-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.mb-chan, .mb-tag { font-size: 10.5px; border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.mb-chan { background: #f3eee6; color: #6a5a45; }
.mb-tag { background: var(--mb-lilac); color: var(--mb-plum); }
.mb-threads { min-width: 0; overflow-y: auto; }
.mb-thread { padding: 16px 18px 20px; outline-offset: -3px; }
.mb-thread-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #efe8dd; }
.mb-thread-head b { display: block; font-size: 14px; }
.mb-thread-head span:not(.mb-avatar) { font-size: 12px; color: var(--mb-muted); }
.mb-bubbles { display: grid; gap: 10px; }
.medspa-b .mb-bubble { margin: 0; max-width: 86%; padding: 10px 13px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--mb-ink); }
.mb-who { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; opacity: .7; }
.mb-client { background: var(--mb-sand); border-top-left-radius: 4px; justify-self: start; }
.mb-ai { background: var(--mb-lilac); border-top-right-radius: 4px; justify-self: end; }
.mb-ai .mb-who { color: var(--mb-plum); opacity: 1; }
.mb-slots { justify-self: end; max-width: 86%; padding: 11px 13px; border: 1px solid #ddd2ee; border-radius: 14px; background: #fff; }
.medspa-b .mb-slots-label { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; font-size: 12px; font-weight: 600; color: var(--mb-plum-deep); }
.mb-slots div { display: flex; flex-wrap: wrap; gap: 6px; }
.mb-slots span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid #cfc1e6; color: var(--mb-plum-deep); }
.medspa-b .mb-team-note { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #eef6f1; color: #1f5c3d; font-size: 12.5px; line-height: 1.45; }
.mb-team-note svg { flex: 0 0 16px; margin-top: 1px; }

/* What we set up: three photo cards */
.mb-solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mb-solutions > li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mb-line); border-radius: 16px; overflow: hidden; }
.mb-solutions img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.mb-solutions > li > div { padding: 22px 20px; }
.mb-solutions h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mb-solutions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mb-solutions ul li { display: flex; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--mb-muted); }
.mb-solutions ul svg { flex: 0 0 16px; margin-top: 2px; color: var(--mb-gold); }

/* The one-week review */
.mb-review { display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--mb-line); border-radius: 20px; }
.mb-review > div:first-child p:not(.mb-eyebrow) { margin: 14px 0 0; font-size: 16px; line-height: 1.65; }
.mb-review .mb-checks { margin: 0; }
.mb-review-cta { padding: 24px; border-radius: 16px; background: var(--mb-sand); text-align: center; }
.mb-review-cta .btn { width: 100%; justify-content: center; }

/* Questions owners ask */
.mb-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.mb-faq-list details { border-top: 1px solid var(--mb-line); }
.mb-faq-list details:last-child { border-bottom: 1px solid var(--mb-line); }
.mb-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--mb-ink); }
.mb-faq-list summary::-webkit-details-marker { display: none; }
.mb-faq-list summary span { position: relative; flex: 0 0 14px; height: 14px; }
.mb-faq-list summary span::before, .mb-faq-list summary span::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--mb-plum); }
.mb-faq-list summary span::after { transform: rotate(90deg); }
.mb-faq-list details[open] summary span::after { transform: none; }
.medspa-b .mb-faq-list details p { margin: -6px 0 22px; max-width: 40rem; font-size: 15.5px; line-height: 1.65; }
.mb-faq-list summary:focus-visible { outline: 2px solid var(--mb-plum); outline-offset: 4px; border-radius: 4px; }

/* Shared contact form sits on the same warm ground */
.medspa-b .ms-contact { background: var(--mb-sand); }

/* Closing band */
.mb-closing { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 0%, #5b4590 0%, transparent 55%), var(--mb-plum-deep); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.mb-closing-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.medspa-b .mb-closing h2 { color: #fff; }
.medspa-b .mb-closing p { color: #e6def3; margin: 10px 0 0; max-width: 40rem; }
.mb-btn-light { display: inline-flex; gap: 10px; align-items: center; padding: 15px 26px; border-radius: 999px; background: #fff; color: var(--mb-plum-deep); font-weight: 600; text-decoration: none; }
.mb-btn-light:hover { background: var(--mb-lilac); }
.medspa-b .mb-disclaimer { margin: 0 auto; padding: 22px 32px 28px; font-size: 12px; line-height: 1.6; text-align: center; color: var(--mb-muted); max-width: 980px; }

:is(.mb-channel, .mb-conv, .mb-btn-ghost, .mb-btn-light):focus-visible { outline: 2px solid var(--mb-plum); outline-offset: 2px; }

@media (max-width: 1100px) {
  .mb-cards { grid-template-columns: repeat(2, 1fr); }
  .mb-steps { grid-template-columns: repeat(3, 1fr); }
  .mb-steps li:nth-child(3)::after { display: none; }
  .mb-solutions { grid-template-columns: 1fr; }
  .mb-solutions > li { display: grid; grid-template-columns: 220px 1fr; }
  .mb-solutions img { height: 100%; aspect-ratio: auto; }
  .mb-inbox-grid { grid-template-columns: 1fr; }
  .mb-calc { grid-template-columns: 1fr; }
  .mb-faq-grid { grid-template-columns: 1fr; }
  .mb-review { grid-template-columns: 1fr 1fr; }
  .mb-review-cta { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mb-hero { padding-top: 0; }
  .mb-hero-img { position: static; display: block; height: 260px; object-position: 75% 50%; }
  .mb-hero::after { display: none; }
  .mb-hero-copy { padding-top: 32px; }
  .medspa-b .mb-hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .mb-proof { grid-template-columns: 1fr 1fr; margin-top: 36px; padding: 16px; }
  .mb-cards { grid-template-columns: 1fr; }
  .mb-steps { grid-template-columns: 1fr; }
  .mb-steps li::after { display: none; }
  .mb-solutions > li { display: flex; }
  .mb-solutions img { height: auto; aspect-ratio: 16 / 10; }
  .mb-review { grid-template-columns: 1fr; }
  .mb-app-body { grid-template-columns: 1fr; height: auto; }
  .mb-channels { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--mb-line); }
  .mb-channel { flex: 0 0 auto; width: auto; }
  .mb-convs { max-height: 250px; border-right: 0; border-bottom: 1px solid var(--mb-line); }
}
/* Motion. Everything here is skipped when the visitor's device asks for reduced motion. The hero entrance is CSS only;
   the rest waits for medspas-b.js to add .mb-motion, so without JavaScript the page simply shows. */
@media (prefers-reduced-motion: no-preference) {
  .medspa-b { --mb-ease: cubic-bezier(.2, .7, .2, 1); }
  .mb-conv, .mb-channel, .mb-btn-ghost, .mb-btn-light, .medspa-b :where(main) .btn { transition: background .2s, box-shadow .2s; }

  /* Hero: the photo settles while the words rise in, one line after another */
  @keyframes mb-settle { from { transform: scale(1.08); } }
  @keyframes mb-rise { from { opacity: 0; transform: translateY(22px); } }
  .mb-hero-img { animation: mb-settle 2.8s var(--mb-ease) both; }
  .mb-hero .mb-eyebrow, .mb-hero h1 > span, .mb-hero .mb-lede, .mb-hero .mb-actions, .mb-hero .mb-proof { animation: mb-rise 1s var(--mb-ease) both; }
  .mb-hero h1 > span:nth-child(1) { animation-delay: .12s; }
  .mb-hero h1 > span:nth-child(2) { animation-delay: .26s; }
  .mb-hero h1 > span:nth-child(3) { animation-delay: .4s; }
  .mb-hero .mb-lede { animation-delay: .58s; }
  .mb-hero .mb-actions { animation-delay: .7s; }
  .mb-hero .mb-proof { animation-delay: .9s; }

  /* Sections rise in as they scroll into view; items in a row follow one another (--i is set by the script) */
  .mb-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--mb-ease), transform .9s var(--mb-ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .mb-motion [data-reveal].is-in { opacity: 1; transform: none; }

  /* Cards lift a little, and their photos lean in */
  .mb-card, .mb-solutions > li, .mb-steps li { transition: transform .35s var(--mb-ease), box-shadow .35s var(--mb-ease); }
  .mb-card:hover, .mb-solutions > li:hover, .mb-steps li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #3b2a141a; }
  .mb-card img, .mb-solutions img { transition: transform .9s var(--mb-ease); }
  .mb-card:hover img, .mb-solutions > li:hover img { transform: scale(1.04); }
  :is(.medspa-b :where(main) .btn, .mb-btn-light) span { display: inline-block; transition: transform .25s var(--mb-ease); }
  :is(.medspa-b :where(main) .btn, .mb-btn-light):hover span { transform: translateX(3px); }

  /* The inbox plays each conversation like a live chat */
  @keyframes mb-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
  @keyframes mb-dot { 30% { opacity: 1; transform: translateY(-2px); } }
  .mb-motion .mb-pending { display: none; }
  .mb-motion .mb-thread :is(.mb-bubble, .mb-slots, .mb-team-note) { animation: mb-pop .4s var(--mb-ease) both; }
  .medspa-b .mb-typing { display: flex; gap: 5px; padding: 13px 15px; }
  .mb-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--mb-plum); opacity: .3; animation: mb-dot 1s infinite; }
  .mb-typing span:nth-child(2) { animation-delay: .15s; }
  .mb-typing span:nth-child(3) { animation-delay: .3s; }
  .mb-faq-list summary span::after { transition: transform .25s var(--mb-ease); }
}

/* The live demo call with Ava (30 Oct 2026, public/frontdesk-call.js). Hidden until the script finds a microphone API
   and WebRTC, so nobody sees a call button that cannot work. */
button.mb-btn-ghost { font: inherit; font-weight: 550; font-size: 15px; cursor: pointer; }
.mb-call-open { gap: 10px; }
.mb-voice { padding-top: 0; }
.mb-voice-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 36px; padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--mb-line); border-radius: 24px; box-shadow: 0 18px 40px #3b2a1414; }
.mb-voice-row p:last-child { margin: 12px 0 0; max-width: 52ch; }
.mb-voice-face { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--mb-lilac); }

.mb-call { width: min(92vw, 440px); padding: 28px 28px 22px; border: 0; border-radius: 24px; background: #fff; color: var(--mb-ink); text-align: center; box-shadow: 0 30px 80px #1d14304d; }
.mb-call::backdrop { background: #231a3066; backdrop-filter: blur(6px); }
.mb-call-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--mb-line); border-radius: 50%; background: #fff; color: var(--mb-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.mb-call-label { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mb-gold); }
.mb-call-face { position: relative; width: 112px; height: 112px; margin: 0 auto 12px; }
.mb-call-face img { position: relative; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.mb-call-rings i { position: absolute; inset: 0; border-radius: 50%; transition: transform .12s linear; }
.mb-call-rings i:first-child { background: var(--mb-lilac); }
.mb-call-rings i:last-child { inset: -6px; border: 2px solid #a8864f55; }
.mb-call-ai { position: absolute; right: 2px; bottom: 4px; padding: 2px 7px; border-radius: 999px; background: var(--mb-plum-deep); color: #fff; font-size: 11px; font-weight: 700; }
.mb-call h2 { margin: 0; font-family: var(--mb-serif); font-weight: 400; font-size: 28px; }
.mb-call-status { margin: 8px 0 2px; color: var(--mb-ink); font-weight: 550; }
.mb-call-status:focus { outline: none; }
.mb-call-timer { margin: 0; font-size: 13px; color: var(--mb-muted); font-variant-numeric: tabular-nums; }
.mb-call-captions { max-height: 132px; margin: 14px 0 0; overflow-y: auto; text-align: left; font-size: 14px; }
.mb-call-captions:empty { display: none; }
.mb-call-captions p { margin: 0 0 6px; color: var(--mb-muted); }
.mb-call-captions b { color: var(--mb-ink); font-weight: 600; }
.mb-call-tries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.mb-call-chip { padding: 7px 12px; border: 1px solid var(--mb-line); border-radius: 999px; background: var(--mb-ivory); color: var(--mb-ink); font: inherit; font-size: 13px; cursor: pointer; }
.mb-call-chip:hover { border-color: var(--mb-plum); }
.mb-call-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.mb-call-buttons .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.mb-call-mute, .mb-call-end { padding: 13px 20px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.mb-call-mute { border: 1px solid var(--mb-line); background: #fff; color: var(--mb-ink); }
.mb-call-mute[aria-pressed="true"] { background: var(--mb-lilac); }
.mb-call-end { border: 0; background: #a12a2a; color: #fff; }
.mb-call .mb-small { margin-top: 16px; }
@media (max-width: 760px) {
  .mb-voice-row { grid-template-columns: 1fr; justify-items: start; }
  .mb-voice-face { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { .mb-call-rings i { transition: none; } }

/* 30 Oct 2026: the morning handover (an example) and the "not tied to any platform" line next to the review price. */
.mb-handover { background: var(--mb-sand); }
.mb-handover-card { margin: 0 auto; max-width: 980px; background: #fff; border: 1px solid var(--mb-line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px #3b2a1414; }
.mb-handover-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--mb-line); }
.mb-handover-stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 20px; }
.mb-handover-stats div + div { border-left: 1px solid var(--mb-line); }
.mb-handover-stats dt { font-size: 12.5px; line-height: 1.4; color: var(--mb-muted); }
.mb-handover-stats dd { margin: 0; font-family: var(--mb-serif); font-size: 32px; line-height: 1; color: var(--mb-plum-deep); }
.mb-handover-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mb-handover-table th, .mb-handover-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--mb-line); color: var(--mb-ink); }
.mb-handover-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mb-muted); background: #fcfaf6; }
.mb-handover-table tbody th { font-weight: 600; }
.mb-status { font-size: 12px; border-radius: 999px; padding: 3px 9px; white-space: nowrap; background: #fdf3e2; color: #8a5a12; }
.mb-status-confirmed { background: #eef6f1; color: #1f5c3d; }
.mb-status-needs { background: var(--mb-lilac); color: var(--mb-plum); }
.medspa-b .mb-handover-card .mb-team-note { margin: 16px 20px 20px; }
.mb-review-independent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; text-align: left; font-size: 13px; line-height: 1.5; color: var(--mb-ink); }
.mb-review-independent svg { flex: 0 0 16px; margin-top: 2px; color: var(--mb-plum); }
@media (max-width: 760px) {
  .mb-handover-stats { grid-template-columns: 1fr 1fr; }
  .mb-handover-stats div:nth-child(3) { border-left: 0; }
  .mb-handover-stats div:nth-child(n + 3) { border-top: 1px solid var(--mb-line); }
  .mb-handover-table thead { display: none; }
  .mb-handover-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 18px; border-bottom: 1px solid var(--mb-line); }
  .mb-handover-table th, .mb-handover-table td { padding: 0; border: 0; }
  .mb-handover-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; color: var(--mb-muted); }
  .mb-handover-table td:nth-child(5) { display: none; }
}

/* 5 Nov 2026: #start leads with the demo calendar (src/medspas.mjs medspaContact, demo), then the form as the second choice */
.medspa-b .ms-demo-head { max-width: 780px; margin-bottom: 32px; }
.medspa-b .ms-demo-cal { margin-bottom: 80px; }
.medspa-b .ms-demo-alt-title { font-size: clamp(26px, 2.4vw, 34px); margin: 0 0 14px; }
@media (max-width: 760px) {
  .medspa-b .ms-demo-cal { margin-bottom: 48px; }
}
