/* digital-card-landing.html adaptive layout. Same pattern as other pages:
   data-adaptive-layout attribute, real reflow at 641-1400px, re-enabling
   this page's own extensive already-written (but disabled) dcl-* section
   collapses instead of leaving them off. Below 641px the shared
   desktop-scale-fit.js zoom fallback takes over. */
/* 2026-09-19: narrowed from 1400px to 1279px (see membership-point-card-responsive.css
   for the full rationale). Unconditional reset keeps html/body/.header-container off
   style.css's sitewide min-width:1300px floor at every width from 641px up. */
@media (min-width: 641px) {
  html,
  body {
    min-width: 0 !important;
  }

  .header-container {
    min-width: 0 !important;
  }
}

@media (min-width: 641px) and (max-width: 1279px) {
  html,
  body {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: clip !important;
  }

  body {
    padding-top: 68px !important;
  }

  body > header {
    display: block !important;
    visibility: visible !important;
    min-height: 68px !important;
    height: 68px !important;
    padding: 8px 0 !important;
    border-bottom: 0 !important;
  }

  body > header .header-container {
    display: flex !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 18px !important;
    transform: none !important;
  }

  body > header .header-left {
    display: flex !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  body > header .logo img {
    display: block !important;
    width: auto !important;
    height: 46px !important;
    max-width: 230px !important;
  }

  html[data-adaptive-layout] body:not(.admin-page):not(.admin-layout) > header .mobile-menu-toggle {
    display: block !important;
    position: absolute !important;
    top: 5px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 6px !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
  }

  html[data-adaptive-layout] body:not(.admin-page):not(.admin-layout) > header .mobile-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    margin: 5px auto !important;
  }

  body > header .main-nav {
    display: none !important;
  }

  body > header .main-nav.active {
    display: block !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: 100% !important;
    height: 100vh !important;
    padding: 78px 22px 32px !important;
    overflow-y: auto !important;
    background: #fff !important;
    box-shadow: -8px 0 28px rgba(15, 23, 42, 0.18) !important;
    z-index: 9999 !important;
  }

  body > header .main-nav.active ul,
  body > header .main-nav.active .mobile-menu-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body > header .main-nav.active li {
    width: 100% !important;
    border-bottom: 1px solid #e8edf5 !important;
  }

  body > header .main-nav.active > ul > li > a {
    display: block !important;
    padding: 14px 4px !important;
    font-size: 0.94rem !important;
  }

  body > header .main-nav.active .mobile-order-btn {
    display: block !important;
    background: #00aaff !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body > header .main-nav.active .mobile-consult-btn {
    display: block !important;
    color: #00aaff !important;
    padding: 12px 20px !important;
    border: 1px solid #00aaff !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body > header .header-right {
    display: flex !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: 54px !important;
    padding-right: 0 !important;
    gap: 0 !important;
  }

  body > header .header-right > a.header-link,
  body > header #authSection,
  body > header .consult-btn,
  body > header .upload-btn {
    display: none !important;
  }

  body > header .cart-icon,
  body > header .cart-icon a,
  body > header .cart-icon svg {
    display: flex !important;
    width: 24px !important;
    height: 24px !important;
  }

  .vertical-faq-btn {
    display: none !important;
  }

  footer .footer-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  footer .footer-brand {
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 36px !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  footer .footer-logo {
    margin-left: 0 !important;
    transform: none !important;
  }

  footer .footer-logo img {
    margin-inline: auto !important;
  }

  footer .business-calendar {
    width: min(100%, 300px) !important;
    min-width: 0 !important;
    max-width: 300px !important;
    margin: 18px auto 14px !important;
    transform: none !important;
  }

  footer .footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    width: 100% !important;
    gap: 34px !important;
    padding-right: 0 !important;
  }

  footer .footer-col {
    width: 100% !important;
    max-width: 520px !important;
    min-width: 0 !important;
    align-items: center !important;
    text-align: center !important;
  }

  footer .footer-col .footer-main-link {
    width: 100% !important;
    padding-bottom: 9px !important;
    border-bottom: 1px solid #dce5f2 !important;
    color: #234f9a !important;
    font-size: 1rem !important;
  }

  footer .footer-links .footer-col:last-child {
    grid-column: 1 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding-top: 28px !important;
    border-top: 1px solid #e5eaf2 !important;
  }

  footer .footer-bottom {
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }

  footer .footer-legal {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 28px !important;
  }

  /* Page specific: this page's own already-written (previously disabled)
     section-by-section collapses, re-enabled across the tablet range. */
  .dcl-hero-inner,
  .dcl-point3-inner,
  .dcl-features-inner,
  .dcl-detail-inner,
  .dcl-usecases-inner,
  .dcl-mgmt-inner,
  .dcl-steps-inner,
  .dcl-unify-inner,
  .dcl-industries2-inner,
  .dcl-voices-inner {
    padding: 0 32px !important;
  }

  .dcl-hero-inner {
    flex-direction: column !important;
  }

  .dcl-hero-text {
    text-align: center !important;
  }

  .dcl-badges,
  .dcl-actions,
  .dcl-checklist {
    justify-content: center !important;
  }

  .dcl-hero-sub {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .dcl-hero-visual {
    order: -1 !important;
  }

  .dcl-visual-stage {
    transform: scale(0.82) !important;
    height: 400px !important;
  }

  .dcl-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dcl-usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dcl-usecase-card-body {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dcl-mini-phone {
    margin: 0 auto !important;
  }

  .dcl-usecase-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .dcl-usecase-banner-cards {
    flex-wrap: wrap !important;
  }

  .dcl-usecase-banner-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .dcl-detail-visual,
  .dcl-detail-grid {
    flex-direction: column !important;
  }

  .dcl-detail-callouts {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .dcl-detail-callout {
    border-left: none !important;
    border-top: 2px dotted #f0c9a3 !important;
    padding-left: 0 !important;
    padding-top: 12px !important;
    max-width: 220px !important;
  }

  .dcl-detail-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dcl-big-phone {
    transform: scale(0.86) !important;
  }

  .dcl-dash-row,
  .dcl-mgmt-grid,
  .dcl-device-screen {
    flex-direction: column !important;
  }

  .dcl-dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dcl-mgmt-flow {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .dcl-dash-sidebar {
    flex: none !important;
    display: flex !important;
    overflow-x: auto !important;
    gap: 4px !important;
    border-right: none !important;
    border-bottom: 1px solid #edeef1 !important;
  }

  .dcl-dash-logo {
    display: none !important;
  }

  .dcl-dash-nav {
    flex-direction: row !important;
  }

  .dcl-dash-nav-item span:last-child {
    display: none !important;
  }

  .dcl-steps-row {
    flex-wrap: wrap !important;
  }

  .dcl-step-card {
    flex: 1 1 calc(50% - 20px) !important;
  }

  .dcl-steps-banner-divider {
    display: none !important;
  }

  .dcl-steps-banner-actions {
    width: 100% !important;
  }

  .dcl-steps-banner-actions a {
    flex: 1 !important;
    justify-content: center !important;
  }

  .dcl-unify-grid {
    flex-direction: column !important;
    align-items: center !important;
  }

  .dcl-unify-col {
    width: 100% !important;
    max-width: 480px !important;
  }

  .dcl-unify-col--center {
    flex-direction: row !important;
    justify-content: center !important;
    padding-top: 0 !important;
    margin: 20px 0 !important;
  }

  .dcl-unify-connector {
    display: none !important;
  }

  .dcl-unify-circle {
    margin: 0 20px 0 0 !important;
  }

  .dcl-unify-circle-label {
    margin-bottom: 0 !important;
    text-align: left !important;
  }

  .dcl-unify-banner-main {
    flex: 1 1 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(16, 20, 30, 0.1) !important;
    padding-right: 0 !important;
    padding-bottom: 20px !important;
    margin-bottom: 4px !important;
  }

  .dcl-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dcl-industries2-top {
    align-items: flex-start !important;
  }

  .dcl-industries2-banner-actions {
    width: 100% !important;
  }

  .dcl-industries2-banner-actions a {
    flex: 1 !important;
    justify-content: center !important;
  }

  .dcl-cases-row {
    flex-wrap: wrap !important;
  }

  .dcl-cases-intro {
    flex: 1 1 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .dcl-cases-intro-btn {
    margin-top: 0 !important;
  }

  .dcl-case-card {
    flex: 1 1 calc(50% - 9px) !important;
  }

  .dcl-voices-banner-actions {
    width: 100% !important;
  }

  .dcl-voices-banner-actions a {
    flex: 1 !important;
    justify-content: center !important;
  }

  .dcl-point3-top {
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    gap: 48px !important;
  }

  .dcl-point3-visual {
    width: 100% !important;
    max-width: 480px !important;
  }

  .dcl-point3 {
    padding: 64px 0 !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  footer .footer-col {
    max-width: 360px !important;
  }

  footer .footer-links {
    gap: 30px !important;
  }

  footer .footer-links .footer-col:last-child {
    padding-top: 22px !important;
  }

  footer .footer-legal {
    gap: 12px 18px !important;
  }

  [class$="-inner"] {
    padding: 0 16px !important;
  }

  .dcl-usecase-grid,
  .dcl-detail-footer-grid,
  .dcl-industry-grid,
  .dcl-voices-grid,
  .dcl-point3-features {
    grid-template-columns: 1fr !important;
  }

  .dcl-step-card,
  .dcl-case-card {
    flex: 1 1 100% !important;
  }

  .dcl-step-arrow {
    display: none !important;
  }

  .dcl-unify-col--center {
    flex-direction: column !important;
    text-align: center !important;
  }

  .dcl-unify-circle {
    margin: 0 0 16px !important;
  }

  .dcl-industries2-stats {
    flex-direction: column !important;
    width: 100% !important;
  }

  .dcl-cases-intro {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .dcl-point3-features {
    grid-template-columns: 1fr !important;
  }

  .dcl-point3-feature {
    padding: 20px !important;
  }
}

/* 2026-09-19: Apple iphone-duo style fluid-scaling pilot for the desktop range
   (>=1280px), same 86.49vw-capped formula used elsewhere. This page's own
   1480px cap (not 1280px) is kept as-is, matching its embedded <style>'s
   existing .dcl-*-inner max-width:1480px. */
@media (min-width: 1280px) {
  .dcl-hero-inner,
  .dcl-point3-inner,
  .dcl-features-inner,
  .dcl-detail-inner,
  .dcl-usecases-inner,
  .dcl-mgmt-inner,
  .dcl-steps-inner,
  .dcl-unify-inner,
  .dcl-industries2-inner,
  .dcl-voices-inner {
    max-width: none !important;
    width: min(86.49vw, 1480px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
