/* Shared public/workspace footer. Data remains driven by footer_settings. */
body .main-footer.site-footer-v2 {
  position: relative;
  isolation: isolate;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  color: #b7c7d3 !important;
  background: #071b30 !important;
  background-image: radial-gradient(circle at 82% -24%, rgba(65, 112, 146, .18), transparent 34%) !important;
  box-shadow: none !important;
  font-family: "IBM Plex Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
}

body .main-footer.site-footer-v2::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, #2d7897 0%, #2a8379 45%, rgba(42, 131, 121, 0) 84%);
  opacity: .8;
}

body[data-scope="app"]:not([data-auth]) footer.main-footer.site-footer-v2,
body[data-scope="marketing"] footer.main-footer.site-footer-v2,
body[data-auth] footer.main-footer.site-footer-v2 {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border: 0 !important;
  color: #b7c7d3 !important;
  background-color: #071b30 !important;
}

body[data-scope="marketing"] .main-footer.site-footer-v2 { margin-top: 64px !important; }

body .main-footer.site-footer-v2 *,
body .main-footer.site-footer-v2 *::before,
body .main-footer.site-footer-v2 *::after {
  box-sizing: border-box;
  font-weight: 400 !important;
}

body .main-footer.site-footer-v2 .container,
body[data-scope="app"]:not([data-auth]) .main-footer.site-footer-v2 .container,
body[data-scope="marketing"] .main-footer.site-footer-v2 .container,
body[data-page="bank"][data-auth] .main-footer.site-footer-v2 .container {
  width: min(calc(100% - 64px), 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

body .site-footer-v2__lead {
  display: grid;
  padding: 46px 0 34px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: end;
  gap: 64px;
  border-bottom: 1px solid rgba(218, 232, 241, .11);
}

body .site-footer-v2__brand { min-width: 0; }

body .site-footer-v2__brand-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none !important;
}

body .site-footer-v2__logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

body .site-footer-v2__brand-copy { display: grid; min-width: 0; gap: 4px; }
body .site-footer-v2__bank { overflow: hidden; color: #fff; font-size: 19px; line-height: 1.05; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
body .site-footer-v2__tagline { color: #8ea6b8; font-size: 8.5px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }

body .site-footer-v2__description {
  max-width: 620px;
  margin: 16px 0 0;
  color: #a7bac8;
  font-size: 12px;
  line-height: 1.65;
}

body .site-footer-v2__assurance {
  display: grid;
  min-width: 0;
  padding: 2px 0 2px 22px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border-left: 1px solid rgba(111, 174, 174, .44);
  color: #b9c9d4;
  font-size: 10.5px;
  line-height: 1.5;
}

body .site-footer-v2__assurance-icon,
body .site-footer-v2__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6fa9c8;
  line-height: 0;
}

body .site-footer-v2__assurance-icon { width: 20px; height: 20px; margin-top: 1px; color: #6fb6a8; }
body .site-footer-v2__assurance-icon svg { width: 19px; height: 19px; stroke-width: 1.45; }
body .site-footer-v2__assurance-copy { display: grid; min-width: 0; gap: 3px; }
body .site-footer-v2__assurance-label { color: #6fb6a8; font-size: 8.5px; letter-spacing: .13em; text-transform: uppercase; }

body .site-footer-v2__grid {
  display: grid !important;
  padding: 31px 0 42px;
  grid-template-columns: minmax(400px, 1.5fr) minmax(165px, .55fr) minmax(165px, .55fr) !important;
  align-items: start;
  gap: 54px !important;
}

body .site-footer-v2__group { min-width: 0; }

body .main-footer.site-footer-v2 .site-footer-v2__group h2 {
  margin: 0 0 18px !important;
  color: #eff5f8 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

body .site-footer-v2__contact-list {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 28px;
}

body .site-footer-v2__contact-item {
  display: grid;
  min-width: 0;
  min-height: 44px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #a9bbc8 !important;
  font-size: 11px;
  line-height: 1.45;
  text-decoration: none !important;
}

body .site-footer-v2__contact-item--address { grid-column: 1 / -1; max-width: 660px; }
body .site-footer-v2__contact-icon { width: 20px; height: 20px; margin-top: 1px; }
body .site-footer-v2__contact-icon svg { width: 17px; height: 17px; stroke-width: 1.5; }
body .site-footer-v2__contact-copy { display: grid; min-width: 0; gap: 3px; }
body .site-footer-v2__contact-label { color: #788fa1; font-size: 8.5px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
body .site-footer-v2__contact-value { min-width: 0; overflow-wrap: anywhere; color: #b7c7d3; font-size: 11.5px; line-height: 1.45; }

body a.site-footer-v2__contact-item { transition: color 150ms ease; }
body a.site-footer-v2__contact-item:hover .site-footer-v2__contact-icon,
body a.site-footer-v2__contact-item:hover .site-footer-v2__contact-value { color: #fff; }

body .site-footer-v2__group ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

body .site-footer-v2__group ul li { min-width: 0; }

body .site-footer-v2__group ul a {
  display: inline-flex;
  min-height: 44px;
  max-width: 100%;
  align-items: center;
  overflow-wrap: anywhere;
  color: #a6b8c6 !important;
  font-size: 11.5px;
  line-height: 1.45;
  text-decoration: none !important;
  transition: color 150ms ease, transform 150ms ease;
}

body .site-footer-v2__group ul a:hover { color: #fff !important; transform: translateX(2px); }

body .site-footer-v2__messengers-row {
  display: flex;
  min-width: 0;
  margin-top: 21px;
  padding-top: 17px;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(218, 232, 241, .08);
}

body .site-footer-v2__messengers-label { color: #788fa1; font-size: 8.5px; letter-spacing: .09em; text-transform: uppercase; }
body .site-footer-v2__messengers { display: flex; min-width: 0; align-items: center; gap: 14px; }
body .site-footer-v2__messengers a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #79a9c7 !important;
  text-decoration: none !important;
  transition: color 150ms ease, transform 150ms ease;
}
body .site-footer-v2__messengers a:hover { color: #fff !important; transform: translateY(-1px); }
body .site-footer-v2__messengers svg { width: 18px; height: 18px; }

body .site-footer-v2__bottom {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(218, 232, 241, .08);
  background: rgba(3, 15, 27, .3);
}

body .site-footer-v2__bottom-inner {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  color: #7f95a6;
  font-size: 10.5px;
  line-height: 1.45;
}

body .site-footer-v2__bottom-note { color: #688294; letter-spacing: .04em; }

body .site-footer-v2__regulatory {
  max-width: 100% !important;
  margin-top: 13px !important;
  padding-top: 13px !important;
  border-top: 1px solid rgba(218, 232, 241, .07);
  overflow-wrap: anywhere;
  color: #6f8799;
  font-size: 10.5px;
  line-height: 1.6;
}

body[data-page="bank"][data-auth] footer.site-footer-v2 { margin-top: 0 !important; }

@media (max-width: 1040px) {
  body .site-footer-v2__lead { gap: 42px; }
  body .site-footer-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 44px !important;
  }
  body .site-footer-v2__group--support { grid-column: 1 / -1; }
  body .site-footer-v2__contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .site-footer-v2__contact-item--address { grid-column: span 2; }
}

@media (max-width: 720px) {
  body[data-scope="marketing"] .main-footer.site-footer-v2 { margin-top: 48px !important; }
  body .main-footer.site-footer-v2 .container,
  body[data-scope="app"]:not([data-auth]) .main-footer.site-footer-v2 .container,
  body[data-scope="marketing"] .main-footer.site-footer-v2 .container,
  body[data-page="bank"][data-auth] .main-footer.site-footer-v2 .container { width: calc(100% - 32px) !important; }

  body .site-footer-v2__lead {
    padding: 36px 0 28px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 23px;
  }
  body .site-footer-v2__description { max-width: 540px; }
  body .site-footer-v2__assurance { max-width: 420px; padding-left: 18px; }
  body .site-footer-v2__grid { padding: 27px 0 34px; gap: 30px 28px !important; }
  body .site-footer-v2__contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  body .site-footer-v2__contact-item--address { grid-column: 1 / -1; }
  body .site-footer-v2__bottom-inner { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 500px) {
  body .main-footer.site-footer-v2 .container,
  body[data-scope="app"]:not([data-auth]) .main-footer.site-footer-v2 .container,
  body[data-scope="marketing"] .main-footer.site-footer-v2 .container,
  body[data-page="bank"][data-auth] .main-footer.site-footer-v2 .container { width: calc(100% - 28px) !important; }

  body .site-footer-v2__lead { padding: 32px 0 25px; }
  body .site-footer-v2__logo { width: 31px; height: 31px; flex-basis: 31px; }
  body .site-footer-v2__bank { font-size: 18px; }
  body .site-footer-v2__description { margin-top: 14px; font-size: 11.5px; }
  body .site-footer-v2__grid { grid-template-columns: minmax(0, 1fr) !important; padding: 25px 0 31px; gap: 28px !important; }
  body .site-footer-v2__group--support { grid-column: 1; }
  body .site-footer-v2__contact-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .site-footer-v2__contact-item,
  body .site-footer-v2__contact-item--address { grid-column: 1; max-width: 100%; }
  body .site-footer-v2__messengers-row { margin-top: 18px; }
  body .site-footer-v2__bottom { padding: 16px 0 18px; }
  body .site-footer-v2__bottom-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body .main-footer.site-footer-v2 *,
  body .main-footer.site-footer-v2 *::before,
  body .main-footer.site-footer-v2 *::after { transition-duration: .01ms !important; }
}
