/* Mavensum shared foundation, navigation, and footer */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #3C3FDE;
  --brand-dark: #2a2db8;
  --brand-darker: #1e2090;
  --brand-light: #e8e9fd;
  --brand-mid: #6366ef;
  --brand-50: #f0f0fe;
  --brand-100: #d4d5fb;
  --brand-200: #a9abf7;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-light: #bbf7d0;
  --orange: #ea580c;
  --orange-bg: #fff7ed;
  --orange-light: #fed7aa;
  --purple: #7c3aed;
  --purple-bg: #faf5ff;
  --purple-light: #ddd6fe;
  --sky: #0284c7;
  --sky-bg: #f0f9ff;
  --sky-light: #bae6fd;
  --yellow: #ca8a04;
  --yellow-bg: #fefce8;
  --yellow-light: #fef08a;
  --red: #e11d48;
  --red-bg: #fff1f2;
  --red-light: #fecdd3;
  --pink: #db2777;
  --pink-bg: #fdf2f8;
  --teal: #0d9488;
  --teal-bg: #f0fdfa;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--slate-800); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }
nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  padding: 0 2.5rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-logo-mark { width: 34px; height: 34px; background: var(--brand); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: var(--slate-900); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--slate-600); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active { font-weight: 600; }
.nav-cta { background: var(--brand) !important; color: #fff !important; padding: 9px 22px; border-radius: var(--radius-sm); font-weight: 600 !important; transition: background 0.2s, transform 0.15s !important; letter-spacing: -0.01em; }
.nav-cta:hover { background: var(--brand-dark) !important; transform: translateY(-1px); color: #fff !important; }
footer { background: var(--slate-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 2.5rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; display: block; }
.footer-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover, .footer-links a.active { color: rgba(255,255,255,0.8); }
.footer-bottom { max-width: 1140px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy, .footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { display: none; margin: 0 0 16px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.82rem; line-height: 1.5; }
.form-status.error { display: block; background: var(--red-bg); border: 1px solid var(--red-light); color: #9f1239; }
.form-status.success { display: block; background: var(--green-bg); border: 1px solid var(--green-light); color: #14532d; }
@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  footer { padding: 36px 1.25rem; }
}

.mobile-menu-toggle {
  display: none;
  width: 34px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 500;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--slate-900);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 640px) {
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: sticky;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    padding: 18px 1.25rem 22px;
    z-index: 400;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 0;
    font-size: 0.95rem;
  }

  .nav-links .nav-cta {
    margin-top: 10px;
    text-align: center;
    padding: 12px 18px;
  }
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: #f8fafc;
  text-align: center;
}

.error-page__content {
  max-width: 620px;
}

.error-page__code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: #3C3FDE;
  margin-bottom: 16px;
}

.error-page__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.error-page__text {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-page__btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.error-page__btn--primary {
  background: #3C3FDE;
  color: #fff;
}

.error-page__btn--primary:hover {
  background: #2a2db8;
  color: #fff;
}

.error-page__btn--secondary {
  background: #fff;
  color: #3C3FDE;
  border: 1.5px solid #d4d5fb;
}

.error-page__btn--secondary:hover {
  background: #2a2db8;
  color: #fff;
  border-color: #2a2db8;
}