.yas-banner { margin-bottom: 30px; }
.yas-banner .services-title { font-size: .875rem; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
.yas-banner .yas-banner-content { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; background: #f1f5f9; box-sizing: border-box; }
.yas-banner-copy { text-align: right; }
.yas-eyebrow { display: block; color: #526174; font-size: .8rem; margin-bottom: 10px; }
.yas-banner h3 { font-size: 1.4rem; margin: 0 0 12px; color: #172334; }
.yas-banner p, .yas-dialog p, .yas-gateway p { line-height: 2; color: #526174; font-size: .9rem; }
a.yas-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: #172334; color: white; padding: 14px 22px; border-radius: 10px; white-space: nowrap; font-size: .9rem; text-decoration: none; }
a.yas-cta:hover { background: #2c425c; }
.yas-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 36px 28px 24px; border: 0; border-radius: 18px; box-shadow: 0 24px 80px #0003; color: #172334; box-sizing: border-box; font-family: inherit; overflow-y: auto; margin: auto; }
.yas-dialog:not([open]) { display: none; }
.yas-dialog::backdrop { background: #10182699; backdrop-filter: blur(3px); }
.yas-dialog h2 { font-size: 1.25rem; margin: 0 0 12px; padding-left: 24px; }
.yas-close { position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: #172334; cursor: pointer; font: 26px/1 sans-serif; }
.yas-grades { display: grid; gap: 12px; margin: 24px 0 16px; }
a.yas-grade { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; border-radius: 12px; background: #f1f5f9; color: #172334; text-decoration: none; transition: background .15s; }
a.yas-grade:hover { background: #e2e8f0; }
.yas-grade strong { font-size: 1rem; }
.yas-grade > span { font-size: .8rem; color: #526174; }
.yas-cta:focus-visible, .yas-grade:focus-visible, .yas-close:focus-visible { outline: 3px solid #51799f; outline-offset: 4px; }
p.yas-note { font-size: .75rem; }
.yas-gateway { max-width: 650px; margin: 48px auto; padding: 32px 24px; background: white; border-radius: 18px; box-sizing: border-box; }
.yas-gateway h1 { font-size: 1.4rem; margin: 0 0 16px; }
.yas-home-link { display: inline-block; color: #526174; font-size: .8rem; margin-top: 24px; }
body.yas-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .yas-banner .yas-banner-content { flex-direction: column; align-items: stretch; padding: 24px 18px; gap: 20px; }
  .yas-banner h3 { font-size: 1.2rem; }
  .yas-dialog { padding: 36px 20px 20px; }
  .yas-grade { flex-wrap: wrap; }
  .yas-gateway { margin: 24px 12px; padding: 28px 20px; }
}
