.bz-letterhead{
  width:100%;
}

.bz-letterhead__sheet{
  position:relative;
  width:min(100%,760px);
  margin:0 auto;
  aspect-ratio:210 / 297;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr) auto;
  background:#fff;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  box-shadow:0 18px 38px rgba(15,23,42,.08);
  isolation:isolate;
}

.bz-letterhead__paper{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.98), rgba(255,255,255,.88) 26%, rgba(255,255,255,.98) 60%),
    linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.bz-letterhead__watermark{
  position:absolute;
  left:50%;
  top:55%;
  width:46%;
  max-width:340px;
  transform:translate(-50%,-50%);
  opacity:.045;
  color:#d7e3f6;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.bz-letterhead__watermarkLogoImage{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}

.bz-letterhead__watermarkLogoFallback{
  width:100%;
  aspect-ratio:2.35 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  border:3px solid #dbeafe;
  border-radius:24px;
  color:#bfdbfe;
  font-size:clamp(42px,6vw,78px);
  font-weight:900;
  letter-spacing:.08em;
}

.bz-letterhead__header,
.bz-letterhead__rule,
.bz-letterhead__topline,
.bz-letterhead__bottom,
.bz-letterhead__footerBar{
  position:relative;
  z-index:2;
}

.bz-letterhead__header{
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);
  gap:1.6%;
  padding:2.55% 4% .5% 4%;
  align-items:center;
}

.bz-letterhead__brand{
  display:block;
}

.bz-letterhead__brandLogo{
  width:min(100%,372px);
  aspect-ratio:2.35 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-right:0;
  margin-top:-6px;
  margin-left:-58px;
}

.bz-letterhead__brandLogoImage{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.bz-letterhead__brandFallback{
  width:100%;
  height:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:linear-gradient(135deg,#082b6e,#1d4da7);
  color:#fff;
  font-weight:900;
  letter-spacing:.08em;
  font-size:clamp(13px,1.8vw,21px);
}

.bz-letterhead__contactStack{
  display:grid;
  gap:6px;
  padding-top:0;
  margin-left:10px;
}

.bz-letterhead__contactRow{
  display:grid;
  grid-template-columns:32px 1fr;
  gap:9px;
  align-items:center;
  min-height:28px;
}

.bz-letterhead__contactRow--address{
  min-height:38px;
  align-items:center;
}

.bz-letterhead__contactIcon{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#0a2f73;
  color:#fff;
}

.bz-letterhead__contactIcon svg{
  width:15px;
  height:15px;
}

.bz-letterhead__contactText{
  align-self:center;
  color:#1f2937;
  font-size:clamp(8.8px,.96vw,10.8px);
  line-height:1.18;
  font-weight:500;
}

.bz-letterhead__contactRow--address .bz-letterhead__contactText{
  align-self:center;
  padding-top:0;
}

.bz-letterhead__rule{
  display:flex;
  align-items:center;
  gap:0;
  margin:.5% 4% 0;
}

.bz-letterhead__ruleBlue{
  display:block;
  height:3px;
  flex:1 1 auto;
  background:#0d3175;
}

.bz-letterhead__ruleOrange{
  display:block;
  height:3px;
  width:23%;
  background:#f97316;
}

.bz-letterhead__body{
  min-height:0;
}

.bz-letterhead__topline{
  padding:8px 4% 0;
}

.bz-letterhead__bottom{
  padding:0 4% 6px;
}

.bz-letterhead__footerBar{
  min-height:52px;
  background:#082b6e;
  color:#fff;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:0 16px;
}

.bz-letterhead__footerAccent{
  width:0;
  height:0;
  border-top:26px solid transparent;
  border-bottom:26px solid transparent;
}

.bz-letterhead__footerAccent--left{
  border-left:26px solid #f97316;
  margin-left:-16px;
}

.bz-letterhead__footerAccent--right{
  border-right:26px solid #2563eb;
  margin-right:-16px;
}

.bz-letterhead__footerText{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
  font-size:clamp(9.8px,1.05vw,11.4px);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  white-space:nowrap;
  justify-self:center;
  margin-left:0;
}

.bz-letterhead__footerDivider{
  width:1px;
  height:16px;
  background:rgba(255,255,255,.6);
}

.bz-letterhead--preview .bz-letterhead__sheet{
  width:min(100%,720px);
}

.bz-pdf-export-root .bz-letterhead__sheet{
  width:720px !important;
  max-width:720px !important;
  border-radius:18px !important;
}

.bz-pdf-export-root .bz-letterhead__header{
  grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr) !important;
  gap:1.6% !important;
  padding:2.55% 4% .5% 4% !important;
}

.bz-pdf-export-root .bz-letterhead__brandLogo{
  width:min(100%,372px) !important;
  margin-top:-6px !important;
  margin-left:-58px !important;
}

.bz-pdf-export-root .bz-letterhead__contactStack{
  margin-left:10px !important;
  margin-right:0 !important;
  gap:6px !important;
  justify-self:stretch !important;
  width:auto !important;
}

.bz-pdf-export-root .bz-letterhead__contactRow{
  grid-template-columns:32px 1fr !important;
  gap:9px !important;
  min-height:28px !important;
}

.bz-pdf-export-root .bz-letterhead__contactRow--address{
  min-height:38px !important;
}

.bz-pdf-export-root .bz-letterhead__contactIcon{
  width:32px !important;
  height:32px !important;
}

.bz-pdf-export-root .bz-letterhead__contactIcon svg{
  width:15px !important;
  height:15px !important;
}

.bz-pdf-export-root .bz-letterhead__contactText{
  font-size:10px !important;
  line-height:1.18 !important;
}

.bz-pdf-export-root .bz-letterhead__footerBar{
  grid-template-columns:auto 1fr auto !important;
  justify-items:stretch !important;
  gap:10px !important;
  padding:0 16px !important;
}

.bz-pdf-export-root .bz-letterhead__footerAccent{
  display:block !important;
}

.bz-pdf-export-root .bz-letterhead__footerText{
  flex-wrap:nowrap !important;
  justify-content:center !important;
  white-space:nowrap !important;
}

@media (max-width:980px){
  .bz-letterhead__footerBar{
    grid-template-columns:1fr;
    justify-items:center;
    gap:10px;
    padding:10px 14px;
  }

  .bz-letterhead__footerAccent{
    display:none;
  }

  .bz-letterhead__footerText{
    flex-wrap:wrap;
    justify-content:center;
    white-space:normal;
  }
}

@media (max-width:760px){
  .bz-letterhead__header{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:6px;
    padding:4.2% 4.8% 1.4% 4.8%;
  }

  .bz-letterhead__brandLogo{
    width:min(100%,218px);
    margin-top:-1px;
    margin-left:14px;
  }

  .bz-letterhead__contactStack{
    margin-left:auto;
    margin-right:0;
    gap:4px;
    justify-self:end;
    width:min(100%,240px);
  }

  .bz-letterhead__contactIcon{
    width:30px;
    height:30px;
  }

  .bz-letterhead__contactIcon svg{
    width:14px;
    height:14px;
  }

  .bz-letterhead__contactText{
    font-size:clamp(8.4px,2.4vw,10px);
  }

  .bz-letterhead__contactRow{
    grid-template-columns:30px 1fr;
    gap:6px;
    min-height:28px;
  }

  .bz-letterhead__contactRow--address{
    min-height:34px;
  }
}
