.booking-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(126,156,255,.15), transparent 30rem),
    radial-gradient(circle at 90% 75%, rgba(114,241,184,.08), transparent 32rem),
    var(--bg);
}

.booking-page [hidden] { display: none !important; }

.booking-nav { height: 72px; }
.booking-back { color: var(--muted); font-size: 13px; transition: color .2s; }
.booking-back:hover { color: var(--text); }

.booking-shell {
  width: min(calc(100% - 40px), 1180px);
  margin: auto;
  padding: 56px 0 64px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  grid-template-rows: auto auto;
  column-gap: 68px;
  row-gap: 0;
  align-items: start;
}

.booking-intro {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-top: 10px;
}

.booking-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.06em;
}

.booking-intro h1 span { color: var(--muted); }
.booking-lede { max-width: 520px; color: #b3bdca; font-size: 16px; }

/* Momo analysis console — animated booking pipeline */
.momo-console {
  margin: 26px 0 0;
  padding: 0;
}

.momo-console-head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.momo-console-head > div { min-width: 0; display: flex; flex-direction: column; }
.momo-console-head strong { font-size: 13px; letter-spacing: -.01em; }
.momo-console-head small { color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .09em; }
.momo-console .momo-avatar { width: 38px; height: 38px; border-radius: 10px; }

.momo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.momo-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: momo-pulse 2s ease-in-out infinite;
}
@keyframes momo-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(114,241,184,.45); }
  50% { opacity: .65; box-shadow: 0 0 0 5px rgba(114,241,184,0); }
}

.momo-console-lede {
  margin: 15px 0 4px;
  color: #9da8b7;
  font-size: 12px;
  line-height: 1.65;
}

/* Steps — revealed in sequence so the panel reads as work being done. */
.momo-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.momo-step {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  opacity: 0;
  transform: translateY(6px);
  animation: momo-step-in .5s ease forwards;
}
.momo-step[data-step="1"] { animation-delay: .15s; }
.momo-step[data-step="2"] { animation-delay: .75s; }
.momo-step[data-step="3"] { animation-delay: 1.35s; }
.momo-step[data-step="4"] { animation-delay: 1.95s; }

@keyframes momo-step-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Connecting rail between the dots. */
.momo-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10px;
  width: 1px;
  height: calc(100% - 10px);
  background: var(--line);
}

.momo-step-dot {
  position: relative;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
}
.momo-step-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  animation: momo-scan 2.4s ease-in-out infinite;
}
.momo-step[data-step="1"] .momo-step-dot::after { animation-delay: 0s; }
.momo-step[data-step="2"] .momo-step-dot::after { animation-delay: .6s; }
.momo-step[data-step="3"] .momo-step-dot::after { animation-delay: 1.2s; }
.momo-step[data-step="4"] .momo-step-dot::after { animation-delay: 1.8s; }

@keyframes momo-scan {
  0%, 70%, 100% { opacity: .22; transform: scale(1); }
  12%, 30% { opacity: 1; transform: scale(1.35); box-shadow: 0 0 0 3px rgba(114,241,184,.12); }
}

.momo-step > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.momo-step strong { color: #dbe1ea; font-size: 12px; font-weight: 650; }
.momo-step code {
  align-self: flex-start;
  padding: 2px 6px;
  color: #a9b8ff;
  background: rgba(126,156,255,.09);
  border: 1px solid rgba(126,156,255,.14);
  border-radius: 4px;
  font-size: 9.5px;
}

.momo-console-status {
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font: 10.5px ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .momo-step { opacity: 1; transform: none; animation: none; }
  .momo-step-dot::after { animation: none; opacity: .9; }
  .momo-live i { animation: none; }
}

.scheduler {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 650px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(22,27,37,.98), rgba(13,16,22,.98));
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}

