/* MyPowerDrops Mobile Polish companion v1.0.0. Public home only. */
/* These rules preserve the existing layout, credit examples, buttons, audio players, and brand palette. */
@media (max-width: 720px) {
  body.home .mpd-site-header-inner { gap: 10px; }
  body.home .mpd-site-brand { min-width: 0; }
  body.home .mpd-site-brand img { max-width: min(61vw, 230px); height: auto; }

  body.home .mpd-guest-home {
    max-width: calc(100% - 10px);
    box-shadow: none; /* Reduce large-area paint work on small screens. */
  }
  body.home .mpd-guest-home .mpd-guest-hero {
    min-width: 0;
    padding: clamp(12px, 3.4vw, 20px);
  }
  body.home .mpd-guest-home .mpd-guest-marketing,
  body.home .mpd-guest-home .mpd-guest-price-card,
  body.home .mpd-guest-home .mpd-guest-auth-card,
  body.home .mpd-guest-home .mpd-guest-sample-card {
    min-width: 0;
    max-width: 100%;
  }
  body.home .mpd-guest-home .mpd-guest-brand-logo img {
    filter: none; /* Large image drop-shadow creates extra paint work. */
    height: auto;
  }
  body.home .mpd-guest-home .mpd-guest-copy h1 {
    font-size: clamp(35px, 11vw, 55px);
    line-height: 1.02;
    overflow-wrap: normal;
  }
  body.home .mpd-guest-home .mpd-guest-intro {
    font-size: 16px;
    line-height: 1.6;
  }
  body.home .mpd-guest-home .mpd-guest-price-card {
    padding: clamp(15px, 4vw, 20px);
  }
  body.home .mpd-guest-home .mpd-guest-price-card > .mpd-guest-credit-badge {
    max-width: 100%;
    font-size: 17px !important;
    line-height: 1.4;
  }
  /* The credit comparison is built using this existing after-pseudo-element. */
  body.home .mpd-guest-home .mpd-guest-price-card > .mpd-guest-credit-badge::after {
    font-size: 14px !important;
    line-height: 1.65 !important;
    letter-spacing: 0;
    white-space: pre-line;
    overflow-wrap: break-word;
  }
  body.home .mpd-guest-home .mpd-guest-price-card > ul::after {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  body.home .mpd-guest-home .mpd-guest-btn,
  body.home .mpd-guest-home button[data-mpd-guest-tab] {
    min-height: 48px;
    touch-action: manipulation;
  }
  body.home .mpd-guest-home .mpd-guest-price-card > .mpd-guest-btn { width: 100%; }
  body.home .mpd-guest-home .mpd-guest-auth-card input:not([type="checkbox"]),
  body.home .mpd-guest-home .mpd-guest-auth-card select,
  body.home .mpd-guest-home .mpd-guest-auth-card textarea {
    font-size: 16px !important; /* Avoid iOS Safari automatic zoom on focus. */
    max-width: 100%;
  }
  body.home .mpd-guest-home .mpd-guest-samples,
  body.home .mpd-guest-home .mpd-guest-sample-grid {
    min-width: 0;
    max-width: 100%;
  }
  body.home .mpd-guest-home .mpd-guest-sample-card audio {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  body.home .mpd-guest-home .mpd-guest-sample-card h3 {
    font-size: 16px;
    line-height: 1.35;
  }
  body.home .mpd-guest-home .mpd-guest-sample-card p {
    font-size: 14px;
    line-height: 1.55;
  }
  body.home .mpd-guest-home .mpd-guest-public-section p,
  body.home .mpd-guest-home .mpd-guest-feature-card p {
    line-height: 1.6;
  }
}

@media (max-width: 360px) {
  body.home .mpd-guest-home .mpd-guest-studio-line {
    font-size: 16px;
    gap: 5px 7px;
  }
  body.home .mpd-guest-home .mpd-guest-price-card > .mpd-guest-credit-badge::after {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .mpd-guest-home .mpd-guest-btn { transition: none; }
}
