/* Diagnosis: a restrained visual stop before the kinetic buyer journey. */
.quiz-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
}

.quiz-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 34%;
  background: rgba(255, 90, 0, 0.035);
  transform: skewX(-12deg);
  animation: diagnosisSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.diagnosis-motion-band {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -6%;
  left: -6%;
  height: clamp(210px, 21vw, 292px);
  overflow: hidden;
  border-block: 1px solid rgba(11, 13, 18, 0.22);
  background: var(--amber);
  transform: translateY(-50%) rotate(-1.5deg);
  pointer-events: none;
}

.diagnosis-band-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--display-font);
  font-size: clamp(3rem, 6.2vw, 7.2rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  animation: diagnosisBandMove 20s linear infinite alternate;
}

.diagnosis-band-track i {
  width: clamp(8px, 0.8vw, 13px);
  height: clamp(8px, 0.8vw, 13px);
  flex: 0 0 auto;
  background: rgba(11, 13, 18, 0.42);
  transform: rotate(45deg);
}

@keyframes diagnosisBandMove {
  from { transform: translate3d(-8%, 0, 0); }
  to { transform: translate3d(-30%, 0, 0); }
}

.quiz-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px;
  border: 1px solid rgba(255, 90, 0, 0.22);
  pointer-events: none;
}

.quiz-section .quiz-shell {
  z-index: 1;
  max-width: 1040px;
  min-height: 560px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 14px 14px 0 rgba(11, 13, 18, 0.18);
}

.quiz-section .quiz-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 28%;
  height: 5px;
  background: var(--amber);
  animation: diagnosisLine 5.5s ease-in-out infinite alternate;
}

.quiz-section .quiz-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(42px, 7vw, 106px);
  background: var(--amber);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%, 0 64%, 36% 64%);
  transform: translateX(100%);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 240ms;
}

.quiz-section.is-visible .quiz-shell::after {
  transform: translateX(0);
}

.quiz-section .quiz-screen {
  position: relative;
  z-index: 1;
}

.quiz-section .quiz-intro h2 {
  max-width: 780px;
  font-size: clamp(3.2rem, 5.6vw, 5.8rem);
  line-height: 0.96;
}

.quiz-section .quiz-screen > p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.58;
}

@keyframes diagnosisSweep {
  to { left: 88%; }
}

@keyframes diagnosisLine {
  to { width: 72%; }
}

.quiz-section .quiz-question {
  align-content: start;
}

.quiz-section .quiz-context h3 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.quiz-section .quiz-context label {
  max-width: 760px;
  color: #4f4944;
}

.quiz-section .quiz-context input {
  border: 1px solid rgba(11, 13, 18, 0.22);
  border-radius: 4px;
  background: #fff;
  padding: 15px 16px;
  color: var(--ink);
}

.quiz-section .quiz-context input:focus {
  border-color: var(--amber);
  outline: 3px solid rgba(255, 90, 0, 0.16);
}

.quiz-section .quiz-context input::placeholder {
  color: rgba(11, 13, 18, 0.4);
}

.quiz-section .privacy-line {
  max-width: 760px;
  color: #6d6862 !important;
  font-size: 0.78rem;
}

.quiz-section .quiz-question h3 {
  max-width: 830px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.04;
}

.quiz-section .quiz-progress {
  gap: 7px;
}

.quiz-section .quiz-progress span {
  width: clamp(24px, 4vw, 44px);
  height: 5px;
  background: rgba(11, 13, 18, 0.14);
}

.quiz-section .ai-reply {
  position: relative;
  max-width: 820px;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(11, 13, 18, 0.18);
  border-left: 4px solid var(--amber);
  background: #fff6ef;
  padding: 34px 22px 18px;
  color: #39342f;
  font-size: 0.96rem;
  line-height: 1.55;
}

.quiz-section .ai-reply::before {
  content: "WHAT THAT TELLS ME";
  position: absolute;
  top: 11px;
  left: 22px;
  color: var(--amber-deep);
  font-family: var(--mono-font);
  font-size: 0.61rem;
  font-weight: 700;
}

