/* ==========================================================================
   Page: Book a demo (site/book-a-demo.html)
   Focused header, intro left, 3-step booking form right.

   Shared form layout: components/form-page.css.
   ========================================================================== */

/* ==========================================================================
   Book a demo – page specific
   ========================================================================== */

/* Intro: what to expect ------------------------------------------------------ */
.expect__title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline-strong);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: var(--tracking-label);
}

.expect__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.expect__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.expect__when {
  font: 500 12px/1.5 var(--font-mono);
  color: var(--machine-ink);
}

.expect__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expect__step {
  font: 600 16px/1.3 var(--font-sans);
}

.expect__desc {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--ink-2);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 400 12px/1.4 var(--font-mono);
  color: var(--ink-2);
}

.demo-quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.demo-quote__text {
  font: 400 21px/1.4 var(--font-serif);
}

.demo-quote__author {
  font: 400 14px/1.3 var(--font-sans);
  color: var(--ink-2);
}

/* Form card ------------------------------------------------------------------ */
.demo-page .form-page__title {
  text-wrap: balance;
}

.demo-form {
  overflow: hidden;
}

/* Progress: one bar per step, filled up to the current step */
.form-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--hairline);
}

.form-progress__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px;
  font: 500 11px/1 var(--font-mono);
  color: var(--ink-3);
}

.form-progress__step::before {
  content: "";
  height: 3px;
  border-radius: 2px;
  background: var(--surface-sunken);
}

.form-progress__step.is-reached {
  color: var(--ink);
}

.form-progress__step.is-reached::before {
  background: var(--ink);
}

.demo-step--choose {
  gap: 24px;
}

/* Selectable options: pills, size radios, days, slots.
   Selected = ink border + lime background. */
.choice,
.size-option,
.day-option,
.slot-option {
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
}

.choice[aria-pressed="true"],
.size-option[aria-checked="true"],
.day-option[aria-pressed="true"],
.slot-option[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--action);
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font: 500 15px/1 var(--font-sans);
}

.choice[aria-pressed="true"]::before {
  content: "✓ ";
}

.size-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.size-option {
  height: 52px;
  border-radius: var(--radius-control);
  font: 500 16px/1 var(--font-mono);
}

/* Shown for teams under 10 */
.self-serve-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-control);
  background: var(--machine-tint);
}

.self-serve-note__title {
  font: 600 15px/1.4 var(--font-sans);
}

.self-serve-note__text {
  font: 400 15px/1.5 var(--font-sans);
}

.self-serve-note__cta {
  align-self: flex-start;
}

/* Step 3: time picker */
.slot-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.slot-head__tz {
  font: 400 12px/1 var(--font-mono);
  color: var(--ink-2);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.day-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  border-radius: var(--radius-control);
}

.day-option__dow {
  font: 500 11px/1 var(--font-mono);
  color: var(--ink-2);
}

.day-option__num {
  font: 500 18px/1 var(--font-sans);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
}

.slot-option {
  height: 44px;
  border-radius: var(--radius-control);
  font: 500 15px/1 var(--font-mono);
}

/* Booked -------------------------------------------------------------------- */
.demo-done {
  gap: 20px;
  padding: 32px;
}

.demo-done__title {
  font-size: 36px;
  line-height: 1.15;
}

.demo-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font: 500 14px/1 var(--font-sans);
}

