/* =========================================================================
   /talk: one card, two steps (who you are, then a time), in the homepage's
   look: #f9f9f9 paper, ink, Roobert, hairlines, the robot peeking in.
   ========================================================================= */
.bp--talk {
  --ink: #141413; --grey: #6f6e69; --soft: #9a9893; --line: #e3e1dc; --card: #ffffff; --field: #ffffff; --wash: #f4f4f2;
  --r: 18px; --r-sm: 11px;
  display: flex; flex-direction: column; min-height: 100svh; background: #f9f9f9; color: var(--ink);
}
/* header in normal flow on the light page, as on the intake page */
.bp--talk .bp-hd { position: static; flex: none; height: 80px; box-sizing: border-box; background: #f9f9f9; animation: none; }
.bp--talk .bp-hd__in { height: 100%; box-sizing: border-box; }
.bp--talk .bp-hd__scrim { display: none; }
.bp--talk .bp-logo-w { opacity: 0; animation: none; }
.bp--talk .bp-logo-b { opacity: 1; animation: none; }
.bp--talk .bp-nav, .bp--talk .bp-menu-btn { color: var(--grey); animation: none; }
.bp--talk .bp-nav a:hover { color: var(--ink); }
.bp--talk .bp-cta { background: var(--ink); color: #fff; border-color: var(--ink); animation: none; }
.bp--talk .bp-nav.is-open { background: #f9f9f9; }

/* the form fills the screen under the header and fits in it on a laptop: no scrolling */
.tk { flex: none; min-height: calc(100svh - 80px); box-sizing: border-box; padding: clamp(12px, 3vh, 40px) max(16px, 3.9vw) clamp(16px, 3vh, 32px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.tk__vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* one type family, one weight: the homepage's Roobert Regular */
.bp--talk .tk, .bp--talk .tk * { font-family: "Boop Roobert", Roobert, ui-sans-serif, system-ui, sans-serif; font-weight: 400; }

.tk__card {
  width: min(760px, 100%); box-sizing: border-box; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(20,20,19,.04), 0 24px 48px -32px rgba(20,20,19,.28); overflow: hidden;
}

/* head: title and the call chips on one line */
.tk__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.tk__title { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.tk__chips { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; max-width: 100%; }
.tk__chip { display: inline-flex; align-items: center; padding: 8px 13px; font-size: 15px; letter-spacing: -.01em; border-left: 1px solid var(--line); white-space: nowrap; }
.tk__chip:first-child { border-left: 0; }
.tk__chip[hidden] { display: none; }
.tk__chip--date span { color: var(--soft); margin-left: 6px; }
.tk__chip--tz { color: var(--grey); padding: 0 6px 0 10px; }
.tk__chip--tz select { font: inherit; font-size: 15px; color: inherit; background: transparent; border: 0; padding: 8px 4px; cursor: pointer; }
.tk__chip--tz select:focus-visible { outline: 1px solid var(--ink); }

/* steps */
.tk__body { padding: 22px 28px 4px; }
.tk__step2 { display: none; }
.tk__card[data-step="2"] .tk__step1 { display: none; }
.tk__card[data-step="2"] .tk__step2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 0; }

/* step 1: four plain choices, then the fields two by two */
.tk__roles { border: 0; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tk__roles legend { padding: 0; margin-bottom: 10px; font-size: 15px; color: var(--grey); }
.tk__role { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 15px; letter-spacing: -.01em; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.tk__role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
@media (hover: hover) { .tk__role:hover { border-color: #c9c6bf; } }
.tk__role:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.tk__role:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.tk__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.tk__field { display: grid; gap: 6px; font-size: 14px; color: var(--grey); }
.tk__field em { font-style: normal; color: var(--soft); margin-left: 4px; }
.tk__field input { all: unset; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid #dcd9d2; border-radius: var(--r-sm); background: var(--field); font-size: 16px; color: var(--ink); transition: border-color .2s ease; }
.tk__field input::placeholder, .tk__field textarea::placeholder { color: #a9a7a1; }
.tk__field input:focus, .tk__field textarea:focus { border-color: var(--ink); }
.tk__field--wide { grid-column: 1 / -1; }
.tk__field textarea { all: unset; box-sizing: border-box; display: block; width: 100%; min-height: 62px; padding: 10px 14px; border: 1px solid #dcd9d2; border-radius: var(--r-sm); background: var(--field);
  font-size: 16px; line-height: 1.4; color: var(--ink); white-space: pre-wrap; resize: vertical; transition: border-color .2s ease; }

/* step 2: calendar with month tabs, then the day's time */
.tk__cal { padding: 18px 24px 18px 28px; border-right: 1px solid var(--line); }
.tk__months { display: flex; gap: 4px; margin-bottom: 12px; }
.tk__mo { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 8px; font-size: 16px; letter-spacing: -.01em; color: var(--grey); }
.tk__mo[aria-pressed="true"] { background: var(--wash); color: var(--ink); }
@media (hover: hover) { .tk__mo:hover { color: var(--ink); } }
.tk__mo:focus-visible { outline: 1px solid var(--ink); }
.tk__dow, .tk__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tk__dow { margin-bottom: 4px; font-size: 13px; color: var(--grey); text-align: center; }
.tk__d { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 100%; max-width: 40px; height: 38px; justify-self: center; border-radius: 50%; font-size: 15px; font-variant-numeric: tabular-nums; color: #bdbab3; }
.tk__d:not(:disabled) { color: var(--ink); border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
@media (hover: hover) { .tk__d:not(:disabled):hover { border-color: var(--ink); } }
.tk__d[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tk__d:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.tk__times { padding: 18px 28px 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.tk__times-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk__day { margin: 0; font-size: 18px; letter-spacing: -.015em; }
.tk__seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tk__seg button { all: unset; cursor: pointer; padding: 5px 11px; border-radius: 7px; font-size: 14px; color: var(--grey); }
.tk__seg button[aria-pressed="true"] { background: var(--wash); color: var(--ink); }
.tk__seg button:focus-visible { outline: 1px solid var(--ink); }
.tk__slots { display: grid; gap: 8px; }
.tk__slot { all: unset; box-sizing: border-box; display: grid; place-items: center; height: 50px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 16px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
@media (hover: hover) { .tk__slot:hover { border-color: var(--ink); } }
.tk__slot[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tk__slot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tk__empty, .tk__fine { margin: 0; font-size: 14px; line-height: 1.45; color: var(--grey); }
.tk__fine { margin-top: auto; }

/* foot: back / continue */
.tk__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 28px 22px; border-top: 1px solid var(--line); }
.tk__card[data-step="1"] .tk__foot { border-top: 0; padding-top: 14px; }
.tk__err { flex: 1 1 auto; margin: 0; font-size: 14px; color: #a2361f; text-align: right; min-height: 1.2em; }
.tk__btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-size: 16px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background .2s ease, border-color .2s ease, opacity .2s ease; }
.tk__btn--ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); }
@media (hover: hover) { .tk__btn--ghost:hover { border-color: var(--ink); } }
.tk__btn--ghost[hidden] { display: none; }
.tk__btn--go { background: var(--ink); color: #fff; margin-left: auto; }
@media (hover: hover) { .tk__btn--go:not(:disabled):hover { background: #3b3b39; } }
.tk__btn--go:disabled { opacity: .35; cursor: default; }
.tk__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Request this time: the button folds into the Boop mark at once, as the newsletter's does, and
   breathes while the request runs, so the wait reads as motion, not a grey "Sending" button.
   JS pins the button's width first so the fold can animate from it. */
.tk__btn--go { position: relative; overflow: hidden; --ease: cubic-bezier(.65,0,.35,1);
  transition: background .2s ease, opacity .2s ease, width .6s var(--ease), padding .6s var(--ease), border-radius .6s var(--ease); }
#tk-go-t { display: inline-block; transition: opacity .2s ease, transform .35s var(--ease); }
.tk__mark { position: absolute; inset: 0; pointer-events: none; }
.tk__bar { position: absolute; left: 35%; width: 30%; height: 14%; border-radius: 999px; background: var(--card);
  transform: scaleX(0); transform-origin: left center; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.tk__bar--1 { top: 28%; }
.tk__bar--2 { top: 58%; }
.tk__bite { position: absolute; right: -11%; top: 39%; width: 22%; height: 22%; border-radius: 50%; background: var(--card);
  transform: scale(0); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.tk__btn--go::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.tk__card.is-sending .tk__btn--go { width: 48px !important; flex: none; padding: 0; border-radius: 10px; opacity: 1; cursor: default; background: var(--ink); }
.tk__card.is-sending #tk-go-t { opacity: 0; transform: translateY(-6px); }
.tk__card.is-sending .tk__bar { transform: none; transition-delay: .4s; }
.tk__card.is-sending .tk__bar--2 { transition-delay: .48s; }
.tk__card.is-sending .tk__bite { transform: none; transition-delay: .55s; }
.tk__card.is-sending .tk__mark { animation: tkNod .7s cubic-bezier(.22,1,.36,1) .4s both; }
.tk__card.is-sending .tk__btn--go::after { animation: tkBreath 1.2s ease-in-out 1.1s infinite; }
.tk__card.is-sending .tk__btn--ghost { opacity: 0; pointer-events: none; }
@keyframes tkNod { 0% { transform: none; } 40% { transform: rotate(-5deg) scale(1.06); } 100% { transform: none; } }
@keyframes tkBreath { 50% { opacity: .12; } }

/* sent */
.tk__done { display: none; padding: 26px 28px 30px; justify-items: start; gap: 18px; }
.tk__done p { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.45; color: var(--grey); }
.tk__card.is-done .tk__body, .tk__card.is-done .tk__foot, .tk__card.is-done .tk__chips { display: none !important; }
.tk__card.is-done .tk__done { display: grid; animation: tkIn .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes tkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tk__else { margin: 0; font-size: 15px; color: var(--grey); text-align: center; }
.tk__else a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.tk-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 24px max(16px, 3.9vw) 32px; font-size: 14px; color: var(--grey); font-family: "Boop Roobert", Roobert, ui-sans-serif, system-ui, sans-serif; }
.tk-foot__links { display: flex; gap: 20px; }
.tk-foot a { color: var(--grey); }
.tk-foot a:hover { color: var(--ink); }

/* phones: one column, still short */
@media (prefers-reduced-motion: reduce) {
  .tk__btn--go, #tk-go-t, .tk__bar, .tk__bite { transition-duration: .01s !important; transition-delay: 0s !important; }
  .tk__card.is-sending .tk__mark, .tk__card.is-sending .tk__btn--go::after, .tk__card.is-done .tk__done { animation: none; }
}
@media (max-width: 640px) {
  .tk { justify-content: flex-start; }
  .tk__head { padding: 18px 18px; }
  .tk__body { padding: 16px 18px 2px; }
  .tk__fields { grid-template-columns: 1fr; gap: 10px; }
  .tk__field input { height: 44px; }
  .tk__card[data-step="2"] .tk__step2 { grid-template-columns: 1fr; }
  .tk__cal { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .tk__d { height: 36px; }
  .tk__times { padding: 14px 18px; gap: 10px; }
  .tk__fine { margin-top: 0; }
  .tk__foot { padding: 12px 18px 16px; flex-wrap: wrap; }
  .tk__err { order: -1; flex-basis: 100%; text-align: left; }
  .tk__btn--go { flex: 1 1 auto; }
}