.quiz-section .answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-section .answer-grid button {
  display: grid;
  min-height: 68px;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(11, 13, 18, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  padding: 13px 15px;
  color: var(--ink);
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-section .answer-grid button > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 90, 0, 0.48);
  color: var(--amber-deep);
  font-family: var(--mono-font);
  font-size: 0.61rem;
  font-weight: 700;
}

.quiz-section .answer-grid button > strong {
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.34;
}

.quiz-section .answer-grid button:hover,
.quiz-section .answer-grid button:focus-visible {
  border-color: var(--amber);
  background: #fff6ef;
  transform: translateY(-2px);
}

.quiz-section .answer-grid button:focus-visible,
.diagnosis-map-cta:focus-visible {
  outline: 3px solid rgba(255, 90, 0, 0.38);
  outline-offset: 3px;
}

.quiz-section .answer-grid button:disabled {
  cursor: wait;
  opacity: 0.56;
  transform: none;
}

.quiz-section .quiz-final {
  align-content: start;
}

.quiz-section .quiz-final > h2 {
  max-width: 790px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.75rem, 5vw, 5.2rem);
  line-height: 0.96;
}

.quiz-verdict {
  display: grid;
  max-width: 880px;
  grid-template-columns: minmax(0, 1.32fr) minmax(250px, 0.68fr);
  border: 1px solid rgba(11, 13, 18, 0.2);
  background: #fff;
}

.quiz-verdict-main,
.quiz-verdict-side {
  padding: clamp(22px, 3vw, 34px);
}

.quiz-verdict-level,
.quiz-verdict-side > span {
  color: var(--amber-deep);
  font-family: var(--mono-font);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quiz-verdict-main h3 {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.8vw, 2.85rem);
  line-height: 1.04;
}

.quiz-verdict-main p {
  margin: 0;
  color: #56514c;
  font-size: 0.98rem;
  line-height: 1.58;
}

.quiz-verdict-side {
  border-left: 1px solid rgba(11, 13, 18, 0.16);
  background: #f4f2ee;
}

.quiz-verdict-side ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.quiz-verdict-side li {
  position: relative;
  padding-left: 17px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.quiz-verdict-side li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--amber);
}

.quiz-verdict-side strong {
  display: block;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 13, 18, 0.16);
  color: #4f4944;
  font-size: 0.83rem;
  line-height: 1.5;
}

.diagnosis-map-cta {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: auto auto;
  grid-template-areas:
    "meta meta"
    "title detail";
  gap: 4px 30px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-left: 5px solid var(--amber);
  border-radius: 4px;
  background: var(--ink);
  padding: 14px 18px;
  color: #fff;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.diagnosis-map-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.diagnosis-map-cta > span {
  grid-area: meta;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diagnosis-map-cta > strong {
  grid-area: title;
  font-size: 0.96rem;
}

.diagnosis-map-cta > i {
  grid-area: detail;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-style: normal;
}

.diagnosis-map-cta b {
  display: inline-block;
  margin-left: 6px;
  color: var(--amber);
  animation: diagnosisArrowNudge 2.4s ease-in-out infinite;
}

.diagnosis-map-cta:hover,
.diagnosis-map-cta:focus-visible {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.diagnosis-map-cta:hover::after,
.diagnosis-map-cta:focus-visible::after {
  transform: scaleX(1);
}

@keyframes diagnosisArrowNudge {
  0%, 72%, 100% { transform: translateX(0); }
  84% { transform: translateX(5px); }
}

/* Booking: focused copy beside a real, stable Cal.com surface. */
.booking-section {
  overflow: hidden;
  padding-block: clamp(88px, 8vw, 118px);
}

.booking-section .booking-grid {
  width: 100%;
  max-width: 1320px;
  grid-template-columns: minmax(390px, 0.84fr) minmax(600px, 1.16fr);
  gap: clamp(54px, 5vw, 76px);
  align-items: start;
}

.booking-copy {
  max-width: 560px;
  padding-top: clamp(10px, 1.3vw, 20px);
}

.booking-copy h2 {
  max-width: 550px;
  font-size: clamp(2.65rem, 3.25vw, 3.6rem);
  line-height: 1.11;
}

.booking-grid .booking-body {
  max-width: 540px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.6;
}

.booking-grid .booking-microcopy {
  max-width: 500px;
  margin-top: 28px;
  padding: 18px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 700;
}

.booking-grid .booking-scarcity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--mono-font);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.booking-scarcity > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.4);
}

