/* Keep the original desktop composition intact. This layer activates for
   actual touch-first devices, not simply for a narrow desktop window. */
.phone-cta { display: none; }

@media (hover: none) and (pointer: coarse) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  html { -webkit-text-size-adjust: 100%; }
  body { padding-bottom: env(safe-area-inset-bottom); touch-action: manipulation; }
  header, main, section, footer { max-width: 100%; }
  .wrap { width: min(620px, calc(100% - 28px)); margin-inline: auto; }
  .nav { height: calc(52px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .nav-inner { height: 52px; }
  .nav .brand img { width: 28px; height: 28px; border-radius: 8px; }
  .nav .wordmark { font-size: 32px; }
  .nav-cta { display: inline-flex; min-height: 34px; align-items: center; padding-inline: 15px; }
  .hero { display: flex; min-height: auto; flex-direction: column; align-items: center; padding: 48px 0 64px; }
  .hero::before { width: 120vw; height: 440px; top: -110px; opacity: .7; }
  .hero h1 { line-height: .82; }
  .wordmark-flight { position: relative !important; left: auto !important; width: 100% !important; max-width: 100% !important; margin: 18px auto 28px !important; font-size: clamp(92px, 34vw, 138px) !important; text-align: center !important; opacity: 1 !important; transform: none !important; }
  .wordmark-flight-clone { display: none !important; }
  .nav .wordmark { opacity: 1 !important; }
  .desktop-cta { display: none; }
  .phone-cta { display: inline; }
  .hero .actions { width: 100%; margin: 0; }
  .hero .button { width: 100%; min-height: 50px; font-size: 16px; }
  .compress-demo { display: none !important; }
  .demo-desktop { min-height: 315px; border-radius: 20px; }
  .demo-label { font-size: 9px; }
  .demo-file { transform: scale(.9); }
  .edge-shell { right: -16px; }
  .demo-drop { width: 132px; }
  .demo-hint { font-size: 11px; }
  .section, .managed { padding: 64px 0; }
  .kicker { margin-bottom: 12px; }
  .section-title { margin-bottom: 18px; font-size: clamp(43px, 13vw, 62px); }
  .section-lede { font-size: 18px; }
  .cards { gap: 12px; margin-top: 32px; }
  .cards article { min-height: 180px; padding: 24px; border-radius: 22px; }
  .cards h3 { margin: 28px 0 8px; }
  .cards p { margin-block: 0; }
  .mods { padding: 64px 0; }
  .mods-grid { gap: 32px; }
  .lspdfr-logo img { max-width: 240px; }
  .managed-grid { gap: 36px; }
  .price-card { width: 100%; padding: 26px; border-radius: 24px; }
  .price strong { font-size: 68px; }
  .faq { margin-top: 32px; }
  details { padding-block: 18px; }
  summary { min-height: 44px; align-items: center; font-size: 16px; }
  .cta { width: auto; margin-inline: 14px; padding: 36px 26px; border-radius: 24px; }
  .cta h2 { font-size: 34px; }
  footer { gap: 20px; padding-top: 38px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .footer-links a { display: flex; min-height: 40px; align-items: center; }
}

@media (hover: none) and (pointer: coarse) and (max-width: 420px) {
  .wrap { width: calc(100% - 24px); }
  .nav-cta { font-size: 11px; }
  .hero { padding-top: 44px; }
  .wordmark-flight { font-size: clamp(88px, 33vw, 124px) !important; }
  .edge-shell { right: -12px; transform: scale(.88); transform-origin: right center; }
  .cards article { min-height: 168px; }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover, .cards article:hover { transform: none; }
  a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
  .button:active, .nav-cta:active { transform: scale(.97); }
}
