/* Use the smallest viewport height so mobile browser controls do not cover the hero. */
.landing-page .landing-hero-card {
  min-height: auto;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-content: center;
}
.landing-hero-card .landing-copy { min-width: 0; }
.landing-hero-card .landing-copy .product-logo {
  width: auto;
  height: clamp(60px, 14vh, 124px);
  height: clamp(60px, 14svh, 124px);
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}
/* Installation remains available below the first-screen content. */
.landing-page > .landing-pwa-panel { margin-top: 16px; }

@media (max-width: 900px) {
  .landing-page .landing-hero-card {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(16px, 3svh, 28px) 18px;
  }
  .landing-hero-card .workspace-preview { display: none; }
  .landing-hero-card .landing-copy { width: min(100%, 600px); margin-inline: auto; }
  .landing-hero-card .landing-copy .product-logo {
    height: clamp(56px, 12vh, 96px);
    height: clamp(56px, 12svh, 96px);
    margin-bottom: 8px;
  }
  .landing-hero-card .landing-copy > .eyebrow { margin: 10px 0; font-size: 11px; }
  .landing-hero-card .landing-copy h1 {
    margin: 12px 0;
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.04;
  }
  .landing-hero-card .landing-copy > p:not(.eyebrow):not(.trust-line) {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .landing-hero-card .landing-action-grid { margin-top: 16px; gap: 7px; }
  .landing-hero-card .landing-action-row { gap: 7px; }
  .landing-hero-card .landing-action-row .button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.3;
  }
}
@media (max-width: 900px) and (max-height: 700px) {
  .landing-hero-card .landing-copy > p:not(.eyebrow):not(.trust-line) { font-size: 14px; }
  .landing-hero-card .landing-copy h1 { margin-block: 10px; }
  .landing-hero-card .landing-action-grid { margin-top: 12px; }
}
@media (max-width: 700px) {
  .landing-hero-card .landing-copy h1 {
    font-size: clamp(28px, 5.4vh, 40px);
    font-size: clamp(28px, 5.4svh, 40px);
    margin-block: 10px;
  }
  .landing-hero-card .landing-action-row { grid-template-columns: minmax(0, 1fr); }
  .landing-hero-card .landing-action-row .button {
    width: 100%;
    min-height: clamp(48px, 7vh, 56px);
    min-height: clamp(48px, 7svh, 56px);
    padding: 12px;
    font-size: 15px;
    line-height: 1.25;
  }
}
@media (max-width: 700px) and (max-height: 600px) {
  .landing-page .landing-hero-card { padding-block: 8px; }
  .landing-hero-card .landing-copy .product-logo {
    max-height: 8vh;
    max-height: 8svh;
    margin-bottom: 0;
  }
  .landing-hero-card .landing-copy > .eyebrow {
    margin-block: 4px;
    font-size: 9.5px;
    letter-spacing: .1em;
  }
  .landing-hero-card .landing-copy h1 { margin-block: 4px; font-size: 26px; }
  .landing-hero-card .landing-copy > p:not(.eyebrow):not(.trust-line) { margin-block: 6px; font-size: 13px; line-height: 1.35; }
  .landing-hero-card .landing-action-grid { margin-top: 6px; gap: 6px; }
  .landing-hero-card .landing-action-row { gap: 6px; }
  .landing-hero-card .landing-action-row .button { min-height: 44px; padding-block: 10px; }
}
@media (max-width: 600px) and (max-height: 800px) {
  .landing-quick-actions { flex-direction: row; }
}
