/* First mobile fold: keep consent untouched and move existing CTAs into clear view. */
/* The OMM introduction wrapper is layout-neutral outside the narrowest phones. */
#sheet .omm-sheet-intro {display:contents}
@media (max-width:350px) {
  #main .hm-hero-copy {display:flex;flex-direction:column}
  #main .hm-hero-copy>.hm-kicker {order:0}
  #main .hm-hero-copy>.hm-display {order:1}
  #main .hm-hero-copy>.hm-hero-actions {order:2}
  #main .hm-hero-copy>.hm-sub {order:3}
  #main .hm-hero-copy>.hm-fine {order:4}
  #main .hm-hero-copy>p:not(.hm-kicker):not(.hm-display):not(.hm-sub):not(.hm-fine):not(.hm-origin) {order:5}
  #main .hm-hero-copy>.hm-origin {order:6}
  #main .hb-hero-copy>.hb-kicker {order:0}
  #main .hb-hero-copy>.hb-h1 {order:1}
  #main .hb-hero-copy>.hb-hero-actions {order:2}
  #main .hb-hero-copy>.hb-lede {order:3}
  #main .hb-hero-copy>.hb-quick-links {order:4}
  #main .hb-hero-copy>.hb-note {order:5}
  #main .hb-hero-copy>.hb-origin {order:6}
  #sheet .omm-sheet-intro {display:flex;flex-direction:column}
  #sheet .omm-sheet-intro>.lede {order:2}
  #sheet .omm-sheet-intro>.omm-sheet-practice {order:1}
}
@media (max-width:430px) {
  #main .hb-hero-copy {gap:12px}
  html body[data-bw-page="pricing"] #main-content section.hero.offer-hero {display:flex!important;flex-direction:column!important;align-items:center!important}
  #main-content .offer-hero>.offer-primary {order:1;margin-top:0!important}
  #main-content .offer-hero>.offer-rate {order:2}
  #main-content .offer-hero>.offer-note {order:3}
  #main-content .offer-hero .offer-primary .btn-signin-inline {display:inline-flex;align-items:center;min-height:44px}
  /* Tighten vertical whitespace while preserving the reading and tab order. */
  #mnemonic-library .mn-hero-inner {padding-block:9px!important}
  #mnemonic-library .mn-workspace {padding-top:8px!important}
  #mnemonic-library .mn-controls {padding-bottom:10px!important}
  #sheet .omm-sheet-practice a {display:inline-flex;align-items:center;min-height:44px}
}
