.twx-footer-center {
  display: flex;
  justify-content: center;
}

.twx-about-link {
  text-decoration: none;
  font-weight: 700;
}

.twx-brand-blue {
  color: blue;
}

.twx-brand-gold {
  color: goldenrod;
}

.twx-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.twx-modal.twx-open {
  display: block;
}

.twx-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(2px);
}

.twx-modal__dialog {
  position: relative;
  max-width: min(720px, 92vw);
  margin: 6vh auto;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .35);
  padding: 18px 18px 16px;
  outline: 0;
}

.twx-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(148, 163, 184, .35);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #334155;
  cursor: pointer;
}

.twx-modal__close:hover {
  background: #f6f8fc;
}

.twx-modal__header {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.twx-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  padding: .32rem .6rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  color: #fff;
  width: max-content;
}

.twx-modal__header h3 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #1e3a8a;
}

.twx-sub {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

.twx-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 2px;
}

@media (max-width: 680px) {
  .twx-features {
    grid-template-columns: 1fr;
  }
}

.twx-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 12px;
  padding: 10px;
}

.twx-feature i {
  font-size: 18px;
  color: #2563eb;
}

.twx-feature-title {
  font-weight: 800;
  font-size: 13px;
  color: #1e3a8a;
}

.twx-feature-desc {
  font-size: 12.5px;
  color: #475569;
  margin-top: 2px;
}

.twx-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .35);
}

.twx-note {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.twx-btn {
  background: #f0b429;
  border: 1px solid #c89113;
  color: #111;
  font-weight: 800;
  border-radius: 10px;
  padding: .42rem .75rem;
  cursor: pointer;
}

.twx-btn:hover {
  filter: brightness(0.98);
}
