.managed-announcement {
  background: #e6000a;
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .nav-parent::after {
  content: " ▾";
  font-size: 0.72em;
}

.nav-dropdown .submenu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.55rem);
  left: 0;
  display: none;
  min-width: 230px;
  padding: 0.55rem;
  border: 1px solid rgba(13, 35, 64, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13, 35, 64, 0.16);
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  display: grid;
}

.nav-dropdown .submenu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-dropdown .submenu a:hover,
.nav-dropdown .submenu a:focus-visible {
  background: #f3f6fa;
}

.managed-footer-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.managed-footer-navigation h3 {
  margin: 0 0 0.7rem;
}

.managed-footer-navigation h3 a {
  color: inherit;
  font-weight: 800;
}

.managed-footer-navigation > div > a {
  display: block;
  margin: 0.45rem 0;
}

.global-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.global-social-links a {
  font-weight: 700;
}

.apps-hero .container {
  max-width: 880px;
}

.apps-page #applications {
  background:
    radial-gradient(circle at 92% 8%, rgba(211, 24, 36, 0.07), transparent 25rem),
    #fff;
}

.apps-page #digital-accounts {
  background:
    radial-gradient(circle at 8% 10%, rgba(13, 35, 64, 0.08), transparent 26rem),
    #f5f7fa;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.app-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 35, 64, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(13, 35, 64, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 24, 36, 0.25);
  box-shadow: 0 24px 58px rgba(13, 35, 64, 0.15);
}

.app-card.featured {
  border-color: rgba(211, 24, 36, 0.36);
  box-shadow: 0 18px 48px rgba(211, 24, 36, 0.12);
}

.app-card-visual {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(145deg, #0d2340 0%, #173f6f 65%, #d31824 150%);
}

.app-card.digital_account .app-card-visual {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(145deg, #7d0f19 0%, #d31824 70%, #ff777f 145%);
}

.app-card-visual::before,
.app-card-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.app-card-visual::before {
  width: 210px;
  height: 210px;
  right: -55px;
  top: -90px;
}

.app-card-visual::after {
  width: 125px;
  height: 125px;
  left: -44px;
  bottom: -58px;
}

.app-card-visual img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-visual-orb {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 22px 60px rgba(0,0,0,0.2);
  transform: rotate(12deg);
}

.app-mark {
  z-index: 2;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 24px;
  background: #fff;
  color: #0d2340;
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.app-visual-label {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 0.9rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-card-body {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 1.45rem;
}

.app-card-top,
.app-access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-type,
.app-badge,
.app-access-model {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.app-badge {
  position: absolute;
  z-index: 3;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: #b10e18;
  box-shadow: 0 10px 25px rgba(13,35,64,0.16);
}

.app-type {
  color: #b10e18;
}

.app-access-model {
  color: #667085;
}

.app-card h3 {
  margin: 0.8rem 0 0.65rem;
  font-size: 1.35rem;
}

.app-card-body > p {
  flex: 1;
  margin-top: 0;
  color: #526173;
  line-height: 1.65;
}

.app-card-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.app-card-detail span {
  padding: 0.36rem 0.55rem;
  border-radius: 8px;
  background: #f2f5f8;
  color: #415165;
  font-size: 0.72rem;
  font-weight: 700;
}

.app-access-row {
  margin: 1.2rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 35, 64, 0.1);
}

.app-access-row > span {
  color: #667085;
  font-size: 0.82rem;
}

.app-access-row strong {
  color: #0d2340;
  font-size: 1rem;
  text-align: right;
}

.app-card-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.app-card-button.is-disabled {
  border: 1px solid #d9dfe7;
  background: #eef1f5;
  color: #667085;
  cursor: default;
}

.apps-empty {
  padding: 2rem;
  border: 1px dashed rgba(13, 35, 64, 0.2);
  border-radius: 16px;
  text-align: center;
}

.apps-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 720px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .apps-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-dropdown {
    display: grid;
    width: 100%;
  }

  .nav-dropdown .submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin-left: 0.75rem;
    padding: 0 0 0 0.75rem;
    border: 0;
    border-left: 2px solid rgba(13, 35, 64, 0.12);
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form[aria-busy="true"] {
  opacity: 0.82;
}

.form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-message {
  border: 1px solid #bce5cb;
}

.form-message.error {
  border-color: #f0bec2;
}
