:root {
  --container-max: 1280px;
  --container-gutter: 24px;
}

@media (max-width: 1199.98px) {
  :root {
    --container-max: 1120px;
  }

  body .feature-strip-card,
  body .why-card {
    grid-template-columns: repeat(2, 1fr);
  }

  body .feature-strip-card article:nth-child(2),
  body .why-card article:nth-child(2),
  body .why-card article:nth-child(4) {
    border-right: 0;
  }

  body .feature-strip-card article:nth-child(-n + 2),
  body .why-card article:nth-child(-n + 3) {
    border-bottom: 1px solid #edf0f8;
  }

  body .steps-card {
    grid-template-columns: repeat(3, 1fr);
  }

  body .steps-card article {
    border-bottom: 1px solid #edf0f8;
  }

  body .white-label-card {
    grid-template-columns: 0.95fr 1.1fr;
    gap: 30px;
  }

  body .white-label-action {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  main {padding: 0 10px;}
  .why-card {
    gap: 16px;
  }
  .why-card article {
    margin-bottom: 16px;
  }
  body .feature-strip-card article:nth-child(-n + 2), body .why-card article:nth-child(-n + 3){
    border-bottom: none;
  }
  body .feature-strip-card, body .why-card article, body .feature-strip-card article {
    border-right: none;
  }
  body .img-Pop{
    scale: 0.8;
    left: -90px;
    bottom: 120px;
  }
  body .btn-lg-brand {padding: 0 12px;}
  body .platform { min-width: 105px}
  body .platform img { max-width: 68px;}
}

@media (max-width: 992px) {
  :root {
    --container-gutter: 20px;
    --mobile-menu-offset: 80px;
  }

  body .site-nav {
    grid-template-columns: auto auto;
  }

  body .menu-toggle {
    display: block;
  }

  body .nav-panel {
    position: fixed;
    top: var(--mobile-menu-offset);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    justify-items: center;
    justify-content: center;
    gap: 22px;
    width: 100vw;
    height: calc(100dvh - var(--mobile-menu-offset));
    min-height: calc(100vh - var(--mobile-menu-offset));
    padding: clamp(24px, 5vh, 42px) clamp(26px, 7vw, 72px) 40px;
    overflow-y: auto;
    visibility: hidden;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transform: translateY(-14px);
    transition: clip-path 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 420ms ease;
    z-index: 990;
  }

  body .nav-panel.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
    transform: translateY(0);
  }

  body .mobile-panel-head {
    display: none;
  }
  section.connect-banner.boxSpace {
    margin-top: 0;
    padding-top: 0;
  }

  body .nav-links,
  body .nav-actions {
    display: grid;
    justify-content: center;
    justify-items: center;
    gap: 30px;
    width: 100%;
    min-width: 100%;
    margin-right: auto;
    margin-left: auto;
    justify-self: stretch;
  }

  body .nav-links > li,
  body .nav-actions > a {
    display: grid;
    justify-items: center;
    width: 100%;
    min-width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  body .nav-panel.is-open .nav-links > li,
  body .nav-panel.is-open .nav-actions > a {
    opacity: 1;
    transform: translateY(0);
  }

  body .nav-panel.is-open .nav-links > li:nth-child(1) {
    transition-delay: 70ms;
  }

  body .nav-panel.is-open .nav-links > li:nth-child(2) {
    transition-delay: 105ms;
  }

  body .nav-panel.is-open .nav-links > li:nth-child(3) {
    transition-delay: 140ms;
  }

  body .nav-panel.is-open .nav-links > li:nth-child(4) {
    transition-delay: 175ms;
  }

  body .nav-panel.is-open .nav-links > li:nth-child(5) {
    transition-delay: 210ms;
  }

  body .nav-panel.is-open .nav-actions > a:nth-child(1) {
    transition-delay: 245ms;
  }

  body .nav-panel.is-open .nav-actions > a:nth-child(2) {
    transition-delay: 280ms;
  }

  body .nav-links {
    align-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body .nav-links a,
  body .nav-dropdown > button {
    justify-content: center;
    width: 100%;
    min-height: auto;
    padding: 0;
    color: var(--text-heading);
    background: transparent;
    border-radius: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    text-align: center;
  }

  body .nav-links a:hover,
  body .nav-dropdown > button:hover {
    color: var(--brand-primary);
    background: transparent;
  }

  body .nav-dropdown > button {
    display: none;
  }

  body .dropdown-menu-custom {
    position: static;
    display: grid;
    justify-items: center;
    gap: 18px;
    max-height: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    transform: none;
    border: 0;
    border-radius: 0;
  }

  body .dropdown-menu-custom a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    color: var(--text-heading);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-regular);
    text-align: center;
  }

  body .nav-actions {
    gap: 18px;
    align-self: start;
    margin-top: 8px;
  }

  body .nav-actions .btn {
    justify-content: center;
    width: 100%;
    min-height: auto;
    padding: 0;
    color: var(--text-heading);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-regular);
  }

  body .nav-actions .btn-brand {
    min-height: 56px;
    padding: 0 36px;
    color: #ffffff;
    background: var(--brand-primary);
    border: 0;
    border-radius: var(--radius-pill);
    box-shadow: none;
  }

  body .connect-card {
    grid-template-columns: 100px 1fr;
    text-align: center;
  }

  body .connect-mascot {
    width: 100%;
  }
  .platform img {
    width: 100%;
    height: auto;
  }

  body .connect-note {
    justify-content: center;
  }

  body .platform-strip {
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .platform {
    width: 25%;
  }

  body .hero-section {
    padding-top: 10px;
  }

  body .hero-copy {
    text-align: center;
  }

  body .hero-copy h1,
  body .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  body .check-list {
    width: fit-content;
    margin-right: auto;
    /* margin-left: auto; */
    text-align: left;
  }

  body .hero-check-grid {
    width: min(100%, 560px);
    margin-left: auto;
  }

  body .hero-actions {
    justify-content: center;
  }
    body .img-Pop{
    scale: 0.7;
    left: -20px;
    bottom: 90px;
  }

  body .launch-card,
  body .price-card {
    grid-template-columns: 1fr;
  }

  body .white-label-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px;
    text-align: center;
  }

  body .white-label-visual {
    width: min(100%, 390px);
    min-height: 250px;
  }

  body .white-label-content h2,
  body .white-label-content p {
    margin-right: auto;
    margin-left: auto;
  }

  body .system-flow {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  body .flow-step {
    justify-items: center;
  }

  body .white-label-action {
    grid-column: auto;
    max-width: 210px;
  }
  .launch-copy{
    order: 2;
    margin-top: 16px;
  }
  .product-cluster, .box-visual {
    order: 1;
  }



  body .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.connect-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body .footer-brand,
  body .newsletter {
    grid-column: span 2;
  }
  .why-card {
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --container-gutter: 16px;
    --mobile-menu-offset: 68px;
  }

  body .brand {
    width: 134px;
  }

  body .site-header {
    padding: 12px;
  }

  body .nav-panel {
    top: var(--mobile-menu-offset);
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(22px, 4vh, 34px) 22px 36px;
  }

  body .connect-card,
  body .launch-card,
  body .price-card,
  body .white-label-card {
    padding: 22px;
  }

  body .white-label-content h2 {
    font-size: var(--fs-32);
  }

  body .white-label-content p {
    font-size: var(--fs-14);
  }

  body .system-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body .flow-arrow {
    display: none;
  }

  body .flow-step {
    max-width: 260px;
    margin: 0 auto;
  }

  body .platform {
    min-width: 122px;
    padding: 12px 14px;
    font-size: 14px;
    border: none;
  }
  body .connect-card {
    grid-template-columns: 1fr;
    text-align: center;}
  body .connect-mascot {
      width: 120px;
  }
      body .platform-strip {
        overflow-x: auto;
        justify-content: center;
        flex-wrap: wrap;
    }

  body .hero-copy h1 {
    font-size: 38px;
  }

  body .hero-visual {
    min-height: auto;
  }

  body .feature-strip-card,
  body .why-card,
  body .steps-card {
    grid-template-columns: 1fr;
  }

  body .feature-strip-card article,
  body .why-card article,
  body .steps-card article {
    border-right: 0;
    border-bottom: 1px solid #edf0f8;
  }

   body .feature-strip-card article { border-right: none !important; border-bottom: none !important; }

  body .feature-strip-card article:last-child,
  body .why-card article:last-child,
  body .steps-card article:last-child {
    border-bottom: 0;
  }

  body .steps-card article::after {
    display: none;
  }

  body .product-cluster,
  body .box-visual {
    min-height: 230px;
  }

  body .newsletter form {
    flex-direction: column;
  }
  .trust-section .section-heading h2 {
    font-size: var(--fs-20);
  }
  body .hero-check-grid{
    padding-left: 16px;
  }
  .txMobile {
    display: block !important;
  }
  .txMobile-none {
    display: none !important;
  }
  .hero-actions.desktop-actions{
    display: none !important;
  }
  .hero-actions.mobile-action {
    display: flex !important;
    margin-top: 16px;
  }
  body .connect-note {
    display: block;
  }
}

