/* Label CMS LP — responsive.
   1440px+      : the design as measured.
   1100–1439px  : the same layout, zoomed down proportionally (main.js sets --zoom).
   ≤1099px      : stacked tablet / phone layout. The device mocks keep their
                  desktop proportions and are scaled to fit (main.js sets --msc). */
@media (min-width: 1100px) and (max-width: 1439.98px) {
  body { zoom: var(--zoom, 1); }
  .wrap { width: var(--wrap); }
}

@media (max-width: 1099.98px) {
  h1, h2 { text-wrap: balance; }
  .gnav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 64px; }
  .logo { font-size: 19px; }

  .hero-inner { min-height: 0; padding-bottom: 40px; }
  .hero-copy { padding-top: 36px; }
  .hero-title { font-size: 36px; line-height: 54px; }
  .hero-visual { position: relative; inset: auto; width: 760px; height: 600px; margin-top: 28px; transform-origin: left top; transform: scale(var(--msc, .5)); margin-bottom: calc(600px * (var(--msc, .5) - 1)); }
  .hero-visual .script { display: none; }
  .hero-visual .laptop { left: 0; top: 40px; }
  .hero-visual .phone { left: 483px; top: 20px; }

  .pain-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .pain { height: 280px; }
  .person { width: 112px; height: 112px; bottom: 0; }

  .solution { height: auto; padding-bottom: 48px; }
  .solution-img { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }

  .features-note { position: static; margin-top: 10px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .design-inner { height: auto; padding-bottom: 40px; }
  .design-visual { position: relative; inset: auto; width: 900px; height: 520px; margin-top: 32px; transform-origin: left top; transform: scale(var(--msc, .5)); margin-bottom: calc(520px * (var(--msc, .5) - 1)); }
  .design-visual .big-admin { left: 67px; height: 498px; border-radius: 14px; }
  .design-visual .phone-sm { left: 558px; }
  .b-preview, .b-toggle { left: 628px !important; }
  .b-drag { left: 0 !important; }

  .security-inner { height: auto; padding-bottom: 48px; }
  .cf-mark { position: static; width: auto; justify-content: flex-start; margin-top: 28px; }
  .sec-list { position: static; width: 100%; height: auto; margin-top: 24px; gap: 18px; padding: 24px; }

  .usecases-inner { height: auto; padding-bottom: 40px; }
  .case-list { position: static; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .plans { grid-template-columns: 1fr; }
  .plan { height: auto; flex-wrap: wrap; }
  .plan ul, .plan-main ul { padding-top: 8px; white-space: normal; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 48px; }
  .cta-btns { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero-kicker { font-size: 14px; line-height: 24px; }
  .hero-title { font-size: 26px; line-height: 40px; letter-spacing: 0; }
  .hero-lead { font-size: 14px; line-height: 26px; }
  .hero-lead br { display: none; }
  .price-mini { gap: 10px; }
  .price-card { width: auto; flex: 1; height: auto; padding: 14px 14px 12px; }
  .price-card strong { font-size: 26px; line-height: 32px; }
  .price-card small { font-size: 12px; }
  .price-card strong { flex-wrap: wrap; }
  .price-card em { display: block; width: 100%; margin: 0; font-size: 10.5px; line-height: 16px; }
  .domain-note { margin-left: 4px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; height: 54px; }

  .center-h { font-size: 22px; line-height: 34px; }
  .sec-h, .features .sec-h, .design .sec-h, .security .sec-h { font-size: 24px; line-height: 36px; }
  .sec-h.sm { font-size: 22px; line-height: 34px; }
  .sec-lead { font-size: 14px; line-height: 26px; letter-spacing: .02em; }
  .sec-lead br, .features-note br { display: none; }

  .pains { padding-top: 44px; }
  .pain-list { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .pain { height: 150px; padding-right: 128px; }
  .pain .person { left: auto; right: 10px; bottom: 6px; transform: none; width: 110px; height: 110px; }

  .solution-inner { padding-top: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { height: 290px; }
  .design-copy { padding-top: 44px; }
  .security-inner { padding-top: 44px; }
  .sec-list li { gap: 14px; }
  .case-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case-img { height: 120px; }
  .case b, .case span { padding-left: 4px; }
  .plan { padding: 20px; gap: 12px; }
  .plan-price { font-size: 40px; line-height: 48px; }
  .final-cta h2 { font-size: 22px; line-height: 36px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn-primary, .cta-btns .btn-white { width: 100%; }
  .footer-inner { gap: 18px; padding-block: 32px; }
  .copy { margin-left: 0; }
}
