/* =========================================================
   FUNNEL PAGES: Step 2 (book.html) and Step 3 (booked.html)
   Loaded only on those two pages, after styles.css, so the main page is untouched.
   Reuses the site's tokens, type scale, dark panel and reveal animation.
   ========================================================= */

.tag--accent { color: var(--royal); }

/* Dark rounded panel: same look as the Systems in action panel; data-corners animates the radius on scroll */
.funnel-panel { background: var(--deep); color: var(--cream); border-radius: 80px; padding-block: var(--section-y); overflow: clip; }
.funnel-panel .display em { color: var(--yellow); }
.funnel-panel .lead { color: var(--on-dark-70); }

/* ---------- Page intro (both steps) ---------- */
.funnel-hero { padding-top: clamp(7.5rem, 13vw, 10rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.funnel-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem;
  padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--cream-3);
}
.funnel-hero__copy { display: grid; gap: 1.25rem; max-width: 52rem; }
.funnel-hero__aside { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-70); max-width: 38rem; }
.funnel-hero__meta { white-space: nowrap; }

/* ---------- Step 2: calendar ---------- */
.schedule { padding-bottom: var(--section-y); }
.schedule__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .75rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.schedule__head .display { text-align: right; }
.schedule__kicker { color: var(--royal); }

/* No box, no fixed height: the Cal.com booker is its own card and grows to fit its content */
.schedule__frame { position: relative; min-height: 32rem; transition: min-height .4s var(--ease-std); }
.schedule__frame.is-ready { min-height: 0; }
.schedule__cal { position: relative; z-index: 1; width: 100%; }
.schedule__cal iframe { display: block; width: 100%; }
.schedule__fallback { margin-top: 1.25rem; text-align: center; font-size: .9375rem; color: var(--ink-70); }
.schedule__fallback a { color: var(--royal); text-underline-offset: .2em; }

/* ---------- Step 2: what happens on the call ---------- */
.call-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 3rem clamp(3rem, 7vw, 6rem); }
.call-grid__copy { display: grid; gap: 1.25rem; }
.call-steps { border-top: 1px solid var(--on-dark-15); }
.call-steps li {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-block: 1.3rem; border-bottom: 1px solid var(--on-dark-15);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}
.call-steps__n { flex: none; min-width: 2rem; font-family: var(--font-display); font-style: italic; color: var(--yellow); }

/* ---------- Step 2: take note ---------- */
.note__inner { display: grid; justify-items: center; text-align: center; gap: 1.5rem; max-width: 64rem; }
.note__text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance;
}
.note__text em { font-style: italic; color: var(--yellow); }
.note__tag { color: var(--ink-70); }

/* ---------- Step 3: you're booked ---------- */
.booked__title { font-size: clamp(3.75rem, 11vw, 8.5rem); line-height: .95; margin-top: 1rem; }
.booked__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 3rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.booked__copy { display: grid; gap: 1rem; max-width: 38rem; padding-left: clamp(0rem, 8vw, 7.5rem); }
.booked__aside { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.5; color: var(--ink-70); }
.booked__inbox { text-align: right; }

/* ---------- Step 3: what to prepare ---------- */
.prepare-head { display: grid; grid-template-columns: 13rem minmax(0, 1fr); align-items: start; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.prepare-head .tag { padding-top: 1.1rem; }
.prepare-head__copy { display: grid; gap: 1rem; }
.prepare-list { border-top: 1px solid var(--on-dark-15); }
.prepare-list li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; gap: .4rem 1.5rem;
  padding-block: 1.4rem; border-bottom: 1px solid var(--on-dark-15);
}
.prepare-list__n { font-family: var(--font-display); font-style: italic; color: var(--yellow); }
.prepare-list__title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; }
.prepare-list__text { color: var(--on-dark-70); }

/* ---------- Step 3: until then ---------- */
.until__inner { display: grid; justify-items: center; text-align: center; gap: 1.1rem; }
.until__kicker { justify-self: start; }
.until__lead { font-style: italic; color: var(--ink-70); margin-top: .5rem; }
.until__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .75rem; }
.until__links a { text-decoration: underline; text-decoration-color: var(--cream-3); text-underline-offset: .25em; transition: text-decoration-color .2s; }
.until__links a:hover, .until__links a:focus-visible { text-decoration-color: currentColor; }
.until__title { margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .call-grid { grid-template-columns: 1fr; }
  .prepare-head { grid-template-columns: 1fr; }
  .prepare-head .tag { padding-top: 0; }
}
@media (max-width: 767px) {
  .funnel-panel { border-radius: 2.5rem; }
  .funnel-hero__grid, .schedule__head, .booked__row { grid-template-columns: 1fr; }
  .schedule__head .display { text-align: left; }
  .booked__copy { padding-left: 0; }
  .booked__inbox { text-align: left; }
  .prepare-list li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .prepare-list__text { grid-column: 2; }
  .until__kicker { justify-self: center; }
  /* Give the booker the full screen width on phones */
  .schedule .container { padding-inline: .5rem; }
  .schedule__head, .schedule__fallback { padding-inline: calc(var(--gutter) - .5rem); }
}
