/* Hallmark · pre-emit critique: P4 H5 E5 S4 R5 V4
 * Section scope · numbered timeline · existing blue accent */
.flow-redesign {
  --flow-blue: #1763df;
  --flow-ink: #102548;
  --flow-muted: #596a82;
  --flow-line: #c7d8ee;
  --flow-paper: #f5f9ff;
  --flow-pale: #e8f1ff;
  background: var(--flow-paper);
  padding-block: 86px 68px;
  color: var(--flow-ink);
}
.flow-heading { text-align: center; }
.flow-heading > p { color: var(--flow-blue); font-size: 16px; font-weight: 600; letter-spacing: .06em; margin-bottom: 13px; }
.flow-heading h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.4; font-weight: 700; letter-spacing: .06em; }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 52px 0 0; }
.flow-steps li { position: relative; padding: 0 24px; text-align: center; }
.flow-steps li:not(:last-child)::after { content: ''; position: absolute; top: 46px; left: calc(50% + 54px); width: calc(100% - 108px); height: 1px; background: var(--flow-line); }
.flow-step-marker { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 94px; height: 94px; margin: auto; border: 1px solid var(--flow-line); border-radius: 50%; background: var(--color-white); color: var(--flow-blue); }
.flow-step-marker span { font-family: var(--font-brand); font-size: 10px; line-height: 1; letter-spacing: .16em; margin-bottom: 6px; }
.flow-step-marker b { font-family: var(--font-brand); font-size: 39px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.flow-steps li:first-child .flow-step-marker { background: var(--flow-blue); color: var(--color-white); border-color: var(--flow-blue); }
.flow-step-copy { margin-top: 26px; }
.flow-step-copy h3 { display: flex; flex-direction: column; justify-content: flex-end; min-height: 56px; font-size: 22px; font-weight: 700; line-height: 1.5; }
.flow-step-copy h3 small { font-size: 12px; font-weight: 500; color: var(--flow-muted); margin-bottom: 2px; }
.flow-step-copy p { color: var(--flow-muted); font-size: 14px; line-height: 1.9; margin-top: 12px; }
.flow-assurance { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 44px auto 0; padding: 18px 28px; border-radius: 10px; background: var(--color-white); font-size: 14px; line-height: 1.8; color: var(--flow-muted); }
.flow-assurance > span { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; color: var(--flow-blue); background: var(--flow-pale); font-size: 15px; }
@media (max-width: 1050px) {
  .flow-steps li { padding-inline: 12px; }
  .flow-step-copy h3 { font-size: 19px; }
  .flow-step-copy p { font-size: 12px; }
}
@media (max-width: 800px) {
  .flow-redesign { padding-block: 56px 46px; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); max-width: 500px; margin: 35px auto 0; }
  .flow-steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 26px; padding: 0 0 30px; text-align: left; }
  .flow-steps li:last-child { padding-bottom: 0; }
  .flow-steps li:not(:last-child)::after { top: 78px; left: 35px; width: 1px; height: calc(100% - 86px); }
  .flow-step-marker { width: 70px; height: 70px; margin: 0; }
  .flow-step-marker b { font-size: 29px; }
  .flow-step-marker span { font-size: 8px; margin-bottom: 5px; }
  .flow-step-copy { margin: 4px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--flow-line); }
  .flow-steps li:last-child .flow-step-copy { border-bottom: 0; padding-bottom: 0; }
  .flow-step-copy h3 { min-height: 0; font-size: 22px; }
  .flow-step-copy p { font-size: 14px; margin-top: 9px; }
  .flow-step-copy p br { display: none; }
  .flow-assurance { max-width: 500px; margin-top: 28px; padding: 18px 20px; text-align: left; align-items: flex-start; }
}
@media (max-width: 480px) {
  .flow-heading > p { font-size: 13px; }
  .flow-heading h2 { font-size: 30px; }
  .flow-steps li { grid-template-columns: 58px minmax(0, 1fr); gap: 18px; }
  .flow-step-marker { width: 58px; height: 58px; }
  .flow-step-marker b { font-size: 25px; }
  .flow-step-marker span { font-size: 7px; }
  .flow-steps li:not(:last-child)::after { top: 66px; left: 29px; height: calc(100% - 74px); }
  .flow-step-copy h3 { font-size: 20px; }
  .flow-step-copy p { font-size: 13px; }
  .flow-assurance { font-size: 12px; padding: 16px; gap: 10px; }
}