.booking-section.is-visible .booking-scarcity > span {
  animation: bookingStatus 1.5s ease-out 1;
}

@keyframes bookingStatus {
  50% { box-shadow: 0 0 0 8px rgba(255, 90, 0, 0); }
}

.booking-section .cal-shell-live {
  display: block;
  width: 100%;
  min-height: 660px;
  height: 660px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 0, 0.8);
  border-radius: 6px;
  background: #171717;
  box-shadow: 12px 12px 0 rgba(255, 90, 0, 0.2);
}

#my-cal-inline-discovery {
  min-height: 660px;
  height: 660px !important;
  overflow: auto !important;
  background: #171717;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) transparent;
}

#my-cal-inline-discovery iframe {
  display: block;
  width: 100% !important;
  min-height: 660px !important;
  height: 660px !important;
  border: 0 !important;
}

/* Scroll-only return control: a quiet route back to the VSL. */
.scroll-return {
  position: fixed;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  z-index: 94;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(11, 13, 18, 0.22);
  background: rgba(248, 248, 246, 0.82);
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  backdrop-filter: blur(8px);
  transition:
    opacity 180ms ease,
    visibility 0s linear 220ms,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms ease;
}

.scroll-return.is-visible {
  opacity: 0.72;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.scroll-return-copy {
  color: var(--ink);
  font-family: var(--mono-font);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-return:hover,
.scroll-return:focus-visible {
  border-color: var(--amber);
  opacity: 1;
  background: rgba(248, 248, 246, 0.96);
}

/* Closing scene: an orange, kinetic build signal replacing the old FAQ. */
.build-close {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: clamp(84px, 8vw, 118px) 24px 0;
  border-block: 1px solid var(--line);
  color: var(--ink);
}

.build-close > * {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.build-close-signals {
  display: flex;
  width: min(520px, 74vw);
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.build-close-signals span {
  width: 7px;
  height: 7px;
  background: var(--amber);
  opacity: 0.22;
  transform: rotate(45deg);
  animation: buildSignal 2.4s ease-in-out infinite;
}

.build-close-signals span:nth-child(2),
.build-close-signals span:nth-child(6) { animation-delay: 160ms; }
.build-close-signals span:nth-child(3),
.build-close-signals span:nth-child(5) { animation-delay: 320ms; }

.build-close-signals b {
  width: 74px;
  height: 1px;
  margin-inline: 10px;
  background: var(--ink);
  opacity: 0.28;
}

@keyframes buildSignal {
  50% { opacity: 1; transform: translateY(-4px) rotate(45deg); }
}

.build-close-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.build-close-copy .eyebrow {
  margin-inline: auto;
}

.build-close-copy h2 {
  max-width: 1320px;
  margin: 26px auto 0;
  font-size: clamp(4.2rem, 7.4vw, 8.5rem);
  line-height: 0.88;
  text-wrap: balance;
}

.build-close-copy > p:last-child {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.build-close-stage {
  position: relative;
  z-index: 1;
  display: block;
  height: 280px;
  margin-top: 44px;
}

.build-close-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 47%;
  left: 11%;
  width: 76%;
  border-top: 1px solid rgba(11, 13, 18, 0.46);
  transform: rotate(-4deg);
}

.build-close-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 54%;
  width: 18%;
  height: 58%;
  border: 1px solid rgba(255, 90, 0, 0.58);
  transform: rotate(5deg);
}

.build-steps {
  position: absolute;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: end;
  gap: 8px;
  padding-inline: 8px;
}

.build-steps-left {
  bottom: 0;
  left: 0;
  width: 64%;
}

.build-steps-right {
  right: 0;
  bottom: 0;
  width: 47%;
  height: 86%;
  flex-direction: row;
}

.build-steps i {
  position: relative;
  display: block;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 0, 0.74);
  background: rgba(255, 90, 0, 0.08);
  box-shadow: inset 0 5px 0 var(--amber);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.build-steps i::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 76%;
  background: var(--amber);
  opacity: 0.92;
  transform: translateY(104%);
  transition: transform 1050ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: inherit;
}

.build-steps i::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.build-close.is-visible .build-steps i {
  transform: scaleY(1);
}

.build-close.is-visible .build-steps i::before {
  transform: translateY(0);
}

.build-steps i:nth-child(1) { height: 42%; transition-delay: 60ms; }
.build-steps i:nth-child(2) { height: 62%; transition-delay: 130ms; }
.build-steps i:nth-child(3) { height: 82%; transition-delay: 200ms; }
.build-steps i:nth-child(4) { height: 100%; transition-delay: 270ms; }

.build-steps-left i:nth-child(1) { flex: 0.72; height: 34%; }
.build-steps-left i:nth-child(2) { flex: 1.25; height: 68%; }
.build-steps-left i:nth-child(3) { flex: 0.86; height: 96%; }
.build-steps-left i:nth-child(4) { flex: 1.48; height: 51%; }

.build-steps-right i:nth-child(1) { flex: 1.32; height: 74%; }
.build-steps-right i:nth-child(2) { flex: 0.74; height: 38%; }
.build-steps-right i:nth-child(3) { flex: 1.08; height: 91%; }
.build-steps-right i:nth-child(4) { flex: 0.92; height: 56%; }

.build-steps-left i:nth-child(2),
.build-steps-right i:nth-child(3) {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 5px 0 var(--amber);
}

.build-steps-left i:nth-child(2)::before,
.build-steps-right i:nth-child(3)::before {
  background: rgba(255, 255, 255, 0.1);
}

.build-live-mark {
  position: absolute;
  z-index: 4;
  top: 11%;
  left: 58%;
  width: 156px;
  min-height: 156px;
  display: grid;
  place-content: center;
  border: 1px solid var(--amber);
  background: var(--ink);
  text-align: center;
  transform: rotate(2deg);
  box-shadow: 10px 10px 0 rgba(255, 90, 0, 0.24);
  animation: buildMarkFloat 3.6s ease-in-out infinite;
}

.build-live-mark::before,
.build-live-mark::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--amber);
  border-style: solid;
}

