/* ==========================================================================
   CFO CRAFT — OPTIMIZED RESPONSIVE STYLESHEET
   One authoritative block per media condition.
   Repeated patch blocks from style.css/responsive.css have been consolidated.
   Smaller-screen refinements remain separate only where they intentionally differ.
   ========================================================================== */

@media (max-width: 360px) {
  .home-page .hero-email-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .home-page .hero-email-form .hero-input,
  .home-page .hero-email-form .btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .home-page .hero-dashboard {
    max-width: 760px;
    margin-top: 1.75rem;
  }

  .home-page .hero-advisory-shell {
    grid-template-columns: 1fr;
  }

  .home-page .hero-advisory-copy {
    padding: 2.4rem 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .home-page .hero-advisory-title {
    max-width: 650px;
  }

  .home-page .hero-advisory-text {
    max-width: 650px;
  }

  .home-page .hero-decision-desk {
    padding: 1.4rem;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .home-page #why.section-why {
    padding: 2.35rem 0 2.55rem;
  }

  .home-page #why .why-compact-header {
    margin-bottom: 1.3rem;
  }

  .home-page #why .why-card-head {
    margin-bottom: 0.64rem;
  }

  .home-page #how-it-works.section-how {
    padding: 2.55rem 0 2.8rem;
  }

  .home-page #how-it-works .how-journey-stage {
    height: 300px;
  }

  .home-page #how-it-works .how-journey-svg {
    height: 142px;
  }

  .home-page #how-it-works .how-step-journey {
    max-width: 245px;
    min-height: 110px;
    padding: 0.78rem 0.85rem 0.82rem;
  }

  .home-page #how-it-works .how-step-journey .step-title {
    font-size: 0.98rem;
  }

  .home-page #how-it-works .how-step-journey .step-desc {
    font-size: 0.69rem;
    line-height: 1.44;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-page #why.section-why,
  .home-page #how-it-works.section-how {
    height: auto;
    min-height: 0;
    padding: 2.5rem 0;
  }

  .home-page #why .why-compact-header,
  .home-page #how-it-works .how-journey-header {
    margin-bottom: 1.2rem;
  }

  .home-page #why .why-compact-header .section-heading,
  .home-page #how-it-works .how-journey-header .section-heading {
    font-size: 2.25rem;
  }

  .home-page #why .why-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .home-page #why .why-card-compact {
    min-height: 148px;
    padding: 1rem 1.05rem;
  }

  .home-page #how-it-works .how-journey-svg {
    display: none;
  }

  .home-page #how-it-works .how-journey-stage {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0 0 0 4.25rem;
  }

  .home-page #how-it-works .how-journey-stage::before,
  .home-page #how-it-works .how-journey-stage::after {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    border-radius: 99px;
  }

  .home-page #how-it-works .how-journey-stage::before {
    background: rgba(255, 255, 255, 0.14);
  }

  .home-page #how-it-works .how-journey-stage::after {
    background: linear-gradient(
      180deg,
      var(--light-blue),
      var(--primary-blue),
      var(--creamish)
    );
    transform: scaleY(var(--how-progress));
    transform-origin: top;
  }

  .home-page #how-it-works .how-step-journey {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 1rem 1.1rem;
    transform: none;
  }

  .home-page #how-it-works .how-step-journey.is-active {
    transform: translateY(-2px);
  }

  .home-page #how-it-works .how-step-journey::before {
    position: absolute;
    left: -3.92rem;
    top: 50%;
    bottom: auto;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    transform: translateY(-50%);
    border: 2px solid rgba(166, 203, 247, 0.52);
    border-radius: 50%;
    background: #071f3f;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 0 0 6px rgba(7, 31, 63, 0.94);
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(1)::before {
    content: "01";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(2)::before {
    content: "02";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(3)::before {
    content: "03";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(4)::before {
    content: "04";
  }

  .home-page #how-it-works .how-step-journey.is-active::before,
  .home-page #how-it-works .how-step-journey.is-complete::before {
    background: var(--white);
    border-color: var(--light-blue);
    color: var(--dark-blue);
  }
}

@media (max-width: 767px) {
  .home-page #why.section-why,
  .home-page #how-it-works.section-how {
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 2rem 0;
  }

  .home-page #why .why-compact-header,
  .home-page #how-it-works .how-journey-header {
    margin-bottom: 1.05rem;
  }

  .home-page #why .why-compact-header .pre-title,
  .home-page #how-it-works .how-journey-header .pre-title {
    font-size: 0.82rem;
  }

  .home-page #why .why-compact-header .section-heading,
  .home-page #how-it-works .how-journey-header .section-heading {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    line-height: 1.14;
  }

  .home-page #why .why-grid-compact {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .home-page #why .why-card-compact {
    min-height: 0;
    padding: 0.95rem;
    border-radius: 14px;
  }

  .home-page #why .why-card-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.7rem;
    margin-bottom: 0.58rem;
  }

  .home-page #why .why-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .home-page #why .why-title {
    font-size: 0.96rem;
  }

  .home-page #why .why-desc {
    font-size: 0.81rem;
    line-height: 1.5;
  }

  .home-page #how-it-works .how-journey-header .section-desc {
    font-size: 0.88rem;
  }

  .home-page #how-it-works .how-journey-svg {
    display: none;
  }

  .home-page #how-it-works .how-journey-stage {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.72rem;
    padding: 0 0 0 3.15rem;
  }

  .home-page #how-it-works .how-journey-stage::before,
  .home-page #how-it-works .how-journey-stage::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 1.15rem;
    bottom: 1.15rem;
    width: 3px;
    border-radius: 99px;
  }

  .home-page #how-it-works .how-journey-stage::before {
    background: rgba(255, 255, 255, 0.14);
  }

  .home-page #how-it-works .how-journey-stage::after {
    background: linear-gradient(
      180deg,
      var(--light-blue),
      var(--primary-blue),
      var(--creamish)
    );
    transform: scaleY(var(--how-progress));
    transform-origin: top;
  }

  .home-page #how-it-works .how-step-journey {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 0.9rem 0.95rem;
    border-radius: 13px;
    transform: none;
  }

  .home-page #how-it-works .how-step-journey.is-active {
    transform: translateY(-2px);
  }

  .home-page #how-it-works .how-step-journey::before {
    position: absolute;
    left: -2.86rem;
    top: 0.95rem;
    bottom: auto;
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    transform: none;
    border: 2px solid rgba(166, 203, 247, 0.52);
    border-radius: 50%;
    background: #071f3f;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px rgba(7, 31, 63, 0.94);
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(1)::before {
    content: "01";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(2)::before {
    content: "02";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(3)::before {
    content: "03";
  }

  .home-page #how-it-works .how-step-journey:nth-of-type(4)::before {
    content: "04";
  }

  .home-page #how-it-works .how-step-journey.is-active::before,
  .home-page #how-it-works .how-step-journey.is-complete::before {
    background: var(--white);
    border-color: var(--light-blue);
    color: var(--dark-blue);
  }

  .home-page #how-it-works .how-step-journey .step-title {
    font-size: 1rem;
  }

  .home-page #how-it-works .how-step-journey .step-desc {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-tooltip,
  .home-page .feature-visual,
  .home-page .home-plan,
  .home-page .why-card,
  .home-page .faq-list details,
  .home-page .cs-slider-wrapper {
    transition: none !important;
  }

  .home-page #why .why-card-compact,
  .home-page #how-it-works .how-step-journey,
  .home-page #how-it-works .how-track-progress,
  .home-page #how-it-works .how-svg-node circle,
  .home-page #how-it-works .how-svg-node text {
    transition: none !important;
  }
}

@media (min-width: 1025px) and (max-height: 690px) {
  .home-page #outcome.section-outcome,
  .home-page #metrics.section-metrics,
  .home-page #pricing.section-pricing,
  .home-page #story.section-story,
  .home-page #contact.section-contact {
    min-height: 0;
  }
}

@media (min-width: 769px) {
  .home-page #case-studies .cs-slider-container {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(8, 41, 81, 0.12);
  }

  .home-page #case-studies .cs-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    background: #fff;
  }

  .home-page #case-studies .cs-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .home-page #case-studies .cs-scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--creamish);
    box-shadow: 0 0 0 4px rgba(238, 186, 125, 0.16);
  }

  .home-page #case-studies #case-study-count {
    color: var(--dark-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .home-page #case-studies.case-scroll-story {
    position: relative;
    height: 1000svh;
    margin: 0;
    padding: 0;
    background: var(--gray-100);
  }

  .home-page #case-studies .cs-sticky-frame {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: calc(var(--home-nav-offset) + 0.5rem) 0 0.75rem;
    background:
      radial-gradient(
        circle at 50% 18%,
        rgba(166, 203, 247, 0.14),
        transparent 34%
      ),
      var(--gray-100);
  }

  .home-page #case-studies .cs-sticky-content {
    width: 100%;
  }

  .home-page #case-studies .cs-progress-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 0.55rem;
    margin-bottom: 0.45rem;
  }

  .home-page #case-studies .cs-progress-track {
    display: flex;
    align-items: center;
    gap: 0.38rem;
  }

  .home-page #case-studies .cs-progress-segment {
    box-shadow: inset 0 0 0 1px rgba(8, 41, 81, 0.04);
    transition:
      width 0.25s ease,
      background 0.25s ease,
      transform 0.25s ease;
    width: 23px;
    height: 4px;
    border-radius: 999px;
    background: #d0d6dd;
  }

  .home-page #case-studies .cs-progress-segment.is-complete {
    background: #7fb9ef;
  }

  .home-page #case-studies .cs-progress-segment.is-current {
    width: 36px;
    background: #0e7858;
    transform: scaleY(1.12);
  }

  .home-page #case-studies .case-study-header {
    max-width: 900px;
    margin: 0 auto 0.75rem;
    margin-bottom: 0.58rem;
  }

  .home-page #case-studies .case-study-header .pre-title {
    margin-bottom: 0.2rem;
  }

  .home-page #case-studies .section-heading {
    line-height: 1.16;
    margin-bottom: 0.2rem;
    font-size: clamp(2.25rem, 3vw, 2.7rem);
  }

  .home-page #case-studies .section-subheading {
    margin: 0;
    font-size: 0.82rem;
  }

  .home-page #case-studies .cs-showcase {
    max-width: 1060px;
  }

  .home-page #case-studies .cs-slide {
    height: min(50svh, 450px);
  }

  .home-page #case-studies .cs-slider-wrapper {
    will-change: transform;
    transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .home-page #case-studies .cs-showcase-footer {
    font-size: 0.75rem;
    margin-top: 0.46rem;
  }
}

