/* Layout corrections layered after the Webflow export. */

/* Footer link type (both variants). Phone numbers and inline links stay on one line,
   so each target is a single box. */
:is(.footer, .demo-footer) .nav-item-copy {
  font-size: 14px;
  line-height: 1.55;
}

:is(.footer, .demo-footer) .text-link {
  white-space: nowrap;
}

/* Home fixed header. The script in index.html marks the bar is--light or is--dark
   from the section under its bottom edge; over the hero it keeps the transparent look. */
@media screen and (min-width: 992px) {
  body[data-page="home"] .navigation.version-white.is--light {
    background-color: #fff;
    border-bottom-color: #e2e9e5;
  }

  body[data-page="home"] .navigation.version-white.is--dark {
    background-color: #056356;
  }
}

@media screen and (max-width: 991px) {
  body[data-page="home"] .navigation.version-white {
    background-color: #fff;
    border-bottom: 1px solid #e2e9e5;
  }

  body[data-page="home"] .navigation.version-white :is(.brand, .brand-2) {
    color: #124d3f;
  }

  body[data-page="home"] .navigation.version-white .hamburger-line {
    background-color: #124d3f;
  }

  /* Keep the collapsed menu readable over every section of the site. */
  .navigation.version-white .container-3.in-nav {
    min-height: 68px;
    padding: 10px 20px;
  }

  .navigation.version-white .brand-2 {
    flex-shrink: 0;
    max-width: calc(100% - 64px);
  }

  .navigation.version-white .menu-button-2,
  .navigation.version-white .menu-button-2.w--open {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }

  .navigation.version-white .nav-menu-2.v2 {
    inset: 68px 0 auto;
    width: 100%;
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    padding: 16px 20px 24px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e6eae7;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 12px 24px #00000014;
  }

  .navigation.version-white .nav-menu-2 .nav-link.white,
  .navigation.version-white .nav-menu-2 .nav-link.white.now--black {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    color: #151515;
    font-size: 16px;
    line-height: 1.4;
  }

  .navigation.version-white .nav-menu-2 .nav-link.white:hover,
  .navigation.version-white .nav-menu-2 .nav-link.white.w--current {
    border-bottom-color: #056356;
  }

  .navigation.version-white .nav-menu-2 .nav-login.w-nav-link {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin: 12px 0 0;
    background: #056356;
    border-color: #056356;
    color: #fff;
    font-size: 16px;
  }

  /* Content height and wrapping must not depend on a desktop parallax frame. */
  .demo-footer {
    min-height: 0;
    padding: 48px 0;
  }

  [data-footer-parallax-inner] {
    transform: none !important;
  }

  [data-footer-parallax-dark] {
    opacity: 0 !important;
  }

  .footer-top {
    min-width: 0;
    padding: 0;
    gap: 32px;
  }

  /* Both footer variants (.footer, .demo-footer) use this grid. */
  .footer-nav {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-items: start;
    width: 100%;
    gap: 24px;
    text-align: left;
  }

  .footer-nav .links-wrapper,
  .footer-center-wrap,
  .paragraph-block-footer {
    min-width: 0;
    max-width: 100%;
  }

  .footer-nav .links-wrapper {
    width: 100%;
    gap: 8px;
  }

  .contact-wrapper-item {
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .footer-nav .contact-wrapper-item > .w-embed {
    flex: 0 0 24px;
    padding-top: 10px;
  }

  .nav-footer-link {
    min-height: 44px;
    max-width: 100%;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .contact-wrapper-item .nav-footer-link {
    flex: 1;
    min-width: 0;
  }

  .footer-line,
  .footer-divider {
    width: 100%;
    max-width: 100%;
  }

  .footer-center-wrap {
    width: 100%;
    gap: 24px;
  }

  .paragraph.footer-top-p {
    width: 100%;
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: break-word;
  }

  .paragraph.footer-top-p.heading-p {
    font-size: 24px;
    line-height: 1.3;
  }

  /* The hero grows with its copy instead of clipping at 80vh. */
  body[data-page="home"] .hero-home-wrapper {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 120px 24px 64px;
  }

  body[data-page="home"] .hero-wrapper {
    width: 100%;
    max-width: 720px;
    min-width: 0;
    margin: 0;
    gap: 24px;
  }

  body[data-page="home"] .code-embed-10 {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body[data-page="home"] .heading-new-1.home {
    max-width: 100%;
    font-size: clamp(40px, 6.5vw, 64px);
    line-height: 1.1;
  }

  body[data-page="home"] .hero-p.home {
    max-width: 640px;
    font-size: 16px;
    line-height: 1.75;
  }

  body[data-page="home"] .button {
    min-height: 44px;
  }

  body[data-page="home"] .heading-2,
  body[data-page="home"] .heading-2.results-heading,
  body[data-page="home"] .heading-2.atlas-h {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
  }

  body[data-page="home"] .statement-wrapper {
    padding: 0 24px;
  }

  body[data-page="home"] .statement-block {
    margin: 64px auto;
  }

  body[data-page="home"] .highlight-text-h.statement-text {
    font-size: clamp(32px, 4.6vw, 44px);
    line-height: 1.35;
  }

  body[data-page="home"] .features-section-main {
    margin: 0 24px;
    padding: 32px 0;
  }

  body[data-page="home"] ._3-col-features._4-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 16px;
    margin: 24px 0 48px;
  }

  body[data-page="home"] .features-col._4-col {
    width: 100%;
    min-width: 0;
    padding: 20px;
    justify-content: flex-start;
  }

  body[data-page="home"] .features-col .heading-3 {
    min-height: 0;
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.3;
  }

  body[data-page="home"] .features-col .paragraph {
    font-size: 15px;
    line-height: 1.7;
  }

  /* All service details and contact actions are available without hover. */
  body[data-page="home"] .for-customers-ai {
    padding: 0 24px;
  }

  body[data-page="home"] .customer-solutions-wrapper {
    margin-top: 32px;
  }

  body[data-page="home"] .single-customer-feature {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-width: 0;
    padding: 28px 20px;
    gap: 16px;
  }

  body[data-page="home"] .icon-title-wrap {
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  body[data-page="home"] .heading-3.customer-heading {
    display: block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    font-size: 26px;
    line-height: 1.25;
  }

  body[data-page="home"] .single-customer-feature .image-17 {
    flex: 0 0 44px;
  }

  body[data-page="home"] .heading-3.customer-heading,
  body[data-page="home"] .single-customer-feature .image-17,
  body[data-page="home"] .hero-p.feature-customer-p {
    opacity: 1 !important;
    transform: none !important;
  }

  body[data-page="home"] .hero-p.feature-customer-p {
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
  }

  body[data-page="home"] .button.customer-feature-cta {
    display: none;
    align-items: center;
    min-height: 44px;
  }

  /* Atlas uses ordinary document flow at the same breakpoint as its JS. */
  body[data-page="home"] .atlas-section,
  body[data-page="home"] .plans-compare-wrapper.atlas-section {
    height: auto;
    min-height: 0;
    padding: 24px;
  }

  body[data-page="home"] .atlas-sticky {
    position: static;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  body[data-page="home"] .custom-animation-atlas.plans-compare,
  body[data-page="home"] .atlas-scene {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
  }

  body[data-page="home"] .atlas-user-prompt,
  body[data-page="home"] .atlas-sparkle-row,
  body[data-page="home"] .atlas-ai-card,
  body[data-page="home"] .atlas-result-content,
  body[data-page="home"] .atlas-result-summary,
  body[data-page="home"] .atlas-compare-table thead tr,
  body[data-page="home"] .atlas-compare-table tbody tr {
    opacity: 1 !important;
    transform: none !important;
  }

  body[data-page="home"] .atlas-user-prompt {
    margin-bottom: 20px;
  }

  body[data-page="home"] .atlas-prompt-bubble {
    max-width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.6;
  }

  body[data-page="home"] .atlas-ai-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 20px;
  }

  body[data-page="home"] .atlas-loading-area {
    display: none !important;
  }

  body[data-page="home"] .atlas-result-content {
    display: block !important;
    min-width: 0;
  }

  body[data-page="home"] .atlas-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  body[data-page="home"] .atlas-compare-table {
    width: 100%;
    min-width: 500px;
    table-layout: fixed;
    font-size: 13px;
  }

  body[data-page="home"] .atlas-compare-table th,
  body[data-page="home"] .atlas-compare-table td {
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
  }

  body[data-page="home"] .atlas-result-intro,
  body[data-page="home"] .atlas-result-summary {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Align content within each section without overriding its reveal animations. */
body[data-page="home"] .features-col._4-col {
  min-width: 0;
  justify-content: flex-start;
  gap: 20px;
}

body[data-page="home"] .features-col._4-col > .image-13 {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

body[data-page="home"] .features-col._4-col .feature-text-wrapp {
  flex: 1;
  align-items: stretch;
  justify-content: flex-start;
  height: auto;
  min-width: 0;
  margin-top: 0;
  gap: 12px;
}

body[data-page="home"] .features-col._4-col .heading-3 {
  display: block;
  margin-bottom: 0;
}

body[data-page="home"] .features-col._4-col .paragraph {
  flex: none;
}

body[data-page="home"] .results-single {
  min-width: 0;
  justify-content: flex-start;
  gap: 8px;
}

body[data-page="home"] .results-numbers-wrapper > .image-18 {
  display: none;
}

body[data-page="home"] .icon-title-wrap {
  min-width: 0;
  align-items: flex-start;
}

body[data-page="home"] .single-customer-feature .image-17 {
  flex: 0 0 44px;
}

body[data-page="home"] .single-customer-feature .heading-3.customer-heading {
  min-width: 0;
  margin-top: 0;
}

body[data-page="home"] .testimonial-lines,
body[data-page="home"] .testimonial-lines__main,
body[data-page="home"] .testimonial-lines__collection,
body[data-page="home"] .testimonial-lines__list {
  width: 100%;
  min-width: 0;
}

body[data-page="home"] .testimonial-lines__main-details {
  flex-wrap: wrap;
  gap: 12px 20px;
}

body[data-page="home"] .testimonial-lines__item-details {
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: 16px;
}

body[data-page="home"] .testimonial-lines__item-visual {
  flex: none;
}

body[data-page="home"] .testimonial-lines__item-details > div:last-child {
  min-width: 0;
}

body[data-page="home"] .testimonial-lines__item-details .testimonial-lines__p {
  line-height: 1.45;
}

body[data-page="home"] .testimonial-lines__controls {
  width: auto;
  align-self: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

body[data-page="home"] .footer-nav .links-wrapper {
  min-width: 0;
  justify-content: flex-start;
}

body[data-page="home"] .footer-nav .paragraph.footer-p {
  flex: none;
  margin: 0;
}

body[data-page="home"] .paragraph-block-footer {
  align-items: flex-start;
}

body[data-page="home"] .paragraph-block-footer > .paragraph {
  min-width: 0;
}

@media screen and (min-width: 768px) {
  body[data-page="home"] .features-col._4-col .heading-3 {
    min-height: 2.6em;
  }

  body[data-page="home"] .results-numbers-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
  }

  body[data-page="home"] .results-numbers-wrapper > .results-single {
    padding: 8px 24px;
  }

  body[data-page="home"] .results-numbers-wrapper > .results-single:first-child {
    padding-left: 0;
  }

  body[data-page="home"] .results-numbers-wrapper > .results-single + .image-18 + .results-single {
    border-left: 1px solid #e2e2e2;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  body[data-page="home"] .results-numbers-wrapper {
    padding: 0;
  }

  body[data-page="home"] .results-numbers-wrapper > .results-single {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media screen and (min-width: 992px) {
  body[data-page="home"] .single-customer-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    column-gap: 32px;
    height: auto;
    min-height: 164px;
  }

  body[data-page="home"] .single-customer-feature .heading-3.customer-heading {
    width: auto;
    max-width: 100%;
  }

  body[data-page="home"] .single-customer-feature .button.customer-feature-cta {
    justify-self: end;
  }

  body[data-page="home"] .footer-nav .contact-wrapper-item {
    min-width: 0;
    align-items: flex-start;
  }

  body[data-page="home"] .footer-nav .contact-wrapper-item > .w-embed {
    flex: 0 0 24px;
    padding-top: 5px;
  }

  body[data-page="home"] .footer-nav .nav-footer-link {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  body[data-page="home"] ._3-col-features._4-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-nav > .links-wrapper:first-child {
    grid-column: 1 / -1;
  }

  .paragraph-block-footer {
    flex-direction: column;
    gap: 24px;
  }

  body[data-page="home"] .hero-home-wrapper {
    padding: 112px 20px 56px;
  }

  body[data-page="home"] .heading-new-1.home {
    font-size: clamp(40px, 8vw, 56px);
  }

  body[data-page="home"] .statement-wrapper,
  body[data-page="home"] .for-customers-ai {
    padding-right: 20px;
    padding-left: 20px;
  }

  body[data-page="home"] .features-section-main {
    margin-right: 20px;
    margin-left: 20px;
  }

  body[data-page="home"] ._3-col-features._4-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .atlas-wrapper-main {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px 0 0;
  }

  body[data-page="home"] .plans-compare-wrapper.atlas-section {
    padding: 16px;
  }

  body[data-page="home"] .atlas-ai-card {
    padding: 16px;
  }

  body[data-page="home"] .results-main.white.waypoint__white {
    margin: 48px 20px;
  }

  body[data-page="home"] .results-numbers-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin-top: 32px;
    padding: 0;
    gap: 0 20px;
  }

  body[data-page="home"] .results-single {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 24px 0;
    border-bottom: 1px solid #e2e2e2;
  }

  body[data-page="home"] .odometer-h1 {
    font-size: clamp(40px, 10vw, 54px);
    line-height: 1.2;
  }

  body[data-page="home"] .testemonials-main {
    margin: 48px 20px;
    padding: 32px 20px;
  }

  body[data-page="home"] .testimonial-lines,
  body[data-page="home"] .testimonial-lines__main,
  body[data-page="home"] .testimonial-lines__item {
    min-width: 0;
    gap: 24px;
  }

  body[data-page="home"] .testimonial-lines__h {
    font-size: 24px;
    line-height: 1.45;
  }

  body[data-page="home"] .testimonial-lines__button {
    min-width: 44px;
    min-height: 44px;
  }

  body[data-page="home"] div.partner-cta {
    margin-right: 20px;
    margin-left: 20px;
    padding: 32px 20px;
  }

  body[data-page="home"] .partner-cta-wrapper {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Preserve the 980px desktop demo while allowing smaller desktop windows. */
@media screen and (min-width: 992px) {
  body[data-page="home"] .atlas-section {
    width: 100%;
    min-width: 0;
    max-width: 980px;
  }

  body[data-page="home"] .atlas-sticky {
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .demo-footer {
    padding: 40px 0;
  }

  body[data-page="home"] .heading-new-1.home {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  body[data-page="home"] .heading-2.customer-h {
    padding: 0;
  }

  body[data-page="home"] .single-customer-feature {
    padding: 24px 16px;
  }

  body[data-page="home"] .heading-3.customer-heading {
    font-size: 24px;
  }
}
