:root {
  --orange: #ef7d00;
}
:is(.delivery, .responsibility, .approval, .feedback, .outcome, .timing) > .rail > h2 {
  font-size: var(--own-site-section-title-font-size);
  line-height: var(--own-site-section-title-line-height);
  font-weight: var(--own-site-section-title-font-weight);
  letter-spacing: var(--own-site-section-title-letter-spacing);
}

.hero {
  min-height: 444px;
  background: #fff;
}
.hero-grid {
  min-height: 444px;
  display: grid;
  grid-template-columns: minmax(0, 490px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.hero-copy {
  padding: 36px 0;
}
.hero-copy h1 {
  max-width: 520px;
  font-size: var(--own-site-hero-title-font-size);
  line-height: var(--own-site-hero-title-line-height);
  font-weight: var(--own-site-hero-title-font-weight);
  letter-spacing: var(--own-site-hero-title-letter-spacing);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.hero-copy .button {
  margin-top: 27px;
}
.hero-cards {
  display: grid;
  grid-template-columns: 198px 34px 198px 34px 241px;
  align-items: center;
  justify-content: end;
}
.journey-card {
  width: 198px;
  height: 286px;
  padding: 20px 14px 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 38, 29, 0.07);
}
.journey-card h2 {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.journey-card h2 img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.check-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: #3d453f;
  font-size: 12px;
  line-height: 1.25;
}
.check-list li {
  position: relative;
  padding-left: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}
.journey-card > img,
.journey-card > picture {
  position: absolute;
  left: 12px;
  bottom: 14px;
}
.journey-card > img,
.journey-card > picture > img {
  display: block;
  object-fit: contain;
}
.journey-card > picture > img {
  width: 100%;
  height: 100%;
}
.journey-card .business-image,
.journey-card .direction-image {
  width: 174px;
}
.approval-mark {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-size: 20px;
  line-height: 1;
  background: #fff;
}
.finished-card {
  width: 241px;
  height: auto;
  min-height: 324px;
  padding: 30px 14px 14px;
}
.finished-card .window-dots {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.window-dots i:nth-child(1) {
  background: #e95744;
}
.window-dots i:nth-child(2) {
  background: #f4b73d;
}
.window-dots i:nth-child(3) {
  background: #32ad62;
}
.finished-card .finished-image {
  width: 223px;
  height: 117px;
  left: 8px;
  top: 55px;
  bottom: auto;
}
.finished-card .check-list {
  margin-top: 145px;
}
.journey-arrow {
  width: 26px;
  height: 1px;
  position: relative;
  justify-self: center;
  background: #111;
}
.journey-arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: -3px;
  right: 0;
  border-top: 1px solid #111;
  border-right: 1px solid #111;
  transform: rotate(45deg);
}

.delivery {
  min-height: 350px;
  padding: 28px 0 25px;
  background: #fff;
}
.stage-row {
  margin: 28px 0 0;
  padding: 0 40px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}
.stage-row li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stage-row li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1px;
  background: var(--forest);
}
.stage-row li:last-child::after {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: 46px;
  height: 1px;
  background: var(--forest);
}
.stage-row li:last-child::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 80px);
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--forest);
  border-right: 1px solid var(--forest);
  transform: rotate(45deg);
}
.stage-row img {
  width: 81px;
  height: 81px;
  object-fit: contain;
}
.stage-row b {
  width: 32px;
  height: 32px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 14px;
  font-weight: 400;
}
.stage-row h3 {
  margin-top: 13px;
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.stage-row p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.responsibility {
  min-height: 420px;
  padding: 28px 0 30px;
  background: #fff;
}
.responsibility-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.responsibility-grid article {
  min-height: 285px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.responsibility-grid article:last-child {
  border-right: 0;
}
.responsibility-grid header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.responsibility-grid header img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.responsibility-grid h3 {
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.responsibility-grid ul,
.approval-grid ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #354039;
  font-size: 14px;
  line-height: 1.65;
}
.responsibility-grid li::marker,
.approval-grid li::marker {
  color: var(--forest);
}

.approval {
  min-height: 453px;
  padding: 28px 0 20px;
  background: #fff;
}
.approval-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
}
.approval-grid article {
  min-height: 215px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.approval-grid article > img {
  width: 67px;
  height: 67px;
  object-fit: contain;
}
.approval-grid h3 {
  color: var(--forest);
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.approval-grid article p {
  margin-top: 6px;
  font-size: 14px;
}
.approval-grid ul {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.large-arrow {
  width: 36px;
  height: 1px;
  position: relative;
  justify-self: center;
  background: #111;
}
.large-arrow::after {
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  top: -5px;
  right: 0;
  border-top: 1px solid #111;
  border-right: 1px solid #111;
  transform: rotate(45deg);
}
.notice {
  height: 48px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid;
  border-radius: 7px;
  font-size: 14px;
}
.notice img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.notice.info {
  color: var(--blue);
  border-color: #7ca4ff;
}
.notice.warning {
  color: #c76500;
  border-color: #f1b96d;
}

.feedback {
  min-height: 325px;
  padding: 27px 0 20px;
  background: #fff;
}
.feedback-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feedback-grid article {
  min-height: 140px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 81px 1fr;
  gap: 16px;
  border-right: 1px solid var(--line);
}
.feedback-grid article:first-child {
  padding-left: 0;
}
.feedback-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}
.feedback-grid img {
  width: 81px;
  height: 81px;
  object-fit: contain;
}
.feedback-grid h3 {
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.feedback-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.feedback-output {
  margin-top: 8px;
  color: var(--blue);
  font-size: 12px;
}
.feedback .notice {
  height: 44px;
  margin-top: 15px;
}

.outcome {
  min-height: 354px;
  padding: 28px 0 20px;
  background: #fff;
}
.outcome-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.outcome-grid article {
  min-height: 150px;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.outcome-grid article:first-child {
  padding-left: 0;
}
.outcome-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}
.outcome-grid img {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  object-fit: contain;
}
.outcome-grid h3 {
  margin-top: 10px;
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.outcome-grid p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.outcome .notice {
  height: 44px;
  margin-top: 14px;
}

.timing {
  min-height: 224px;
  padding: 28px 0;
  background: #fff;
}
.timing-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.timing-grid article {
  min-height: 86px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.timing-grid article:first-child {
  padding-left: 0;
}
.timing-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}
.timing-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.timing-grid h3 {
  font-size: var(--own-site-small-title-font-size);
  line-height: var(--own-site-small-title-line-height);
  font-weight: var(--own-site-small-title-font-weight);
  letter-spacing: var(--own-site-small-title-letter-spacing);
}
.timing-grid p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.demo {
  height: 286px;
  padding: 18px 0;
  background: #f7f8f6;
}
.demo-band {
  height: 250px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f1;
}
.demo-underlay {
  width: 1308px;
  height: 250px;
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: contain;
}
.demo-copy {
  width: 430px;
  position: relative;
  z-index: 2;
  padding: 21px 0 0 30px;
}
.demo-copy h2 {
  font-size: var(--own-site-section-title-font-size);
  line-height: var(--own-site-section-title-line-height);
  font-weight: var(--own-site-section-title-font-weight);
  letter-spacing: var(--own-site-section-title-letter-spacing);
}
.demo-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.demo-copy .button {
  margin-top: 19px;
}

/* Only true full-width body intros use the shared readable measure. The hero
 * and closing CTA keep their intentional text-and-visual compositions. */
.delivery > .rail > .eyebrow,
.responsibility > .rail > .eyebrow,
.approval > .rail > .eyebrow,
.feedback > .rail > .eyebrow,
.outcome > .rail > .eyebrow,
.timing > .rail > .eyebrow {
  width: min(950px, 100%);
  margin-inline: auto;
  justify-content: center;
}
.delivery > .rail > h2,
.responsibility > .rail > h2,
.approval > .rail > h2,
.feedback > .rail > h2,
.outcome > .rail > h2,
.timing > .rail > h2 {
  width: min(950px, 100%);
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 400px 1fr;
  }
  .hero-copy h1 {
    font-size: var(--own-site-hero-title-font-size);
    line-height: var(--own-site-hero-title-line-height);
    font-weight: var(--own-site-hero-title-font-weight);
    letter-spacing: var(--own-site-hero-title-letter-spacing);
  }
  .hero-cards {
    transform: scale(0.84);
    transform-origin: right center;
    margin-left: -80px;
  }
}
@media (max-width: 1365px) {
  .hero,
  .hero-grid,
  .delivery,
  .responsibility,
  .approval,
  .feedback,
  .outcome,
  .timing,
  .demo {
    min-height: 0;
    height: auto;
  }
  .hero-grid {
    display: block;
  }
  .hero-copy {
    padding: 44px 0 30px;
  }
  .hero-copy h1 {
    font-size: var(--own-site-hero-title-font-size);
    line-height: var(--own-site-hero-title-line-height);
    font-weight: var(--own-site-hero-title-font-weight);
    letter-spacing: var(--own-site-hero-title-letter-spacing);
  }
  .hero-cards {
    width: 757px;
    margin: 0 0 25px;
    transform: scale(0.46);
    transform-origin: left top;
  }
  .hero {
    max-height: 665px;
  }
  :is(.delivery, .responsibility, .approval, .feedback, .outcome, .timing) > .rail > h2 {
    font-size: var(--own-site-section-title-font-size);
    line-height: var(--own-site-section-title-line-height);
    font-weight: var(--own-site-section-title-font-weight);
    letter-spacing: var(--own-site-section-title-letter-spacing);
  }
  .delivery,
  .responsibility,
  .approval,
  .feedback,
  .outcome,
  .timing {
    padding: 34px 0;
  }
  .stage-row {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stage-row li::before,
  .stage-row li::after {
    display: none;
  }
  .responsibility-grid,
  .feedback-grid,
  .outcome-grid,
  .timing-grid {
    grid-template-columns: 1fr;
  }
  .responsibility-grid article,
  .feedback-grid article,
  .outcome-grid article,
  .timing-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }
  .responsibility-grid article:last-child,
  .feedback-grid article:last-child,
  .outcome-grid article:last-child,
  .timing-grid article:last-child {
    border-bottom: 0;
  }
  .approval-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .large-arrow {
    width: 1px;
    height: 30px;
  }
  .large-arrow::after {
    top: auto;
    right: -5px;
    bottom: 0;
    transform: rotate(135deg);
  }
  .outcome-grid article {
    min-height: 170px;
  }
  .timing-grid article {
    grid-template-columns: 48px 1fr;
  }
  .notice {
    height: auto;
    min-height: 48px;
    padding: 10px;
    text-align: center;
  }
  .demo {
    padding: 18px 0;
  }
  .demo-band {
    height: 320px;
  }
  .demo-underlay {
    height: 250px;
    opacity: 0.32;
    left: -450px;
  }
  .demo-copy {
    width: auto;
    padding: 34px 24px;
  }
}

/* Spec348: approved Workflow copy determines block height. */
.workflow-hosting { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.workflow-hosting h3 { font-size: var(--own-site-small-title-font-size); line-height: var(--own-site-small-title-line-height); }
.workflow-hosting p, .workflow-timing-intro { margin-top: 12px; color: var(--muted); line-height: 1.5; }
.workflow-timing-intro { max-width: 1100px; margin-inline: auto; text-align: center; }
.notice, .feedback .notice, .outcome .notice { height: auto; min-height: 64px; padding: 16px 18px; line-height: 1.5; }
.notice > img { flex: 0 0 30px; }

@media (min-width: 1366px) {
  .journey-card { height: auto; min-height: 286px; }
  .hero-cards > .journey-card:first-child { padding-right: 6px; }
  .journey-card > picture { position: static; display: block; margin-top: 18px; max-width: 100%; height: auto; }
  .journey-card > picture > img { height: auto; }
  .finished-card .finished-image { height: auto; }
  .finished-card .check-list { margin-top: 16px; }
  .stage-row li { padding-inline: 10px; }
  .timing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .timing-grid article { grid-column: auto; }
  .timing-grid article:nth-child(3n) { border-right: 0; }
  .timing-grid article:nth-child(3n+1) { padding-left: 0; }
  .demo, .demo-band { height: auto; min-height: 250px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 705px; gap: 24px; }
  .hero-copy { min-width: 0; }
  .hero-copy h1, .hero-copy > p:not(.eyebrow) { max-width: none; }
  .demo-copy { width: min(590px, 45%); padding: 18px 0 18px 30px; }
  .demo-copy p { margin-top: 12px; }
  .demo-copy .button { margin-top: 16px; }
  .demo-underlay { width: 100%; height: 100%; }
  .demo-underlay img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
}
