/* Shared by the home and request-access pages. Reserve scrollbar space so
   switching between pages of different lengths does not move the header. */
html { scrollbar-gutter: stable; }

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 250, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e8f0f3;
}
.marketing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}
.marketing-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a2e35;
  text-decoration: none;
  flex-shrink: 0;
}
.marketing-header__logo {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26, 138, 122, .25);
  overflow: hidden;
}
.marketing-header__logo img { display: block; width: 100%; height: 100%; }
.marketing-header__title { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.marketing-header__subtitle { display: block; font-size: .65rem; color: #5a7a85; }
.marketing-header__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.marketing-header__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  font-size: .82rem;
  font-weight: 700;
  color: #1a2e35;
  text-decoration: none;
  white-space: nowrap;
}
.marketing-header__request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1.5px solid #ff752b;
  border-radius: 10px;
  background: #fff8f3;
  color: #e95b12;
  box-shadow: 0 2px 8px rgba(255, 112, 34, .18);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.marketing-header__request img { flex-shrink: 0; }
.marketing-header__request:hover { background: #fff0e5; color: #cf4704; border-color: #e95b12; box-shadow: 0 4px 12px rgba(255, 112, 34, .24); }
.marketing-header a:focus-visible { outline: 3px solid #176f84; outline-offset: 5px; }

@media (max-width: 760px) {
  .marketing-header__inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .marketing-header__links { gap: 12px; }
  .marketing-header__link { font-size: .75rem; }
  .marketing-header__request { font-size: .75rem; padding: 6px 10px; }
}
@media (max-width: 520px) {
  .marketing-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; gap: 8px 12px; }
  .marketing-header__brand { min-width: 0; gap: 8px; }
  .marketing-header__title { font-size: .93rem; }
  .marketing-header__subtitle { font-size: .59rem; }
  .marketing-header__links { grid-column: 1 / -1; justify-content: space-between; gap: 6px; width: 100%; margin-left: 0; }
  .marketing-header__link { flex: 1; min-height: 38px; justify-content: center; padding: 8px; border-radius: 6px; }
  .marketing-header__link:hover { background: #eaf6f5; }
  .marketing-header__request { grid-column: 2; grid-row: 1; min-height: 38px; font-size: .7rem; padding: 6px 8px; gap: 6px; }
  .marketing-header__request img { width: 14px; height: 14px; }
}
@media (max-width: 360px) {
  .marketing-header__title { font-size: .8rem; }
  .marketing-header__subtitle { font-size: .55rem; }
  .marketing-header__logo { width: 30px; height: 30px; }
  .marketing-header__inner { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-header__request { transition: none; }
}
