body.rmai-checkout-page footer .foot-title{font-size:.68rem!important}
body.rmai-checkout-page footer .foot-links a{font-size:.84rem!important}
body.rmai-checkout-page footer .foot-desc{font-size:.86rem!important}
body.rmai-checkout-page footer .copyright{font-size:.76rem!important}
body.rmai-checkout-page footer .brand{font-weight:850!important;letter-spacing:-.035em!important;font-size:.96rem!important}

/* ReBrandMyAI R6-R1 — tightly scoped public UI polish */

/* Checkout: show the static architecture immediately while API-dependent controls hydrate. */
body.rmai-checkout-page #checkout.checkout-grid.hidden{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none;
}
body.rmai-checkout-page #checkout.checkout-grid.hidden .field-grid,
body.rmai-checkout-page #checkout.checkout-grid.hidden .account-chip,
body.rmai-checkout-page #checkout.checkout-grid.hidden .field,
body.rmai-checkout-page #checkout.checkout-grid.hidden .summary-rule,
body.rmai-checkout-page #checkout.checkout-grid.hidden .summary-row,
body.rmai-checkout-page #checkout.checkout-grid.hidden .summary-total,
body.rmai-checkout-page #checkout.checkout-grid.hidden .summary-panel button,
body.rmai-checkout-page #checkout.checkout-grid.hidden .summary-panel .btn{
  opacity:0!important;
  visibility:hidden!important;
}
body.rmai-checkout-page #checkout.checkout-grid.hidden .tiers{
  min-height:168px;
  position:relative;
}
body.rmai-checkout-page #checkout.checkout-grid.hidden .tiers::before{
  content:"";
  display:block;
  min-height:168px;
  border:1px solid rgba(122,164,255,.12);
  border-radius:15px;
  background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(122,164,255,.055),rgba(255,255,255,.025));
  background-size:220% 100%;
  animation:rmaiCheckoutShell 1.6s ease-in-out infinite;
}
@keyframes rmaiCheckoutShell{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){
  body.rmai-checkout-page #checkout.checkout-grid.hidden .tiers::before{animation:none}
}

