/* Phase 1: scoped conversion improvements for the two approved pages. */
.phase1-home .conversion-hero-copy { max-width: 880px; }
.phase1-home .conversion-hero-heading { white-space: normal; }
.phase1-home .conversion-hero-description { white-space: normal; }
.phase1-home .conversion-hero-content { padding-top: 184px; }
.conversion-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  margin-top: 24px;
  background: #ff8a1f;
  color: #071b2a;
  font: 700 16px/1.4 Montserrat, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}
.conversion-cta:hover { background: #ff9b3d; }
.phase1-spreadsheet .services-hero .conversion-cta { margin-top: 0; }
.conversion-cta:focus-visible { outline: 3px solid #fcff77 !important; outline-offset: 4px; }
.phase1-home .conversion-hero-note,
.phase1-spreadsheet .services-hero .conversion-hero-note {
  max-width: 680px;
  margin: 14px 0 0;
  color: #fff;
  font: 400 16px/1.5 Montserrat, Arial, sans-serif;
}
.phase1-home .conversion-hero-description { margin-top: 24px; }
/* Reserve the note's final line count before the existing web font arrives. */
.phase1-home .conversion-hero-note { min-height: 48px; }
.conversion-journey { margin-top: 28px; }
.conversion-journey h4 { color: #fff; font: 700 18px/1.4 Montserrat, Arial, sans-serif; }
.conversion-journey ol { list-style: decimal; padding-left: 22px; margin: 16px 0 0; }
.conversion-journey li { margin: 0 0 16px; color: #cfd7da; font: 400 15px/1.65 Montserrat, Arial, sans-serif; }
.conversion-journey strong { display: block; color: #fff; font-weight: 700; }
.phase1-home .enquiry-next-step,
.phase1-spreadsheet .enquiry-next-step { color: #cfd7da; font: 400 14px/1.6 Montserrat, Arial, sans-serif; margin: 0 0 18px; }
.phase1-home #enquiry,
.phase1-spreadsheet #enquiry { scroll-margin-top: 24px; }
/* Fragment navigation must settle in one step even without the helper. */
:root:has(body.phase1-home, body.phase1-spreadsheet),
body:is(.phase1-home, .phase1-spreadsheet) { scroll-behavior: auto !important; }
.phase1-home .project-contact #formsubmitBtn { color: #071b2a !important; }
@media (min-width: 1000px) and (max-height: 56rem) {
  /* Scale the hero to available height while keeping the header and tap target intact. */
  .phase1-home .conversion-hero-heading {
    font-size: clamp(2.5rem, 20svh - 5rem, 6.25rem);
    line-height: 1.1;
  }
  .phase1-spreadsheet .services-hero h1 {
    font-size: clamp(2.5rem, 15svh - 4rem, 4.75rem);
  }
}
@media (max-width: 999px) {
  .phase1-home .conversion-hero-frame { min-height: 0 !important; }
  /* Reserve the existing 160px absolute header and a visible content gap. */
  .phase1-home .conversion-hero-content { padding: 168px 20px 72px !important; }
  .phase1-home .conversion-hero-heading { font-size: clamp(32px, 6.5vw, 40px); line-height: 1.15; }
  .phase1-home .conversion-hero-description { font-size: 18px; line-height: 1.55; }
}
@media (max-width: 640px) {
  .conversion-cta { width: 100%; box-sizing: border-box; }
  .phase1-home .conversion-hero-note { min-height: 72px; }
}
@media (max-width: 359px) {
  /* Keep the complete action above the unchanged first-visit consent banner. */
  .phase1-home .conversion-hero-heading { font-size: 28px; }
  .phase1-home .conversion-cta { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .phase1-home .project-contact #formsubmitBtn { transition: none; }
  .phase1-home .project-contact #formsubmitBtn:hover { transform: none; }
}
