/* RESPONSIVE */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 100%;
  margin-inline: auto;
}

.about-layout > *,
.calculator-layout > *,
.compare-grid > *,
.two > *,
.nav > *,
.nav-actions > * {
  min-width: 0;
}

.hero,
.hero-shell,
main,
footer {
  overflow-x: clip;
}

@media (max-width: 980px) {
  :root {
    --nav-offset: 106px;
  }

  .about-layout,
  .calculator-layout,
  .compare-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .hero-grid.hero-grid-single {
    padding: 120px 0 150px;
  }

  .calculator-card,
  .pricing-combo-card,
  .contact-wrap .card {
    padding: 26px;
  }

  .about-copy-alt {
    padding: 34px;
  }

  .about-image-card {
    padding: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-offset: 98px;
  }

  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
    max-width: 100%;
    margin-inline: auto;
  }

  .promo-track {
    padding: 10px 0;
  }

  .promo-track span {
    padding-right: 30px;
    font-size: 0.78rem;
  }

  .promo-track span::after {
    right: 10px;
  }

  .nav {
    top: 40px;
    gap: 16px;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
    border-radius: 18px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand {
    align-self: flex-start;
    max-width: 100%;
  }

  .nav-actions {
    width: 100%;
    max-width: 100%;
    gap: 12px 14px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .nav-link {
    text-align: center;
  }

  .hero.hero-clean,
  .hero-shell {
    min-height: 100svh;
    max-width: 100%;
  }

  .hero-grid.hero-grid-single {
    align-items: center;
    padding: 30px 0 150px;
  }

  .hero-copy,
  .hero-copy-centered {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-title-nowrap {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    margin-top: 0;
    font-size: clamp(2.5rem, 11vw, 4rem);
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-areas-badge {
    font-size: 0.76rem;
    padding: 8px 14px;
    white-space: normal;
    text-align: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy-alt {
    order: 1;
    padding: 0 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .about-copy-alt .about-label {
    background: var(--primary-soft);
    color: var(--primary-dark);
  }

  .about-copy-alt p {
    margin-left: auto;
    margin-right: auto;
    color: var(--text-soft);
  }

  .about-copy-alt strong {
    color: var(--text);
  }

  .about-image-card {
    order: 2;
    padding: 28px;
  }

  .calculator-section {
    padding-top: 42px;
  }

  .pricing-combo-card {
    order: 1;
  }

  .calculator-card {
    order: 2;
  }

  .calculator-card,
  .pricing-combo-card,
  .compare-card,
  .contact-wrap .card {
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .calc-option {
    border-radius: 14px;
    padding: 14px;
    background: rgba(79, 178, 196, 0.05);
  }

  .calc-option input[type="checkbox"] {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: none;
    flex: 0 0 auto;
  }

  .calc-option span {
    overflow-wrap: anywhere;
  }

  .pricing-package-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image-specs .about-spec {
    flex-basis: 100%;
  }

  .compare,
  .compare-frame {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    overflow: hidden;
  }

  .compare-carousel {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    column-gap: 10px;
  }

  .compare-viewport {
    order: 1;
    flex: 1 1 100%;
    width: 100%;
  }

  .compare-arrow-prev {
    order: 2;
  }

  .compare-arrow-next {
    order: 3;
  }

  .compare-arrow {
    width: 44px;
    height: 44px;
  }

  .compare-arrow svg {
    width: 18px;
    height: 18px;
  }

  .checkbox-label {
    gap: 10px;
    padding: 14px;
    align-items: flex-start;
  }

  .checkbox-label span {
    font-size: 0.89rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero-cta,
  .submit {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px;
    box-sizing: border-box;
  }

  footer {
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(calc(100% - 20px), var(--wrap));
    max-width: 100%;
    margin-inline: auto;
  }

  .logo-box {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand > div:last-child > div {
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .section-title {
    font-size: 1.75rem;
    overflow-wrap: anywhere;
  }

  .compare-badge {
    top: 10px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .compare-badge.before {
    left: 10px;
  }

  .compare-badge.after {
    right: 10px;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  :root {
    --nav-offset: 82px;
  }

  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
    margin-inline: auto;
  }

  .nav {
    top: 16px;
  }

  .hero.hero-clean,
  .hero-shell {
    min-height: 100dvh;
  }

  .hero-grid.hero-grid-single {
    padding: 84px 0 96px;
  }

  .compare,
  .compare-frame {
    aspect-ratio: 16 / 9;
  }
}
