/* Shared site header — utility bar + main navigation */
:root {
  --navy: #06152f;
  --navy-2: #0a234f;
  --blue: #075fe6;
  --blue-2: #13a8ff;
  --ink: #1c3152;
  --line: rgba(7, 95, 230, 0.13);
}

body.ae-subpage {
  padding-top: calc(var(--site-header-h) + env(safe-area-inset-top, 0px)) !important;
}

.topbar,
.ae-header {
  position: relative;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(6, 21, 47, 0.06);
}

.topbar-inner,
.ae-header-inner {
  width: min(1380px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.ae-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  text-decoration: none;
}

.brand img,
.ae-brand img {
  width: 188px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(6, 21, 47, 0.08));
}

.nav,
.ae-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav a,
.ae-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.ae-nav a:hover {
  background: rgba(7, 95, 230, 0.08);
  color: var(--blue);
  transform: translateY(-1px);
}

.nav a.active,
.ae-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #0a72ff, #063c9f);
  box-shadow: 0 12px 22px rgba(7, 95, 230, 0.22);
}

.top-actions,
.ae-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.ae-cta {
  color: #fff;
  background: linear-gradient(135deg, #0a72ff, #063c9f);
  box-shadow: 0 14px 26px rgba(7, 95, 230, 0.22);
}

.btn-outline {
  color: var(--blue);
  background: #fff;
  border-color: rgba(7, 95, 230, 0.18);
}