@media (min-width: 1025px) and (max-height: 720px) {
  .home-page #how-it-works .how-journey-header .section-heading,
  .home-page #outcome .section-heading,
  .home-page #metrics .metrics-heading,
  .home-page #story .section-heading,
  .home-page #contact .section-heading {
    font-size: 2.2rem;
  }

  .home-page #how-it-works .how-journey-stage {
    height: 270px;
  }

  .home-page #pricing .section-heading {
    font-size: 2.05rem;
  }

  .home-page #pricing .home-plan {
    padding: 0.7rem 0.8rem;
  }

  .home-page #pricing .home-bookends {
    margin-top: 0.5rem;
  }

  .home-page #story .story-left p,
  .home-page #story .founder-card p {
    font-size: 0.72rem;
  }

  .home-page #contact .contact-form {
    padding: 0.72rem 0.82rem;
  }

  .home-page #case-studies .cs-slide {
    height: min(45svh, 390px);
  }
}

@media (min-width: 1025px) and (max-height: 760px) {
  .home-page #how-it-works .how-journey-stage {
    height: 285px;
    flex-basis: 285px;
  }

  .home-page #how-it-works .how-step-journey {
    min-height: 94px;
    padding: 0.7rem 0.82rem;
  }

  .home-page #how-it-works .how-step-journey .step-desc {
    font-size: 0.67rem;
  }

  .home-page #outcome .outcome-before,
  .home-page #outcome .outcome-after {
    padding: 1.15rem 1.55rem;
  }

  .home-page #outcome .outcome-list li {
    font-size: 0.79rem;
  }

  .home-page #pricing .section-heading {
    font-size: 2.05rem;
  }

  .home-page #pricing .home-plan {
    padding: 0.8rem 0.88rem;
  }

  .home-page #pricing .home-plan-desc {
    font-size: 0.7rem;
  }

  .home-page #pricing .home-plan-feats li {
    font-size: 0.65rem;
  }

  .home-page #pricing .home-bookend {
    min-height: 68px;
    padding: 0.58rem 0.72rem;
  }

  .home-page #story .story-left p,
  .home-page #story .founder-card p {
    font-size: 1rem;
  }

  .home-page #contact .section-heading {
    font-size: 2.15rem;
  }

  .home-page #contact .contact-assurance {
    margin-top: 0.42rem;
  }

  .home-page #contact .contact-form {
    padding: 0.78rem 0.88rem;
    gap: 0.45rem;
  }

  .home-page #contact .contact-form .form-group input,
  .home-page #contact .contact-form .form-group select,
  .home-page #contact .contact-form .form-group textarea {
    padding: 0.4rem 0.55rem;
  }

  .home-page #contact .contact-form .form-group textarea {
    min-height: 54px;
  }

  .home-page #case-studies .cs-slider-container {
    max-height: 49svh;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-page #how-it-works.section-how,
  .home-page #pricing.section-pricing,
  .home-page #contact.section-contact {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 4.25rem !important;
    padding-bottom: 4.5rem !important;
  }

  .home-page #pricing .home-plans {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
  }

  .home-page #pricing .home-plan-desc {
    min-height: 0 !important;
  }

  .home-page #pricing .home-bookends {
    grid-template-columns: 1fr !important;
  }

  .home-page #contact .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
  }

  .home-page #contact .contact-info-area {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1025px) and (max-height: 780px) {
  .home-page #how-it-works .how-step-journey,
  .home-page #how-it-works .how-step-01,
  .home-page #how-it-works .how-step-02,
  .home-page #how-it-works .how-step-03,
  .home-page #how-it-works .how-step-04 {
    min-height: 102px !important;
    padding: 0.72rem 0.82rem !important;
  }

  .home-page #how-it-works.section-how {
    padding-top: calc(var(--home-nav-offset) + 0.05rem) !important;
  }

  .home-page #how-it-works .how-journey-stage {
    height: 292px !important;
    min-height: 292px !important;
  }

  .home-page #how-it-works .how-step-01,
  .home-page #how-it-works .how-step-03 {
    top: -10px !important;
  }

  .home-page #how-it-works .how-step-02,
  .home-page #how-it-works .how-step-04 {
    bottom: -10px !important;
  }

  .home-page #case-studies .cs-showcase {
    width: min(1000px, 68vw, calc(100vw - 96px)) !important;
  }

  .home-page #case-studies .cs-slide img {
    max-height: calc(100svh - var(--home-nav-offset) - 205px) !important;
  }
}

