/* ================================================================
   QUALZY — Customer Journeys Page Styles
   All styles specific to features/customer-journeys.html
   ================================================================ */


/* ── Hero ──────────────────────────────────────────────────────── */

.cj-hero {
  position: relative;
  background: var(--wh);
  overflow: hidden;
  padding-top: 64px;
}

.cj-hd1 {
  position: absolute;
  top: -80px; right: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(250,88,2,.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cj-hd2 {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(250,88,2,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cj-hsvg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cj-hi {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 48px 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cj-back {
  font-size: 13px;
  font-weight: 500;
  color: var(--mu);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 28px;
  align-self: flex-start;
  transition: color var(--t-base);
}

.cj-back:hover { color: var(--o); }

.cj-hi h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 86px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--dk);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cj-hi h1 em {
  font-style: italic;
  color: var(--o);
}

.cj-hsub {
  font-size: 19px;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.65;
  margin: 0;
}


/* ── Screenshot utilities ──────────────────────────────────────── */

.cj-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.07);
}

.cj-screen-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,.13), 0 0 0 1px rgba(0,0,0,.05);
}

.cj-screen-frame--warm {
  box-shadow: 0 24px 72px rgba(250,88,2,.10), 0 0 0 1px rgba(250,88,2,.08);
}

.cj-screen-frame--dark {
  box-shadow: 0 24px 72px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
}


/* ── Product Showcase ──────────────────────────────────────────── */

.cj-showcase {
  background: var(--wh);
  border-bottom: 1px solid var(--rule);
  padding: 0 48px 80px;
}

.cj-showcase-inn {
  max-width: 1160px;
  margin: 0 auto;
}

.cj-showcase-caption {
  text-align: center;
  font-size: 13px;
  color: var(--mu);
  margin-bottom: 28px;
  font-style: italic;
}

.cj-screen-wrap {
  /* No box wrapper — image is a laptop mockup with transparent edges.
     Use filter:drop-shadow on the img so the shadow follows the laptop shape. */
}

.cj-screen-wrap .cj-screenshot {
  border-radius: 0;
  border: none;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.18));
}


/* ── Intro / what makes it different ──────────────────────────── */

.cj-intro-hd {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.cj-intro-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cj-pill {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--wh);
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.cj-pill:hover {
  border-color: rgba(250,88,2,.25);
  box-shadow: 0 4px 20px rgba(250,88,2,.06);
}

.cj-pill-icon {
  width: 36px;
  height: 36px;
  background: var(--op);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--o);
}

.cj-pill-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cj-pill strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dk);
  margin-bottom: 4px;
}

.cj-pill span {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}


/* ── Setup (dark) ──────────────────────────────────────────────── */

.cj-setup {
  background: var(--dk);
}

.cj-setup-inn {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
}

.cj-setup-hd {
  max-width: 680px;
  margin-bottom: 56px;
}

/* Foundation callout — "Every Journey activity is a Form" */
.cj-setup-foundation {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(250,88,2,.08);
  border: 1px solid rgba(250,88,2,.2);
  border-radius: 14px;
  margin-bottom: 32px;
}

.cj-setup-foundation-icon {
  width: 44px; height: 44px;
  background: rgba(250,88,2,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--o);
}
.cj-setup-foundation-icon svg {
  width: 22px; height: 22px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cj-setup-foundation strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cj-setup-foundation p {
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 0;
}

.cj-setup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.cj-setup-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s;
}

.cj-setup-card:hover {
  border-color: rgba(250,88,2,.25);
}

.cj-setup-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--o);
  opacity: 0.4;
  line-height: 1;
}

.cj-setup-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.cj-setup-body {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

.cj-setup-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--o);
  background: rgba(250,88,2,.1);
  border-radius: 20px;
  padding: 5px 14px;
  display: inline-block;
  align-self: flex-start;
}

.cj-setup-notes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cj-setup-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(250,88,2,.08);
  border: 1px solid rgba(250,88,2,.2);
  border-radius: 12px;
}

/* Highlighted variant — stronger tint for the qual+quant callout */
.cj-setup-note--hl {
  background: rgba(250,88,2,.12);
  border-color: rgba(250,88,2,.3);
}

.cj-setup-note-icon {
  font-size: 20px;
  color: var(--o);
  flex-shrink: 0;
  margin-top: 2px;
}
.cj-setup-note-icon svg {
  width: 20px; height: 20px;
  display: block;
  stroke: var(--o);
}

.cj-setup-note p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin: 0;
}
.cj-setup-note strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}


/* ── Shared 2-column layout (segments + rating sections) ───────── */

.cj-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── Segment Overlay (light) ───────────────────────────────────── */

/* Top row: image left, heading + body right, aligned to top */
.cj-seg-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

/* Laptop image — no frame wrapper, transparent PNG with orange glow */
.cj-seg-laptop {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(250,88,2,.35));
}

/* Bottom row: 3 features spanning full width */
.cj-seg-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

