/* Homepage plan showcase — uses the Pace Perfect homepage design tokens. */
.plan-showcase {
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.plan-showcase-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}
.plan-showcase-heading .section-title {
  margin-bottom: 0.65rem;
}
.plan-showcase-heading .section-sub {
  margin-bottom: 0;
  max-width: 660px;
}
.plan-carousel {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
}
.plan-carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 1.35rem;
  background: var(--color-warm);
  touch-action: pan-y;
  user-select: none;
}
.plan-slide {
  width: 100%;
  text-align: center;
}
.plan-slide[hidden] { display: none; }
.plan-slide-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 850px);
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.plan-carousel-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.35rem;
}
.plan-carousel-copy { min-width: 0; }
.plan-carousel-copy h3 {
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}
.plan-carousel-copy p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.plan-view-full,
.plan-transport button {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font: 600 0.8rem var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.plan-view-full {
  white-space: nowrap;
  padding: 0.55rem 0.75rem;
}
.plan-view-full:hover,
.plan-transport button:hover {
  border-color: var(--color-green);
  background: var(--color-green-light);
}
.plan-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.35rem 1rem;
  border-top: 1px solid var(--color-border-light);
}
.plan-transport-side,
.plan-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-transport button {
  min-width: 38px;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
}
.plan-transport .plan-play-toggle { min-width: 76px; }
.plan-pagination button {
  width: 12px;
  min-width: 12px;
  height: 12px;
  min-height: 12px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-border);
}
.plan-pagination button[aria-current="true"] {
  border-color: var(--color-green);
  background: var(--color-green);
}
.plan-carousel button:focus-visible,
.plan-showcase-dialog button:focus-visible,
.plan-showcase a:focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 3px;
}
.plan-human-review {
  padding: 4.25rem 0 4.5rem;
  background: var(--color-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.plan-review-heading {
  max-width: 770px;
  margin-bottom: 2rem;
}
.plan-review-heading h2 {
  max-width: 740px;
}
.plan-review-heading p {
  max-width: 720px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.plan-review-heading .plan-review-followup {
  margin-top: 0.75rem;
  color: var(--color-green-dark);
  font-weight: 600;
}
.plan-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.4rem 0 2.75rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.plan-process-step {
  position: relative;
  padding: 1.15rem 1.25rem 1.2rem 0;
}
.plan-process-step + .plan-process-step {
  padding-left: 1.25rem;
  border-left: 1px solid var(--color-border);
}
.plan-process-number {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}
.plan-process-step h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}
.plan-process-step p {
  color: var(--color-text-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
}
.plan-coach-note {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.plan-coach-photo {
  width: 116px;
  height: 140px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}
.plan-coach-kicker {
  margin-bottom: 0.25rem;
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-coach-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}
.plan-coach-credentials {
  margin: 0.2rem 0 0.7rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
.plan-coach-quote {
  color: var(--color-text-secondary);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.45;
}
.plan-value-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.25rem;
  background: var(--color-green-dark);
  border-radius: 10px;
  color: var(--color-surface);
}
.plan-value-copy .section-eyebrow {
  margin-bottom: 0.45rem;
  color: #c6dfcf;
}
.plan-value-line {
  max-width: 710px;
  font-size: 0.98rem;
  line-height: 1.55;
}
.plan-value-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.plan-value-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}
.plan-value-note {
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.74);
  font-size: 0.72rem;
  white-space: nowrap;
}
.plan-value-cta .btn-primary-light {
  white-space: nowrap;
  padding: 0.85rem 1.2rem;
  font-size: 0.92rem;
  background: var(--color-surface);
  color: var(--color-green-dark);
}
.plan-value-cta .btn-primary-light:hover {
  background: var(--color-green-light);
}
.plan-showcase-dialog {
  margin: auto;
  width: min(96vw, 1100px);
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
}
.plan-showcase-dialog::backdrop {
  background: rgba(20, 20, 19, 0.78);
}
.plan-dialog-toolbar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.plan-dialog-toolbar p {
  font-size: 0.86rem;
  font-weight: 600;
}
.plan-dialog-toolbar button {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: var(--color-surface);
  color: var(--color-text);
  font: 600 0.82rem var(--font-body);
  cursor: pointer;
}
.plan-dialog-image-scroll {
  max-height: calc(94dvh - 54px);
  overflow: auto;
  overscroll-behavior: contain;
  text-align: center;
}
.plan-dialog-image-scroll img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .plan-showcase { padding: 3.25rem 0; }
  .plan-carousel-stage {
    min-height: 280px;
    padding: 0.7rem;
  }
  .plan-slide-image { max-height: 68svh; }
  .plan-carousel-caption {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
  }
  .plan-view-full { justify-self: start; }
  .plan-transport { padding: 0.75rem 0.8rem; }
  .plan-transport-side,
  .plan-pagination { gap: 0.32rem; }
  .plan-transport button { min-width: 36px; min-height: 36px; }
  .plan-pagination button { min-width: 11px; width: 11px; height: 11px; min-height: 11px; }
  .plan-human-review { padding: 3.25rem 0; }
  .plan-process {
    grid-template-columns: 1fr;
    margin: 1.75rem 0 2rem;
    border-bottom: 0;
  }
  .plan-process-step,
  .plan-process-step + .plan-process-step {
    min-height: 96px;
    padding: 0.2rem 0 1.2rem 2.2rem;
    border: 0;
  }
  .plan-process-step::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    bottom: -0.05rem;
    left: 0.55rem;
    width: 1px;
    background: var(--color-border);
  }
  .plan-process-step:last-child::before { bottom: 1.4rem; }
  .plan-process-number {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--color-green-light);
    font-size: 0.6rem;
    letter-spacing: 0;
  }
  .plan-coach-note {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.9rem;
    margin-bottom: 2rem;
    padding: 1rem;
  }
  .plan-coach-photo { width: 76px; height: 96px; }
  .plan-coach-quote { font-size: 1.05rem; }
  .plan-value-cta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.4rem;
  }
  .plan-value-action { align-items: stretch; flex-direction: column; }
  .plan-value-cta .btn-primary-light { width: 100%; justify-content: center; }
  .plan-carousel-copy p,
  .plan-process-step p,
  .plan-coach-credentials,
  .plan-value-note,
  .plan-value-line { font-size: 1rem; }
  .plan-showcase-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .plan-dialog-image-scroll { max-height: calc(100dvh - 54px); }
}
@media (max-width: 380px) {
  .plan-transport { gap: 0.35rem; }
  .plan-transport-side { gap: 0.25rem; }
  .plan-transport button { padding: 0.4rem; }
  .plan-transport .plan-play-toggle { min-width: 62px; }
  .plan-coach-note { grid-template-columns: 1fr; }
  .plan-coach-photo { width: 82px; height: 94px; }
  .plan-value-action { align-items: flex-start; flex-direction: column; }
  .plan-value-cta .btn-primary-light { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-carousel *,
  .plan-showcase-dialog * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