@media (min-width: 1025px) {
  .home-page #how-it-works,
  .home-page #outcome,
  .home-page #metrics,
  .home-page #pricing,
  .home-page #story,
  .home-page #contact {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-page #how-it-works .how-svg-node.is-complete .how-node-core {
    fill: #123a68;
    stroke: rgba(166, 203, 247, 0.82);
  }

  .home-page #how-it-works .how-svg-node.is-complete text {
    fill: #ffffff;
  }

  .home-page #outcome.section-outcome,
  .home-page #metrics.section-metrics,
  .home-page #pricing.section-pricing,
  .home-page #story.section-story,
  .home-page #contact.section-contact {
    padding: 1.65rem 0;
    scroll-margin-top: var(--home-nav-offset);
    box-sizing: border-box;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 2rem !important;
  }

  .home-page #outcome > .container,
  .home-page #metrics > .container,
  .home-page #pricing > .container,
  .home-page #story > .container,
  .home-page #contact > .container {
    width: 100%;
    max-height: calc(100svh - var(--home-nav-offset) - 1.7rem);
  }

  .home-page #contact .info-block {
    min-height: 70px;
    padding: 0.68rem 0.72rem 0.68rem 3.35rem;
    border-radius: 13px;
  }

  .home-page #metrics {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  .home-page #how-it-works .how-step-journey {
    width: calc(25% - 30px);
    max-width: 248px;
    min-height: 106px;
    padding: 0.9rem 1rem;
    justify-content: flex-start;
  }

  .home-page #outcome > .container {
    height: calc(100svh - var(--home-nav-offset) - 1.9rem);
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .home-page #outcome .outcome-split {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }

  .home-page #outcome .outcome-before,
  .home-page #outcome .outcome-after {
    min-height: 0;
    padding: 1.55rem 2rem;
    display: flex;
    flex-direction: column;
  }

  .home-page #outcome .outcome-title {
    font-size: 0.78rem;
    flex: 0 0 auto;
    margin-bottom: 0.75rem;
  }

  .home-page #outcome .outcome-list {
    display: grid;
    align-content: space-evenly;
    gap: 1.25rem;
  }

  .home-page #outcome .outcome-list li {
    margin-bottom: 0.66rem;
    margin: 0;
    gap: 0.72rem;
    font-size: clamp(0.84rem, 1vw, 0.95rem);
    line-height: 1.4;
  }

  .home-page #outcome .outcome-footer-text {
    margin-top: 2rem;
    font-size: 0.86rem;
  }

  .home-page #metrics.section-metrics {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    padding: 3.6rem 0 3.75rem !important;
  }

  .home-page #metrics > .container {
    max-height: none !important;
  }

  .home-page #metrics .metrics-heading {
    margin-bottom: 0.55rem;
    margin: 0 0 0.65rem;
    font-size: clamp(2.35rem, 3.25vw, 3rem);
    line-height: 1.15;
  }

  .home-page #metrics .metrics-subheading {
    margin-bottom: 1.45rem;
    margin: 0 0 1.8rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-page #metrics .metrics-grid {
    border-radius: 20px;
    max-width: 1040px;
    gap: 1.5rem;
    padding: 2.35rem 2rem;
  }

  .home-page #metrics .metric-value {
    font-size: clamp(2.65rem, 4vw, 3.35rem);
    margin-bottom: 0.55rem;
  }

  .home-page #metrics .metric-label {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .home-page #story.section-story {
    align-items: center;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: calc(var(--home-nav-offset) + 1rem) 0 0.85rem;
    margin: 0;
    overflow: hidden;
    display: block;
  }

  .home-page #story > .container {
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .home-page #story .pre-title {
    margin-bottom: 0.38rem;
  }

  .home-page #story .section-heading {
    margin-bottom: 1.15rem;
    flex: 0 0 auto;
    max-width: 980px;
    margin: 0 0 0.95rem;
    font-size: clamp(2.35rem, 3vw, 2.8rem);
    line-height: 1.14;
  }

  .home-page #story .story-grid {
    min-height: 0;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.3rem;
    align-items: center;
  }

  .home-page #story .story-left p {
    margin-bottom: 0.75rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .home-page #story .story-list {
    margin-top: 0.85rem;
  }

  .home-page #story .story-list li {
    margin-bottom: 0.48rem;
    padding-left: 1.25rem;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .home-page #story .founder-card {
    padding: 1.55rem 1.7rem;
    border-radius: 18px;
  }

  .home-page #story .founder-name {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .home-page #story .founder-title {
    font-size: 0.68rem;
    margin-bottom: 0.75rem;
  }

  .home-page #story .founder-card p {
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  html:has(body.home-page) {
    scroll-snap-type: none !important;
  }

  .home-page #how-it-works,
  .home-page #pricing,
  .home-page #contact {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  .home-page #pricing.section-pricing {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 5.25rem 0 5.5rem !important;
    overflow: visible !important;
    align-items: initial !important;
    background: var(--gray-100) !important;
  }

  .home-page #pricing > .container {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .home-page #pricing .pre-title {
    margin-bottom: 0.35rem;
    margin: 0 0 0.55rem !important;
  }

  .home-page #pricing .section-heading {
    margin-bottom: 0.45rem;
    max-width: 1050px !important;
    margin: 0 0 0.75rem !important;
    font-size: clamp(2.35rem, 3vw, 2.95rem) !important;
    line-height: 1.14 !important;
  }

  .home-page #pricing > .container > .home-pricing-lead {
    margin-bottom: 0.9rem;
    max-width: 980px !important;
    margin: 0 0 2rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .home-page #pricing .home-plans {
    flex: 1 1 auto;
    min-height: 0;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.4rem !important;
    align-items: stretch !important;
  }

  .home-page #pricing .home-plan {
    min-height: 0 !important;
    padding: 1.65rem 1.55rem 1.5rem !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .home-page #pricing .home-plan h3 {
    margin-bottom: 0.7rem !important;
    font-size: 1.23rem !important;
    line-height: 1.35 !important;
  }

  .home-page #pricing .home-tier {
    padding: 0.28rem 0.55rem !important;
    font-size: 0.82rem !important;
    line-height: 1 !important;
  }

  .home-page #pricing .home-plan-desc {
    min-height: 4.15rem !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .home-page #pricing .home-plan-price {
    margin-top: 1.15rem !important;
    font-size: 1.42rem !important;
  }

  .home-page #pricing .home-plan-unit {
    margin: 0.2rem 0 1rem !important;
    font-size: 0.78rem !important;
  }

  .home-page #pricing .home-plan-btn {
    min-height: 44px !important;
    padding: 0.68rem 1rem !important;
    font-size: 0.87rem !important;
  }

  .home-page #pricing .home-plan-feats {
    margin: 1rem 0 1rem !important;
    padding-top: 1rem !important;
  }

  .home-page #pricing .home-plan-feats li {
    margin-bottom: 0.55rem !important;
    padding-left: 1.35rem !important;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .home-page #pricing .home-plan-feats li.lead-in {
    margin-bottom: 0.55rem !important;
    font-size: 0.82rem !important;
  }

  .home-page #pricing .home-plan-more {
    margin-top: auto !important;
    padding-top: 0.15rem !important;
    font-size: 0.83rem !important;
  }

  .home-page #pricing .home-bookends {
    flex: 0 0 auto;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    margin-top: 1.45rem !important;
  }

  .home-page #pricing .home-bookend {
    min-height: 132px !important;
    padding: 1.25rem 1.3rem !important;
    gap: 0.55rem 1.25rem !important;
    border-radius: 16px !important;
    align-items: center !important;
  }

  .home-page #pricing .home-bookend h3 {
    font-size: 1.04rem !important;
    line-height: 1.35 !important;
  }

  .home-page #pricing .home-bookend .home-tier {
    padding: 0.22rem 0.48rem !important;
    font-size: 0.7rem !important;
  }

  .home-page #pricing .home-bookend-desc {
    font-size: 0.81rem !important;
    line-height: 1.5 !important;
  }

  .home-page #pricing .home-bookend-price .home-plan-price {
    margin: 0 !important;
    font-size: 1.18rem !important;
  }

  .home-page #pricing .home-bookend-price .home-plan-unit,
  .home-page #pricing .home-bookend-price a {
    font-size: 0.75rem !important;
  }

  .home-page #pricing .home-pricing-bottom {
    flex: 0 0 auto;
    margin-top: 1.5rem !important;
    padding-top: 1.25rem !important;
    gap: 1.5rem !important;
    font-size: 0.9rem !important;
  }

  .home-page #pricing .home-pricing-bottom .btn-secondary {
    min-height: 42px !important;
    padding: 0.62rem 1.2rem !important;
    font-size: 0.84rem !important;
  }

  .home-page #contact.section-contact {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1.5rem 0 1.75rem !important;
    overflow: hidden !important;
    align-items: initial !important;
  }

  .home-page #contact > .container {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .home-page #contact .contact-head {
    margin-bottom: 0.72rem;
    flex: 0 0 auto;
    max-width: 980px !important;
    margin: 0 0 2.15rem !important;
  }

  .home-page #contact .pre-title {
    margin-bottom: 0.72rem !important;
  }

  .home-page #contact .section-heading {
    margin-bottom: 0.42rem;
    max-width: 900px !important;
    margin: 0 0 0.75rem !important;
    font-size: clamp(2.45rem, 3.2vw, 3.1rem) !important;
    line-height: 1.12 !important;
  }

  .home-page #contact .contact-intro {
    max-width: 920px !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .home-page #contact .contact-assurance {
    margin-top: 1.15rem !important;
    gap: 0.65rem !important;
  }

  .home-page #contact .contact-assurance span {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }

  .home-page #contact .contact-grid {
    flex: 1 1 auto;
    min-height: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr) !important;
    gap: 2rem !important;
    align-items: start !important;
  }

  .home-page #contact .contact-form-area {
    min-height: 0;
    min-width: 0 !important;
  }

  .home-page #contact .contact-form {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 1.8rem !important;
    gap: 1.05rem !important;
    border-radius: 20px !important;
  }

  .home-page #contact .contact-form .form-row {
    gap: 1rem !important;
  }

  .home-page #contact .contact-form .form-group {
    gap: 0.42rem !important;
  }

  .home-page #contact .contact-form .form-group label {
    font-size: 0.76rem !important;
  }

  .home-page #contact .contact-form .form-group input,
  .home-page #contact .contact-form .form-group select,
  .home-page #contact .contact-form .form-group textarea {
    min-height: 46px !important;
    padding: 0.78rem 0.85rem !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
  }

  .home-page #contact .contact-form .form-group textarea {
    min-height: 125px !important;
    max-height: none !important;
  }

  .home-page #contact .contact-form > .btn-secondary {
    min-height: 48px !important;
    padding: 0.72rem 1rem !important;
    font-size: 0.88rem !important;
  }

  .home-page #contact .contact-form .form-footer {
    margin-top: 0.2rem !important;
  }

  .home-page #contact .contact-form .form-footer p {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }

  .home-page #contact .contact-form .form-divider {
    margin: 0.8rem 0 !important;
  }

  .home-page #contact .contact-form .pick-time {
    font-size: 0.82rem !important;
  }

  .home-page #contact .contact-info-area {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: 1rem !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .home-page #contact .info-block,
  .home-page #contact a.info-block {
    min-width: 0;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 112px !important;
    padding: 1.2rem 1.15rem 1.2rem 4.55rem !important;
    border-radius: 16px !important;
  }

  .home-page #contact .info-block::before {
    top: 1.15rem !important;
    left: 1.05rem !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    background-size: 18px 18px !important;
  }

  .home-page #contact .info-block h6 {
    margin-bottom: 0.35rem !important;
    font-size: 0.7rem !important;
  }

  .home-page #contact .info-block p {
    overflow-wrap: anywhere;
    font-size: 0.9rem !important;
    line-height: 1.52 !important;
  }

  .home-page #how-it-works .how-journey-container {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }

  .home-page #how-it-works .how-journey {
    flex: 1 1 auto;
    align-items: center;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .home-page #how-it-works .how-journey-svg {
    position: absolute !important;
    z-index: 1 !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1200 / 140 !important;
    transform: translateY(-50%) !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  .home-page #how-it-works .how-svg-node .how-node-halo,
  .home-page #how-it-works .how-svg-node .how-node-core {
    transform-box: fill-box !important;
    transform-origin: center !important;
  }

  .home-page #how-it-works .how-step-journey,
  .home-page #how-it-works .how-step-01,
  .home-page #how-it-works .how-step-02,
  .home-page #how-it-works .how-step-03,
  .home-page #how-it-works .how-step-04 {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    justify-self: center !important;
    position: absolute !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: calc(25% - 28px) !important;
    max-width: 250px !important;
    min-height: 112px !important;
    margin: 0 !important;
    padding: 0.82rem 0.92rem 0.88rem !important;
    inset: auto !important;
    border-radius: 15px !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(
      145deg,
      rgba(23, 70, 119, 0.38),
      rgba(8, 41, 81, 0.3)
    ) !important;
    border: 1px solid rgba(166, 203, 247, 0.2) !important;
    box-shadow:
      0 13px 32px rgba(2, 12, 27, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .home-page #how-it-works .how-step-01 {
    left: 12.5% !important;
    top: 4px !important;
    bottom: auto !important;
  }

  .home-page #how-it-works .how-step-02 {
    left: 37.5% !important;
    top: auto !important;
    bottom: 4px !important;
  }

  .home-page #how-it-works .how-step-03 {
    left: 62.5% !important;
    top: 4px !important;
    bottom: auto !important;
  }

  .home-page #how-it-works .how-step-04 {
    left: 87.5% !important;
    top: auto !important;
    bottom: 4px !important;
  }

  .home-page #how-it-works .how-step-journey::before,
  .home-page #how-it-works .how-step-01::before,
  .home-page #how-it-works .how-step-02::before,
  .home-page #how-it-works .how-step-03::before,
  .home-page #how-it-works .how-step-04::before {
    top: -42px !important;
    bottom: auto !important;
    background: linear-gradient(
      180deg,
      rgba(166, 203, 247, 0.5),
      rgba(166, 203, 247, 0.14)
    ) !important;
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    width: 1px !important;
    height: 17px !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
  }

  .home-page #how-it-works .how-step-01::before,
  .home-page #how-it-works .how-step-03::before {
    height: 34px;
    top: 100% !important;
    bottom: auto !important;
    background: linear-gradient(
      180deg,
      rgba(166, 203, 247, 0.52),
      rgba(166, 203, 247, 0.1)
    ) !important;
  }

  .home-page #how-it-works .how-step-02::before,
  .home-page #how-it-works .how-step-04::before {
    height: 23px;
    top: auto !important;
    bottom: 100% !important;
    background: linear-gradient(
      0deg,
      rgba(166, 203, 247, 0.52),
      rgba(166, 203, 247, 0.1)
    ) !important;
  }

  .home-page #how-it-works .how-step-journey::after {
    left: 0.92rem !important;
    right: 0.92rem !important;
    top: 0 !important;
    height: 2px !important;
  }

  .home-page #how-it-works .how-step-journey .step-title {
    margin-bottom: 0.42rem;
    margin: 0 0 0.38rem !important;
    font-size: 1.02rem !important;
    line-height: 1.2 !important;
  }

  .home-page #how-it-works .how-step-journey .step-desc {
    margin: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.48 !important;
    color: rgba(255, 255, 255, 0.74) !important;
  }

  .home-page #how-it-works .how-step-journey.is-active {
    transform: translateX(-50%) translateY(-2px) !important;
    border-color: rgba(166, 203, 247, 0.58) !important;
    background: linear-gradient(
      145deg,
      rgba(43, 109, 178, 0.5),
      rgba(8, 41, 81, 0.42)
    ) !important;
    box-shadow:
      0 18px 42px rgba(2, 12, 27, 0.26),
      0 0 0 1px rgba(166, 203, 247, 0.08),
      0 0 30px rgba(43, 109, 178, 0.12) !important;
  }

  .home-page #how-it-works .how-step-journey.is-complete {
    border-color: rgba(166, 203, 247, 0.34) !important;
    background: linear-gradient(
      145deg,
      rgba(24, 77, 128, 0.38),
      rgba(8, 41, 81, 0.32)
    ) !important;
  }

  .home-page #case-studies.case-scroll-story {
    height: 760svh !important;
  }

  .home-page #case-studies .cs-sticky-frame {
    height: 100svh !important;
    padding: calc(var(--home-nav-offset) + 0.55rem) 0 0.7rem !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  .home-page #case-studies .cs-sticky-content {
    width: 100% !important;
    max-width: 1440px !important;
    height: calc(100svh - var(--home-nav-offset) - 1.25rem) !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .home-page #case-studies .cs-progress-wrap {
    flex: 0 0 auto !important;
    margin: 0 0 0.48rem !important;
  }

  .home-page #case-studies .case-study-header .pre-title {
    margin-bottom: 0.18rem !important;
  }

  .home-page #case-studies .section-heading {
    margin-bottom: 0.22rem !important;
    font-size: clamp(2.25rem, 3vw, 2.65rem) !important;
    line-height: 1.13 !important;
  }

  .home-page #case-studies .section-subheading {
    margin: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }

  .home-page #case-studies .cs-slider-container {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 42px rgba(8, 41, 81, 0.13) !important;
  }

  .home-page #case-studies .cs-slider-wrapper {
    width: 100% !important;
    height: auto !important;
  }

  .home-page #case-studies .cs-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
  }

  .home-page #case-studies .cs-showcase-footer {
    flex: 0 0 auto !important;
    margin-top: 0.55rem !important;
    font-size: 0.78rem !important;
  }

  .home-page #how-it-works .how-journey-stage {
    flex: 0 0 330px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    padding-top: 155px !important;
    align-items: start !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 326px !important;
    min-height: 326px !important;
  }

  .home-page #how-it-works .how-step-01,
  .home-page #how-it-works .how-step-03 {
    top: -12px !important;
    bottom: auto !important;
  }

  .home-page #how-it-works .how-step-02,
  .home-page #how-it-works .how-step-04 {
    top: auto !important;
    bottom: -12px !important;
  }

  .home-page #how-it-works .how-step-01::before,
  .home-page #how-it-works .how-step-03::before,
  .home-page #how-it-works .how-step-02::before,
  .home-page #how-it-works .how-step-04::before {
    height: 20px !important;
  }

  .home-page #case-studies .case-study-header {
    flex: 0 0 auto !important;
    max-width: 940px !important;
    margin: 0 auto 0.72rem !important;
    margin-bottom: 0.55rem !important;
  }

  .home-page #case-studies .cs-showcase {
    margin: 0 auto !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: min(1100px, 72vw, calc(100vw - 96px)) !important;
    max-width: 1100px !important;
  }

  .home-page #case-studies .cs-slider-container,
  .home-page #case-studies .cs-slider-wrapper,
  .home-page #case-studies .cs-slide {
    height: auto !important;
    max-height: none !important;
  }

  .home-page #case-studies .cs-slide img {
    display: block !important;
    min-height: 0 !important;
    background: #ffffff !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(100svh - var(--home-nav-offset) - 235px) !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  .home-page #how-it-works.section-how {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    margin: 0 !important;
    padding: calc(var(--home-nav-offset) + 0.72rem) 0 1rem !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 2rem !important;
    padding-bottom: 0.9rem !important;
  }

  .home-page #how-it-works .how-journey-header .pre-title {
    margin: 0 0 0.42rem !important;
    font-size: 0.94rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.38rem !important;
  }

  .home-page #how-it-works .how-journey-header .section-heading {
    max-width: 980px !important;
    margin: 0 0 0.42rem !important;
    font-size: clamp(2.35rem, 3.15vw, 2.9rem) !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 0.38rem !important;
  }

  .home-page #how-it-works .how-journey-header .section-desc {
    max-width: 760px !important;
    margin: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    margin-top: 0 !important;
  }

  .home-page #outcome.section-outcome {
    height: 90svh;
    min-height: 90svh;
    max-height: 90svh;
    padding: calc(var(--home-nav-offset) + 1rem) 0 0.9rem;
    margin: 0;
    overflow: hidden;
    display: block;
    padding-top: 3rem !important;
    padding-bottom: 0.9rem !important;
  }

  .home-page #outcome .section-header {
    flex: 0 0 auto;
    margin: 0 0 1.05rem;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
  }

  .home-page #outcome .pre-title {
    margin-top: -1rem;
  }

  .home-page #outcome .section-heading {
    margin: 0;
    font-size: clamp(2.3rem, 3vw, 2.8rem);
    line-height: 1.14;
    margin-top: 0 !important;
  }

  .home-page #how-it-works .how-journey-header {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 0 1.05rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    transform: translateY(-3.5rem);
  }
}