.build-live-mark::before {
  top: -7px;
  left: -7px;
  border-width: 2px 0 0 2px;
}

.build-live-mark::after {
  right: -7px;
  bottom: -7px;
  border-width: 0 2px 2px 0;
}

@keyframes buildMarkFloat {
  50% { transform: translateY(-7px) rotate(-1deg); }
}

.build-live-mark > span,
.build-live-mark > strong {
  display: block;
  text-transform: uppercase;
}

.build-live-mark > span {
  font-family: var(--mono-font);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.58);
}

.build-live-mark > strong {
  margin-top: 2px;
  color: var(--white);
  font-family: var(--display-font);
  font-size: 1.35rem;
}

.build-wave {
  display: flex;
  height: 26px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.build-wave i {
  width: 4px;
  height: 8px;
  background: var(--amber);
  animation: buildWave 1.2s ease-in-out infinite alternate;
}

.build-wave i:nth-child(2),
.build-wave i:nth-child(4) { animation-delay: 150ms; }
.build-wave i:nth-child(3) { animation-delay: 300ms; }

@keyframes buildWave {
  to { height: 25px; }
}

.build-close-labels {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 100%;
  padding: 0;
  pointer-events: none;
}

.build-close-labels span {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.build-close-labels span:first-child {
  bottom: 24px;
  left: 7%;
}

.build-close-labels span:last-child {
  right: 8%;
  bottom: 118px;
}

@media (max-width: 1100px) {
  .booking-section .booking-grid {
    grid-template-columns: 1fr;
    max-width: 980px;
    gap: 64px;
  }

  .booking-copy {
    max-width: 760px;
  }

  .build-close {
    min-height: 700px;
  }

  .build-close-stage {
    height: 250px;
  }
}

@media (max-width: 780px) {
  .quiz-section::after {
    inset: 14px;
  }

  .quiz-section .quiz-shell {
    min-height: 540px;
    box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
  }

  .quiz-section .quiz-intro h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .quiz-section .answer-grid,
  .quiz-verdict {
    grid-template-columns: 1fr;
  }

  .quiz-section .answer-grid button {
    min-height: 64px;
  }

  .quiz-section .ai-reply {
    padding-right: 16px;
    padding-left: 18px;
  }

  .quiz-section .ai-reply::before {
    left: 18px;
  }

  .quiz-verdict-side {
    border-top: 1px solid rgba(11, 13, 18, 0.16);
    border-left: 0;
  }

  .diagnosis-map-cta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "detail";
    gap: 4px;
  }

  .booking-copy h2 {
    font-size: clamp(2.68rem, 11.5vw, 3.7rem);
  }

  /* On phones the booking surface follows the promise immediately; the
     supporting explanation remains below it. */
  .booking-section .booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .booking-section .booking-copy {
    display: contents;
  }

  .booking-copy .eyebrow {
    order: 1;
    margin-bottom: 16px;
  }

  .booking-copy h2 {
    order: 2;
    margin-bottom: 32px;
  }

  .booking-section .cal-shell-live {
    order: 3;
    margin-bottom: 32px;
  }

  .booking-grid .booking-body {
    order: 4;
    margin: 0 0 20px;
  }

  .booking-grid .booking-microcopy {
    order: 5;
    margin: 0 0 20px;
  }

  .booking-grid .booking-scarcity {
    order: 6;
    margin-top: 0;
  }

  .booking-section {
    padding-block: 72px;
  }

  .booking-section .cal-shell-live,
  #my-cal-inline-discovery,
  #my-cal-inline-discovery iframe {
    min-height: 660px !important;
    height: 660px !important;
  }

  .scroll-return {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .build-close {
    min-height: 620px;
    padding: 68px 18px 0;
  }

  .build-close-copy h2 {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
    line-height: 0.92;
  }

  .build-close-copy > p:last-child {
    margin-top: 22px;
  }

  .build-close-stage {
    height: 220px;
    margin-top: 34px;
  }

  .build-steps-left {
    width: 72%;
  }

  .build-steps-right {
    width: 58%;
  }

  .build-live-mark {
    top: 16%;
    left: 54%;
    width: 104px;
    min-height: 112px;
  }

  .build-live-mark > strong {
    font-size: 1.05rem;
  }

  .build-close-labels {
    bottom: 12px;
    padding-inline: 12px;
  }

  .build-close-labels span {
    max-width: 46%;
    font-size: 0.58rem;
  }

  .build-close-labels span:first-child {
    bottom: 14px;
    left: 12px;
  }

  .build-close-labels span:last-child {
    right: 12px;
    bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-return {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-section::before,
  .quiz-section .quiz-shell::before,
  .diagnosis-band-track,
  .diagnosis-map-cta b,
  .build-close-signals span,
  .build-wave i,
  .build-live-mark {
    animation: none !important;
  }

  .build-steps i {
    transform: scaleY(1);
    transition: none;
  }
}

/* Symmetrical signal constellation: lighter and more distinctive than the block skyline. */
.build-close .build-close-stage {
  height: 300px;
}

.build-close .build-close-stage::before {
  top: 50%;
  left: 9%;
  width: 82%;
  border-color: rgba(11, 13, 18, 0.34);
  transform: none;
}

.build-close .build-close-stage::after {
  top: 50%;
  left: 50%;
  width: 192px;
  height: 192px;
  border: 1px solid rgba(255, 90, 0, 0.26);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translate(-50%, -50%);
}

.build-close .build-steps {
  top: 50%;
  bottom: auto;
  width: 34%;
  height: auto;
  align-items: center;
  gap: 14px;
  padding: 0;
  transform: translateY(-50%);
}

.build-close .build-steps-left {
  right: auto;
  left: 8%;
  justify-content: flex-end;
  transform: translate(var(--left-shift, 0px), -50%);
  transition: transform 220ms ease-out;
}

.build-close .build-steps-right {
  right: 8%;
  left: auto;
  justify-content: flex-start;
  flex-direction: row-reverse;
  transform: translate(var(--right-shift, 0px), -50%);
  transition: transform 220ms ease-out;
}

.build-close .build-steps i,
.build-close .build-steps-left i:nth-child(n),
.build-close .build-steps-right i:nth-child(n) {
  flex: 0 0 auto;
  aspect-ratio: 1;
  height: auto;
  overflow: visible;
  border: 1px solid var(--amber);
  background: var(--paper);
  box-shadow: none;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1), background-color 260ms ease;
}

.build-close .build-steps i:nth-child(1) { width: 32px; opacity: 0.72; background: rgba(255, 90, 0, 0.26); transition-delay: 70ms; }
.build-close .build-steps i:nth-child(2) { width: 44px; background: rgba(255, 90, 0, 0.58); transition-delay: 140ms; }
.build-close .build-steps i:nth-child(3) { width: 58px; background: var(--amber); transition-delay: 210ms; }
.build-close .build-steps i:nth-child(4) { width: 74px; border-color: var(--ink); background: #d04a00; transition-delay: 280ms; }

.build-close .build-steps i::before,
.build-close .build-steps i::after {
  display: none;
}

.build-close.is-visible .build-steps i,
.build-close.is-visible .build-steps i::before {
  transform: rotate(45deg) scale(1);
}

.build-close-stage.is-pointer-active .build-steps i {
  background: var(--amber);
  transform: rotate(45deg) scale(1.08);
}

.build-close .build-live-mark {
  top: 50%;
  left: 50%;
  --build-progress: 0%;
  --mark-x: 0px;
  --mark-y: 0px;
  width: 176px;
  min-height: 176px;
  border: 1px solid var(--amber);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translate(-50%, -50%);
  box-shadow: none;
  animation: constellationFloat 3.8s ease-in-out infinite;
  translate: var(--mark-x) var(--mark-y);
  transition: translate 180ms ease-out, border-color 220ms ease, background-color 220ms ease;
}

.build-close .build-live-mark::before,
.build-close .build-live-mark::after {
  display: none;
}

@keyframes constellationFloat {
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}

.build-load {
  display: grid;
  width: 112px;
  height: auto;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 9px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.build-load > span {
  display: block;
  height: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.build-load > span i {
  display: block;
  width: var(--build-progress);
  height: 100%;
  background: var(--amber);
  transition: width 90ms linear;
}

.build-load > b {
  color: var(--white);
  font-family: var(--mono-font);
  font-size: 0.6rem;
  font-weight: 600;
}

.build-live-mark .build-wave {
  height: 22px;
  margin-top: 6px;
  padding-top: 4px;
  border-top: 0;
}

.build-close.is-system-ready .build-live-mark {
  border-color: var(--white);
  background: #11141b;
}

.build-close.is-system-ready .build-wave i {
  animation-duration: 720ms;
}

.build-close-stage.is-pointer-active .build-live-mark {
  border-color: var(--white);
}

.build-close .build-close-labels span:first-child,
.build-close .build-close-labels span:last-child {
  bottom: 28px;
}

.build-close .build-close-labels span:first-child { left: 10%; }
.build-close .build-close-labels span:last-child { right: 10%; }

@media (max-width: 780px) {
  .build-close .build-close-stage {
    height: 230px;
  }

  .build-close .build-steps {
    width: 29%;
    gap: 7px;
  }

  .build-close .build-steps-left { left: 5%; }
  .build-close .build-steps-right { right: 5%; }
  .build-close .build-steps i:nth-child(1) { display: none; }
  .build-close .build-steps i:nth-child(2) { width: 22px; }
  .build-close .build-steps i:nth-child(3) { width: 30px; }
  .build-close .build-steps i:nth-child(4) { width: 40px; }

  .build-close .build-live-mark {
    top: 50%;
    left: 50%;
    width: 126px;
    min-height: 126px;
  }

  .build-load {
    width: 82px;
    gap: 5px;
  }

  .build-load > b {
    font-size: 0.52rem;
  }

  .build-close .build-close-labels span:first-child,
  .build-close .build-close-labels span:last-child {
    bottom: 14px;
  }

  .build-close .build-close-labels span:first-child { left: 12px; }
  .build-close .build-close-labels span:last-child { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .build-close .build-steps i,
  .build-close.is-visible .build-steps i {
    transform: rotate(45deg) scale(1);
    transition: none;
  }

  .build-close .build-live-mark {
    animation: none;
  }
}
