/* Compact shared Explore Atlas menu for the approved V10 import. */
#products-menu .products-dropdown {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 12px;
}

#products-menu .menu-heading {
  padding: 0 2px 7px;
  border-bottom: 0;
}

#products-menu .menu-heading > span,
#products-menu .menu-sections,
#products-menu .menu-feature-grid small {
  display: none !important;
}

#products-menu .menu-heading > a {
  min-height: 28px;
  padding: 3px 2px;
  font-size: 12px;
}

#products-menu .menu-feature-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2px;
  padding: 4px 0 0;
}

#products-menu .menu-feature-grid > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 8px;
  border-radius: 9px;
}

#products-menu .menu-feature-grid > a > .nav-dot {
  display: none;
}

#products-menu .menu-feature-grid > a > span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#products-menu .menu-feature-grid b {
  font-size: 12px;
}

#products-menu .menu-feature-grid > a > svg {
  width: 14px;
  height: 14px;
  margin-left: 0;
  color: #8793a4;
  opacity: 0.48;
  transition: opacity 140ms ease;
}

#products-menu .menu-feature-grid > a:hover > svg,
#products-menu .menu-feature-grid > a:focus-visible > svg {
  opacity: 0.82;
}

@media (min-width: 761px) {
  #products-menu {
    position: relative;
  }

  #products-menu .products-dropdown {
    right: 0;
    left: auto;
  }
}

@media (max-width: 760px) {
  #products-menu .products-dropdown {
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 88px);
    padding: 11px;
  }

  #products-menu .menu-feature-grid > a {
    min-height: 44px;
  }
}

/* Final-approved opening hero: styles stay scoped to the homepage replacement. */
#approved-atlas-hero.approved-ribbon-hero {
  position: relative;
  display: block;
  isolation: isolate;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #071f44 url("/assets/ambient-poster.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

#approved-atlas-hero .approved-hero-film {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

#approved-atlas-hero .approved-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #01122958, transparent 55%, #05234a18);
  pointer-events: none;
}

#approved-atlas-hero .approved-hero-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 26px 18px 12px;
  flex-direction: column;
  align-items: center;
}

#approved-atlas-hero .approved-hero-inner > h1 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(35px, 8.8vw, 44px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.058em;
}

#approved-atlas-hero .approved-hero-subtitle {
  max-width: 350px;
  margin: 0 auto 18px;
  color: #cedbf0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

#approved-atlas-hero .approved-hero-cta {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 50px;
  padding: 12px 23px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 40px;
  background: #fff;
  color: #033277;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

#approved-atlas-hero .approved-hero-cta > span {
  font-size: 25px;
  font-weight: 400;
  line-height: 20px;
}

#approved-atlas-hero .approved-hero-cta:focus-visible,
#approved-atlas-hero .approved-hero-below:focus-visible,
#approved-atlas-hero .approved-hero-replay:focus-visible,
#approved-atlas-hero .approved-hero-presets button:focus-visible {
  outline: 3px solid #9ed4ff;
  outline-offset: 3px;
}

#approved-atlas-hero .approved-hero-phone {
  position: relative;
  box-sizing: border-box;
  width: min(280px, 100%);
  margin: 30px auto 20px;
  padding: 6px;
  border: 1px solid #d0d0c7;
  border-radius: 37px;
  background: linear-gradient(
    120deg,
    #81858b 0%,
    #131519 12%,
    #b5b5b2 40%,
    #1b1c20 61%,
    #92928c 85%,
    #24262b 100%
  );
  box-shadow: 3px 2px 0 #45484a, 0 17px 36px #0008;
  color: #0f131e;
  text-align: left;
}

#approved-atlas-hero .approved-hero-screen {
  position: relative;
  overflow: hidden;
  padding: 11px 11px 10px;
  border: 3px solid #101215;
  border-radius: 31px;
  background: #fff;
}

#approved-atlas-hero .approved-hero-island {
  position: relative;
  width: 76px;
  height: 18px;
  margin: 0 auto 11px;
  border-radius: 20px;
  background: #07090d;
}

#approved-atlas-hero .approved-hero-island::after {
  position: absolute;
  top: 6px;
  right: 12px;
  width: 7px;
  height: 7px;
  border: 1px solid #1a2a49;
  border-radius: 50%;
  background: #0c203e;
  content: "";
}

