/* Homepage content flow, fix1072. Scoped to the homepage. */
.home-journey .home-shell { padding-bottom: 0; }
.home-journey .home-block {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 60px auto;
  scroll-margin-top: 24px;
}
.home-journey .home-section-heading { margin-bottom: 24px; }
.home-journey .home-block .eyebrow {
  margin: 0 0 10px; color: #486579; font-size: 12px;
  letter-spacing: .1em; line-height: 1.5; font-weight: 800;
}
.home-journey .home-block h2 {
  margin: 0 0 14px; color: #102f45; font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.15; letter-spacing: -.025em; text-wrap: balance;
}
.home-journey .home-section-heading p:not(.eyebrow) {
  max-width: 850px; margin: 0; color: #4b6276; font-size: 16px; line-height: 1.65;
}
.home-journey .platform-benefits {
  width: 100%; max-width: none; margin: 0; padding: 0; z-index: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.home-journey .benefit-card {
  flex-direction: column; gap: 14px; min-height: 0; padding: 20px;
  border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(18, 44, 65, .04);
}
.home-journey .benefit-card::before { width: 3px; }
.home-journey .benefit-icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; box-shadow: none;
}
.home-journey .benefit-icon svg { width: 26px; height: 26px; }
.home-journey .benefit-copy { flex: 1; }
.home-journey .benefit-copy strong { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.home-journey .benefit-copy span { font-size: 14px; line-height: 1.6; }
.home-journey .benefit-link { font-size: 14px; line-height: 1.4; margin-top: auto; padding-top: 14px; }
.home-journey .ct-demo { margin-top: 0; margin-bottom: 0; }
.home-journey .home-free { margin-top: 40px; }
.home-journey .home-block .level-grid { max-width: none; padding: 0; margin: 0; gap: 22px; }
.home-journey .level-grid-free { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-journey .level-card h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.25; color: #17364c; }
.home-journey .home-text-link {
  color: #17609a; font-size: 14px; font-weight: 700; line-height: 1.5;
  text-decoration: underline; text-underline-offset: 4px;
}
.home-journey .home-text-link:hover { color: #0d3d64; }
.home-journey .home-teams {
  padding: 32px; border: 1px solid #d3dfe8; border-radius: 18px; background: #fff;
}
.home-journey .home-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.home-journey .home-team-copy > p:not(.eyebrow):not(.home-trial-note) { margin: 0; color: #4b6276; line-height: 1.65; }
.home-journey .home-team-features { padding: 0; margin: 22px 0; list-style: none; display: grid; gap: 15px; }
.home-journey .home-team-features li { padding-left: 16px; border-left: 3px solid #43a2ca; color: #4b6276; font-size: 15px; line-height: 1.55; }
.home-journey .home-team-features strong { display: block; color: #17364c; margin-bottom: 3px; }
.home-journey .home-team-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.home-journey .home-pilot-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  box-sizing: border-box; min-height: 48px; padding: 13px 19px; border: 1px solid #e68b25;
  border-radius: 7px; background: #f99a2a; color: #0b2539; text-decoration: none; font-size: 15px; font-weight: 800; line-height: 1.4;
}
.home-journey .home-pilot-button:hover { background: #ffad4c; color: #0b2539; }
.home-journey .home-trial-note { margin: 12px 0 0; color: #4b6276; font-size: 13px; line-height: 1.6; }
.home-journey .home-team-image { min-width: 0; margin: 0; }
.home-journey .home-team-image > a { display: block; border: 1px solid #d4dfe7; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 41, 63, .08); }
.home-journey .home-team-image img { display: block; width: 100%; height: auto; }
.home-journey .home-team-image figcaption { color: #526c7c; margin-top: 12px; font-size: 12px; line-height: 1.6; }
.home-journey .home-team-image figcaption a { color: #17609a; white-space: nowrap; text-underline-offset: 3px; }
.home-journey .home-assessment {
  display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 24px;
  border-radius: 12px; background: #0c2b43; color: #d6e5ef;
}
.home-journey .home-assessment > div { flex: 1; min-width: 0; }
.home-journey .home-assessment .eyebrow { color: #9ccff2; font-size: 11px; }
.home-journey .home-assessment h3 { color: #fff; font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.home-journey .home-assessment p:last-child { margin: 0; font-size: 14px; line-height: 1.65; }
.home-journey .home-assessment .home-text-link { color: #fff; flex: 0 0 175px; }
.home-journey .home-heading-row { display: flex; gap: 24px; align-items: end; justify-content: space-between; }
.home-journey .home-heading-row > .home-text-link { flex-shrink: 0; }
.home-journey .home-level-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-journey .home-level-grid .level-card { padding: 0 16px 18px; }
.home-journey .home-level-grid .level-image-wrap { margin: 0 -16px 14px; }
.home-journey .home-level-grid h3 { font-size: 19px; }
.home-journey .home-level-grid .level-badge { font-size: 10px; }
.home-journey .home-level-grid p { font-size: 14px; line-height: 1.6; }
.home-journey .home-about { padding-top: 28px; border-top: 1px solid #cfdae3; display: flex; gap: 40px; align-items: center; }
.home-journey .home-about > div { max-width: 820px; }
.home-journey .home-about h2 { font-size: 25px; }
.home-journey .home-about p:last-child { margin: 0; color: #4b6276; line-height: 1.65; font-size: 15px; }
.home-journey .home-about > a { flex-shrink: 0; }
.home-journey .home-closing { padding: 32px; display: flex; gap: 32px; align-items: center; justify-content: space-between; border-radius: 16px; border-top: 3px solid #f99a2a; background: #0c2b43; }
.home-journey .home-closing .eyebrow { color: #a3d3f4; }
.home-journey .home-closing h2 { color: #fff; }
.home-journey .home-closing p:not(.eyebrow) { margin: 0; color: #d0e1ec; line-height: 1.6; }
.home-journey .home-closing .home-trial-note { margin-top: 8px; }
.home-journey .home-closing-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.home-journey .home-closing-actions .home-text-link { color: #d0e1ec; }
.home-journey .home-block a:focus-visible { outline: 3px solid #2780b5; outline-offset: 5px; }
.home-journey .home-closing a:focus-visible, .home-journey .home-assessment a:focus-visible { outline-color: #ffd082; }
/* Preserve the hero and green safety banner; make pilot setup a primary route. */
.homepage-body.home-journey .platform-hero .hero-actions a.hero-pilot[href="/pilot.php"] {
  order: 1; padding: 13px 20px; min-height: 48px; border: 1px solid #dc9c53;
  border-radius: 7px; background: #102f47; color: #fff; font-size: 15px;
  font-weight: 700; justify-content: center; text-decoration: none;
}
.homepage-body.home-journey .platform-hero .hero-actions a.hero-pilot:hover { background: #1b405a; }
.homepage-body.home-journey .platform-hero .hero-actions a.hero-text-link {
  order: 3; min-height: 36px; padding: 4px 0; border: 0; border-radius: 0; background: transparent;
  color: #b9dcfa; text-decoration: underline; text-underline-offset: 4px;
  font-size: 14px; font-weight: 600; justify-content: flex-start;
}
@media (max-width: 1000px) {
  .home-journey .platform-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-journey .home-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-journey .home-team-grid { gap: 24px; }
  .home-journey .home-heading-row { display: block; }
  .home-journey .home-heading-row > a { display: inline-block; margin-top: 12px; }
}
@media (max-width: 760px) {
  .home-journey .home-block { width: calc(100% - 32px); margin: 38px auto; }
  .home-journey .home-section-heading { margin-bottom: 20px; }
  .home-journey .platform-benefits { gap: 12px; }
  .home-journey .benefit-card { padding: 16px; }
  .home-journey .benefit-copy strong { font-size: 17px; }
  .home-journey .ct-demo { width: calc(100% - 32px); margin: 0 auto; }
  .home-journey .home-free { margin-top: 30px; }
  .home-journey .level-grid-free { grid-template-columns: minmax(0, 1fr); }
  .home-journey .home-team-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-journey .home-teams { padding: 22px 18px; }
  .home-journey .home-team-image { max-width: 520px; margin: 0 auto; }
  .home-journey .home-assessment { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .home-journey .home-assessment .home-text-link { flex-basis: auto; }
  .home-journey .home-about { display: block; }
  .home-journey .home-about > a { display: inline-block; margin-top: 16px; }
  .home-journey .home-closing { padding: 26px 22px; flex-direction: column; align-items: stretch; gap: 24px; }
  .home-journey .home-closing-actions { align-items: stretch; text-align: center; }
  .homepage-body.home-journey .platform-hero .hero-actions a.hero-primary,
  .homepage-body.home-journey .platform-hero .hero-actions a.hero-pilot { flex: 1 1 185px; }
  .homepage-body.home-journey .platform-hero .hero-actions a.hero-text-link { flex: 0 1 auto; }
}
@media (max-width: 480px) {
  .home-journey .platform-benefits { grid-template-columns: minmax(0, 1fr); }
  .home-journey .benefit-card { flex-direction: row; gap: 14px; }
  .home-journey .home-level-grid { grid-template-columns: minmax(0, 1fr); }
  .home-journey .home-team-actions { align-items: stretch; flex-direction: column; gap: 12px; }
}

/* (cl-batch139, John 2026-10-28: "switch the Ready to train your team card … to the split line too") the header's split line
   (cyan left, orange right, small centre gap) replaces the closing card's solid orange top border. */
.home-journey .home-closing{position:relative;border-top:0}
.home-journey .home-closing::before,.home-journey .home-closing::after{content:"";position:absolute;top:0;height:3px;width:calc(50% - 19px);border-radius:0 0 3px 3px;pointer-events:none}
.home-journey .home-closing::before{left:16px;background:#18c8ed;box-shadow:0 0 9px #18c8ed55}
.home-journey .home-closing::after{right:16px;background:#ff9a2f;box-shadow:0 0 9px #ff9a2f55}
