:root {
  --mfa-bg: #050505;
  --mfa-surface: #0a0a0a;
  --mfa-surface-2: #101010;
  --mfa-text: #ffffff;
  --mfa-text-muted: #9ca3af;
}

body.mfa-body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--mfa-text);
  background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.12), transparent 40%),
              radial-gradient(circle at 85% 75%, rgba(147, 51, 234, 0.12), transparent 45%),
              var(--mfa-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.manage-app {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mfa-section-title,
.font-display {
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.mfa-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.mfa-header.is-blur {
  background: rgba(5, 5, 5, 0.84);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.mfa-main {
  min-height: calc(100vh - 80px);
  padding-top: 80px;
}

.mfa-nav-link {
  color: #9ca3af;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}

.mfa-nav-link:hover,
.mfa-nav-link.active {
  color: #ffffff;
}

body.mfa-no-scroll {
  overflow: hidden;
}

.mfa-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fb923c;
  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(90deg, #60a5fa, #a78bfa) border-box;
  font-size: 0.925rem;
  font-weight: 600;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mfa-cta-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 14px 34px -12px rgba(96, 165, 250, 0.8);
}

.mfa-cta-btn:hover .mfa-cta-btn__icon {
  transform: none;
}

.mfa-cta-btn__label {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mfa-cta-btn__icon {
  width: 1rem;
  height: 1rem;
  color: #a78bfa;
  flex-shrink: 0;
}

/* Shared hover glow for public-site button-like elements */
body.mfa-body:not(.mfa-contact-page) a[class*="rounded"],
body.mfa-body:not(.mfa-contact-page) button[class*="rounded"],
body.mfa-body:not(.mfa-contact-page) .btn {
  transition: box-shadow .22s ease, filter .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

body.mfa-body:not(.mfa-contact-page) a[class*="rounded"]:hover,
body.mfa-body:not(.mfa-contact-page) button[class*="rounded"]:hover,
body.mfa-body:not(.mfa-contact-page) .btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 34px -14px rgba(96, 165, 250, 0.55);
}

.mfa-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all .2s ease;
}

.mfa-social-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.mfa-section-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.mfa-panel {
  background: var(--mfa-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
}

.mfa-gradient-text {
  background: linear-gradient(90deg, #60a5fa, #c084fc, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mfa-input,
.mfa-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: #101010;
  color: #fff;
  padding: 0.8rem 1rem;
}

.mfa-input:focus,
.mfa-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}

.mfa-muted {
  color: var(--mfa-text-muted);
}

body.mfa-body .reveal-item,
body.mfa-body .mfa-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 560ms ease, transform 560ms ease;
  will-change: opacity, transform;
}

body.mfa-body .reveal-item.is-visible,
body.mfa-body .mfa-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  body.mfa-body .reveal-item,
  body.mfa-body .mfa-reveal,
  body.mfa-body .reveal-item.is-visible,
  body.mfa-body .mfa-reveal.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .mfa-main {
    padding-top: 76px;
  }
}
