/* Keeps header single-line, tighter, and adds subtle modern nav flair (no layout blow-ups). */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

header .nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  padding: 10px 0;
}

header .brand {
  gap: 12px;
  min-width: 260px;
}

header .logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
}

header .logo img[data-site-logo] {
  height: 34px;
  width: auto;
  display: block;
  border-radius: 8px;
}

header .links {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

header .links a {
  position: relative;
  padding: 6px 2px;
  border-radius: 10px;
}

header .links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  background: rgba(0, 122, 255, 0.55);
}

header .links a:hover::after,
header .links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Small modern trust highlight blocks */
.trust-note {
  border: 1px solid rgba(0, 122, 255, 0.18);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(0, 0, 0, 0.02));
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 14px;
}

.form-check input {
  margin-top: 3px;
}

.response-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
}

/* Keep header compact on smaller screens */
@media (max-width: 980px) {
  header .brand {
    min-width: auto;
  }
  header .links {
    gap: 12px;
  }
  header .logo img[data-site-logo] {
    height: 30px;
  }
}

@media (max-width: 720px) {
  header .links {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  header .links::-webkit-scrollbar {
    display: none;
  }
}
