.demo-journey-mount {
  --dj-ink: #0b2f24;
  --dj-forest: #073e2d;
  --dj-green: #07883f;
  --dj-green-soft: #e6f3e9;
  --dj-champagne: #b89c55;
  --dj-cream: #fbfaf5;
  --dj-paper: #ffffff;
  --dj-muted: #68766f;
  --dj-line: rgba(7, 62, 45, .14);
  width: 100%;
  min-width: 0;
  color: var(--dj-ink);
  font-family: var(--kmc-font-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.demo-journey,
.demo-journey * { box-sizing: border-box; }

.demo-journey {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(7, 62, 45, .11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(7, 136, 63, .08), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(251,250,245,.98));
  box-shadow: 0 28px 70px rgba(7, 42, 31, .10);
}

.demo-journey::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--dj-green), #58b879 65%, var(--dj-champagne));
}

.dj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--dj-green);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dj-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dj-green);
  box-shadow: 0 0 0 5px rgba(7, 136, 63, .10);
}

.dj-title {
  max-width: 19ch;
  margin: 0;
  color: var(--dj-forest);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 830;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.dj-intro {
  max-width: 60ch;
  margin: 13px 0 0;
  color: var(--dj-muted);
  font-size: .96rem;
  line-height: 1.65;
}

.dj-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 27px 0 30px;
  padding: 6px;
  border: 1px solid rgba(7, 62, 45, .09);
  border-radius: 18px;
  background: rgba(239, 243, 237, .72);
}

.dj-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 13px;
  color: #7a8780;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}

.dj-progress-step span:first-child {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border: 1px solid rgba(7, 62, 45, .14);
  border-radius: 50%;
  background: #fff;
  font-size: .72rem;
  font-weight: 850;
}

.dj-progress-step strong {
  overflow: hidden;
  font-size: .76rem;
  font-weight: 790;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dj-progress-step[data-state="active"] {
  color: var(--dj-forest);
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 62, 45, .07);
}

.dj-progress-step[data-state="active"] span:first-child,
.dj-progress-step[data-state="done"] span:first-child {
  color: #fff;
  border-color: var(--dj-green);
  background: var(--dj-green);
}

.dj-progress-step[data-state="done"] { color: var(--dj-green); }

.dj-panel { display: none; animation: dj-in .3s ease both; }
.dj-panel[data-active="true"] { display: block; }

@keyframes dj-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.dj-panel-head { margin-bottom: 21px; }
.dj-panel-head h3 {
  margin: 0;
  color: var(--dj-forest);
  font-size: 1.24rem;
  font-weight: 820;
  letter-spacing: -.026em;
}
.dj-panel-head p {
  margin: 6px 0 0;
  color: var(--dj-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.dj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.dj-field { display: grid; gap: 8px; min-width: 0; }
.dj-field-wide { grid-column: 1 / -1; }
.dj-label,
.dj-field > span:first-child {
  color: var(--dj-forest);
  font-size: .78rem;
  font-weight: 790;
  letter-spacing: .01em;
}
.dj-optional { color: #89948e; font-weight: 580; }

.demo-journey input:not([type="radio"]):not([type="checkbox"]),
.demo-journey select,
.demo-journey textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(7, 62, 45, .15);
  border-radius: 14px;
  outline: 0;
  color: #102d24;
  background: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: auto;
}

.demo-journey textarea { min-height: 112px; resize: vertical; }
.demo-journey input::placeholder,
.demo-journey textarea::placeholder { color: #98a29d; opacity: 1; }
.demo-journey input:focus,
.demo-journey select:focus,
.demo-journey textarea:focus {
  border-color: var(--dj-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(7, 136, 63, .10);
}
.demo-journey [aria-invalid="true"] {
  border-color: #b23b2b !important;
  box-shadow: 0 0 0 4px rgba(178,59,43,.09) !important;
}

.dj-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dj-choice,
.dj-chip,
.dj-consent { position: relative; cursor: pointer; }
.dj-choice input,
.dj-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dj-choice span {
  display: flex;
  min-height: 64px;
  padding: 13px 10px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--dj-line);
  border-radius: 15px;
  color: var(--dj-forest);
  background: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.dj-choice span::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 1px solid rgba(7,62,45,.25);
  border-radius: 50%;
  background: #fff;
}
.dj-choice input:checked + span,
.dj-choice input:focus-visible + span {
  color: #fff;
  border-color: var(--dj-green);
  background: linear-gradient(135deg, var(--dj-forest), var(--dj-green));
  box-shadow: 0 12px 26px rgba(7, 62, 45, .15);
}
.dj-choice input:checked + span::before {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.19);
}

.dj-chipset { display: flex; flex-wrap: wrap; gap: 9px; }
.dj-chip span {
  display: block;
  padding: 10px 13px;
  border: 1px solid var(--dj-line);
  border-radius: 999px;
  color: #456057;
  background: #fff;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.25;
  transition: .2s ease;
}
.dj-chip input:checked + span,
.dj-chip input:focus-visible + span {
  color: var(--dj-forest);
  border-color: rgba(7,136,63,.40);
  background: var(--dj-green-soft);
  box-shadow: inset 0 0 0 1px rgba(7,136,63,.06);
}

.dj-consent {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--dj-line);
  border-radius: 14px;
  color: #53665e;
  background: rgba(243,247,243,.72);
  font-size: .78rem;
  line-height: 1.5;
}
.dj-consent input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--dj-green);
}
.dj-consent a {
  color: var(--dj-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dj-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-top: 25px;
}
.dj-actions-right { display: flex; gap: 10px; margin-left: auto; }
.dj-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dj-line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--dj-forest);
  background: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 820;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.dj-button:hover { transform: translateY(-1px); }
.dj-button-primary {
  min-width: 168px;
  color: #fff;
  border-color: var(--dj-green);
  background: linear-gradient(135deg, var(--dj-forest), var(--dj-green));
  box-shadow: 0 13px 28px rgba(7, 62, 45, .17);
}
.dj-button[disabled] { cursor: wait; opacity: .58; transform: none; }
.dj-back[hidden],
.dj-button[hidden] { display: none !important; }

.dj-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #a03b2d;
  font-size: .81rem;
  font-weight: 720;
}
.dj-security {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 15px 0 0;
  color: #7c8983;
  font-size: .71rem;
}
.dj-security svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--dj-green); }
.dj-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 720px) {
  .demo-journey { padding: 25px 19px; border-radius: 23px; }
  .dj-title { max-width: none; font-size: clamp(1.65rem, 8vw, 2.1rem); }
  .dj-intro { font-size: .9rem; }
  .dj-progress { gap: 5px; margin: 23px 0 25px; }
  .dj-progress-step { justify-content: center; padding: 7px; }
  .dj-progress-step strong { display: none; }
  .dj-grid { grid-template-columns: 1fr; gap: 15px; }
  .dj-field-wide { grid-column: auto; }
  .dj-choices { grid-template-columns: 1fr; }
  .dj-choice span { min-height: 52px; }
  .dj-actions { align-items: stretch; }
  .dj-actions-right { width: 100%; }
  .dj-button { min-width: 0; flex: 1; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .dj-panel { animation: none; }
  .demo-journey *,
  .demo-journey *::before,
  .demo-journey *::after { transition: none !important; }
}
