.nibs-cms .cms-wrap { max-width: 1200px; margin-inline: auto; }
.nibs-cms .cms-hero-in, .nibs-cms .cms-cta-in { grid-template-columns: minmax(0, 1fr); }
.nibs-cms .cms-hero .bu-h-title { max-width: 24ch; text-wrap: balance; }
.nibs-cms .cms-hero .bu-h-ctrls { margin-top: 28px; margin-bottom: 0; }
.nibs-cms .cms-hero .bu-h-sub { max-width: 70ch; }
.nibs-cms .cms-brand-art { display: none; }
@media (min-width: 901px) {
  .nibs-cms .cms-hero--home .cms-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); }
  .nibs-cms .cms-brand-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 465px; justify-self: center; }
  .nibs-cms .cms-brand-art::before, .nibs-cms .cms-brand-art::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(54, 47, 127, .2); }
  .nibs-cms .cms-brand-art::after { inset: 18%; border-color: rgba(54, 47, 127, .15); }
  /* Show the cube at the left of the original 727 × 253 brand SVG. */
  .nibs-cms .cms-brand-art span { width: 48%; aspect-ratio: 264 / 253; background: url('../logo_nibs.svg') left center / 275.4% auto no-repeat; filter: drop-shadow(0 26px 32px rgba(54, 47, 127, .24)); }
}
.nibs-cms .cms-block-head:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.nibs-cms .cms-block-head .bu-h-r { max-width: 70ch; }
.nibs-cms .cms-text .page-body { max-width: 860px; overflow-wrap: anywhere; }
.nibs-cms .cms-text .page-body > :last-child { margin-bottom: 0; }
.nibs-cms .cms-text + .cms-text { padding-top: 0; }
.nibs-legal .cms-text { padding-bottom: 44px; }
.nibs-cms .cms-table-wrap { margin: 20px 0; overflow: auto; }
.nibs-cms .cms-table-wrap table { width: 100%; border-collapse: collapse; background: var(--surface); }
.nibs-cms .cms-table-wrap th, .nibs-cms .cms-table-wrap td { padding: 12px; border: 1px solid var(--border-s); text-align: left; vertical-align: top; }
.nibs-cms .cms-table-wrap th { color: var(--cyan-d); background: var(--bg-alt); }
.nibs-cms .cms-cards .bu-case h3, .nibs-cms .cms-steps .bu-proc-step h3 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.nibs-cms .cms-card-details { margin-top: 8px; }
.nibs-cms .cms-card-details p, .nibs-cms .cms-card-details li { font-size: 13px; line-height: 1.6; }
.nibs-cms .cms-card-details > :last-child { margin-bottom: 0; }
.nibs-cms .cms-card-link { display: inline-block; width: fit-content; color: var(--cyan-d); font-size: 14px; font-weight: 700; margin-top: auto; }
.nibs-cms .bu-proc-steps { list-style: none; row-gap: 28px; }
.nibs-cms .cms-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.nibs-cms .cms-faq details + details { margin-top: 10px; }
.nibs-cms .cms-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; }
.nibs-cms .cms-faq details[open] summary { color: var(--cyan-d); }
.nibs-cms .cms-faq .page-body { padding: 0 22px 4px; }
.nibs-cms .cms-form .cn-form-block { max-width: 780px; }
.nibs-cms .cms-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.nibs-cms .cms-form-fields .cms-choices, .nibs-cms .cms-form-fields .lf-field:has(textarea) { grid-column: 1 / -1; }
.nibs-cms .cms-choices { border: 0; }
.nibs-cms .cms-choices > div { display: flex; flex-wrap: wrap; gap: 8px; }
.nibs-cms .cms-choices label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; background: var(--bg); border: 1px solid var(--border-s); border-radius: 8px; font-size: 13px; cursor: pointer; }
.nibs-cms .cms-choices input { accent-color: var(--cyan-d); }
.cms-form-status:not(:empty) { margin-top: 14px; font-weight: 700; }
.cms-form-status[data-state="error"] { color: #9f211d; }

.landing-directory {
  padding: clamp(42px, 6vw, 84px) max(18px, min(5vw, 40px));
  background: linear-gradient(135deg, #f3ebf5, #faf5ee);
}
.landing-directory-inner { max-width: 1220px; margin-inline: auto; }
.landing-directory h2 {
  max-width: 24ch; margin: 0 0 22px;
  font-size: clamp(29px, 3.5vw, 49px); line-height: 1.06; letter-spacing: -.055em;
}
.landing-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.landing-directory-card {
  display: flex; flex-direction: column; gap: 11px; min-width: 0; max-width: 610px;
  padding: clamp(17px, 2.5vw, 31px); border: 1px solid #ddcedf; border-radius: 19px;
  background: #fffdf9; color: var(--ink); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.landing-directory-card:hover { background: #f9f2fc; border-color: #b99cc4; }
.landing-directory-label {
  display: flex; align-items: baseline; justify-content: space-between;
  color: #654681; font-size: 12px; font-weight: 800;
}
.landing-directory-label span { font-size: 18px; }
.landing-directory-card h3 { margin: 0; font-size: clamp(19px, 2.1vw, 27px); line-height: 1.12; letter-spacing: -.035em; }
.landing-directory-card p { margin: 0; color: #5c5264; font-size: 14px; line-height: 1.6; }
@media (max-width: 640px) {
  .nibs-cms .cms-form-fields { grid-template-columns: minmax(0, 1fr); }
  .nibs-cms .cms-form .cn-form-block { padding: 22px; }
  .nibs-cms .cms-text .page-body { overflow-wrap: break-word; }
}