@media (max-width: 1024px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-right {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .home-page .home-plans {
    grid-template-columns: 1fr;
  }

  .home-page .home-plan-desc {
    min-height: 0;
  }

  .home-page .home-bookends {
    grid-template-columns: 1fr;
  }

  .home-page .section-contact .container,
  .home-page .contact-head,
  .home-page .contact-grid,
  .home-page .contact-form-area,
  .home-page .contact-info-area {
    min-width: 0;
    max-width: 100%;
  }

  .home-page .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .home-page .contact-form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 1.75rem;
  }

  .home-page .contact-form .form-row,
  .home-page .contact-form .form-group,
  .home-page .contact-form .form-group input,
  .home-page .contact-form .form-group select,
  .home-page .contact-form .form-group textarea {
    min-width: 0;
    max-width: 100%;
  }

  .home-page .contact-info-area {
    width: 100%;
    gap: 0.9rem;
  }

  .home-page .info-block {
    min-width: 0;
    max-width: 100%;
  }

  .home-page .info-block p {
    overflow-wrap: anywhere;
  }

  .home-page #how-it-works.section-how,
  .home-page #outcome.section-outcome,
  .home-page #metrics.section-metrics,
  .home-page #pricing.section-pricing,
  .home-page #story.section-story,
  .home-page #contact.section-contact {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .home-page #how-it-works.section-how,
  .home-page #outcome.section-outcome,
  .home-page #pricing.section-pricing,
  .home-page #story.section-story,
  .home-page #contact.section-contact {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 4rem 0 !important;
  }

  .home-page #how-it-works .how-journey-container,
  .home-page #outcome > .container,
  .home-page #pricing > .container,
  .home-page #story > .container,
  .home-page #contact > .container {
    height: auto !important;
    max-height: none !important;
  }

  .home-page #metrics.section-metrics {
    padding: 3.5rem 0 !important;
  }

  .home-page #case-studies.case-scroll-story {
    height: auto !important;
  }

  .home-page #case-studies .cs-sticky-frame {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4rem 0 !important;
    overflow: visible !important;
  }

  .home-page #case-studies .cs-sticky-content {
    height: auto !important;
  }

  .home-page #case-studies .cs-slider-container {
    max-height: none;
  }

  .home-page #contact .contact-info-area {
    height: auto;
  }
}

