/* Register-interest CTAs (VIS orange) and the signup pop-out. Akrobat via --font. */
.concept-d .d-pill,
.concept-d .d-head .d-pill,
.concept-d .d-ctas .d-btn[data-open-register],
.concept-d .d-reg-cta .d-btn[data-open-register],
.concept-d .d-nav-reg,
.concept-d .d-sticky-reg{
  background:#FF7800;
  color:#fff;
  font-family:var(--font);
  border:0;
  cursor:pointer;
}
.concept-d .d-pill:hover,
.concept-d .d-head .d-pill:hover,
.concept-d .d-ctas .d-btn[data-open-register]:hover,
.concept-d .d-reg-cta .d-btn[data-open-register]:hover,
.concept-d .d-nav-reg:hover,
.concept-d .d-sticky-reg:hover{
  background:var(--ink);
  color:#fff;
}
.d-pill:focus-visible,
.d-ctas .d-btn[data-open-register]:focus-visible,
.d-reg-cta .d-btn[data-open-register]:focus-visible,
.d-nav-reg:focus-visible,
.d-sticky-reg:focus-visible,
.reg-modal-x:focus-visible{
  outline:3px solid #FF7800;
  outline-offset:3px;
}

/* Show the header register pill on phone too; it was hidden at 1023. */
@media (max-width:1023px){
  .d-head-r .d-pill{
    display:inline-flex;
    padding:8px 14px;
    font-size:15px;
  }
  .d-nav-reg{
    display:inline-flex;
    margin-top:22px;
    padding:14px 28px;
    font-size:20px;
    font-weight:800;
    text-decoration:none;
    border-radius:999px;
    opacity:0;
    transform:translateY(16px);
    transition:opacity .4s ease,transform .4s ease,background .25s;
  }
  body.menu-open .d-nav-reg{opacity:1;transform:none;transition-delay:.36s}
  .d-nav-reg::after{content:none}
  .d-nav-reg:hover{color:#fff}
}
@media (min-width:1024px){
  .d-nav-reg{display:none}
}
@media (max-width:1023px) and (prefers-reduced-motion:reduce){
  .d-nav-reg,body.menu-open .d-nav-reg{transition:none;opacity:1;transform:none}
}

/* Sticky phone CTA: after leaving the hero, hidden when the end-of-page CTA is in view. */
.d-sticky-reg{
  position:fixed;
  left:50%;
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  z-index:35;
  display:none;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  font-size:17px;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  transform:translateX(-50%) translateY(120%);
  opacity:0;
  pointer-events:none;
  transition:transform .3s ease,opacity .3s ease,background .25s;
}
.d-sticky-reg.is-on{
  transform:translateX(-50%);
  opacity:1;
  pointer-events:auto;
}
@media (max-width:1023px){
  .d-sticky-reg{display:inline-flex}
  body.menu-open .d-sticky-reg,
  html.reg-modal-open .d-sticky-reg{opacity:0;pointer-events:none}
}
@media (prefers-reduced-motion:reduce){
  .d-sticky-reg{transition:none}
}

/* Dialog: desktop card, phone near-fullscreen sheet. No photo. */
.reg-modal{
  box-sizing:border-box;
  width:min(640px,calc(100% - 32px));
  max-height:min(90vh,900px);
  margin:auto;
  padding:0;
  border:0;
  border-radius:24px;
  background:#fff;
  color:var(--ink);
  font-family:var(--font);
  box-shadow:0 24px 64px rgba(0,0,0,.28);
}
.reg-modal:focus{outline:none}
.reg-modal:focus-visible{outline:3px solid #FF7800;outline-offset:3px}
.reg-modal::backdrop{
  background:rgba(8,16,40,.55);
}
.reg-modal-inner{
  display:flex;
  flex-direction:column;
  max-height:min(90vh,900px);
}
.reg-modal-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex:0 0 auto;
  padding:20px 20px 12px 24px;
}
.reg-modal-h{
  margin:0;
  font-size:clamp(26px,4vw,34px);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.1;
}
.reg-modal-x{
  flex:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:var(--grey-10, #eee);
  color:var(--ink);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.reg-modal-x:hover{background:var(--grey-20, #ddd)}
.reg-modal-x svg{width:20px;height:20px;display:block}
.reg-modal-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:8px 24px 28px;
}
.reg-modal .interest-form{margin:0}
.reg-modal .btn-submit{
  background:var(--blue);
  color:#fff;
  border:0;
  border-radius:999px;
  padding:14px 26px;
  font:700 18px var(--font);
  cursor:pointer;
}
.reg-modal .btn-submit:hover{background:var(--ink)}

html.reg-modal-open,body.reg-modal-open{
  overflow:hidden;
}

@media (max-width:799px){
  .reg-modal{
    position:fixed;
    inset:0;
    width:100vw;
    height:100dvh;
    max-width:none;
    max-height:none;
    margin:0;
    padding:0;
    border-radius:0;
  }
  .reg-modal-inner{max-height:100dvh;height:100dvh}
  .reg-modal-bar{padding:16px 16px 8px 20px}
  .reg-modal-body{padding:8px 20px calc(20px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){
  .reg-modal{animation:none}
}

/* Compact end-of-page register CTA (not a full-viewport section; no in-page form). */
.d-reg-cta{
  box-sizing:border-box;
  min-height:0;
  padding:clamp(48px,7vw,80px) var(--pad);
  background:var(--blue-5);
  text-align:center;
}
.d-reg-cta-in{
  max-width:720px;
  margin:0 auto;
}
.d-reg-cta .d-h2{margin:0 0 14px}
.d-reg-cta p{margin:0 0 24px;font-size:20px;color:var(--dark)}
.d-reg-cta .d-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:14px 28px;
  font-weight:800;
  font-size:18px;
  font-family:var(--font);
}

/* FAQ is no longer followed by a full-viewport register section — don't leave a tall empty band. */
@media (min-width:900px){
  .d-sec.d-faq{
    min-height:0;
    justify-content:flex-start;
    padding-top:clamp(48px,6vw,80px);
    padding-bottom:clamp(48px,6vw,80px);
  }
}