@media(max-width:760px){
  .sprint-apply-hero{padding:0!important}
  .sprint-apply-hero>.wrap{
    box-sizing:border-box;
    min-height:calc(100svh - var(--mobile-header-height,64px));
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding:clamp(24px,4vh,34px) 0 24px!important;
  }
  .sprint-apply-hero .mobile-scroll-cue{margin-top:auto}

  .mobile-scroll-cue{
    display:flex!important;
    align-items:center;
    gap:12px;
    width:max-content;
    max-width:100%;
    padding-top:18px;
    font-family:var(--mono);
    font-size:.62rem;
    line-height:1.2;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8496b2;
    opacity:1;
    transform:translateY(0);
    transition:opacity .24s ease,transform .24s ease;
  }
  .mobile-scroll-cue::after{
    content:"";
    width:68px;
    max-width:20vw;
    height:1px;
    background:linear-gradient(90deg,#45d7ff,rgba(69,215,255,0));
  }
  .mobile-scroll-cue.is-rmai-dismissed{
    opacity:0!important;
    transform:translateY(5px);
    pointer-events:none;
  }

  .eir-hero .hero-grid>div:first-child{
    box-sizing:border-box;
    min-height:calc(100svh - var(--mobile-header-height,64px));
    display:flex!important;
    flex-direction:column;
    padding-bottom:22px!important;
  }
  .eir-hero .eyebrow{order:1}
  .eir-hero .eir-hero-title{order:2}
  .eir-hero .lede{order:3}
  .eir-hero .hero-footline{
    order:4;
    display:flex!important;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:8px;
    margin:auto 0 14px!important;
  }
  .eir-hero .hero-footline span{
    box-sizing:border-box;
    width:100%;
    justify-content:flex-start;
    border-radius:10px;
    padding:9px 11px;
    font-size:.6rem;
    line-height:1.25;
  }
  .eir-hero .hero-actions{
    order:5;
    margin-top:0!important;
    padding-top:0!important;
    gap:10px;
  }
  .eir-hero .mobile-scroll-cue{
    order:6;
    margin-top:16px!important;
  }
}

/* R6-R2 mobile completion pass */
@media(max-width:760px){
  .rmai-sprint-timeline{
    display:grid;
    gap:8px;
    margin:clamp(22px,3.5vh,32px) 0 0;
  }
  .rmai-sprint-timeline-row{
    box-sizing:border-box;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(86px,.42fr) minmax(0,1fr);
    align-items:center;
    gap:12px;
    width:100%;
    padding:10px 12px;
    border:1px solid rgba(96,154,255,.25);
    border-radius:11px;
    background:linear-gradient(135deg,rgba(14,31,58,.76),rgba(7,17,34,.72));
    box-shadow:inset 0 1px rgba(255,255,255,.025);
  }
  .rmai-sprint-timeline-row span{
    font-family:var(--mono);
    font-size:.58rem;
    line-height:1.2;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#7fc7ff;
  }
  .rmai-sprint-timeline-row strong{
    min-width:0;
    font-size:.82rem;
    line-height:1.25;
    color:#edf4ff;
  }
  .sprint-apply-hero .mobile-scroll-cue{
    margin-top:auto!important;
    padding-top:20px;
  }

  .eir-hero .hero-footline{
    margin:clamp(22px,3.2vh,30px) 0 12px!important;
  }
  .eir-hero .hero-actions{
    margin:0!important;
    padding:0!important;
  }
  .eir-hero .mobile-scroll-cue{
    margin-top:auto!important;
    padding-top:24px!important;
    padding-bottom:2px;
  }

  body.rmai-checkout-page .rmai-checkout-mobile-hero{
    box-sizing:border-box;
    min-height:calc(100svh - var(--mobile-header-height,64px));
    display:flex!important;
    flex-direction:column;
    padding-bottom:22px!important;
  }
  .rmai-checkout-scope-teasers{
    display:grid;
    gap:8px;
    margin:clamp(24px,4vh,34px) 0 0;
  }
  .rmai-checkout-scope-teaser{
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    width:100%;
    min-width:0;
    padding:11px 13px;
    border:1px solid rgba(96,154,255,.24);
    border-radius:11px;
    background:linear-gradient(135deg,rgba(16,34,63,.74),rgba(8,19,38,.72));
  }
  .rmai-checkout-scope-teaser span{
    font-family:var(--mono);
    font-size:.65rem;
    line-height:1.2;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#9bc8ff;
  }
  .rmai-checkout-scope-teaser strong{
    font-size:.86rem;
    line-height:1.2;
    color:#f4f7ff;
  }
  .rmai-checkout-mobile-hero .rmai-checkout-scroll-cue{
    margin-top:auto!important;
  }

  html.rmai-checkout-nav-open,
  html.rmai-checkout-nav-open body{
    overflow:hidden!important;
  }
  [data-rmai-checkout-menu-panel="true"].is-rmai-open{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}

/* R6-R5 clean corrective responsive boundary */

/* Mobile-only checkout orientation elements must never leak onto desktop. */
body.rmai-checkout-page .rmai-checkout-scope-teasers,
body.rmai-checkout-page .rmai-checkout-scroll-cue{
  display:none;
}

@media(max-width:760px){
  /* Checkout: the SECTION itself is the full-height hero. */
  body.rmai-checkout-page .rmai-checkout-mobile-hero{
    box-sizing:border-box;
    min-height:calc(100svh - var(--mobile-header-height,64px));
    display:flex!important;
    flex-direction:column;
    padding-bottom:20px!important;
  }
  body.rmai-checkout-page .rmai-checkout-scope-teasers{
    display:grid!important;
  }
  body.rmai-checkout-page .rmai-checkout-scroll-cue{
    display:flex!important;
    margin-top:auto!important;
    padding-top:18px!important;
    padding-bottom:2px!important;
    visibility:visible!important;
  }
  body.rmai-checkout-page .rmai-checkout-scroll-cue.is-rmai-dismissed{
    opacity:0!important;
    transform:translateY(5px);
    pointer-events:none!important;
  }

  /*
   * EIR: keep the approved proof rows in place. Move only the CTA cluster
   * moderately downward; the scroll cue remains bottom-anchored, so the
   * remaining flexible space shrinks instead of the CTA falling to the bottom.
   */
  .eir-hero .hero-actions{
    margin-top:clamp(22px,3.5vh,34px)!important;
    padding-top:0!important;
  }
  .eir-hero .mobile-scroll-cue{
    margin-top:auto!important;
    padding-top:18px!important;
    padding-bottom:2px!important;
  }
}

/* R6-R6-R2 checkout cue anchor - mobile only */
@media(max-width:760px){
  body.rmai-checkout-page .rmai-checkout-mobile-hero{
    position:relative;
  }

  body.rmai-checkout-page .rmai-checkout-scroll-cue{
    position:absolute!important;
    left:18px!important;
    right:auto!important;
    bottom:14px!important;
    margin:0!important;
    padding:0!important;
    z-index:10;
    width:max-content!important;
    max-width:calc(100% - 36px)!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1;
  }

  body.rmai-checkout-page .rmai-checkout-scroll-cue.is-rmai-dismissed{
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(5px);
    pointer-events:none!important;
  }
}

