/* EditAtEase shared chrome — logo, navbar, footer, CTA
   Kept here so HTML landings (and their body CSS) cannot break site chrome. */

:root {
  --eae-bg: #06090f;
  --eae-surface: #0d1117;
  --eae-surface-2: #131920;
  --eae-border: rgba(255, 255, 255, 0.07);
  --eae-text: #e8eaf0;
  --eae-text-muted: #7a8499;
  --eae-primary: #5d6dff;
  --eae-primary-dark: #3a4de8;
  --eae-radius-sm: 6px;
  --eae-font: "IBM Plex Sans", system-ui, sans-serif;
}

/* ─── Logo ─────────────────────────────────────────────────── */
.navbar-brand {
  display: inline-flex !important;
  align-items: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  text-decoration: none;
}

.navbar-brand .brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(184px, 42vw);
  flex-shrink: 0;
}

.footer-brand {
  display: inline-flex !important;
  align-items: center;
  margin-bottom: 0.75rem;
  line-height: 1;
  text-decoration: none;
}

.footer-brand .brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(156px, 55vw);
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .navbar-brand .brand-logo {
    height: 32px;
  }

  .footer-brand .brand-logo {
    height: 30px;
  }
}

/* ─── Primary CTA ──────────────────────────────────────────── */
.btn-primary-c {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.55rem;
  background: var(--eae-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--eae-radius-sm);
  font-family: var(--eae-font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary-c:hover,
.btn-primary-c:focus-visible {
  background: var(--eae-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(93, 109, 255, 0.4);
  color: #fff !important;
}

/* ─── Navbar (locked dark chrome) ──────────────────────────── */
#mainNav.navbar {
  background: rgba(6, 9, 15, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--eae-border) !important;
  padding: 0.75rem 0;
  z-index: 1040;
  font-family: var(--eae-font);
}

#mainNav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#mainNav .navbar-nav {
  align-items: center;
}

#mainNav .navbar-nav .nav-link {
  color: var(--eae-text-muted) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0.45rem 0.75rem !important;
  line-height: 1.35;
  transition: color 0.2s;
  white-space: nowrap;
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
  color: #fff !important;
}

#mainNav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.5rem;
}

#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(93, 109, 255, 0.35);
}

#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 1199.98px) {
  #mainNav .navbar-collapse {
    background: rgba(6, 9, 15, 0.98);
    border: 1px solid var(--eae-border);
    border-radius: 12px;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem 1rem;
  }

  #mainNav .navbar-nav {
    align-items: flex-start;
  }

  #mainNav .d-flex.gap-2 {
    margin-top: 0.75rem !important;
  }
}

/* ─── Footer (locked dark chrome) ──────────────────────────── */
#footer {
  background: var(--eae-surface-2) !important;
  border-top: 1px solid var(--eae-border) !important;
  padding: 3.5rem 0 2rem !important;
  font-family: var(--eae-font);
  font-size: 1rem;
  color: var(--eae-text-muted);
  isolation: isolate;
}

#footer .container {
  max-width: 1140px;
}

#footer .row {
  align-items: flex-start;
}

#footer .footer-tagline {
  font-size: 0.95rem;
  color: var(--eae-text-muted) !important;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 0 1.25rem;
}

#footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b6bccf !important;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  margin: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

#footer .footer-social a:hover,
#footer .footer-social a:focus-visible {
  background: rgba(93, 109, 255, 0.14);
  border-color: rgba(93, 109, 255, 0.5);
  color: #ffffff !important;
  transform: translateY(-2px);
  outline: none;
}

#footer .footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eae-text-muted) !important;
  margin: 0 0 1rem;
  line-height: 1.3;
}

#footer .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#footer .footer-links li {
  margin: 0 0 0.5rem;
  list-style: none !important;
  padding: 0;
}

#footer .footer-links li::marker {
  content: none;
}

#footer .footer-links a {
  color: var(--eae-text-muted) !important;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .footer-links a:hover {
  color: #fff !important;
}

#footer .footer-response {
  margin-top: 0.75rem;
}

#footer .footer-response span {
  font-size: 0.9rem;
  color: var(--eae-text-muted) !important;
}

#footer .footer-response strong {
  color: #fff !important;
  font-size: 1rem;
}

#footer .footer-bottom {
  border-top: 1px solid var(--eae-border);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--eae-text-muted) !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

#footer .footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

#footer .footer-legal a {
  color: var(--eae-text-muted) !important;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .footer-legal a:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  #footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  #footer .footer-legal {
    justify-content: center;
  }

  #footer .footer-tagline {
    max-width: none;
  }
}

/* Landing pages: keep page content scoped; chrome stays dark */
.landing-body {
  min-height: 40vh;
}