.cj-sfeat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 28px;
}

.cj-sfeat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--o);
  flex-shrink: 0;
  margin-top: 6px;
}

.cj-sfeat strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dk);
  margin-bottom: 3px;
}

.cj-sfeat span {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* Export callout — prominent block below sfeat bullets */
.cj-export-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--wh);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--o);
  border-radius: 10px;
}

.cj-export-note-icon {
  width: 36px; height: 36px;
  background: var(--op);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--o);
}
.cj-export-note-icon svg {
  width: 18px; height: 18px;
}

.cj-export-note-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 5px;
}

.cj-export-note-body p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}


/* ── AI Summaries (warm) ────────────────────────────────────────── */

.cj-sum-hd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.cj-sum-screen {
  max-width: 900px;
  margin: 0 auto;
}

.cj-sum-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  mix-blend-mode: multiply;  /* blends white background into --op section */
}


/* ── Maizy Chat (dark) ─────────────────────────────────────────── */

.cj-maizy {
  background: var(--d2);
}

.cj-maizy-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.cj-maizy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.cj-maizy-note svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  stroke: rgba(250,88,2,.7);
}

/* ── Maizy Chat animated demo ──────────────────────────────────── */

.mai-demo {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 540px;
  box-shadow: 0 12px 48px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.1);
}

.mai-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: #FAFAF8;
  flex-shrink: 0;
}

.mai-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #00B2A9;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.mai-hd-name { font-size: 13px; font-weight: 600; color: var(--dk); font-family: var(--font-body); line-height: 1.2; }
.mai-hd-sub  { font-size: 10px; color: var(--mu);  font-family: var(--font-body); line-height: 1.2; }

.mai-badge {
  margin-left: auto;
  background: rgba(0,178,169,.12);
  color: #00B2A9;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px;
  font-family: var(--font-body);
}

.mai-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background: #fff;
}
.mai-msgs::-webkit-scrollbar { width: 3px; }
.mai-msgs::-webkit-scrollbar-track { background: transparent; }
.mai-msgs::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 2px; }

.mai-msg { display: flex; animation: maiFadeUp 0.22s ease forwards; }
.mai-msg--u  { justify-content: flex-end; }
.mai-msg--ai { justify-content: flex-start; }

@keyframes maiFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mai-bubble {
  max-width: 88%;
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1.6;
  font-family: var(--font-body);
  border-radius: 14px;
}
.mai-bubble--u  { background: var(--o); color: #fff; border-bottom-right-radius: 3px; font-weight: 500; }
.mai-bubble--ai { background: #F2F1EE; color: #1A1917; border-bottom-left-radius: 3px; border: 1px solid rgba(0,0,0,.06); }

.mai-thinking { display: flex; align-items: center; gap: 5px; padding: 11px 14px; }
.mai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00B2A9;
  opacity: 0.5;
  animation: maiDot 1.1s ease-in-out infinite;
}
.mai-dot:nth-child(2) { animation-delay: 0.18s; }
.mai-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes maiDot {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1;   }
}

.mai-foot {
  flex-shrink: 0;
  padding: 10px 12px 11px;
  border-top: 1px solid rgba(0,0,0,.07);
  background: #FAFAF8;
}
.mai-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 38px;
}
.mai-input {
  flex: 1;
  font-size: 12px;
  color: #1A1917;
  font-family: var(--font-body);
  line-height: 1.4;
  word-break: break-word;
}
.mai-input:empty::before { content: 'Ask Maizy about your journey data…'; color: rgba(0,0,0,.3); }

.mai-cursor {
  display: inline-block;
  width: 1.5px; height: 13px;
  background: var(--o);
  vertical-align: middle;
  margin-left: 1px;
  animation: maiCursor 0.75s step-end infinite;
}
@keyframes maiCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.mai-send {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--o);
  border: none; cursor: default;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  color: #fff;
}
.mai-send.mai-active { opacity: 1; }
.mai-send svg { width: 12px; height: 12px; }

.mai-hint { font-size: 9.5px; color: rgba(0,0,0,.3); font-family: var(--font-body); text-align: center; margin-top: 5px; }

.mai-bubble--ai .mai-ln  { margin: 0; line-height: 1.58; }
.mai-bubble--ai .mai-sp  { height: 7px; }
.mai-bubble--ai .mai-qt  { background: rgba(0,0,0,.055); border-radius: 5px; padding: 7px 11px; margin: 3px 0 1px; font-style: italic; color: rgba(26,25,23,.78); font-size: 11.5px; line-height: 1.52; }
.mai-bubble--ai .mai-at  { font-size: 10.5px; color: rgba(26,25,23,.42); font-style: normal; padding-left: 3px; margin-bottom: 3px; font-weight: 500; }
.mai-bubble--ai .mai-hdr { font-weight: 700; color: #1A1917; margin-top: 2px; }


/* ── Use Cases (light) ──────────────────────────────────────────── */

.cj-uses-hd {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cj-uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cj-use {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cj-use:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.cj-use-icon {
  width: 36px; height: 36px;
  background: var(--op);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--o);
}
.cj-use-icon svg {
  width: 18px; height: 18px;
}

.cj-use h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dk);
  line-height: 1.25;
  margin: 0;
}

