.journey {
  --access-ink: #e9f5e5;
  --access-accent: #caeea5;
  --speed-accent: #3d688d;
  --recovery-accent: #7a5c40;
  --journey-border: #dce5dc;
  scroll-margin-top: 84px;
}
.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 24px;
  margin-bottom: 16px;
}
.journey-header h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.04em; line-height: 1.15; }
.journey-header p { margin-top: 6px; color: var(--muted); }
.journey-period { display: grid; gap: 6px; min-width: 0; max-width: 100%; }
.journey-period > span { font-size: .8125rem; font-weight: 650; color: var(--muted); }
#journey-months { display: flex; gap: 2px; flex-wrap: wrap; }
#journey-months button {
  min-width: 36px;
  padding: 5px 7px;
  background: #e9efe8;
  border: 1px solid #dfe8de;
  border-radius: 7px;
  color: #365247;
  font-size: .8125rem;
  cursor: pointer;
}
#journey-months button:hover { background: #dce8dc; }
#journey-months button[aria-pressed="true"] { background: #205d50; color: white; border-color: #205d50; font-weight: 700; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.journey-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  min-width: 0;
  border-radius: 17px;
  border: 1px solid var(--journey-border);
  padding: 17px 19px;
  background: white;
}
.journey-access { background: #244d40; border-color: #244d40; color: var(--access-ink); }
.journey-speed { background: #f5f9fa; color: #263c46; }
.journey-recovery { background: #fff8ed; border-color: #ece1d1; color: #403a31; }
.journey-stage { display: flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; }
.journey-stage span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.journey-access .journey-stage { color: var(--access-accent); }
.journey-speed .journey-stage { color: var(--speed-accent); }
.journey-recovery .journey-stage { color: var(--recovery-accent); }
.journey-card h3 { margin: 6px 0 0; font-size: 1rem; letter-spacing: -.015em; }
.journey-value { margin-top: 6px; font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 750; line-height: 1.05; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.journey-value small { margin-left: 4px; font-size: .91rem; font-weight: 650; letter-spacing: -.02em; }
.journey-caption { margin-top: 7px; min-height: 2.8em; font-size: .875rem; line-height: 1.4; }
.journey-access .journey-caption, .journey-access .journey-comparison { color: #e0eee0; }
.journey-visual { display: flex; flex-direction: column; justify-content: end; min-width: 0; margin-top: 14px; }
.journey-dots {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  max-width: 286px;
  gap: 4px 5px;
}
.journey-dots span { display: block; aspect-ratio: 1; border-radius: 50%; border: 1px solid #84a598; background: linear-gradient(90deg, var(--access-accent) var(--p), transparent var(--p)); }
.journey-dots span[data-full="true"] { border-color: var(--access-accent); }
.journey-dot-key, .journey-axis { display: flex; justify-content: space-between; gap: 4px 11px; margin-top: 6px; font-size: .75rem; }
.journey-dot-key { justify-content: start; flex-wrap: wrap; }
.journey-dot-key span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; border: 1px solid #84a598; }
.journey-dot-key span:first-child::before { background: var(--access-accent); border-color: var(--access-accent); }
.journey-histogram { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); align-items: end; gap: 4px; height: 65px; border-bottom: 1px solid #c9dce3; }
.journey-histogram span { height: var(--h); border-radius: 3px 3px 0 0; background: #a7c3d7; transform-origin: bottom; }
.journey-histogram span[data-fast="true"] { background: var(--speed-accent); }
.journey-recovery-plot { height: 65px; }
.journey-comparison, .journey-details { margin-top: 12px; padding-top: 9px; border-top: 1px solid #dcded4; font-size: .8125rem; }
.journey-access .journey-comparison { border-color: #52806f; }
.journey-comparison strong { margin-right: 4px; }
.journey-details ul { max-height: 130px; overflow: auto; margin: 7px 0 0; padding: 0; list-style: none; }
.journey-details li { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #e1e8e8; }
@media (prefers-reduced-motion: no-preference) {
  .journey-grid.is-visible .journey-histogram span { animation: journey-rise .47s cubic-bezier(.23,.74,.26,1) both; }
  .journey-grid.is-visible .journey-dots span[data-full="true"] { animation: journey-dot .38s ease-out both; }
  @keyframes journey-rise { from { transform: scaleY(.05); } }
  @keyframes journey-dot { from { opacity: .34; transform: scale(.78); } }
}
@media (max-width: 970px) {
  .journey { scroll-margin-top: 115px; }
  .journey-header { align-items: start; flex-direction: column; gap: 11px; }
}
@media (max-width: 760px) {
  .journey-grid { grid-template-columns: 1fr; gap: 10px; }
  .journey-caption { min-height: auto; }
  .journey-card { padding: 14px 15px; }
}
