/* ============================================================
   ProductExperience (.c-prodx) — /products/ "see the real flow" band.
   Split layout: copy + numbered steps left, full-height showcase card
   right with one large phone (the product is vertical). Stacks on mobile.
   ============================================================ */

.c-prodx {
  background: var(--color-background);
  color: var(--color-foreground);
  border-top: 1px solid var(--color-border-light);
}
.c-prodx__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  padding: var(--space-section-sm) var(--space-inline);
  display: grid;
  gap: 40px;
  align-items: stretch;
}
.c-prodx__inner > * { min-width: 0; }
@media (min-width: 768px) { .c-prodx__inner { padding-block: var(--space-section); } }
@media (min-width: 1024px) {
  .c-prodx__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    padding-inline: 24px;
  }
}

/* ---------- copy column ---------- */
.c-prodx__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c-prodx__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  color: var(--color-kicker-on-white);
}
.c-prodx__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 26px;
  line-height: 1.05;
  color: var(--color-black);
}
@media (min-width: 640px) { .c-prodx__title { font-size: 32px; } }
@media (min-width: 768px) { .c-prodx__title { font-size: 36px; } }
.c-prodx__sub {
  margin-top: 16px;
  max-width: 460px;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}

.c-prodx__steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.c-prodx__step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border-light);
}
.c-prodx__step-num {
  flex: none;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-widest);
  color: var(--color-grey-300);
  margin-top: 2px;
  transition: color 0.4s ease;
}
/* selection state — the step whose screen is on the phone (JS-synced) */
.c-prodx__step { transition: opacity 0.4s ease; }
.c-prodx__step:not(.is-active) { opacity: 0.55; }
.c-prodx__step.is-active .c-prodx__step-num { color: var(--color-blue); }
.c-prodx__step-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.c-prodx__step-name {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-black);
}
.c-prodx__step-line {
  font-size: var(--fs-sm);
  line-height: var(--leading-snug);
  color: var(--color-grey-on-white);
}

/* ---------- showcase card (full column height, ink + aurora) ---------- */
.c-prodx__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 40px 24px;
  border-radius: 24px;
  background:
    radial-gradient(110% 90% at 14% 0%, color-mix(in oklab, var(--color-x3-blue-deep) 55%, transparent), transparent 62%),
    radial-gradient(100% 95% at 90% 100%, color-mix(in oklab, var(--color-x3-indigo) 42%, transparent), transparent 65%),
    color-mix(in oklab, var(--color-black) 88%, var(--color-x3-blue-deep));
}
@media (min-width: 1024px) { .c-prodx__stage { min-height: 560px; } }

/* real-phone bezel — the same abstracted frame used across the
   customer-onboarding hero: hairline ring, white body, deep seat shadow. The
   inner deck stacks the three onboarding screens; only the active one is
   opaque, transitions handle the crossfade. */
.c-prodx__phone {
  width: 220px;
  padding: 9px;
  border-radius: 42px;
  border: 1px solid var(--color-grey-100);
  background: var(--color-white);
  box-shadow: none;
}
@media (min-width: 1024px) {
  .c-prodx__phone { width: 260px; }
}
.c-prodx__deck { display: grid; }
.c-prodx__screen {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}
.c-prodx__screen.is-active { opacity: 1; }
