/* Websites: a process chart in three lanes, then pricing */

/* 1. Process chart: a lane label on the left, hatched bars on a 16-step track */

.flow-scroll { overflow-x: auto; }
.flow {
  min-width: 760px;
  border: 1px solid rgba(16, 40, 76, .2);
  background: rgba(255, 255, 255, .45);
}
.flow-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(16, 40, 76, .2);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.flow-row {
  display: grid;
  grid-template-columns: clamp(170px, 16vw, 230px) 1fr;
}
.flow-row + .flow-row { border-top: 1px solid rgba(16, 40, 76, .2); }

.flow-lane {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-content: start;
  padding: 20px 16px;
  border-right: 1px solid rgba(16, 40, 76, .2);
  font-size: 13px;
  line-height: 1.4;
}
.flow-lane .flow-dot { grid-row: span 2; }
.flow-lane strong { font-size: 15px; font-weight: 700; }
.flow-lane span:last-child { opacity: .7; }
.flow-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lane);
}
.flow-dot svg { width: 14px; height: 14px; }

/* The track: 16 columns (two per stage), faint lines between every pair */
.flow-track {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  grid-template-rows: repeat(2, 38px);
  row-gap: 10px;
  align-content: center;
  padding: 22px 0;
  background: repeating-linear-gradient(to right, rgba(16, 40, 76, .1) 0 1px, transparent 1px calc(100% / 8));
}

/* Lane colours: sky, sun and steel, each with a darker stripe */
.lane-strategy { --lane: #cddcf0; --stripe: #b9cde6; }
.lane-design { --lane: #f8ecac; --stripe: #f1df84; }
.lane-build { --lane: #7f9ccb; --stripe: #6e8cbd; }

.flow-bar, .flow-launch {
  grid-column: var(--from) / var(--to);
  grid-row: var(--lvl);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flow-bar {
  background: repeating-linear-gradient(135deg, var(--lane) 0 8px, var(--stripe) 8px 10px);
}
.flow-bar svg, .flow-dot svg {
  flex: none;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-bar svg { width: 12px; height: 12px; }

/* The finish: a small navy tag with the carpet */
.flow-launch {
  justify-content: center;
  margin-left: 6px;
  padding: 0 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.flow-launch img { width: 22px; height: auto; }

/* Bars sweep in from the left in the order they happen */
.js .flow-bar, .js .flow-launch {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s cubic-bezier(.65, 0, .35, 1);
  transition-delay: calc(.2s + (var(--from) - 2) * .09s);
}
.js .is-in .flow-bar, .js .is-in .flow-launch { clip-path: inset(0); }

/* 2. Pricing: two plans and a photo, side by side */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(26px, 2.6vw, 40px);
  border-radius: 28px;
}
.plan-dark { background: var(--navy); color: var(--white); }
.plan-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 24px 60px rgba(16, 40, 76, .14);
}
.plan h3 {
  margin: 0 0 .6em;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.plan-price {
  margin: 0;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}
.plan-note { margin: 6px 0 22px; font-size: 14px; opacity: .65; }
.plan-desc {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 20%, transparent);
  font-size: 17px;
  line-height: 1.45;
}
.plan-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.plan-list li { display: flex; gap: 10px; align-items: center; }
.plan-list svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-badge {
  position: absolute;
  top: clamp(26px, 2.6vw, 40px);
  right: clamp(22px, 2.2vw, 34px);
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--sun);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  transform: rotate(4deg);
  box-shadow: 0 4px 12px rgba(16, 40, 76, .18);
}

/* The button sits at the foot of each plan, with the same arrow as "Let's chat" */
.plan-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  margin-top: auto;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s;
}
.plan-dark .plan-cta { background: var(--white); color: var(--navy); }
.plan-light .plan-cta { background: var(--navy); color: var(--white); }
.plan-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--steel-dark);
  opacity: 0;
  transition: opacity .3s;
}
.plan-cta:hover, .plan-cta:focus-visible { color: var(--white); }
.plan-cta:hover::before, .plan-cta:focus-visible::before { opacity: 1; }
.plan-cta .cta-arrow { width: 26px; height: 26px; }
.plan-cta .cta-arrow svg { inset: 7px; }
.plan-light .plan-cta .cta-arrow { background: var(--white); color: var(--navy); }

@media (max-width: 1000px) {
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js .flow-bar, .js .flow-launch { clip-path: none; transition: none; }
}