.cj-use p {
  font-size: 13.5px;
  color: var(--mu);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cj-use-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--o);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}


/* ── Key capabilities summary ───────────────────────────────────── */

.cj-feats-hd {
  text-align: center;
  margin-bottom: 48px;
}

.cj-feats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cj-feat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(250,88,2,.12);
  border-radius: 14px;
}

.cj-feat-icon {
  width: 40px; height: 40px;
  background: var(--op);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--o);
  flex-shrink: 0;
}

.cj-feat-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cj-feat h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin: 0;
}

.cj-feat p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}


/* ── Journey Visualiser ─────────────────────────────────────────── */

.cj-viz-section {
  background: var(--wh);
  border-bottom: 1px solid var(--rule);
  padding: 0 48px 72px;
}

.cj-viz-caption {
  text-align: center;
  font-size: 13px;
  color: var(--mu);
  margin-bottom: 24px;
  font-style: italic;
}

/* Step label height — used as margin-top on y-axis so it aligns with the SVG */
:root { --jv-label-h: 36px; --jv-chart-h: 220px; --jv-yaxis-w: 112px; }

.jv-wrap {
  display: flex;
  align-items: flex-start;
  max-width: 1160px;
  margin: 0 auto;
}

/* Y-axis ─────────────────────────────────────────────────────── */

.jv-yaxis {
  width: var(--jv-yaxis-w);
  flex-shrink: 0;
  height: var(--jv-chart-h);
  margin-top: var(--jv-label-h); /* align with SVG, not step labels */
  position: relative;
}

.jv-ylevel {
  position: absolute;
  left: 0;
  right: 0;
  padding-right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push to right so emoji hugs chart edge */
  gap: 7px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.jv-ylevel.jv-visible { opacity: 1; }

/* Emoji always at right edge, forming a tidy column */
.jv-emoji { font-size: 15px; line-height: 1; flex-shrink: 0; }

.jv-y-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mid);
  white-space: nowrap;
}

/* Plot area ──────────────────────────────────────────────────── */

.jv-plot { flex: 1; min-width: 0; }

/* Step labels — 6-column grid aligned to SVG column centres */
.jv-step-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: var(--jv-label-h);
  margin-bottom: 0;
}

.jv-step-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dk);
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.jv-step-label.jv-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG ────────────────────────────────────────────────────────── */

.jv-svg-wrap {
  height: var(--jv-chart-h);
  overflow: visible;
}

.jv-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.jv-gridline {
  stroke: rgba(0,0,0,.07);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.jv-gridline.jv-visible { opacity: 1; }

.jv-line {
  stroke: var(--o);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jv-dot {
  fill: var(--o);
  stroke: var(--wh);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: opacity 0.15s ease,
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jv-dot.jv-visible {
  opacity: 1;
  transform: scale(1);
}

/* Summary cards ─────────────────────────────────────────────── */

.jv-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.jv-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.jv-card p {
  font-size: 11.5px;
  color: var(--mid);
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}

.jv-card.jv-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-out is controlled entirely via inline styles in customer-journeys.js */


/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .cj-maizy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 48px;
  }

  .cj-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cj-seg-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cj-seg-feats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  :root { --jv-chart-h: 180px; }

  .jv-step-label { font-size: 10px; }
  .jv-y-label    { font-size: 10.5px; }
  .jv-emoji      { font-size: 13px; }
  .jv-card p     { font-size: 10.5px; }
}

@media (max-width: 768px) {
  .cj-viz-section { padding: 0 16px 48px; }

  :root { --jv-chart-h: 140px; --jv-yaxis-w: 84px; }

  .jv-step-label { font-size: 9px; }
  .jv-y-label    { font-size: 9.5px; }
  .jv-emoji      { font-size: 11px; }
  .jv-card p     { font-size: 10px; }

  /* Cards: wrap to 3+3 on tablet */
  .jv-cards { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

@media (max-width: 500px) {
  /* Hide cards, hide y-axis labels, show just the animated line */
  .jv-yaxis  { display: none; }
  .jv-cards  { display: none; }
  :root { --jv-chart-h: 120px; --jv-label-h: 28px; }
}

@media (max-width: 768px) {
  .cj-hi {
    padding: 40px 24px 56px;
  }

  .cj-setup-inn {
    padding: 64px 24px;
  }

  .cj-setup-cards {
    grid-template-columns: 1fr;
  }

  .cj-intro-pills {
    grid-template-columns: 1fr;
  }

  .cj-maizy-grid {
    padding: 64px 24px;
  }

  .cj-feats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .cj-feats-grid {
    grid-template-columns: 1fr;
  }

  .cj-uses-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cj-uses-grid {
    grid-template-columns: 1fr;
  }
}
