/* Pakdis — invitation to cooperate: 4-step application wizard. Builds on feedback.css. */
.jn [hidden] { display: none !important; }
.jn .container { display: grid; gap: 26px; }

/* Intro band */
.jn-intro {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 36px 44px; color: #fff;
  background: linear-gradient(150deg, var(--purple-flood), var(--purple-deep));
  border-radius: 9px 9px 52px 9px;
  box-shadow: 0 0 0 1px rgb(187 167 96 / .45), 0 28px 44px -30px rgb(17 7 53 / .8);
}
.jn-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/pattern-gallery.png) left -419px top -101px / 2477px auto repeat; opacity: .16; }
.jn-intro__kicker { margin: 0 0 6px; font-size: 14.5px; font-weight: 500; color: var(--gold); }
.jn-intro__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; }
.jn-intro__lead { margin: 12px 0 0; max-width: 62ch; font-size: 16.5px; font-weight: 300; line-height: 1.95; color: rgb(255 255 255 / .88); }
.jn-intro__btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  font-size: 16px; font-weight: 700; color: var(--purple-deep); background: var(--gold);
  border-radius: 8px 8px 8px 20px; transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.jn-intro__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jn-intro__btn:hover { transform: translateY(-2px); background: #fff; }

/* Stepper */
.jn-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jn-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 9px 9px 20px 9px; background: rgb(68 47 114 / .05); color: var(--grey-600, #666); transition: background-color .3s var(--ease), color .3s var(--ease); }
.jn-step__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--purple); box-shadow: 0 0 0 1.5px rgb(68 47 114 / .15); transition: all .3s var(--ease); }
.jn-step__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jn-step__t { display: grid; font-size: 15px; font-weight: 700; line-height: 1.5; }
.jn-step__t small { font-size: 12.5px; font-weight: 400; opacity: .75; }
.jn-step.is-cur { background: var(--purple); color: #fff; }
.jn-step.is-cur .jn-step__ico { background: var(--gold); color: var(--purple-deep); box-shadow: 0 0 0 4px rgb(187 167 96 / .3); }
.jn-step.is-done { background: rgb(187 167 96 / .16); color: var(--purple); }
.jn-step.is-done .jn-step__ico { background: var(--purple); color: var(--gold); box-shadow: none; }

.jn-bar { height: 6px; margin-bottom: 30px; border-radius: 3px; background: rgb(68 47 114 / .1); overflow: hidden; }
.jn-bar span { display: block; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(270deg, var(--gold), #d8c986); transition: width .5s var(--ease); }

/* Panes */
.jn-form { border: 0; }
.jn-pane { margin: 0; padding: 0; border: 0; min-width: 0; }
.jn-pane.is-cur { animation: jnIn .45s var(--ease); }
@keyframes jnIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.jn-legend { float: right; width: 100%; margin: 0 0 22px; padding: 0; font-size: 21px; font-weight: 900; color: var(--purple); }
.jn-legend::before { content: ""; display: inline-block; width: 8px; height: 22px; margin-left: 12px; vertical-align: -4px; border-radius: 2px; background: var(--gold); }
.jn-legend + * { clear: both; }
.jn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 22px; }
.jn-wide { grid-column: 1 / -1; }
.fb-label i { font-style: normal; font-size: 12.5px; font-weight: 300; opacity: .65; }

/* Nav */
.jn-nav { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgb(68 47 114 / .1); }
.jn-nav .fb-note { flex: 1; }
.jn-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; border-radius: 9px 9px 9px 22px; }
.jn-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jn-btn--ghost { color: var(--purple); border: 1.5px solid var(--gold); transition: background-color .25s var(--ease); }
.jn-btn--ghost:hover { background: rgb(187 167 96 / .16); }

@media (max-width: 1100px) {
  .jn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jn-intro { padding: 30px 30px; }
}
@media (max-width: 820px) {
  .jn-steps { grid-template-columns: repeat(2, 1fr); }
  .jn-intro { flex-direction: column; align-items: flex-start; border-bottom-right-radius: 9px; border-bottom-left-radius: 36px; }
}
@media (max-width: 620px) {
  .jn-grid { grid-template-columns: 1fr; }
  .jn-step { padding: 10px; gap: 8px; }
  .jn-step__ico { width: 34px; height: 34px; }
  .jn-step__t { font-size: 13.5px; }
  .jn-nav { flex-wrap: wrap; }
  .jn-nav .fb-note { flex-basis: 100%; order: -1; }
  .jn-nav .fb-submit, .jn-nav .jn-btn { flex: 1; justify-content: center; padding: 0 16px; }
  .jn-intro { padding: 26px 20px; }
}
