/* The visible path stays activity-led; strict answer evidence remains in the readiness details. */
.journey-page {
  display: grid;
  gap: 22px;
  max-width: 1080px;
  margin-inline: auto;
}

.journey-heading {
  display: grid;
  gap: 7px;
}

.journey-heading h1 {
  margin: 0;
  font-size: var(--pp-title-page);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.journey-heading p,
.journey-next p,
.journey-preparation p {
  margin: 0;
}

.journey-next-copy > p:not(.eyebrow),
.journey-section-heading p {
  color: var(--pp-muted);
  line-height: 1.6;
}

.journey-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(20px, 2.5vw, 28px);
  border-color: var(--pp-success-border);
  background: var(--pp-mint-soft);
  box-shadow: 0 5px 0 var(--pp-success-border);
}

@media (min-width: 1100px) {
  .journey-next {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 28px;
  }

  .journey-next::after {
    content: "";
    width: 112px;
    height: 112px;
    background: url("../images/brand/logo-mark.svg") center / contain no-repeat;
    transform: rotate(8deg);
    pointer-events: none;
  }
}

.journey-next-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.journey-next h2 {
  margin: 0;
  max-width: 30ch;
  font-size: var(--pp-title-feature);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.journey-next .btn {
  margin-block-start: var(--pp-space-xs);
}

.journey-preparation,
.journey-recent {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
}

.journey-review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(20px, 2.5vw, 28px);
}

.journey-review > div {
  flex: 1 1 260px;
  min-width: 0;
}

.journey-review h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.journey-review p {
  margin: 0;
  color: var(--pp-muted);
  line-height: 1.5;
}

.journey-review .btn {
  min-height: 44px;
}

.journey-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  margin-block-end: 22px;
}

.journey-section-heading h2,
.journey-recent h2 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.journey-section-heading a,
.journey-utilities a,
.journey-saved-link,
.journey-access-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-underline-offset: 4px;
  font-size: .88rem;
  font-weight: 650;
}

.journey-timeline {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.journey-timeline-item {
  position: relative;
}

.journey-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 35px;
  top: 46px;
  bottom: -20px;
  width: 2px;
  background: var(--pp-border);
}

.journey-timeline-item > a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 76px;
  margin-block: 6px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--pp-ink);
  text-decoration: none;
}

.journey-timeline-item.is-current > a {
  border-color: var(--pp-yellow);
  background: var(--pp-yellow-soft);
}

@media (hover: hover) {
  .journey-timeline-item > a:hover {
    border-color: var(--pp-green-deep);
  }
}

.journey-timeline-marker {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 4px solid var(--pp-paper);
  border-radius: 50%;
  background: var(--pp-canvas);
  box-shadow: 0 3px 0 var(--pp-border-strong);
  font-weight: 800;
}

.is-completed .journey-timeline-marker {
  background: var(--pp-green-deep);
  color: white;
}

.is-current .journey-timeline-marker {
  background: var(--pp-yellow);
}

.journey-timeline-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 5px;
}

.journey-timeline-copy strong {
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.journey-timeline-copy small,
.journey-hint,
.journey-completion small,
.journey-exam-list small {
  color: var(--pp-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.preparation-band {
  font-size: .94rem;
  font-weight: 650;
}

.preparation-evidence {
  font-size: .88rem;
  line-height: 1.5;
}

.preparation-action {
  margin-block-start: 3px;
  color: var(--pp-green-deep);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.journey-timeline-item.is-completed .preparation-stage-status {
  color: var(--pp-green-deep);
}

.journey-timeline-item > a > .directional-arrow {
  margin-block-start: 10px;
}

.journey-timeline-item > a:focus-visible {
  outline: 3px solid var(--pp-green-deep);
  outline-offset: 2px;
}

.preparation-criteria {
  margin-block-start: 16px;
  font-size: .88rem;
  line-height: 1.6;
}

.preparation-criteria > div {
  display: grid;
  gap: 14px;
  color: var(--pp-muted);
}

.preparation-criteria h3 {
  margin: 4px 0 0;
  color: var(--pp-ink);
  font-size: .9rem;
  line-height: 1.4;
}

.preparation-criteria ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-inline-start: 20px;
}

.journey-completion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-block: 12px;
  border-block: 1px solid var(--pp-border);
  color: var(--pp-ink);
  text-decoration: none;
}

.journey-completion > span:first-child {
  color: var(--pp-green-deep);
}

.journey-completion > span:nth-child(2) {
  flex: 1;
  display: grid;
  gap: 4px;
}

.journey-completion strong {
  font-size: .9rem;
}

.journey-exam-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.journey-exam-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-block: 12px;
  color: var(--pp-ink);
  text-decoration: none;
  border-block-end: 1px solid var(--pp-border);
}

.journey-exam-list a > span:first-child {
  display: grid;
  flex: 1;
}

.journey-exam-errors { font-size: .88rem; }
.journey-exam-list a:hover strong,
.journey-completion:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.journey-utilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}

.journey-access-note {
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--pp-yellow-soft);
  text-align: center;
}

.journey-page .directional-arrow {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.app-mobile-ranking {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  color: var(--pp-green-deep);
}

.app-mobile-ranking svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-topics {
  display: grid;
  gap: 12px;
}

.help-topics .disclosure-body > p {
  max-width: 70ch;
  margin: 0 0 var(--pp-space-md);
  color: var(--pp-muted);
  line-height: 1.65;
}

.profile-data-controls > .disclosure-body {
  display: grid;
  gap: var(--pp-space-sm);
}

@media (max-width: 600px) {
  .journey-page { gap: 18px; }
  .journey-next { padding: 20px; }
  .journey-next-copy { justify-items: stretch; }
  .journey-next-copy .btn { width: 100%; }
  .journey-preparation,
  .journey-recent { padding: 18px; }
  .journey-timeline-item > a { padding: 12px 8px; gap: 12px; }
  .journey-timeline-item:not(:last-child)::before { inset-inline-start: 29px; }
  .journey-utilities { justify-content: start; gap: 0 20px; }
}

@media (max-width: 430px) {
  .app-mobile-header .brand-logo-wide { display: none; }
  .app-mobile-header .brand-logo-icon { display: block; width: 48px; height: 44px; }
  .app-bottom-nav a { min-height: 48px; }
}
