/* AMM Experience 3.3.2 | Mobile-first homepage repair.
   Scoped only to the marketing hero. No modifications to auth, Worker,
   catalogue, administrative UI, or enquiry logic. */
@media (max-width:670px) {
  #home .amm33-hero {
    display:flex;
    flex-direction:column;
    padding:15px 14px 17px;
    margin-top:0;
    border-radius:22px;
    overflow:hidden;
  }
  #home .amm33-status {order:0;margin:0 0 14px;min-height:0;align-items:center}
  #home .amm33-overline {font-size:9px;letter-spacing:.09em;gap:8px;line-height:1.35}
  #home .amm33-live {width:7px;height:7px;flex:none}
  #home .amm33-layout {display:contents}
  #home .amm33-copy {order:1;padding:0;min-width:0}
  #home .amm33-copy .amm33-kicker {font-size:9px;letter-spacing:.105em;line-height:1.4;margin:0 0 10px}
  #home .amm33-copy h1 {
    font-size:clamp(42px,11.8vw,56px)!important;
    line-height:.9!important;
    letter-spacing:-.085em!important;
    margin:0 0 15px!important;
    max-width:100%;
    text-wrap:initial;
  }
  #home .amm33-copy h1 span {display:block}
  #home .amm33-intro {font-size:13px;line-height:1.43;margin:0 0 14px;max-width:43ch}
  #home .amm33-actions {display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:8px;margin:0}
  #home .amm33-action,
  #home .amm33-action-main,
  #home .amm33-action-secondary {
    width:100%;min-width:0;min-height:43px;box-sizing:border-box;
    padding:9px 10px;font-size:clamp(10.5px,2.8vw,12px);letter-spacing:-.02em;
    border-radius:12px;justify-content:space-between;gap:3px;
    flex:initial;white-space:nowrap;
  }
  #home .amm33-actions a span {font-size:16px;flex:none}
  #home .amm33-meta {display:none}
  #home .amm33-chooser {
    order:2;width:100%;min-width:0;box-sizing:border-box;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;margin:15px 0 13px;padding:0;
    overflow:visible;scroll-snap-type:none;
  }
  #home .amm33-choice {
    box-sizing:border-box;flex:initial;width:100%;min-width:0;
    display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
    gap:3px;min-height:56px;padding:9px 8px;border-radius:12px;
    text-align:left;transform:none;
  }
  #home .amm33-choice-num {font-size:9px;letter-spacing:.08em}
  #home .amm33-choice strong {font-size:clamp(10px,2.65vw,12px);line-height:1.15;letter-spacing:-.02em}
  #home .amm33-choice small,#home .amm33-choice .amm33-arr {display:none}
  #home .amm33-choice:focus-visible {outline:2px solid #b6e6ff;outline-offset:2px}
  #home .amm33-stage {
    order:3;box-sizing:border-box;width:100%;height:clamp(232px,67vw,308px);
    min-height:0;border-radius:19px;padding:14px;
  }
  #home .amm33-stage-top {font-size:8px;letter-spacing:.10em}
  #home .amm33-stage-top i {height:24px;width:24px;font-size:13px}
  #home .amm33-cover-main {width:45%;height:66%;top:12%;left:28%}
  #home .amm33-cover-alt {width:32%;height:54%;top:20%;right:5%}
  #home .amm33-cover-side {width:30%;height:48%;top:27%;left:6%}
  #home .amm33-disc {width:65%;left:19%;top:1%}
  #home .amm33-signal {height:37px;bottom:21%;inset-inline:6%}
  #home .amm33-stage-bottom>div {padding:8px 10px;border-radius:11px}
  #home .amm33-stage-bottom small {font-size:7px;letter-spacing:.1em;margin-bottom:3px}
  #home .amm33-stage-bottom strong {font-size:15px}
  #home .amm33-stage-bottom a {width:38px;height:38px;font-size:19px}
  #home .amm33-stage-grain {opacity:.7}
  #home .amm3-gateway-slot {order:4}
  /* Show the next section promptly, without clipping its content. */
  #home.amm5-home {padding-bottom:18px!important}
}
@media (max-width:370px) {
  #home .amm33-hero {padding:13px 11px 15px}
  #home .amm33-copy h1 {font-size:clamp(39px,11.9vw,44px)!important}
  #home .amm33-intro {font-size:12px}
  #home .amm33-actions {gap:6px}
  #home .amm33-action,#home .amm33-action-main,#home .amm33-action-secondary {font-size:10px;padding:8px}
  #home .amm33-choice {padding:8px 6px}
  #home .amm33-choice strong {font-size:10px}
}
@media (prefers-reduced-motion:reduce) {
  #home .amm33-hero:before,#home .amm33-signal b,#home .amm33-disc {animation:none!important}
}