.scheduler-head, .form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.step-label {
  margin-bottom: 7px;
  color: var(--accent);
  font: 700 10px ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scheduler h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.duration {
  padding: 8px 11px;
  color: #b9c3d1;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
}
.duration span { color: var(--accent); margin-right: 4px; }

.timezone-field { display: block; margin: 27px 0 24px; }
.timezone-field > span, .form-grid label > span, .goal-field > span {
  display: block;
  margin-bottom: 7px;
  color: #aab4c2;
  font-size: 11px;
}

.timezone-field select, .form-grid input, .form-grid select, .goal-field textarea {
  width: 100%;
  color: var(--text);
  background: #0b0e14;
  border: 1px solid #303846;
  border-radius: 8px;
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}

.timezone-field select, .form-grid input, .form-grid select { height: 46px; padding: 0 13px; }
.goal-field textarea { padding: 12px 13px; resize: vertical; }

/* Timezone picker — native select, custom chevron. The option list itself is
   drawn by the OS, so we only control the closed state and the colours. */
.timezone-field select, .form-grid select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8b96a6 50%),
    linear-gradient(135deg, #8b96a6 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.timezone-field select:hover, .form-grid select:hover { border-color: #3f4959; }
.timezone-field select option, .form-grid select option {
  background: #10141b;
  color: var(--text);
}
.timezone-field select:focus, .form-grid input:focus, .form-grid select:focus, .goal-field textarea:focus {
  border-color: rgba(114,241,184,.65);
  box-shadow: 0 0 0 3px rgba(114,241,184,.07);
}

.availability-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: var(--muted);
  text-align: center;
}
.availability-state p { margin: 0; font-size: 13px; }
.availability-state .button { margin-top: 5px; }
.loader {
  width: 28px;
  height: 28px;
  border: 2px solid #313947;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: booking-spin .8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }

.date-list {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 20px;
  overflow-x: auto;
}

.date-button, .time-button {
  color: #bcc5d2;
  background: #0c0f15;
  border: 1px solid #303846;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.date-button {
  min-width: 104px;
  min-height: 66px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  text-align: center;
}
.date-button strong { font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.date-button small {
  color: #737f8f;
  font-size: 9px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.date-button small.spans-dates { color: #8d99a9; }
.date-button.active small { color: rgba(7,17,12,.7); }
.date-button.active small.spans-dates { color: rgba(7,17,12,.78); }
.date-button:hover, .time-button:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.date-button.active, .time-button.active {
  color: #07110c;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 750;
}

.time-heading {
  margin: 2px 0 12px;
  color: var(--muted);
  font: 10px ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-button { min-height: 44px; padding: 8px; font-size: 12px; }

#booking-form { margin-top: 0; }
.selected-time {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px 16px;
  color: #d8dee8;
  border: 1px solid rgba(114,241,184,.28);
  border-radius: 9px;
  background: rgba(114,241,184,.055);
}
.selected-time span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.selected-time strong { grid-column: 1; font-size: 13px; }
.selected-time button {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 700 11px inherit;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 23px; }
.goal-field { display: block; margin-top: 15px; }
.website-field { position: absolute !important; left: -10000px !important; }
.consent-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: #96a2b2;
  font-size: 11px;
}
.consent-field input { margin-top: 3px; accent-color: var(--accent); }
.booking-submit { width: 100%; border: 0; cursor: pointer; }
.booking-submit[disabled] { opacity: .65; cursor: wait; transform: none; }
.booking-privacy { margin: 10px 0 0; color: #687386; font-size: 9px; text-align: center; }
.form-error { padding: 10px 12px; color: #ff9c9c; background: rgba(255,80,80,.08); border: 1px solid rgba(255,80,80,.2); border-radius: 7px; font-size: 11px; }

.booking-success { min-height: 580px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  color: #07110c;
  background: var(--accent);
  border-radius: 50%;
  font-size: 24px;
}
.booking-success h2 { font-size: 44px; }
.booking-success > p:not(.eyebrow) { max-width: 440px; color: var(--muted); }
.success-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 25px 0;
  padding: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.success-details span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.success-details strong { margin-top: 4px; font-size: 14px; }
.success-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.booking-home-link { margin-top: 25px; color: #aab4c2; font-size: 11px; }

/* How-it-works row — spans the full shell width beneath the scheduler. */
.booking-steps {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 62px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.booking-steps-head { margin-bottom: 26px; }
.booking-steps-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -.035em;
  font-weight: 720;
}

.booking-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.booking-steps-grid li {
  position: relative;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}
.booking-steps-grid li:first-child { padding-left: 0; border-left: 0; }

/* Progress rule that fills on hover, in place of a card border. */
.booking-steps-grid li::after {
  content: "";
  position: absolute;
  top: -39px;
  left: -1px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .35s ease;
}
.booking-steps-grid li:hover::after { width: 100%; }

.booking-step-num {
  display: block;
  margin-bottom: 13px;
  color: var(--accent);
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.booking-steps-grid h3 {
  margin: 0 0 8px;
  color: #e6ebf2;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.booking-steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .booking-steps-grid li::after { transition: none; }
}

.booking-footer {
  width: min(calc(100% - 40px), 1180px);
  height: 74px;
  margin: auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 920px) {
  .booking-shell { grid-template-columns: 1fr; row-gap: 40px; }
  .booking-intro, .scheduler, .booking-steps { grid-column: 1; }
  .booking-intro { grid-row: 1; }
  .scheduler { grid-row: 2; }
  .booking-steps { grid-row: 3; margin-top: 8px; padding-top: 32px; }
  .booking-steps-grid { grid-template-columns: 1fr; }
  .booking-steps-grid li {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .booking-steps-grid li:first-child { padding-top: 0; border-top: 0; }
  .booking-steps-grid li::after { display: none; }
}

@media (max-width: 620px) {
  .booking-shell { width: min(calc(100% - 24px), 1180px); padding: 38px 0 55px; }
  .booking-intro h1 { font-size: 45px; }
  .booking-lede { font-size: 14px; }
  .momo-console { margin: 23px 0 26px; padding: 16px 14px; }
  .booking-intro, .scheduler { width: 100%; overflow: hidden; }
  .momo-console-status { white-space: normal; overflow-wrap: anywhere; }
  .scheduler { min-height: 600px; padding: 22px; border-radius: 14px; }
  .date-list { grid-template-columns: repeat(10, 104px); }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .success-actions { grid-template-columns: 1fr; }
  .booking-footer { width: min(calc(100% - 28px), 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; }
}
