/* Subtle azwm / Mortgage Genius chrome — does not change tool behavior */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(0, 31, 77, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: Inter, system-ui, sans-serif;
}

.site-bar-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  min-width: 0;
}

.site-bar-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.site-bar-tag {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-bar-brand:hover .site-bar-name {
  color: #ffb84d;
}

.site-bar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
}

.site-bar-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-bar-links a:hover {
  color: #ffb84d;
}

.site-bar-links a.site-bar-cta {
  padding: 5px 12px;
  border-radius: 999px;
  background: #e26a00;
  color: #fff;
  font-weight: 600;
}

.site-bar-links a.site-bar-cta:hover {
  background: #b85500;
  color: #fff;
}

.site-foot {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 8px;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
}

.site-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.site-foot-links a {
  font-size: 0.8rem;
  color: #9595b0;
  text-decoration: none;
}

.site-foot-links a:hover {
  color: #ffb84d;
}

.site-foot-meta {
  font-size: 0.72rem;
  color: #5a5a78;
  line-height: 1.5;
}

.site-foot-meta a {
  color: #818cf8;
  text-decoration: none;
}

.site-foot-meta a:hover {
  text-decoration: underline;
}

/* Give hero a little air under sticky bar */
.app-container > .hero {
  padding-top: 36px;
}

@media (max-width: 640px) {
  .site-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .site-bar-links {
    justify-content: flex-start;
  }

  .site-bar-tag {
    white-space: normal;
  }
}

/* Hide site chrome when printing a check */
@media print {
  .site-bar,
  .site-foot {
    display: none !important;
  }
}
