/* staging2 (S2-5, 2026-10-22): main staging consent-banner.css b14, with the rules that target main-only markup
   (.sticky-cta, .site-header, .hero, .page-hero, .nf, the b13 home-hero block) left out. staging2's .lp-header is
   already sticky and in flow, so the in-flow top bar needs no header or hero offsets. */
.rcb{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;background:#0f1f1f;color:#f4f7f7;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:13px;font-weight:400;line-height:1.4;box-shadow:0 -2px 12px rgba(0,0,0,.18);max-height:100vh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
.rcb[hidden]{display:none}
.rcb__inner{max-width:none;margin:0 auto;padding:4px 12px;display:flex;flex-wrap:nowrap;align-items:center;gap:6px 16px}
.rcb .rcb__text{margin:0;flex:1 1 auto;min-width:0;color:#f4f7f7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:1.4}
.rcb__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:0 0 auto}
.rcb__actions > .rcb__btn:only-child{grid-column:1 / -1;justify-self:end}
.rcb__btn{box-sizing:border-box;width:116px;height:32px;min-height:32px;padding:0 8px;white-space:nowrap;border-radius:6px;border:1px solid #f4f7f7;background:transparent;color:#f4f7f7;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rcb__btn:hover,.rcb__btn:focus-visible{background:#f4f7f7;color:#0f1f1f;outline:2px solid #f4f7f7;outline-offset:2px}
.rcb .rcb__link{color:#f4f7f7;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.rcb-settings-wrap{text-align:center;padding:10px 0;font-family:Inter,system-ui,sans-serif;font-size:13px;line-height:1.4;background:inherit}
.rcb-settings-link{color:inherit;text-decoration:underline;cursor:pointer}
html.rcb-open body{padding-bottom:var(--rcb-h,0px)}
/* s2b RP-62: keep focused / scrolled-to elements clear of the fixed bottom bar (same rule as main's index) */
html.rcb-open{scroll-padding-bottom:calc(var(--rcb-h,0px) + 12px)}
/* s2g RP-77: when keyboard focus scrolls a form control (e.g. "Save my spot") into view with no fixed bar, leave 12px below it */
#early-access-form input,#early-access-form select,#early-access-form textarea,#early-access-form button{scroll-margin-bottom:12px}
@media (max-width:1259px){
  .rcb__inner{max-width:1200px;padding:8px 16px}
  .rcb .rcb__text{font-size:13px}
  .rcb__btn{width:132px;height:44px;min-height:44px;font-size:13px}
}
@media (max-width:760px){
  .rcb__inner{flex-direction:column;align-items:stretch;padding:5px 8px 6px;gap:4px}
  .rcb .rcb__text{font-size:12px;line-height:1.25}
  .rcb__actions{display:flex;flex-direction:row;gap:8px}
  .rcb__btn{flex:1 1 0;min-width:0;width:auto;height:auto;min-height:44px;padding:4px 8px;font-size:13px;white-space:normal;overflow-wrap:anywhere}
}
@media (max-width:259px){
  .rcb__actions{display:grid;grid-template-columns:1fr;grid-auto-rows:1fr}
  .rcb__btn{width:100%}
}
html.rcb-open{--rcb-h:40px}
@media (max-width:1259px){html.rcb-open{--rcb-h:79px}}
@media (max-width:760px){html.rcb-open{--rcb-h:104px}}
@media (min-width:761px){
  .rcb{position:relative;left:auto;right:auto;bottom:auto;z-index:auto;box-shadow:none;max-height:none;overflow:visible}
  html.rcb-open body{padding-bottom:0}
  html.rcb-open{scroll-padding-bottom:auto!important}
}
@media (min-width:1260px){.rcb__inner{padding-top:0;padding-bottom:0}.rcb__btn{height:44px;min-height:44px}}
@media (max-width:760px) and (max-height:679px){
  .rcb{position:relative;left:auto;right:auto;bottom:auto;z-index:2147483000;box-shadow:none;max-height:none;overflow:visible}
  html.rcb-open body{padding-bottom:0}
  html.rcb-open{scroll-padding-bottom:auto!important}
}
@media (min-width:1260px){.rcb__btn:focus-visible{outline-color:#0f1f1f;outline-offset:-4px}}
/* staging2 S2-5 (like main b12/b13): while the bar shows, tighten the lander hero's top padding and internal gaps so the hero CTA
   (and "Free to apply" on laptops) stay above the fold. No copy change; the normal spacing returns once a choice is made. */
@media (min-width:1001px){
  html.rcb-open .lp-hero{padding-top:6px}
  html.rcb-open .lp-hero .lp-kicker{margin-bottom:10px}
  html.rcb-open .lp-hero .lp-lede{margin-top:10px}
  html.rcb-open .lp-hero .lp-actions{margin-top:12px}
  html.rcb-open .lp-hero .lp-micro{margin-top:8px}
}
@media (max-width:760px) and (max-height:679px){html.rcb-open .lp-hero{padding-top:6px}}

/* RP-61 (s2b): the bar reopened from "Cookie settings" floats, fixed to the bottom of the viewport at every size
   (the in-flow top bar used at >=761px and on short phones would otherwise open off-screen). JS swaps html.rcb-open
   for html.rcb-float, so none of the in-flow header/hero offsets apply while it floats; the page keeps its layout. */
.rcb.rcb--float{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:2147483000;box-shadow:0 -2px 12px rgba(0,0,0,.18);max-height:100vh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
html.rcb-float body{padding-bottom:var(--rcb-h,0px)}
html.rcb-float{scroll-padding-bottom:calc(var(--rcb-h,0px) + 12px)}

/* RP-78 (s2h): "Skip to content" at top:-60px peeks ~16px over the in-flow banner at >=1260 when nothing is focused.
   Keep it fully off-screen until keyboard focus. !important: App-*.css loads after this file and would otherwise win. */
a.lp-skip,a.lg-skip{top:-200px!important}
a.lp-skip:focus,a.lp-skip:focus-visible,a.lg-skip:focus,a.lg-skip:focus-visible{top:12px!important}
