/* Shared site chrome for the multi-page site: the Solutions menu under the
   floating nav, and the sitemap footer. Loaded on home, /enterprise and
   /ai-labs. Same brand: pale ground, Feature Display titles, #0047ff. */

/* ---------- Solutions trigger ---------- */
.sn-trigger {
  gap: 0.375rem;
}

.sn-caret {
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
  transition: transform 0.3s cubic-bezier(0.3, 1, 0.35, 1);
}

.sn-trigger.sn-open .sn-caret {
  transform: rotate(180deg);
}

/* ---------- Solutions panel ---------- */
.sn-menu {
  position: fixed;
  top: 5.875rem;
  left: 0;
  right: 0;
  z-index: 98;
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(18, 32, 60, 0.1);
  box-shadow: 0 1px 2px rgba(8, 20, 60, 0.08), 0 1.5rem 3.5rem rgba(8, 20, 60, 0.22);
  font-family: Aeonik, Arial, sans-serif;
  color: #12203c;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.5rem) scale(0.985);
  transform-origin: 50% 0;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.3, 1, 0.35, 1);
}

.sn-menu[hidden] {
  display: none;
}

.sn-menu.is-open {
  opacity: 1;
  transform: none;
}

.sn-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.375rem;
  padding: 0.5rem;
}

.sn-item {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  padding: 1.125rem 1.125rem 1.25rem;
  border-radius: 0.875rem;
  color: #12203c;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sn-item:hover,
.sn-item:focus-visible {
  background: #f0f1fa;
}

.sn-item[aria-current="page"] {
  background: #f7f8fc;
}

.sn-ic {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: #0047ff;
  color: #ffffff;
}

.sn-ic svg {
  width: 1.125rem;
  height: 1.125rem;
}

.sn-item b {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-family: Featuredisplay, Georgia, serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.sn-item b::after {
  content: "\2192";
  font-family: Aeonik, Arial, sans-serif;
  font-size: 0.875rem;
  color: #0047ff;
  opacity: 0;
  transform: translateX(-0.25rem);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.3, 1, 0.35, 1);
}

.sn-item:hover b::after {
  opacity: 1;
  transform: none;
}

.sn-item small {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5b6480;
}

.sn-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.625rem;
  border-top: 1px solid rgba(18, 32, 60, 0.08);
  background: #f7f8fc;
  font-size: 0.8125rem;
  color: #5b6480;
}

.sn-menu-foot a {
  color: #0047ff;
  font-weight: 500;
  text-decoration: none;
}

.sn-menu-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 767px) {
  .sn-menu {
    top: 4.75rem;
  }

  .sn-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.125rem;
  }

  .sn-item {
    grid-template-columns: auto 1fr;
    column-gap: 0.875rem;
    row-gap: 0.25rem;
    padding: 0.875rem;
  }

  .sn-ic {
    grid-row: span 2;
  }

  .sn-item b {
    margin: 0;
    font-size: 1.25rem;
  }

  .sn-menu-foot {
    padding: 0.875rem 1.125rem;
  }
}

/* phones: the island holds Solutions, Candidates and the CTA */
@media screen and (max-width: 600px) {
  .hero25-nav .sn-hide-sm {
    display: none;
  }
}

/* ---------- sitemap footer ---------- */
.container--1200.is--footer.sn-foot {
  grid-template-columns: minmax(0, 1.5fr) repeat(4, auto);
  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: 4.75rem;
}

.sn-foot .sn-foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.sn-foot .sn-foot-col > p {
  margin-bottom: 0.5rem;
}

.sn-foot .sn-foot-copy {
  grid-column: 1 / 2;
}

.sn-foot .sn-foot-legal {
  grid-column: 2 / -1;
}

@media screen and (max-width: 991px) {
  .container--1200.is--footer.sn-foot {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
    column-gap: 1rem;
  }

  .sn-foot .sn-foot-blurb,
  .sn-foot .sn-foot-copy,
  .sn-foot .sn-foot-legal {
    grid-column: 1 / -1;
  }

  .sn-foot .sn-foot-copy {
    order: 9999;
  }
}

/* desktop shows Enterprise / AI labs as links; phones fold them into the
   Solutions menu */
.hero25-nav .sn-show-sm {
  display: none;
}

@media screen and (max-width: 600px) {
  .hero25-nav .sn-show-sm {
    display: flex;
  }
}

