/* Host Damage Pack: shared MYO foundations with a two-workspace hero. */
.hdp-hero h1 { max-width: 16ch; }
.hdp-tools { display: grid; gap: var(--space-md); }
.hdp-tool { padding: var(--space-md); border: var(--rule-thin) solid var(--color-rule-2); }
.hdp-tool h3 { margin-block: 0 var(--space-xs); }
.hdp-tool p { margin-block: 0 var(--space-xs); }
.hdp-tool a { font-weight: 800; }
.hdp-math { margin: 0; padding: 0; list-style: none; }
.hdp-math li { padding-block: var(--space-2xs); border-block-end: var(--rule-thin) solid var(--color-rule); }
@media (min-width: 48rem) { .hdp-tools { grid-template-columns: 1fr 1fr; } }

/* Keep checkout labels on one line without clipping. */
.hdp-hero .action, .offer-box .action, .final-cta-actions .action { white-space: nowrap; text-align: center; line-height: 1.2; }
.hdp-hero h1 { max-width: 19ch; }
.hdp-hero .checkout-panel .pack-line a { white-space: normal; }
.hdp-hero .checkout-panel .refund-line { margin-block-end: var(--space-sm); }
@media (max-width: 47.99rem) { .hdp-hero .checkout-panel .price-lockup { display: flex; margin-block: var(--space-xs); } .hdp-hero .checkout-panel > h2 { display: none; } }

/* The two real workspaces lead the desktop hero; checkout retains its own column. */
.hdp-hero .denialfix-hero-grid { grid-template-columns: minmax(0, 1fr); }
.hdp-hero .action, .final-cta-actions .action { white-space: nowrap; padding-inline: 12px; }
.hdp-proof { display: grid; gap: 16px; margin: 0; order: 4; min-width: 0; }
.hdp-proof picture, .hdp-proof img { display: block; width: 100%; min-width: 0; }
.hdp-proof img { height: auto; border: 1px solid var(--color-rule-2); }
.hdp-proof figcaption { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.hdp-hero .pay-form > .refund-line { margin: 0; }
@media (min-width: 48rem) {
  .hdp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .hdp-hero .denialfix-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr); gap: 24px 32px; grid-template-rows: min-content 1fr; }
  .hdp-hero .hero-copy { grid-column: 1; grid-row: 1; }
  .hdp-hero h1 { font-size: clamp(2.7rem, 4.5vw, 4rem); }
  .hdp-hero .lede { margin-block-start: 20px; }
  .hdp-hero .checkout-panel { grid-column: 2; grid-row: 1 / 3; }
  .hdp-proof { grid-column: 1; grid-row: 2; align-self: start; }
}
/* Only transform/opacity may animate; reduced motion removes all button movement. */
.action, .menu-button { transition-property: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  body button.action, body button.action:hover, body button.action:active,
  body .menu-button, body .menu-button:hover, body .menu-button:active { transition: none; transition-duration: 0s !important; transform: none; }
}

/* 768px fold: retain the stacked hero while reducing space before checkout. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hdp-hero { padding-block-start: 24px; }
  .hdp-hero .denialfix-hero-grid { gap: 24px; }
  .hdp-hero .lede { margin-block-start: 16px; }
}

/* 960px fold: trim the last stacked band before the 1024px column layout. */
@media (min-width: 960px) and (max-width: 1023px) {
  .hdp-hero { padding-block-start: 24px; }
  .hdp-hero .denialfix-hero-grid { gap: 8px; }
  .hdp-hero h1 { font-size: 2.7rem; }
  .hdp-hero .lede { margin-block-start: 8px; }
}