#approved-atlas-hero .approved-hero-app-header {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}

#approved-atlas-hero .approved-hero-app-header > img {
  display: block;
  width: 76px;
  height: auto;
}

#approved-atlas-hero .approved-hero-person {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #dde4ed;
  border-radius: 50%;
  color: #033277;
}

#approved-atlas-hero .approved-hero-person > svg {
  width: 17px;
  height: 17px;
}

#approved-atlas-hero .approved-hero-labelrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

#approved-atlas-hero .approved-hero-labelrow > span:first-child {
  color: #61758e;
  letter-spacing: 0.055em;
}

#approved-atlas-hero .approved-hero-state {
  color: #24795a;
  font-size: 11px;
}

#approved-atlas-hero .approved-hero-amount {
  margin-top: 4px;
  color: #033277;
  font-family: Manrope, Arial, sans-serif;
  font-size: 42px;
  font-weight: 750;
  line-height: 1.17;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}

#approved-atlas-hero .approved-hero-amount-label {
  color: #65788f;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

#approved-atlas-hero .approved-hero-chart {
  display: block;
  width: 100%;
  height: 180px;
  margin-top: 14px;
  overflow: visible;
}

#approved-atlas-hero .approved-hero-chart text {
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

#approved-atlas-hero .approved-hero-presets {
  display: flex;
  margin: 6px 0 10px;
  gap: 5px;
}

#approved-atlas-hero .approved-hero-presets button {
  min-width: 0;
  min-height: 44px;
  padding: 6px 3px;
  flex: 1;
  border: 1px solid #d8e1ec;
  border-radius: 28px;
  background: #fff;
  color: #45617e;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 650;
  transition: background 250ms, color 250ms;
}

#approved-atlas-hero .approved-hero-presets button[aria-pressed="true"] {
  border-color: #033277;
  background: #033277;
  color: #fff;
}

#approved-atlas-hero .approved-hero-presets button:disabled {
  opacity: 0.65;
}

#approved-atlas-hero .approved-hero-insight {
  padding: 14px;
  border-radius: 16px;
  background: #033277;
  color: #fff;
}

#approved-atlas-hero .approved-hero-insight-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

#approved-atlas-hero .approved-hero-insight-label img {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

#approved-atlas-hero .approved-hero-insight strong {
  display: block;
  min-height: 49px;
  margin: 10px 0 6px;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

#approved-atlas-hero .approved-hero-insight p {
  min-height: 39px;
  margin: 0;
  color: #d1dff5;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  text-wrap: pretty;
}

#approved-atlas-hero .approved-hero-homebar {
  width: 86px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 8px;
  background: #141925;
}

#approved-atlas-hero .approved-hero-bottom {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  color: #c2d1e6;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
}

#approved-atlas-hero .approved-hero-replay {
  display: flex;
  min-height: 44px;
  padding: 8px 0;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #e8f0ff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

#approved-atlas-hero .approved-hero-replay > svg {
  width: 15px;
  height: 15px;
}

#approved-atlas-hero .approved-hero-below {
  display: inline-flex;
  min-height: 44px;
  margin-top: 4px;
  align-items: center;
  color: #e8f0ff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;
}

#approved-atlas-hero .approved-hero-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 350px) {
  #approved-atlas-hero .approved-hero-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  #approved-atlas-hero .approved-hero-screen {
    padding-right: 10px;
    padding-left: 10px;
  }

  #approved-atlas-hero .approved-hero-phone {
    border-radius: 38px;
  }

  #approved-atlas-hero .approved-hero-screen {
    border-radius: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #approved-atlas-hero *,
  #approved-atlas-hero *::before,
  #approved-atlas-hero *::after {
    transition: none !important;
  }

  #approved-atlas-hero .approved-hero-film {
    display: none;
  }
}

/* Small, shared legal/support navigation row for every served V10 page. */
.site-footer .footer-legal-links {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 0;
  border-top: 1px solid #dde4ed;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.site-footer .footer-legal-links > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: #033277;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer .footer-legal-links > a:hover {
  background: rgba(3, 50, 119, 0.06);
  color: #02265d;
}

.site-footer .footer-legal-links > a:focus-visible {
  outline: 2px solid #033277;
  outline-offset: 2px;
}

