/*
  ═══════════════════════════════════════════════════════════════════════════════
  PRINT PAGE — Mobile ≤833px  Figma 140:6863 (440×4360)
  #2 Hero | Blok2 System | Blok5 Solutions | Block4 How | Blok Contact
  clamp(min, calc(X * 100vw / 440), max)
  ═══════════════════════════════════════════════════════════════════════════════
*/
@media (max-width: 833px) {
  .app { background: #000000 !important; }
  .app__main { padding: 0 !important; }

  .demo-print {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    background: #000000 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Hero — hero-with-figure (css_v2), overrides для print mobile */
  .demo-print .hero-with-figure {
    width: 100% !important;
    max-width: clamp(320px, calc(440 * 100vw / 440), 660px) !important;
    min-height: 485px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .demo-print .hero-with-figure__bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
  }
  .demo-print .hero-with-figure__bg-img--desktop {
    display: none !important;
  }
  .demo-print .hero-with-figure__bg-img--mobile {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .demo-print .hero-with-figure__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8) 4.38%,
      rgba(0, 0, 0, 0.619) 28.02%,
      rgba(0, 0, 0, 0.4) 56.72%,
      rgba(0, 0, 0, 0.1) 66.25%
    ) !important;
    z-index: 1 !important;
  }
  .demo-print .hero-with-figure__content {
    position: absolute !important;
    left: clamp(11px, calc(16 * 100vw / 440), 24px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(286px, calc(408 * 100vw / 440), 612px) !important;
    max-width: calc(100% - 32px) !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: clamp(25px, calc(36 * 100vw / 440), 54px) !important;
  }
  .demo-print .hero-with-figure__title-mobile {
    display: block !important;
  }
  .demo-print .hero-with-figure__title-desktop {
    display: none !important;
  }
  .demo-print .hero-with-figure__title {
    width: 100% !important;
    margin: 0 !important;
    font-weight: 800 !important;
    font-size: clamp(22px, calc(32 * 100vw / 440), 48px) !important;
    line-height: 1.3 !important;
    letter-spacing: 0.48px !important;
    color: #ffffff !important;
  }
  .demo-print .hero-with-figure__subtitle {
    width: clamp(194px, calc(277 * 100vw / 440), 416px) !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-weight: 400 !important;
    font-size: clamp(11px, calc(16 * 100vw / 440), 24px) !important;
    line-height: 24px !important;
    color: #c4c4c4 !important;
  }
  .demo-print .hero-with-figure__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important; /* как hero Design/AI 440 */
    gap: clamp(10px, calc(14 * 100vw / 440), 21px) !important;
    width: 100% !important;
    max-width: clamp(286px, calc(408 * 100vw / 440), 612px) !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Hero Print 440: две CTA‑кнопки в один ряд, как на Design hero */
  .demo-print .hero-with-figure__actions .button--lg {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
    padding: 16px 20px !important;
    height: 52px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    border-radius: 64px !important;
    white-space: nowrap !important; /* текст в одну строку */
  }
  /* AI-фигура: 20% обрезка справа, прижата вправо, по центру по вертикали */
  .demo-print .hero-with-figure__image-wrap {
    display: block !important;
    position: absolute !important;
    right: -20% !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(260px, 75vw, 420px) !important;
    height: clamp(260px, 75vw, 420px) !important;
  }
  .demo-print .hero-with-figure__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* System — css_v2/content-media-rows.css */

  /* Solutions — css_v2/components/feature-grid.css */

  /* How Block4 */
  .demo-print-how {
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(32px, calc(44 * 100vw / 440), 72px) clamp(16px, calc(20 * 100vw / 440), 32px) !important;
    box-sizing: border-box !important;
  }
  .demo-print-how__title {
    width: 100% !important;
    margin: 0 0 clamp(24px, calc(32 * 100vw / 440), 48px) !important;
    font-size: clamp(24px, calc(32 * 100vw / 440), 48px) !important;
    line-height: 1.3 !important;
    text-align: left !important;
  }

  /* How grid — 2 col on 440 */
  .demo-print-how__grid {
    width: 100% !important;
    max-width: min(clamp(320px, calc(408 * 100vw / 440), 600px), calc(100vw - 32px)) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: clamp(12px, calc(16 * 100vw / 440), 24px) clamp(10px, calc(12 * 100vw / 440), 18px) !important;
    align-items: start !important;
    justify-items: center !important;
  }

  .demo-print-how__card {
    width: 100% !important;
    max-width: clamp(140px, calc(184 * 100vw / 440), 220px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .demo-print-how__ring {
    width: clamp(70px, calc(94 * 100vw / 440), 94px) !important;
    height: clamp(70px, calc(94 * 100vw / 440), 94px) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #19161c !important;
    border: 3px solid #ff7b00 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    margin: 0 0 clamp(12px, calc(17 * 100vw / 440), 24px) 0 !important;
  }

  .demo-print-how__icon {
    width: clamp(32px, calc(42 * 100vw / 440), 42px) !important;
    height: clamp(32px, calc(42 * 100vw / 440), 42px) !important;
    object-fit: contain !important;
    display: block !important;
  }

  .demo-print-how__h3 {
    margin: 0 0 clamp(12px, calc(16 * 100vw / 440), 24px) 0 !important;
    font-family: 'Poppins', var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: clamp(15px, calc(18 * 100vw / 440), 22px) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    text-align: center !important;
  }

  .demo-print-how__p {
    margin: 0 !important;
    font-family: 'Poppins', var(--font-sans) !important;
    font-weight: 400 !important;
    font-size: clamp(12px, calc(14 * 100vw / 440), 18px) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.03em !important;
    color: #c9cad6 !important;
    text-align: center !important;
  }

  /* Маленькие экраны ≤374px */
  @media (max-width: 374px) {
    .demo-print-how__ring {
      width: 80px !important;
      height: 80px !important;
      margin-bottom: 14px !important;
    }
    .demo-print-how__icon {
      width: 36px !important;
      height: 36px !important;
    }
    .demo-print-how__h3 {
      font-size: 16px !important;
      margin-bottom: 12px !important;
    }
    .demo-print-how__p {
      font-size: 12px !important;
    }
  }

  /* Contact — cta-form (как Telegram, mobile из cta-form.css) */
}