@media (max-width: 992px) {
  .platform-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-page .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .home-page .contact-form {
    height: auto;
  }

  .home-page .contact-info-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-page .info-block {
    min-height: 112px;
  }

  .home-page .info-office {
    grid-column: 1 / -1;
  }

  .home-page #pricing .home-plans {
    grid-template-columns: 1fr;
  }

  .home-page #pricing .home-plan {
    padding: 1.35rem;
  }

  .home-page #pricing .home-bookends {
    grid-template-columns: 1fr;
  }

  .home-page #story .story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-page #contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-page #contact .contact-info-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 480px) {
  .home-page .section-faq .section-heading {
    padding-bottom: 0.75rem;
  }

  .home-page .section-faq .section-heading::after {
    width: 64px;
  }

  .home-page .faq-list {
    gap: 0.7rem;
  }

  .home-page .faq-list details {
    border-radius: 14px;
  }

  .home-page .faq-list summary {
    min-height: 60px;
    padding: 0.85rem 2.8rem 0.85rem 0.8rem;
    font-size: 0.9rem;
  }

  .home-page .faq-list summary::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    margin-right: 0.55rem;
    border-radius: 9px;
    background-size: 14px 14px;
  }

  .home-page .faq-list summary::after {
    right: 0.75rem;
    width: 25px;
    height: 25px;
    font-size: 1.15rem;
  }

  .home-page .faq-list details p {
    padding: 0 0.85rem 1rem 3.55rem;
    font-size: 0.88rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2.75rem 0 0;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .nav-right .nav-cta {
    display: none;
  }

  .why-card,
  .how-step,
  .outcome-before,
  .outcome-after,
  .pricing-card,
  .founder-card {
    padding: 1.35rem 1rem;
  }

  .navbar .nav-right {
    gap: 6px;
  }

  .home-page .hero-email-form {
    width: 100%;
    padding: 0.28rem;
  }

  .home-page .hero-input {
    padding: 0.65rem 0.55rem;
    font-size: 0.76rem;
  }

  .home-page .hero-email-form .btn-secondary {
    padding: 0.65rem 0.65rem;
    font-size: 0.74rem;
  }

  .home-page .home-plan {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .home-page .home-bookend {
    padding: 1.35rem;
    border-radius: 14px;
  }

  .home-page .cs-slider-container {
    border-radius: 14px;
  }

  .home-page .cs-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }

  .home-page .faq-item {
    border-radius: 14px;
  }

  .home-page .faq-question {
    padding: 0.95rem 0.85rem;
    font-size: 0.92rem;
    gap: 0.45rem;
  }

  .home-page .faq-question::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    margin-right: 0.5rem;
  }

  .home-page .faq-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .home-page .section-contact {
    padding: 3.25rem 0;
  }

  .home-page .section-contact > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-page .contact-head {
    margin-bottom: 1.5rem;
  }

  .home-page .section-contact .pre-title {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
  }

  .home-page .section-contact .section-heading {
    font-size: clamp(1.65rem, 8.5vw, 2.1rem);
    margin-bottom: 0.75rem;
  }

  .home-page .section-contact .contact-intro {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .home-page .contact-assurance {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    margin-top: 1.1rem;
  }

  .home-page .contact-assurance span {
    width: 100%;
    justify-content: flex-start;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .home-page .contact-grid {
    gap: 1rem;
  }

  .home-page .contact-form {
    padding: 1rem;
    border-radius: 15px;
    gap: 0.9rem;
  }

  .home-page .contact-form .form-row {
    gap: 0.9rem;
  }

  .home-page .contact-form .form-group {
    gap: 0.4rem;
  }

  .home-page .contact-form .form-group label {
    font-size: 0.75rem;
  }

  .home-page .contact-form .form-group input,
  .home-page .contact-form .form-group select,
  .home-page .contact-form .form-group textarea {
    padding: 0.78rem 0.8rem;
    border-radius: 9px;
    font-size: 0.9rem;
  }

  .home-page .contact-form .form-group textarea {
    min-height: 105px;
  }

  .home-page .contact-form > .btn-secondary {
    min-height: 44px;
    padding: 0.72rem 0.9rem;
    font-size: 0.85rem;
  }

  .home-page .contact-form .form-footer p,
  .home-page .contact-form .pick-time {
    font-size: 0.78rem !important;
    line-height: 1.55;
  }

  .home-page .contact-info-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .home-page .info-office {
    grid-column: auto;
  }

  .home-page .info-block,
  .home-page a.info-block {
    min-height: auto;
    padding: 1rem 0.9rem 1rem 3.75rem;
    border-radius: 13px;
  }

  .home-page .info-block::before {
    top: 0.9rem;
    left: 0.85rem;
    width: 34px;
    height: 34px;
    background-size: 15px 15px;
  }

  .home-page .info-block h6 {
    margin-bottom: 0.25rem;
    font-size: 0.66rem;
  }

  .home-page .info-block p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .feature-dashboard-embed,
  .feature-dashboard-frame {
    border-radius: 10px;
  }

  .home-page #how-it-works.section-how,
  .home-page #outcome.section-outcome,
  .home-page #pricing.section-pricing,
  .home-page #story.section-story,
  .home-page #contact.section-contact,
  .home-page #case-studies .cs-sticky-frame {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  .home-page #metrics.section-metrics {
    padding: 3rem 0 !important;
  }

  .home-page #pricing .home-plan,
  .home-page #story .founder-card {
    padding: 1.1rem;
  }

  .home-page #contact .contact-form {
    padding: 1rem;
  }

  .navbar .nav-container {
    padding: 0 0.75rem !important;
    gap: 0.4rem !important;
  }

  .navbar .nav-logo {
    max-width: 64px !important;
  }

  .navbar .nav-logo .brand-logo {
    max-width: 64px !important;
    max-height: 39px !important;
  }

  .navbar .nav-signin {
    padding: 0.35rem 0.35rem !important;
    font-size: 0.76rem !important;
    gap: 0.3rem !important;
  }

  .navbar .nav-signin svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {
  .home-page .section-faq .section-header {
    margin-bottom: 2rem;
  }

  .home-page .faq-list {
    gap: 0.8rem;
    max-width: 100%;
  }

  .home-page .faq-list summary {
    min-height: 64px;
    padding: 0.9rem 3rem 0.9rem 0.9rem;
    font-size: 0.95rem;
  }

  .home-page .faq-list summary::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    margin-right: 0.6rem;
    background-size: 15px 15px;
  }

  .home-page .faq-list summary::after {
    right: 0.85rem;
    width: 26px;
    height: 26px;
  }

  .home-page .faq-list details p {
    padding: 0 1rem 1.1rem 4rem;
    font-size: 0.92rem;
  }

  .home-page #case-studies .cs-progress-wrap {
    display: none;
  }

  .home-page #case-studies .case-study-header {
    margin-bottom: 1rem;
  }

  .home-page #case-studies .cs-slider-container::-webkit-scrollbar {
    display: none;
  }

  .home-page #case-studies .cs-slider-wrapper {
    transform: none !important;
    transition: none;
  }

  .home-page #case-studies .cs-slide img {
    min-height: 220px;
    object-fit: contain;
  }

  .home-page #case-studies .cs-showcase-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.78rem;
  }

  .home-page #how-it-works.section-how,
  .home-page #pricing.section-pricing,
  .home-page #contact.section-contact {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 3.5rem 0 !important;
  }

  .home-page #how-it-works .how-step-journey,
  .home-page #how-it-works .how-step-01,
  .home-page #how-it-works .how-step-02,
  .home-page #how-it-works .how-step-03,
  .home-page #how-it-works .how-step-04 {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 1.15rem 1.1rem !important;
  }

  .home-page #pricing .home-plans,
  .home-page #pricing .home-bookends,
  .home-page #contact .contact-grid,
  .home-page #contact .contact-info-area {
    grid-template-columns: 1fr !important;
  }

  .home-page #pricing .home-plan-desc {
    min-height: 0 !important;
  }

  .home-page #pricing .home-bookend {
    grid-template-columns: 1fr !important;
  }

  .home-page #pricing .home-bookend-price {
    grid-column: 1 !important;
    grid-row: auto !important;
    text-align: left !important;
  }

  .home-page #pricing .home-pricing-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .home-page #contact .contact-form {
    padding: 1.2rem !important;
  }

  .home-page #contact .contact-form .form-row {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section-platform,
  .section-feature,
  .section-why,
  .section-how,
  .section-outcome,
  .section-metrics,
  .section-case-studies,
  .section-pricing,
  .section-story,
  .section-banner-cta,
  .section-cta,
  .section-faq,
  .section-contact {
    padding: 0;
    margin: 2rem 0;
  }

  .section-how,
  .section-metrics {
    padding: 2rem 0;
  }

  .footer {
    padding: 3.5rem 0 1.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header .section-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section-heading {
    font-size: clamp(1.65rem, 5vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .section-subheading {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .pre-title {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
  }

  .section-pricing > .container > p,
  .section-story .section-heading,
  .section-contact > .container > p {
    margin-bottom: 2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    gap: 0.5rem;
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .nav-link {
    color: var(--dark-blue);
    padding: 0.75rem 0.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .nav-links .nav-link .nav-chevron {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .nav-dropdown-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--mint);
    border-radius: 0;
    padding: 0.35rem 0 0.35rem 0.5rem;
    margin: 0.25rem 0 0.5rem 0.5rem;
    display: none;
  }

  .nav-dropdown .dropdown-item {
    padding: 8px 10px;
    gap: 10px;
  }

  .nav-dropdown .dd-icon {
    width: 36px;
    height: 36px;
  }

  .nav-dropdown .dd-icon svg {
    width: 18px;
    height: 18px;
  }

  .nav-dropdown .dd-title {
    font-size: 0.85rem;
  }

  .nav-dropdown .dd-desc {
    font-size: 0.725rem;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-wrap:hover .nav-chevron {
    transform: none;
  }

  .nav-dropdown-wrap.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown-wrap.open > .nav-link .nav-chevron,
  .nav-dropdown-wrap.open:hover > .nav-link .nav-chevron {
    transform: rotate(180deg);
  }

  .dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dropdown-arrow {
    display: none;
  }

  .dropdown-grid,
  .two-col-with-promo,
  .three-col,
  .dropdown-items-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dropdown-featured-card {
    padding: 1.25rem;
    margin-top: 0.25rem;
  }

  .dropdown-promo {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content {
    padding: 3.5rem 0 0;
  }

  .hero-title {
    font-size: clamp(1.9rem, 6vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-input {
    width: 100%;
  }

  .hero-trust {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .hero-dashboard {
    margin: 1.5rem auto 0;
  }

  .hero-dashboard .dashboard-mockup,
  .dashboard-mockup {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 14px;
  }

  .hero-dashboard .dashboard-sidebar,
  .dashboard-sidebar {
    display: contents;
  }

  .hero-dashboard .sidebar-logo,
  .sidebar-logo {
    order: 1;
    padding: 1rem 1rem 0.65rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-200);
    display: block;
  }

  .hero-dashboard .sidebar-logo .brand-logo,
  .sidebar-logo .brand-logo {
    max-width: 72px;
    max-height: 42px;
  }

  .hero-dashboard .dashboard-main,
  .dashboard-main {
    order: 2;
    padding: 1rem;
  }

  .dashboard-search {
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
  }

  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .dash-card {
    padding: 0.85rem;
  }

  .dash-card-value {
    font-size: 1.35rem;
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mini-chart {
    padding: 0.85rem;
  }

  .hero-dashboard .sidebar-content,
  .sidebar-content {
    order: 3;
    margin-top: 0;
    border-top: 1px solid var(--gray-200);
    padding: 1.35rem 1rem 1.25rem;
  }

  .sidebar-hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .sidebar-hero-text {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .sidebar-hero-actions {
    justify-content: center;
  }

  .platform-left .platform-title {
    font-size: 1.3rem;
  }

  .platform-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-header {
    margin-bottom: 1.75rem;
  }

  .platform-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .p-feature-card {
    padding: 1.25rem;
  }

  .mock-dashboard-enhanced {
    padding: 1rem;
  }

  .md-kpi-grid {
    gap: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .md-kpi-card {
    padding: 0.85rem;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
    margin-bottom: 2rem;
  }

  .feature-desc {
    margin-bottom: 1.25rem;
  }

  .feature-list {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
  }

  .feature-visual {
    min-height: auto;
    padding: 0;
  }

  .feature-visual.tools-visual {
    min-height: 380px;
    padding: 1rem 0;
  }

  .feature-card {
    padding: 1.25rem 1rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .why-icon {
    margin-bottom: 1rem;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 1px;
    border-radius: 12px;
  }

  .how-step {
    padding: 1.75rem 1.25rem;
  }

  .outcome-split {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .outcome-before,
  .outcome-after {
    padding: 1.75rem 1.25rem;
  }

  .outcome-title {
    margin-bottom: 1.5rem;
  }

  .outcome-list li {
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    font-size: 0.95rem;
  }

  .outcome-footer-text {
    margin-top: 1.75rem;
    font-size: 0.92rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .metric-card {
    padding: 0.5rem;
    text-align: center;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  .section-case-studies .section-heading {
    margin-bottom: 0.75rem;
  }

  .section-case-studies .section-subheading {
    margin-bottom: 1.5rem;
  }

  .cs-modal-content {
    width: 95%;
    max-width: 1000px;
    margin: 1rem auto;
  }

  .cs-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .cs-prev {
    left: 0.5rem;
  }

  .cs-next {
    right: 0.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .pricing-bottom-cta {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-card {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .story-list {
    margin-top: 1.5rem;
  }

  .section-banner-cta h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .section-banner-cta p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-right {
    display: none;
  }

  .cta-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .cta-subtitle {
    margin-bottom: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .faq-list {
    gap: 0.75rem;
  }

  .faq-question {
    padding: 1.15rem 1rem;
    font-size: 0.98rem;
  }

  .faq-answer-inner {
    padding: 0 1rem 1.15rem;
    font-size: 0.92rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    gap: 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .contact-info-area {
    gap: 1.5rem;
    padding-top: 0.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .custom-tooltip {
    display: none !important;
  }

  .home-page .section-platform,
  .home-page .section-suite-heading,
  .home-page .section-feature,
  .home-page .section-why,
  .home-page .section-how,
  .home-page .section-outcome,
  .home-page .section-metrics,
  .home-page .section-case-studies,
  .home-page .section-pricing,
  .home-page .section-banner-cta,
  .home-page .section-story,
  .home-page .section-faq,
  .home-page .section-contact {
    margin: 0;
  }

  .home-page .section-platform,
  .home-page .section-why,
  .home-page .section-how,
  .home-page .section-outcome,
  .home-page .section-metrics,
  .home-page .section-case-studies,
  .home-page .section-pricing,
  .home-page .section-story,
  .home-page .section-faq,
  .home-page .section-contact {
    padding: 3.75rem 0;
  }

  .home-page .section-suite-heading {
    padding: 3.75rem 0 1.75rem;
  }

  .home-page .section-feature {
    padding: 3.25rem 0;
  }

  .home-page .section-banner-cta {
    padding: 3.75rem 0;
  }

  .home-page .hero-email-form {
    width: min(100%, 480px);
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0.35rem;
  }

  .home-page .hero-input {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 0.72rem 0.7rem;
    font-size: 0.86rem;
  }

  .home-page .hero-email-form .btn-secondary {
    width: auto;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.72rem 0.9rem;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .home-page .home-bookend {
    grid-template-columns: 1fr;
  }

  .home-page .home-bookend-desc,
  .home-page .home-bookend-price {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .home-page .home-pricing-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .cs-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .home-page .cs-prev {
    left: 0.55rem;
  }

  .home-page .cs-next {
    right: 0.55rem;
  }

  .home-page .cs-showcase-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .faq-answer p {
    padding-left: 1rem;
  }

  .navbar .nav-links .nav-link,
  .navbar .nav-dropdown-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .navbar .nav-links .nav-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .navbar .nav-dropdown {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
  }

  .home-page .section-contact {
    padding: 3.75rem 0;
    margin: 0;
    overflow: hidden;
  }

  .home-page .section-contact > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .home-page .contact-head {
    width: 100%;
    max-width: 760px;
    margin-bottom: 1.75rem;
  }

  .home-page .section-contact .section-heading {
    max-width: 100%;
    font-size: clamp(1.8rem, 7vw, 2.45rem);
    line-height: 1.15;
  }

  .home-page .section-contact .contact-intro {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .home-page .contact-assurance {
    width: 100%;
    gap: 0.55rem;
  }

  .home-page .contact-assurance span {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .home-page .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
    width: 100%;
  }

  .home-page .contact-form-area,
  .home-page .contact-info-area {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .home-page .contact-form {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1.35rem;
    gap: 1rem;
    border-radius: 18px;
  }

  .home-page .contact-form .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .home-page .contact-form .form-group {
    width: 100%;
    min-width: 0;
  }

  .home-page .contact-form .form-group input,
  .home-page .contact-form .form-group select,
  .home-page .contact-form .form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .home-page .contact-form .form-group textarea {
    min-height: 110px;
  }

  .home-page .contact-form > .btn-secondary {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
  }

  .home-page .contact-form .form-footer {
    width: 100%;
  }

  .home-page .contact-info-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 0;
  }

  .home-page .info-block,
  .home-page a.info-block {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 108px;
    padding: 1.05rem 0.95rem 1rem 3.9rem;
    border-radius: 14px;
  }

  .home-page .info-block::before {
    top: 1rem;
    left: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-size: 16px 16px;
  }

  .home-page .info-block h6 {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }

  .home-page .info-block p {
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .home-page .info-office {
    grid-column: 1 / -1;
  }

  .feature-dashboard-embed,
  .feature-dashboard-frame {
    border-radius: 12px;
  }

  .home-page #how-it-works .how-journey-svg {
    display: none !important;
  }

  .home-page #case-studies.case-scroll-story {
    margin: 2rem 0;
    padding: 0;
    background: var(--gray-100);
    height: auto !important;
  }

  .home-page #case-studies .cs-sticky-frame {
    padding: 2rem 0;
    overflow: visible;
    position: relative;
    height: auto;
    min-height: 0;
  }

  .home-page #how-it-works .how-journey {
    display: block;
  }

  .home-page #how-it-works .how-journey-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
  }

  .home-page #how-it-works .how-step-journey {
    position: relative;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 1.15rem 1.1rem;
  }

  .home-page #how-it-works .how-step-journey::before {
    display: none !important;
  }

  .home-page #outcome .outcome-list {
    display: block;
  }

  .home-page #outcome .outcome-list li {
    margin-bottom: 0.85rem;
  }

  .home-page #metrics .metrics-grid {
    padding: 1.6rem 1.25rem;
  }

  .home-page #case-studies .cs-slider-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .home-page #case-studies .cs-slide {
    scroll-snap-align: center;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-page #contact .contact-info-area {
    grid-template-columns: 1fr;
  }

  .home-page #contact .info-block,
  .home-page #contact a.info-block {
    height: auto;
    min-height: 100px;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .home-page .page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .navbar {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }

  .navbar .nav-container {
    padding-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 1rem !important;
    gap: 0.65rem !important;
  }

  .navbar .nav-logo {
    top: 0.15rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: 72px !important;
    overflow: visible !important;
  }

  .navbar .nav-logo .brand-logo {
    display: block;
    object-fit: contain;
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 42px !important;
  }

  .navbar .nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    gap: 0.35rem !important;
    margin-left: auto !important;
  }

  .navbar .nav-right .nav-cta {
    display: none !important;
  }

  .navbar .nav-signin {
    min-width: 0 !important;
    padding: 0.4rem 0.45rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .navbar .mobile-menu-btn {
    align-items: center;
    justify-content: center;
    display: flex !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .navbar .nav-links {
    left: 0;
    right: 0;
    padding: 16px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .home-page .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .home-page .hero-dashboard,
  .home-page .hero-advisory-shell,
  .home-page .hero-advisory-copy,
  .home-page .hero-decision-desk,
  .home-page .feature-row,
  .home-page .feature-text,
  .home-page .feature-visual,
  .home-page .platform-split,
  .home-page .platform-left,
  .home-page .platform-right {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .home-page .hero-advisory-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .decision-kpi-grid,
  .home-page .decision-middle-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .home-page img,
  .home-page video,
  .home-page iframe {
    max-width: 100% !important;
  }
}

/* =========================================================
   CFO CRAFT — 1024px TABLET LANDSCAPE FIX
   Fixes X overflow + hero width without affecting
   desktop, mobile or other breakpoints
   ========================================================= */

@media (min-width: 993px) and (max-width: 1024px) {

  /* ---------- PAGE WIDTH SAFETY ---------- */

  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
  }

  .home-page,
  .home-page .page-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }


  /* ---------- NAVBAR ---------- */

  .navbar {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    overflow: visible;
  }

  .navbar .nav-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding-left: 1rem;
    padding-right: 1rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 0.35rem;
  }


  /* Logo */

  .navbar .nav-logo {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 64px;
  }

  .navbar .nav-logo .brand-logo {
    width: auto;
    height: auto;

    max-width: 64px;
    max-height: 42px;
  }


  /* Center nav links */

  .navbar .nav-links {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0;
  }

  .navbar .nav-link {
    flex: 0 0 auto;

    padding: 0.42rem 0.28rem;

    font-size: 0.72rem;
    white-space: nowrap;
  }

  .navbar .nav-chevron {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }


  /* Right navbar */

  .navbar .nav-right {
    flex: 0 0 auto;
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 1.2rem;
    margin-left: 0;
  }

  .navbar .nav-signin {
    flex: 0 0 auto;

    padding: 0.38rem 0.3rem;

    font-size: 0.72rem;
    white-space: nowrap;
  }

  .navbar .nav-signin svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .navbar .nav-cta {
    flex: 0 0 auto;

    min-height: 38px;

    padding: 0.5rem 0.68rem !important;

    font-size: 0.72rem !important;
    white-space: nowrap;
  }


  /* Hamburger desktop/tablet landscape me mat dikhao */

  .navbar .mobile-menu-btn {
    display: none !important;
  }


  /* ---------- HERO ---------- */

  .home-page .hero {
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;

    min-width: 0;

    overflow-x: clip;
  }

  .home-page .hero > .container,
  .home-page .hero .container {
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding-left: 1.25rem;
    padding-right: 1.25rem;

    margin-left: auto;
    margin-right: auto;
  }


  /* ---------- HERO HEADING ---------- */

  .home-page .hero-content {
    box-sizing: border-box;

    width: 100%;
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    padding: 2.5rem 0 1.6rem;
  }

  .home-page .hero-title {
    width: 100%;
    max-width: 880px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;

    font-size: clamp(2.25rem, 4.5vw, 2.85rem);
    line-height: 1.15;

    overflow-wrap: normal;
    word-break: normal;
  }

  .home-page .hero-subtitle {
    width: 100%;
    max-width: 820px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.6rem;

    font-size: 1rem;
    line-height: 1.55;
  }


  /* ---------- EMAIL / CTA ---------- */

  .home-page .hero-email-form {
    width: min(100%, 480px);
    max-width: 480px;

    margin-left: auto;
    margin-right: auto;
  }


  /* ---------- HERO DASHBOARD ---------- */

  .home-page .hero-dashboard {
    box-sizing: border-box;

    width: min(100%, 940px);
    max-width: 940px;
    min-width: 0;

    margin-left: auto;
    margin-right: auto;
  }

  .home-page .hero-dashboard > * {
    min-width: 0;
    max-width: 100%;
  }


  /* New dashboard shell */

  .home-page .hero-advisory-shell {
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    grid-template-columns:
      minmax(0, 0.43fr)
      minmax(0, 0.57fr);
  }

  .home-page .hero-advisory-copy,
  .home-page .hero-decision-desk {
    box-sizing: border-box;

    min-width: 0;
    max-width: 100%;
  }

  .home-page .hero-advisory-copy {
    padding: 1.8rem 1.45rem;
  }

  .home-page .hero-decision-desk {
    padding: 1.15rem;
  }


  /* Prevent internal dashboard grids
     from forcing page width */

  .home-page .decision-kpi-grid,
  .home-page .decision-middle-grid {
    width: 100%;
    min-width: 0;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .home-page .decision-middle-grid {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(0, 0.85fr);
  }

  .home-page .decision-kpi-card,
  .home-page .decision-chart-card,
  .home-page .cash-driver-card {
    min-width: 0;
    max-width: 100%;
  }


  /* ---------- MEDIA SAFETY ---------- */

  .home-page img,
  .home-page svg,
  .home-page video,
  .home-page iframe {
    max-width: 100%;
  }
}

/* ==========================================================================
   CFO CRAFT — FINAL RESPONSIVE HERO DASHBOARD + SPACING PASS
   Desktop composition is preserved on laptop, tablet and phone.
   On <=768px the existing JS scales only the right management dashboard,
   while this CSS keeps the LEFT advisory panel beside it instead of stacking.
   ========================================================================== */

/* ----- Large desktop: 1440px+ ----- */
@media (min-width: 1440px) {
  .home-page .hero-decision-viewport,
  .home-page .mis-dashboard-viewport {
    height: auto !important;
    overflow: visible;
  }

  .home-page .section-suite-heading {
    height: auto !important;
    min-height: 0 !important;
    padding: 2.4rem 0 1.15rem !important;
  }
}

/* ----- Laptop / desktop: 1025px–1439px ----- */
@media (min-width: 1025px) and (max-width: 1439px) {
  .home-page .hero-decision-viewport,
  .home-page .mis-dashboard-viewport {
    height: auto !important;
    overflow: visible;
  }

  .home-page .section-platform {
    padding: 2.9rem 0 2.35rem !important;
  }

  .home-page .section-suite-heading {
    height: auto !important;
    min-height: 0 !important;
    padding: 2.2rem 0 1rem !important;
  }

  .home-page .section-suite-heading .section-heading {
    margin-bottom: 0.55rem !important;
  }

  .home-page .section-suite-heading .section-subheading {
    margin-bottom: 0 !important;
  }
}

/* ----- Tablet: 769px–1024px ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-page .section-platform {
    padding: 3rem 0 2.5rem !important;
  }

  .home-page .section-suite-heading {
    height: auto !important;
    min-height: 0 !important;
    padding: 2.2rem 0 0.95rem !important;
  }

  .home-page .section-suite-heading .section-heading {
    margin-bottom: 0.55rem !important;
  }

  .home-page .section-suite-heading .section-subheading {
    margin-bottom: 0 !important;
  }

  .home-page .section-feature {
    padding-top: 2.6rem !important;
    padding-bottom: 2.6rem !important;
  }

  /* Keep the complete desktop hero card in one row on tablet. */
  .home-page .hero-dashboard {
    width: min(100%, 940px) !important;
    max-width: 940px !important;
    min-width: 0 !important;
    margin: 1.75rem auto 0 !important;
  }

  .home-page .hero-advisory-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 0.40fr) minmax(0, 0.60fr) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  .home-page .hero-advisory-copy {
    min-width: 0 !important;
    max-width: none !important;
    padding: 1.45rem 1.2rem !important;
    border-right: 1px solid var(--gray-200) !important;
    border-bottom: 0 !important;
  }

  .home-page .hero-advisory-eyebrow {
    margin-bottom: 0.6rem !important;
    font-size: 0.62rem !important;
  }

  .home-page .hero-advisory-title {
    max-width: none !important;
    margin-bottom: 0.72rem !important;
    font-size: clamp(1.5rem, 3.4vw, 2rem) !important;
    line-height: 1.07 !important;
  }

  .home-page .hero-advisory-text {
    max-width: none !important;
    margin-bottom: 1rem !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .home-page .hero-advisory-actions {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  .home-page .hero-advisory-actions .btn-discovery {
    padding: 0.58rem 0.78rem !important;
    font-size: 0.72rem !important;
  }

  .home-page .hero-advisory-actions .link-diagnostic {
    font-size: 0.7rem !important;
  }

  .home-page .hero-value-strip {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin-top: 0.9rem !important;
  }

  .home-page .hero-value-strip span {
    padding: 0.3rem 0.48rem 0.3rem 1.1rem !important;
    font-size: 0.58rem !important;
  }

  .home-page .hero-value-strip span::before {
    left: 0.42rem !important;
  }

  .home-page .hero-decision-viewport {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .home-page .hero-decision-desk,
  .home-page .hero-decision-desk.dashboard-fit-canvas {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 1rem !important;
    transform: none !important;
  }

  .home-page .decision-desk-header {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.7rem !important;
    margin-bottom: 0.75rem !important;
  }

  .home-page .decision-desk-header h3 {
    font-size: 0.98rem !important;
  }

  .home-page .decision-desk-status {
    padding: 0.3rem 0.48rem !important;
    font-size: 0.54rem !important;
  }

  .home-page .decision-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin-bottom: 0.55rem !important;
  }

  .home-page .decision-middle-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    gap: 0.55rem !important;
    margin-bottom: 0.55rem !important;
  }

  .home-page .decision-kpi-card,
  .home-page .decision-panel {
    padding: 0.68rem !important;
    border-radius: 10px !important;
  }

  .home-page .decision-kpi-label {
    min-height: 2em !important;
    font-size: 0.56rem !important;
  }

  .home-page .decision-kpi-card strong {
    font-size: 0.96rem !important;
  }

  .home-page .decision-kpi-meta,
  .home-page .decision-period,
  .home-page .decision-chart-legend {
    font-size: 0.52rem !important;
  }

  .home-page .decision-panel-head h4 {
    font-size: 0.72rem !important;
  }

  .home-page .decision-panel-label {
    font-size: 0.48rem !important;
  }

  .home-page .decision-chart {
    height: 72px !important;
    gap: 0.42rem !important;
  }

  .home-page .cash-driver-list {
    gap: 0.58rem !important;
  }

  .home-page .cash-driver-row {
    grid-template-columns: 58px minmax(0, 1fr) 24px !important;
    gap: 0.38rem !important;
    font-size: 0.54rem !important;
  }

  .home-page .cash-driver-row strong {
    font-size: 0.54rem !important;
  }

  .home-page .cfo-priority-topline {
    flex-direction: row !important;
    align-items: center !important;
  }

  .home-page .hero-decision-viewport {
    display: flex !important;
    align-self: stretch !important;
    height: auto !important;
  }

  .home-page .hero-decision-desk,
  .home-page .hero-decision-desk.dashboard-fit-canvas {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
  }
}

/* ----- Phone / small tablet: 481px–768px ----- */
@media (min-width: 481px) and (max-width: 768px) {
  .home-page .section-platform {
    padding: 2.45rem 0 2.2rem !important;
  }

  .home-page .section-suite-heading {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 1.7rem 0 0.75rem !important;
    margin: 0 !important;
  }

  .home-page .section-suite-heading > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .home-page .section-suite-heading .section-heading {
    margin: 0 0 0.55rem !important;
    font-size: clamp(1.72rem, 8vw, 2.05rem) !important;
    line-height: 1.16 !important;
  }

  .home-page .section-suite-heading .section-subheading {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .home-page .section-feature {
    padding: 2.15rem 0 !important;
    margin: 0 !important;
  }

  .home-page .section-feature .feature-row,
  .home-page .section-feature .feature-row.reverse {
    gap: 1.45rem !important;
    margin-bottom: 0 !important;
  }

  .home-page .feature-tag {
    margin-bottom: 0.55rem !important;
  }

  .home-page .feature-title {
    margin-bottom: 0.7rem !important;
  }

  .home-page .feature-desc {
    margin-bottom: 1rem !important;
  }

  .home-page .section-why,
  .home-page .section-how,
  .home-page .section-outcome,
  .home-page .section-metrics,
  .home-page .section-case-studies,
  .home-page .section-pricing,
  .home-page .section-story,
  .home-page .section-faq,
  .home-page .section-contact {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ----- Small phones: 0–480px ----- */
@media (max-width: 480px) {
  .home-page .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .home-page .section-platform {
    padding-top: 2rem !important;
    padding-bottom: 1.9rem !important;
  }

  .home-page .platform-header {
    margin-bottom: 1.25rem !important;
  }

  .home-page .platform-left .platform-title {
    font-size: clamp(1.75rem, 9vw, 2.05rem) !important;
    line-height: 1.15 !important;
  }

  .home-page .platform-desc {
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
  }

  .home-page .platform-features-grid {
    gap: 0.75rem !important;
  }

  .home-page .p-feature-card {
    padding: 1rem !important;
  }

  .home-page .platform-footer-text {
    margin-top: 0.9rem !important;
    font-size: 0.86rem !important;
  }

  .home-page .section-suite-heading {
    padding-top: 1.45rem !important;
    padding-bottom: 0.65rem !important;
  }

  .home-page .section-feature {
    padding-top: 1.85rem !important;
    padding-bottom: 1.85rem !important;
  }

}

/* =======================================================================
   HERO ADVISORY CARD — MOBILE/TABLET PORTRAIT, 0–768px
   The card scales as one complete left+right composition; neither side is
   hidden, collapsed, cropped, or individually shrunk. The existing JS may
   set an inline width/transform on the right panel, so the two important
   overrides below keep that inline fit from breaking the whole-card scale.
   ======================================================================= */
@media (max-width: 768px) {
  .home-page .hero-dashboard {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 1rem auto 0 !important;
    overflow: visible !important;
  }

  .home-page .hero-advisory-shell {
    display: grid !important;
    width: 1100px !important;
    min-width: 1100px !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr) !important;
    align-items: stretch !important;
    min-height: 560px !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    zoom: calc((100vw - 2rem) / 1100px) !important;
  }

  .home-page .hero-advisory-copy {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 2.6rem 2.4rem !important;
    justify-content: center !important;
    border-right: 1px solid var(--gray-200) !important;
    border-bottom: 0 !important;
  }

  .home-page .hero-advisory-eyebrow {
    margin-bottom: 0.8rem !important;
    font-size: 0.72rem !important;
  }

  .home-page .hero-advisory-title {
    margin: 0 0 1.1rem !important;
    max-width: none !important;
    font-size: 2.65rem !important;
    line-height: 1.1 !important;
  }

  .home-page .hero-advisory-text {
    max-width: none !important;
    margin: 0 0 1.25rem !important;
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
  }

  .home-page .hero-advisory-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.9rem !important;
  }

  .home-page .hero-advisory-actions .btn-discovery {
    padding: 0.72rem 1rem !important;
    font-size: 0.88rem !important;
  }

  .home-page .hero-advisory-actions .link-diagnostic {
    font-size: 0.85rem !important;
  }

  .home-page .hero-value-strip {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 1.25rem !important;
  }

  .home-page .hero-value-strip span {
    width: auto !important;
    max-width: none !important;
    padding: 0.36rem 0.58rem 0.36rem 1.3rem !important;
    font-size: 0.72rem !important;
  }

  .home-page .hero-value-strip span::before {
    left: 0.5rem !important;
  }

  /* Neutralize the old JS right-only scaling. Do not hide the dashboard. */
  .home-page .hero-decision-viewport {
    display: flex !important;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .home-page .hero-decision-desk,
  .home-page .hero-decision-desk.dashboard-fit-canvas {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 1.65rem !important;
    transform: none !important;
    transform-origin: top left !important;
  }

  .home-page .decision-desk-header {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .home-page .decision-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .home-page .decision-middle-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    gap: 0.75rem !important;
  }

  .home-page .decision-kpi-label {
    min-height: 2.1em !important;
  }

  .home-page .decision-chart {
    height: 92px !important;
  }

  .home-page .cfo-priority-topline {
    flex-direction: row !important;
    align-items: center !important;
  }

  .home-page .decision-disclaimer {
    text-align: right !important;
  }
}

/* 481–768px uses 1.25rem outer padding on both sides. */
@media (min-width: 481px) and (max-width: 768px) {
  .home-page .hero-advisory-shell {
    zoom: calc((100vw - 2.5rem) / 1100px) !important;
  }
}


/* ======================================================================
   TWO SCROLL SHOWCASES — RESPONSIVE EXTENSIONS
   Device groups: desktop (>=1440), laptop (1025–1439),
   tablet (601–1024), mobile (<=600), short screens.
   All 10 original content panels remain present in one of two sections.
   ====================================================================== */
@media (min-width: 1440px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {
    max-width: 1440px;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-panel {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
  .home-page .cfo-story.story-enhanced .feature-visual {
    max-width: 680px;
    justify-self: end;
  }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {
    padding: .8rem clamp(1.5rem, 4vw, 3rem);
  }
  .home-page .cfo-story.story-enhanced .feature-desc {
    font-size: clamp(.82rem, 1.04vw, .98rem);
    line-height: 1.47;
  }
  .home-page .cfo-story.story-enhanced .feature-title {
    font-size: clamp(1.6rem, 2.45vw, 2.1rem);
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {
    padding: .8rem clamp(1.1rem, 3vw, 2rem);
  }
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-heading {
    font-size: clamp(1.5rem, 3.3vw, 2rem) !important;
    line-height: 1.19;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-panel,
  .home-page .cfo-story.story-enhanced .cfo-story-panel.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
    gap: clamp(.8rem, 2.5vw, 1.6rem);
  }
  .home-page .cfo-story.story-enhanced .feature-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: .55rem;
  }
  .home-page .cfo-story.story-enhanced .feature-tag {font-size:.76rem;margin-bottom:.4rem;}
  .home-page .cfo-story.story-enhanced .feature-desc {font-size:clamp(.77rem,1.75vw,.93rem);line-height:1.45;margin-bottom:.65rem;}
  .home-page .cfo-story.story-enhanced .feature-list {margin-bottom:.65rem;}
  .home-page .cfo-story.story-enhanced .feature-list li {font-size:.81rem;margin-bottom:.2rem;line-height:1.35;}
  .home-page .cfo-story.story-enhanced .cfo-story-segment-label {font-size:.62rem;}
}
@media (max-width: 600px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {
    padding: clamp(.4rem, 1.4svh, .75rem) 1rem;
    gap: .35rem;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-heading {
    max-width: 100%;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-heading {
    font-size: clamp(1.1rem, 4.7vw, 1.5rem) !important;
    line-height: 1.13 !important;
    margin-bottom: .28rem !important;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-subheading {
    font-size: clamp(.65rem, 2.4vw, .78rem) !important;
    line-height: 1.34 !important;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-progress {gap:.28rem;}
  .home-page .cfo-story.story-enhanced .cfo-story-segment {
    min-height: 14px;
    padding: 4px 0;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-segment-line {height:4px;}
  .home-page .cfo-story.story-enhanced .cfo-story-segment-label {display:none;}
  .home-page .cfo-story.story-enhanced .cfo-story-current {
    display:flex;
    justify-content: space-between;
    flex-wrap:nowrap;
    margin: .15rem 0 0;
    font-size:.65rem;
    gap:.5rem;
  }
  .home-page .cfo-story.story-enhanced [data-story-current] {
    min-width: 0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-scroll-hint {
    flex-shrink:0;
    font-size:.61rem;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-panel,
  .home-page .cfo-story.story-enhanced .cfo-story-panel.reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: safe center;
    gap: clamp(.3rem,1svh,.75rem);
    overflow-x:hidden;
    overflow-y:auto;
    scrollbar-width:thin;
    overscroll-behavior:auto;
    padding:.2rem 0;
  }
  .home-page .cfo-story.story-enhanced .cfo-story-panel .feature-text {flex:0 0 auto;}
  .home-page .cfo-story.story-enhanced .feature-tag {font-size:.66rem;margin:0 0 .28rem;letter-spacing:.08em;}
  .home-page .cfo-story.story-enhanced .feature-title {font-size:clamp(1.22rem,5vw,1.65rem);line-height:1.12;margin:0 0 .45rem;}
  .home-page .cfo-story.story-enhanced .feature-desc {font-size:clamp(.71rem,2.45vw,.86rem);line-height:1.37;margin:0 0 .5rem;max-width:none;}
  .home-page .cfo-story.story-enhanced .feature-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:1rem;
    row-gap:.17rem;
    list-style:disc;
    margin:0 0 .4rem;
    padding-left:1rem;
  }
  .home-page .cfo-story.story-enhanced .feature-list li {font-size:clamp(.66rem,2.25vw,.77rem);line-height:1.31;margin:0;}
  .home-page .cfo-story.story-enhanced .feature-link {font-size:.76rem;line-height:1.2;}
  .home-page .cfo-story.story-enhanced .feature-visual {
    flex:0 0 auto;
    width:100%;
    aspect-ratio:16/9;
    border-radius:12px;
    max-height:none;
  }
  .home-page .cfo-story.story-enhanced .feature-dashboard-embed {border-radius:12px;}
}
@media (max-width: 360px) and (max-height: 650px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {padding:.28rem .75rem;gap:.18rem;}
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-heading {font-size:1.05rem !important;}
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-subheading {font-size:.64rem !important;line-height:1.25 !important;}
  .home-page .cfo-story.story-enhanced .cfo-story-scroll-hint {display:none;}
  .home-page .cfo-story.story-enhanced .feature-visual {border-radius:9px;}
}
@media (min-width: 601px) and (max-height: 700px) {
  .home-page .cfo-story.story-enhanced .cfo-story-inner {padding-top:.35rem;padding-bottom:.35rem;gap:.3rem;}
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-heading {font-size:clamp(1.3rem,2.3vw,1.8rem) !important;}
  .home-page .cfo-story.story-enhanced .cfo-story-heading .section-subheading {font-size:.76rem !important;}
  .home-page .cfo-story.story-enhanced .feature-title {font-size:1.5rem;}
  .home-page .cfo-story.story-enhanced .feature-desc {line-height:1.35;}
  .home-page .cfo-story.story-enhanced .feature-list li {line-height:1.25;margin-bottom:.18rem;}
}

/* Sticky panels must not sit inside a new scrolling ancestor on phones.
   overflow-x:hidden coerces overflow-y to auto and silently breaks sticky. */
@media (max-width: 768px) {
  html:has(body.home-page),
  body.home-page,
  body.home-page .page-wrapper {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
}


/* Compact phones: keep the complete dashboard preview visible before the
   long bullet list. Details remain scrollable inside the active scene. */
@media (max-width: 360px) and (max-height: 650px) {
  .home-page .cfo-story.story-enhanced .cfo-story-panel,
  .home-page .cfo-story.story-enhanced .cfo-story-panel.reverse {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "eyebrow" "title" "description" "dashboard" "bullets" "link";
    grid-template-rows: repeat(3, auto) auto auto auto;
    align-content: start;
    justify-items:stretch;
    gap: .22rem;
  }
  .home-page .cfo-story.story-enhanced .feature-text {display: contents;}
  .home-page .cfo-story.story-enhanced .feature-tag {grid-area:eyebrow;}
  .home-page .cfo-story.story-enhanced .feature-title {grid-area:title; margin-bottom:.1rem;}
  .home-page .cfo-story.story-enhanced .feature-desc {grid-area:description; margin-bottom:.25rem;}
  .home-page .cfo-story.story-enhanced .feature-visual {grid-area:dashboard; margin:.25rem 0 .3rem;}
  .home-page .cfo-story.story-enhanced .feature-list {grid-area:bullets; margin:.2rem 0 .35rem;}
  .home-page .cfo-story.story-enhanced .feature-link {grid-area:link; margin:0 0 .3rem;}
}
@media (max-width: 360px) and (max-height: 650px) {
  .home-page .cfo-story.story-enhanced .cfo-story-panel .feature-visual {
    height: calc((100vw - 1.5rem) * 9 / 16);
    min-height: calc((100vw - 1.5rem) * 9 / 16);
    max-height: none;
  }
}