/* First-visit logo intro and single-row homepage header. */
.home-page .site-header {
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  height: 72px;
  padding-inline: clamp(18px, 3vw, 42px);
}

.home-page .site-header > nav {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.home-page .site-header > .brand {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  width: 108px;
  height: 34px;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.home-page .site-header > .brand img {
  display: block;
  width: 108px;
  height: 30.95px;
  max-width: none;
  object-fit: contain;
}

.home-page .site-header > .nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0;
  white-space: nowrap;
}

.home-page .site-header > nav #products-menu summary {
  min-height: 44px;
  padding: 0 6px;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.home-page .site-header .header-signin {
  display: inline-flex;
  min-width: 68px;
  min-height: 42px;
  padding: 0 12px;
  gap: 0;
  font-size: 13px;
  white-space: nowrap;
}

.home-page .site-header .header-signin svg {
  display: none;
}

html.atlas-v10-intro-pending body > :not(#atlas-v10-logo-intro) {
  visibility: hidden !important;
}

#atlas-v10-logo-intro {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 380ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

html.atlas-v10-intro-pending #atlas-v10-logo-intro {
  display: block;
}

#atlas-v10-intro-video {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 910px;
  height: 512px;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  background: #fff;
}

#atlas-v10-intro-skip {
  position: absolute;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #dce3ec;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #173b6f;
  font: 600 13px/1.2 Manrope, Arial, sans-serif;
  cursor: pointer;
}

#atlas-v10-intro-skip:hover {
  border-color: #aab9cb;
  background: #f7f9fc;
}

#atlas-v10-intro-skip:focus-visible {
  outline: 3px solid #3b82c4;
  outline-offset: 3px;
}

#atlas-v10-intro-replay {
  position: fixed;
  z-index: 1000;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #dce3ec;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: #173b6f;
  font: 600 13px/1.2 Manrope, Arial, sans-serif;
  cursor: pointer;
}

#atlas-v10-intro-replay svg {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

html.atlas-v10-intro-review #atlas-v10-intro-replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#atlas-v10-intro-replay:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

#atlas-v10-intro-replay:focus-visible {
  outline: 3px solid #3b82c4;
  outline-offset: 3px;
}

#atlas-v10-logo-intro.is-revealing {
  pointer-events: none;
  opacity: 0;
}

html.atlas-v10-page-revealing #main {
  animation: atlas-v10-intro-page-in 520ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

html.atlas-v10-page-revealing .home-page .site-header > nav,
html.atlas-v10-page-revealing .home-page .site-header > .nav-actions {
  animation: atlas-v10-intro-page-in 460ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
  animation-delay: 40ms;
}

@keyframes atlas-v10-intro-page-in {
  from {
    opacity: 0.65;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  #atlas-v10-intro-replay {
    width: 44px;
    min-width: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  #atlas-v10-intro-replay > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .home-page .site-header {
    gap: 8px;
    height: 64px;
    padding: 0 12px;
  }

  .home-page .site-header > .brand {
    width: 92px;
    height: 32px;
  }

  .home-page .site-header > .brand img {
    width: 92px;
    height: 26.35px;
  }

  .home-page .site-header > nav #products-menu summary {
    min-height: 42px;
    padding: 0 4px;
    gap: 5px;
    font-size: 13px;
  }

  .home-page .site-header .header-signin {
    min-width: 66px;
    min-height: 42px;
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-width: 350px) {
  .home-page .site-header {
    gap: 6px;
    padding-inline: 10px;
  }

  .home-page .site-header > .brand {
    width: 86px;
  }

  .home-page .site-header > .brand img {
    width: 86px;
    height: 24.64px;
  }

  .home-page .site-header > nav #products-menu summary {
    gap: 4px;
    padding-inline: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #atlas-v10-logo-intro {
    transition: none;
  }

  html.atlas-v10-page-revealing #main,
  html.atlas-v10-page-revealing .home-page .site-header > nav,
  html.atlas-v10-page-revealing .home-page .site-header > .nav-actions {
    animation: none;
  }
}

@media (max-width: 760px) {
  .site-footer .footer-legal-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    padding: 12px 0;
  }

  .site-footer .footer-legal-links > a {
    padding-inline: 8px;
  }
}
