/* Navigation from the public Autopilot home pages. */
.ap-home-header {
  position: relative;
  z-index: 30;
  width: 100%;
  color-scheme: dark;
  color: #fff;
  background: radial-gradient(ellipse at 77% 51%, #0c233a66, transparent 49%), linear-gradient(110deg, #060e1a 4%, #0b1020 67%, #081323);
  background-size: 100% max(100svh, 920px);
  background-repeat: no-repeat;
  font: 400 16px/normal Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-align: left;
}
.ap-home-header *, .ap-home-header *::before, .ap-home-header *::after { box-sizing: border-box; }
.ap-home-header .aph-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 89.2%;
  max-width: 1600px;
  height: 106px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.ap-home-header[data-ap-home-header] .aph-bar a[href] { text-decoration: none; }
.ap-home-header .aph-bar a, .ap-home-header .aph-bar button {
  color: inherit;
  font-family: inherit;
  line-height: normal;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  -webkit-tap-highlight-color: transparent;
}
.ap-home-header .aph-bar a:focus-visible, .ap-home-header .aph-bar button:focus-visible {
  outline: 2px solid #a4d9ff;
  outline-offset: 6px;
}
.ap-home-header .aph-brand { display: flex; flex: none; align-items: center; gap: 19px; }
.ap-home-header .aph-wordmark { display: block; width: clamp(110px, 13vw, 174px); height: auto; max-width: 100%; }
.ap-home-header .aph-nav { display: flex; align-items: center; gap: 42px; margin: 0 0 0 20px; padding: 0; }
.ap-home-header .aph-nav a { position: relative; padding: 13px 0; color: #f1f6ff; font-size: 21px; font-weight: 400; transition: color .2s; }
.ap-home-header .aph-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: #a4d9ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.ap-home-header .aph-nav a:hover { color: #a4d9ff; }
.ap-home-header .aph-nav a:hover::after { transform: scaleX(1); }
.ap-home-header .aph-actions { display: flex; gap: 23px; }
.ap-home-header .aph-bar .aph-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 29px;
  border: 1px solid #d6e8f6;
  border-radius: 16px;
  background: transparent;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.ap-home-header .aph-bar .aph-cta:hover { background: #a4d9ff12; }
.ap-home-header .aph-bar .aph-primary { border-color: #caedff; background: linear-gradient(150deg, #bceaff, #91d4f5); color: #061421; }
.ap-home-header .aph-bar .aph-primary:hover { background: linear-gradient(150deg, #bceaff, #91d4f5); box-shadow: 0 0 25px #38bdff25; }
.ap-home-header .aph-menu, .ap-home-header .aph-mobile, .ap-home-header .aph-mobile[hidden] { display: none; }
.ap-home-header .aph-mobile a { padding: 12px 0; }
@media (max-width: 1550px) {
  .ap-home-header .aph-bar { height: 96px; gap: 24px; }
  .ap-home-header .aph-brand { gap: 15px; }
  .ap-home-header .aph-nav { gap: 28px; margin: 0; }
  .ap-home-header .aph-nav a { font-size: 17px; }
  .ap-home-header .aph-actions { gap: 16px; }
  .ap-home-header .aph-bar .aph-cta { height: 49px; padding: 0 23px; border-radius: 14px; font-size: 17px; }
}
@media (min-width: 1240px) {
  .ap-home-header .aph-bar { width: 92%; max-width: 1740px; }
}
@media (max-width: 1180px) {
  .ap-home-header .aph-bar { width: 91%; height: 88px; }
  .ap-home-header .aph-brand { gap: 12px; }
  .ap-home-header .aph-nav { gap: 19px; }
  .ap-home-header .aph-nav a { font-size: 14px; }
  .ap-home-header .aph-actions { gap: 10px; }
  .ap-home-header .aph-bar .aph-cta { height: 43px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 900px) {
  .ap-home-header { background: #0b1020; }
  .ap-home-header .aph-bar { width: calc(100% - 44px); height: 84px; }
  .ap-home-header .aph-brand { gap: 11px; }
  .ap-home-header .aph-nav, .ap-home-header .aph-actions { display: none; }
  .ap-home-header .aph-menu {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid #a4d9ff40;
    border-radius: 13px;
    background: transparent;
    cursor: pointer;
  }
  .ap-home-header .aph-menu svg { display: block; width: 21px; height: 21px; pointer-events: none; }
  .ap-home-header .aph-mobile {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    margin: 0;
    padding: 15px 23px;
    border: 1px solid #a4d9ff40;
    border-radius: 19px;
    background: #0b1b2fee;
    box-shadow: 0 18px 45px #0008;
    backdrop-filter: blur(16px);
    font-size: 16px;
  }
  .ap-home-header .aph-mobile:not([hidden]) { display: grid; }
  .ap-home-header .aph-mobile .aph-cta { display: flex; margin: 8px 0 6px; padding: 0 15px; font-size: 14px; }
}
@media (max-width: 440px) {
  .ap-home-header[data-account-state="member"] .aph-mobile .aph-cta { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .ap-home-header .aph-bar { width: calc(100% - 36px); height: 77px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-home-header *, .ap-home-header *::after { transition: none !important; }
}
