/* Styles for the process pages. Loaded after the base and the solution-page stylesheets.
   Foundry route strip (current process highlighted) · What comes in / what goes out · Note below a screenshot. */

/* ---------- Route strip: a small version of the process line on the homepage; every stop is a link ---------- */
.proute { padding: 54px 0 10px; }
.proute .kicker { margin-bottom: 30px; }
.proute ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.proute li { position: relative; }
/* line between stops: solid between two filled stops, dashed otherwise */
.proute li::after { content: ""; position: absolute; z-index: 0; top: 13px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(17,21,48,.32) 0 7px, transparent 7px 13px); }
.proute li.seg::after { top: 12px; height: 4px; border-radius: 2px; background: var(--ink); }
.proute li:last-child::after { display: none; }
.proute a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 4px 6px; text-align: center; text-decoration: none; color: var(--ink); border-radius: 12px; }
.proute .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; transition: transform .2s; }
.proute .on .dot { background: var(--drop); box-shadow: 0 8px 18px rgba(223,13,28,.22); }
.proute .off .dot { width: 22px; height: 22px; margin: 3px 0; background: var(--page); border: 2px dashed rgba(17,21,48,.45); }
.proute b { font-family: "Barlow Condensed", Inter, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.05; }
.proute .off b { color: rgba(17,21,48,.5); }
.proute a:hover .dot, .proute a:focus-visible .dot { transform: scale(1.15); }
.proute a:hover b { color: var(--orange-text); }
.proute a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
/* the stop of the current page: ring and orange label */
.proute .here .dot { box-shadow: 0 0 0 5px var(--page), 0 0 0 8px var(--orange-deep); }
.proute .here b { color: var(--orange-text); }
.proute .legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.proute .legend span { display: inline-flex; align-items: center; gap: 10px; }
.proute .legend i { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.proute .legend i.on { background: var(--drop); }
.proute .legend i.off { border: 2px dashed rgba(17,21,48,.45); }

/* ---------- What comes in / what goes out: the process name in the middle ---------- */
.handoff { padding: 100px 0; }
.hand { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 46px; }
.hand .side { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px; }
.hand h3 { font-family: Inter, system-ui, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.hand ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hand li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; }
.hand li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-radius: 50%; background: var(--drop); }
.hand .mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hand .mid i { width: 3px; height: 20px; border-radius: 2px; background: rgba(17,21,48,.3); }
.hand .mid strong { padding: 14px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff;
  font-family: "Barlow Condensed", Inter, sans-serif; font-weight: 700; font-size: 25px; line-height: 1.05; text-align: center; }

/* ---------- Note below a screenshot (sample data, example screen) ---------- */
.panel .cap { margin: 14px 0 0; font-size: 13px; font-weight: 600; text-align: center; color: var(--muted-dark); }
.panel.sand .cap { color: var(--muted); }

/* ---------- Breakpoints ---------- */
@media (min-width: 1000px) {
  .hand { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 20px; align-items: center; }
  .hand .mid { flex-direction: row; }
  .hand .mid i { width: 30px; height: 3px; }
  .hand .mid strong { max-width: 190px; }
}
@media (max-width: 1099px) and (min-width: 760px) {
  .proute b { font-size: 17px; }
}
/* on narrow screens the nine stops wrap into three rows; the lines are dropped and every stop becomes a chip */
@media (max-width: 759px) {
  .proute { padding-top: 40px; }
  .proute ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 6px; }
  .proute li::after { display: none; }
  .proute a { gap: 10px; }
  .proute b { font-size: 17px; }
  .handoff { padding: 70px 0; }
  .hand .side { padding: 24px 22px; }
}