@media (max-width: 575.98px) {
  main {
    padding: 0 10px;
  }
  body .connect-card {
    padding: 8px;
  }

  body .why-card { padding: 0;}

  body .white-label-content h2 {
    font-size: var(--fs-28);
  }
  body {
    min-width: 320px;
  }
  .flow-step strong {
    font-size: var(--fs-14) !important;
  }

  body .btn {
    width: 100%;
  }
  body .platform-strip {
    grid-template-columns: 30% 30% 30%;
    display: grid;
    gap: 8px;
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
    overflow: visible;
  }
  span.platform.more {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 6px 10px;
    min-width: auto !important;
    border: 1px solid #eef1f6;
    border-radius: 12px;
}
  body .platform {
    min-width: 100% !important;
    padding: 12px 0;
  }
  .platform img {
    width: 100px !important;
  }

  body .hero-actions {
    display: grid;
  }

  body .hero-check-grid {
    grid-template-columns: 1fr;
  }

  body .hero-visual {
    margin-top: 8px;
  }

  body .white-label-card {
    gap: 22px;
  }

  body .white-label-visual {
    min-height: 230px;
  }

  body .white-label-monitor-img {
    max-width: 300px;
  }

  body .white-label-action {
    width: 100%;
    max-width: 210px;
  }

  body .footer-grid {
    grid-template-columns: 1fr;
  }

  body .footer-brand,
  body .newsletter {
    grid-column: auto;
  }

  body .footer-bottom {
    display: grid;
    gap: 12px;
  }
  body .footer-grid > div{
    border-bottom: 1px solid #21275d;
    padding-bottom: 12px;
  }
  body .hero-copy h1 {
    font-size: 30px;
    text-align: left;
  }
  body .hero-actions {
    justify-content: normal;
  }
  body .feature-strip-card {
   grid-template-columns: 1fr 1fr;
  }
  .feature-strip-card article{
    flex-direction: column; 
    text-align: center;
    align-items: center !important;
    padding: 20px 8px !important;
    border-right: 1px solid #edf0f8 !important;
  }
  .feature-strip-card article h3 {
    font-size: var(--fs-16);
  }
  body .why-card, body .steps-card {
    border: none;
    box-shadow: none;
  }
  body .why-card article, body .steps-card article {
    border: 1px solid var(--color-primary-100) !important;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    align-items: center !important;
    background: var(--color-primary-50);
    margin-bottom: 8px;
  }
  body .check-list li{
    padding-bottom: 8px !important;
  }
  body .system-flow {
    width: 100%;
  }
  body .system-flow .flow-step {
    width: 100%;
    max-width: none;
    background: var(--color-primary-50);
    border: 1px solid var(--color-primary-100) !important;
    border-radius: 8px;
    padding: 20px 16px;
    margin-bottom: 8px;
  }
  body .connect-note span.material-symbols-outlined {
      display: none;
  }
  body .img-Pop{
    scale: 0.6;
    left: -50px;
    bottom: 24px;
  }
}
