/* Responsive refinements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

section .frame,
#header .frame,
#customers .frame,
#examples .frame,
#services .frame,
#questions .frame,
#footer .frame {
  max-width: min(1220px, calc(100vw - 32px));
}

#features .card-description,
#testimonials .card-description,
#pricing .plan-desc,
details p {
  color: var(--muted-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

#problems .pills {
  margin: 46px auto 0;
  max-width: 1180px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
}

#problems .pills .ghost {
  display: none;
}

#features .widget img {
  width: 100%;
  display: block;
  object-fit: contain;
}

#customers .logo img,
#customers .company img {
  display: block;
  max-width: 132px;
  max-height: 42px;
  object-fit: contain;
}

#integrations .disc img {
  max-width: 74%;
  max-height: 58px;
  object-fit: contain;
}

#examples .grid,
#services .grid,
#questions .grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

#examples .left,
#examples .right,
#services .left,
#services .right,
#questions .left,
#questions .right {
  min-width: 0;
}

@media (max-width: 1100px) {
  section {
    padding: 16px 0 38px;
  }

  section .inner {
    padding: 48px 0 56px;
  }

  section .title {
    font-size: 48px;
  }

  #customers .logos {
    flex-wrap: wrap;
    gap: 24px 34px;
  }

  #customers .cards {
    flex-wrap: wrap;
  }

  #customers .cardbox {
    width: min(100%, 360px);
  }

  #features .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  #integrations .orbit {
    width: min(100%, 760px);
    transform: scale(.86);
    transform-origin: top center;
    margin-bottom: -48px;
  }

  #pricing .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pricing .cardx.pro {
    grid-column: 1 / -1;
  }

  #footer .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 42px;
  }
}

@media (max-width: 900px) {
  #header .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 8px;
  }

  #header .brand {
    margin-right: auto;
  }

  #header .navlinks {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 6px 0 0;
    display: none;
  }

  #header .hero-wrap {
    padding-top: 16px;
  }

  #header .viewer {
    height: clamp(260px, 48vw, 430px);
  }

  #features .cards,
  #testimonials .cards,
  #pricing .pricing-grid,
  #examples .grid,
  #services .grid,
  #questions .grid {
    grid-template-columns: 1fr;
  }

  #features .cardx,
  #testimonials .cardx,
  #pricing .cardx {
    min-height: auto;
  }

  #solution .compare-card {
    max-width: calc(100vw - 32px);
    margin-top: 52px;
    border-radius: 20px;
  }

  #solution .grid {
    grid-template-columns: 1fr;
  }

  #solution .headcell.first,
  #solution .bottom-fill {
    display: none;
  }

  #solution .headcell,
  #solution .rowcell {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 18px 20px;
  }

  #solution .headcell {
    border-bottom: 0;
  }

  #solution .headcell.highlighted {
    padding: 20px;
  }

  #solution .rowcell.feature {
    background: var(--background-soft);
    border-top: 1px solid var(--border-soft);
    font-size: 14px;
  }

  #solution .rowcell:not(.feature) {
    font-size: 14px;
    line-height: 1.45;
  }

  #solution .cta-wrap {
    grid-column: auto;
    padding: 20px;
  }

  #examples .frame .inner .hero-wrap,
  #services .frame .inner .hero-wrap,
  #questions .frame .inner .hero-wrap {
    text-align: center !important;
  }

  #services .title.is-left,
  #services .subtitle.is-left,
  #questions .title.is-left,
  #questions .subtitle.is-left {
    text-align: center;
  }
}

@media (max-width: 760px) {
  section,
  #header,
  #customers {
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  section .frame,
  #header .frame,
  #customers .frame,
  #examples .frame,
  #services .frame,
  #questions .frame,
  #footer .frame {
    max-width: calc(100vw - 20px);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 18px;
  }

  section .inner {
    padding: 42px 0 48px;
  }

  section .hero-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  section .title {
    font-size: clamp(34px, 9vw, 44px);
    letter-spacing: -0.02em;
    line-height: 1.08;
  }

  section .title br,
  section .subtitle br {
    display: none;
  }

  section .subtitle {
    max-width: 100%;
    font-size: 15px;
  }

  .actions {
    gap: 12px;
  }

  .btn,
  .pill.primary {
    min-height: 44px;
  }

  #header .brand {
    font-size: 24px;
  }

  #header .logo-mark img {
    height: 48px !important;
  }

  #header .topbar > div:last-child {
    margin-left: auto;
  }

  #header .navlinks {
    font-size: 13px;
  }

  #header .badges {
    gap: 12px 18px;
  }

  #header .badge {
    font-size: 12px;
  }

  #header .image {
    margin-top: 34px;
    border-radius: 16px;
  }

  #header .viewer {
    height: clamp(220px, 58vw, 320px);
  }

  #customers .logos {
    margin: 34px auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 22px;
  }

  #customers .logo {
    justify-content: center;
    min-height: 40px;
  }

  #customers .cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #customers .cardbox,
  #customers .quote {
    width: 100%;
    max-width: none;
  }

  #customers .cardbox {
    border-radius: 18px;
    padding: 22px;
  }

  #customers .author {
    padding: 14px 0 0;
    align-items: flex-start;
    gap: 14px;
  }

  #problems .pills,
  #features .cards,
  #testimonials .cards,
  #pricing .cards-wrap,
  #examples .grid,
  #services .grid,
  #questions .grid {
    padding-left: 0;
    padding-right: 0;
  }

  #problems .pills .pill {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  #features .cardx,
  #testimonials .cardx,
  #pricing .cardx {
    border-radius: 18px;
    padding: 22px;
    min-height: auto;
  }

  #features .features {
    padding: 0;
    margin-top: 46px;
  }

  #features .features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #features .features-grid + .features-grid {
    margin-top: 28px;
  }

  #features .feat {
    max-width: 100%;
  }

  #integrations .orbit {
    width: 100%;
    height: auto;
    transform: none;
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  #integrations .disc,
  #integrations .d1,
  #integrations .d2,
  #integrations .d3,
  #integrations .d4,
  #integrations .d5,
  #integrations .d6,
  #integrations .d7,
  #integrations .d8,
  #integrations .d9,
  #integrations .d10,
  #integrations .d11 {
    position: static;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
  }

  #pricing .price,
  #pricing .price.free {
    font-size: 34px;
  }

  summary {
    font-size: 17px;
    gap: 16px;
  }

  #footer .footer-area {
    padding-top: 48px;
  }

  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #footer .footer-grid > div:empty {
    display: none;
  }
}

@media (max-width: 520px) {
  section .frame,
  #header .frame,
  #customers .frame,
  #examples .frame,
  #services .frame,
  #questions .frame,
  #footer .frame {
    max-width: calc(100vw - 12px);
    padding-left: 14px;
    padding-right: 14px;
  }

  section .pill {
    font-size: 13px;
  }

  .actions .btn {
    width: 100%;
    justify-content: center;
  }

  #header .topbar {
    gap: 10px;
  }

  #header .navlinks {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  #header .navlinks a {
    flex: 0 0 auto;
  }

  #customers .logos,
  #integrations .orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #customers .author {
    flex-direction: column;
  }

  #examples .step {
    grid-template-columns: 1fr;
  }

  #solution .rowcell,
  #solution .headcell,
  #solution .headcell.highlighted {
    padding-left: 16px;
    padding-right: 16px;
  }

  #pricing .cardx {
    padding: 22px 18px;
  }

  #footer .bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
