:root{--bp:rgba(255,255,255,.22);--head-weight:400}
body.bp-light{--bp:rgba(0,0,0,.28)}

/* ── Slim headlines ── */
h1,h2,.hero-title,.ent-hero-title,.qi-hero-title,.ent-title,.mid-title,.faq-title,
.ent-section-title,.ent-features-title,.ent-contact-title,.ent-pricing-title,
.qi-section-title,.proc-title,.section-title,.form-title,.page-title,.hc-name{
  font-weight:var(--head-weight)!important;letter-spacing:-.025em!important}

/* ── Blueprint frame rails (opt-in per page) ── */
body.bp-frame::before{content:'';position:fixed;top:0;bottom:0;left:14px;right:14px;
  border-left:1px dashed var(--bp);border-right:1px dashed var(--bp);pointer-events:none;z-index:2}
@media(min-width:768px){body.bp-frame::before{left:28px;right:28px}}

/* ── Mobile menu: scrollable, buttons never cut off ── */
#nav-overlay{overflow-y:auto;height:100vh;height:100dvh;-webkit-overflow-scrolling:touch;
  padding-bottom:max(48px,env(safe-area-inset-bottom))!important}
.nav-auth-btns{margin-top:auto!important;padding-top:28px}
.nav-item{border-bottom:1px dashed rgba(0,0,0,.25)!important}
@media(max-height:760px){
  .nav-logo-row{margin-bottom:24px!important}
  .nav-item{padding:12px 0!important;font-size:19px!important}
}

/* ── Enterprise + QI mobile ── */
@media(max-width:767px){
  #ent-hero,#qi-hero{height:auto!important;max-height:none!important;min-height:480px!important}
  #ent-hero{padding:96px 24px 48px!important}
  .ent-hero-title{font-size:clamp(30px,9vw,44px)!important}
  .ent-hero-sub{font-size:15px!important}
  .ent-stat{padding:16px 6px!important}
  .ent-stat-num{font-size:17px!important}
  .ent-stat-label{font-size:10px!important;letter-spacing:.5px!important}
}

/* ── Dashed / blueprint layout: no filled cards ── */
/* home */
.faq-item{border-bottom:1px dashed rgba(0,0,0,.28)!important}
.ent-divider{background:none!important;height:0!important;border-top:1px dashed var(--bp)}
.ent-block{border-top:1px dashed var(--bp);padding-top:24px}
.footer-col{border-top:1px dashed var(--bp);padding-top:16px}
.social-btn{background:transparent!important;border:1px dashed var(--bp)!important;border-radius:0!important}

/* enterprise */
.ent-grid{gap:0!important;border-bottom:1px dashed var(--bp)}
.ent-grid-item{background:transparent!important;border:0!important;border-top:1px dashed var(--bp)!important;border-radius:0!important;padding:28px 0!important}
@media(min-width:768px){
  .ent-grid-item:nth-child(odd){border-right:1px dashed var(--bp)!important;padding-right:32px!important}
  .ent-grid-item:nth-child(even){padding-left:32px!important}
}
.ent-stats{background:transparent!important;border-radius:0!important;gap:0!important;border-top:1px dashed var(--bp);border-bottom:1px dashed var(--bp)}
.ent-stat{background:transparent!important;border-right:1px dashed var(--bp)}
.ent-stat:last-child{border-right:0}
.ent-process-step{border-bottom:1px dashed var(--bp)!important}
.ent-step-num{background:transparent!important;border:1px dashed var(--bp)!important;border-radius:0!important}
.ent-section,#ent-contact,.footer-strip{border-top:1px dashed var(--bp)!important}
#ent-contact{background:transparent!important}

/* QI */
.qi-section,#qi-footer{border-top:1px dashed var(--bp)!important}
.qi-img-card{background:transparent!important;border:1px dashed var(--bp)!important;border-radius:0!important}
.qi-bullets{gap:0!important}
.qi-bullet{padding:14px 0;border-top:1px dashed var(--bp)}
.qi-bullet:last-child{border-bottom:1px dashed var(--bp)}

/* partners */
#procedure{background:transparent!important;border-bottom:1px dashed var(--bp)!important}
.proc-icon-wrap{background:transparent!important;border:1px dashed var(--bp)!important;border-radius:0!important}
.proc-step:not(:last-child)::after{background:none!important;width:0!important;border-left:1px dashed var(--bp)}
@media(min-width:768px){
  .proc-step:not(:last-child)::after{border-left:0!important;width:auto!important;height:0!important;border-top:1px dashed var(--bp)}
}
.footer-strip{background:transparent!important}

/* apply form: underline inputs, no boxes */
.form-group input:not(.phone-input),.form-group select{
  background-color:transparent!important;border:0!important;border-bottom:1px dashed var(--bp)!important;
  border-radius:0!important;padding-left:0!important}
.form-group input:not(.phone-input):focus,.form-group select:focus{border-bottom:1px solid #0a0a0a!important}
.form-group input.error:not(.phone-input),.form-group select.error{border-bottom:1px dashed #ef4444!important;background:transparent!important}
.phone-wrap{background:transparent!important;border:0!important;border-bottom:1px dashed var(--bp)!important;border-radius:0!important}
.phone-wrap.error{border-bottom:1px dashed #ef4444!important}
.country-btn{background:transparent!important;border-right:1px dashed var(--bp)!important}
.form-success{background:transparent!important;border:1px dashed var(--bp)!important;border-radius:0!important}
.form-submit{border-radius:0!important}

/* ── Footer: no gradient bridge, crisp divider, faded wordmark ── */
.faq-footer-bridge{display:none!important}
#footer{border-top:1px solid #1e293b;overflow:hidden}
.footer-wordmark{
  color:#fff!important;padding-bottom:0!important;margin-bottom:-.14em!important;
  -webkit-mask-image:linear-gradient(to bottom,rgba(255,255,255,.2) 0%,transparent 100%);
  mask-image:linear-gradient(to bottom,rgba(255,255,255,.2) 0%,transparent 100%);
}