/* solution-page heroes: one plain headline, no strike-through */
.hero-v2 .hero25-headline.sn-h1 {
  width: auto;
  max-width: calc(100vw - 2rem);
  font-size: clamp(3rem, 6.2vw, 6.25rem);
  line-height: 1;
  margin-inline: auto;
  white-space: normal;
  text-wrap: balance;
}

.hero-v2 .hero25-headline.sn-h1 em {
  font-style: italic;
  white-space: normal;
}

/* ---------- home: route to Enterprise and AI labs ---------- */
.sn-route {
  background: #f0f1fa;
  color: #12203c;
  font-family: Aeonik, Arial, sans-serif;
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(4rem, 8vw, 7rem);
}

.sn-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.sn-route-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid rgba(18, 32, 60, 0.14);
  border-radius: 1.25rem;
  background: #ffffff;
  color: #12203c;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.35, 1), box-shadow 0.4s ease;
}

.sn-route-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 3rem rgba(8, 20, 60, 0.14);
}

.sn-route-card.is-blue {
  border-color: #0047ff;
  background-color: #0047ff;
  background-image:
    radial-gradient(80% 70% at 30% 20%, rgba(0, 71, 255, 0.95), rgba(0, 71, 255, 0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' font-family='monospace' font-size='11' fill='white' fill-opacity='.28'%3E%3Ctext x='4' y='14'%3E·%3C/text%3E%3Ctext x='21' y='14'%3E:%3C/text%3E%3Ctext x='38' y='14'%3E·%3C/text%3E%3Ctext x='55' y='14'%3E+%3C/text%3E%3Ctext x='4' y='31'%3E-%3C/text%3E%3Ctext x='21' y='31'%3E·%3C/text%3E%3Ctext x='38' y='31'%3E/%3C/text%3E%3Ctext x='55' y='31'%3E·%3C/text%3E%3Ctext x='4' y='48'%3E·%3C/text%3E%3Ctext x='21' y='48'%3E+%3C/text%3E%3Ctext x='38' y='48'%3E·%3C/text%3E%3Ctext x='55' y='48'%3E:%3C/text%3E%3Ctext x='4' y='65'%3E:%3C/text%3E%3Ctext x='21' y='65'%3E·%3C/text%3E%3Ctext x='38' y='65'%3E-%3C/text%3E%3Ctext x='55' y='65'%3E·%3C/text%3E%3C/svg%3E");
  background-size: 100% 100%, 34px 34px;
  color: #ffffff;
}

.sn-route-k {
  justify-self: start;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(0, 71, 255, 0.3);
  border-radius: 0.25rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0047ff;
}

.sn-route-card.is-blue .sn-route-k {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.sn-route-h {
  max-width: 16ch;
  font-family: Featuredisplay, Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.sn-route-p {
  max-width: 40ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #5b6480;
}

.sn-route-card.is-blue .sn-route-p {
  color: rgba(255, 255, 255, 0.82);
}

.sn-route-proof {
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 32, 60, 0.1);
  font-size: 0.8125rem;
  color: #5b6480;
}

.sn-route-proof b {
  font-weight: 500;
  color: #12203c;
}

.sn-route-card.is-blue .sn-route-proof {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
}

.sn-route-card.is-blue .sn-route-proof b {
  color: #ffffff;
}

.sn-route-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #0047ff;
}

.sn-route-card.is-blue .sn-route-go {
  color: #ffffff;
}

.sn-route-go i {
  font-style: normal;
  transition: transform 0.3s cubic-bezier(0.3, 1, 0.35, 1);
}

.sn-route-card:hover .sn-route-go i {
  transform: translateX(0.25rem);
}

@media screen and (max-width: 767px) {
  .sn-route-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .hero-v2 .hero25-headline.sn-h1 {
    width: auto;
    max-width: calc(100vw - 2rem);
    font-size: 12.5vw;
    line-height: 1;
  }

  .hero-v2 .hero25-headline.sn-h1 .sn-br {
    display: none;
    white-space: normal;
    text-wrap: balance;
  }
}

/* current page: a small dot under the nav label */
.hero25-nav .hero25-nav-link[aria-current="page"] {
  position: relative;
}

.hero25-nav .hero25-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  width: 0.25rem;
  height: 0.25rem;
  margin-left: -0.125rem;
  border-radius: 50%;
  background: currentColor;
}
