/* Shared royal-blue theme, loaded after the original layout styles. */
body:not(.login-page) .header .logo-only img {
  mix-blend-mode: normal;
  opacity: 1;
  filter: drop-shadow(0 2px 3px rgb(4 18 61 / 35%));
  height: auto;
}
body:not(.login-page) .header .logo-only { order: 0; margin-right: 0; justify-content: flex-start; }
body:not(.login-page) .header .nav { position: relative; }
body:not(.login-page) .header .nav a.active::after { display: none; }
.nav-indicator { position: absolute; left: 0; bottom: 8px; height: 2px; background: white; border-radius: 2px; pointer-events: none; transition: transform .25s ease, width .25s ease; }
@media(prefers-reduced-motion: reduce) { .nav-indicator { transition: none; } }
body:not(.login-page) .header {
  transition: width .3s ease, height .3s ease, top .3s ease, border-radius .3s ease, box-shadow .3s ease;
  padding-inline: 24px;
  gap: 16px;
}
body:not(.login-page) .header .nav { gap: clamp(12px, 1.7vw, 26px); margin-left: 8px; margin-right: auto; }
body:not(.login-page) .header .nav a { font-size: 17px; }
body:not(.login-page) .header .nav .demo-nav { font-size: 15px; margin-left: 0; }
body:not(.login-page) .header .logo-only { width: 62px; margin-left: 0; flex: 0 0 62px; }
body:not(.login-page) .header .logo-only img { width: 58px; }
body:not(.login-page) .header .touch-btn { min-width: auto; padding: 12px 20px; }
body:not(.login-page) .header.is-scrolled {
  top: 16px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 40px)) !important;
  height: 70px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 35%);
  box-shadow: 0 12px 36px rgb(24 51 122 / 24%);
}
body:not(.login-page) .header.is-scrolled .nav a { padding-block: 22px; }
body:not(.login-page) .header.is-scrolled .nav .demo-nav { padding: 10px 14px; }
body:not(.login-page) .header.is-scrolled .nav a.active::after { bottom: 10px; }
body:not(.login-page) .header.is-scrolled .logo-only { height: 54px; }
body:not(.login-page) .header.is-scrolled .logo-only img { width: 48px; }
@media (min-width: 701px) and (max-width: 1100px) {
  body:not(.login-page) .header { gap: 10px; padding-inline: 18px; }
  body:not(.login-page) .header .nav { gap: 12px; }
  body:not(.login-page) .header .nav a { font-size: 15px; }
  body:not(.login-page) .header .nav .demo-nav { font-size: 13px; }
  body:not(.login-page) .header .touch-btn { display: none; }
  body:not(.login-page) .header .login-link { padding: 9px 12px; }
}
@media (max-width: 700px) {
  body:not(.login-page) .header.is-scrolled { width: calc(100% - 24px) !important; top: 12px !important; height: 64px; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.login-page) .header { transition: none; }
}
:root { --header-height: 96px; }
body { padding-top: var(--header-height); }
body .header,
body:not(.login-page) .header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000 !important;
}
main [id] { scroll-margin-top: calc(var(--header-height) + 24px); }
/* Dialogs must remain above the fixed navigation. */
.demo-modal { z-index: 1100; }
@media (max-width: 800px) {
  :root { --header-height: 82px; }
}
.company-address { margin: 32px auto 0; padding: 28px 20px; font-style: normal; font-size: 15px; line-height: 1.85; color: #405071; border-top: 1px solid #cbd7fa; max-width: 860px; }
.company-address strong { color: #284cba; }
body:not(.login-page) .contact-grid a strong { overflow-wrap: anywhere; }
.demo-success a { color: #284cba; }
:root {
  --royal-blue: #4169e1;
  --royal-deep: #284cba;
  --royal-tint: #f0f4ff;
}
body .header,
body:not(.login-page) .header {
  background: var(--royal-blue) !important;
  box-shadow: 0 8px 28px rgb(40 76 186 / 16%);
}
body .header .nav { background: transparent !important; }
body .header .demo-nav,
body .header .touch-btn { border-color: rgb(255 255 255 / 65%) !important; }
body .header .touch-btn span { color: white !important; }
body .header .nav a.active::after { background: white !important; }
body:not(.login-page) .hero {
  background: radial-gradient(ellipse at 85% 35%, #dbe5ff, transparent 60%), linear-gradient(135deg, #ffffff, #f0f4ff) !important;
}
body:not(.login-page) .hero h1 span,
body:not(.login-page) .section h2 span,
body:not(.login-page) .contact h2 span,
body:not(.login-page) .company-details h2 span,
body:not(.login-page) .section-kicker,
body:not(.login-page) .eyebrow,
body:not(.login-page) .metric-title,
body:not(.login-page) .framework-grid em {
  color: var(--royal-deep) !important;
}
body:not(.login-page) .gold-btn,
body .login-form button,
body button.primary,
body .cta-primary {
  background: var(--royal-blue) !important;
  color: white !important;
  border-color: var(--royal-blue) !important;
  box-shadow: 0 12px 30px rgb(65 105 225 / 22%) !important;
}
body .login-form button span { color: white !important; }
body:not(.login-page) .gold-btn:hover,
body .login-form button:hover { background: var(--royal-deep) !important; }
body:not(.login-page) .play-btn {
  color: var(--royal-deep) !important;
  border-color: var(--royal-blue) !important;
}
body:not(.login-page) .company,
body:not(.login-page) .demo-section,
body:not(.login-page) .contact { background: var(--royal-tint) !important; }
body:not(.login-page) .cards article,
body:not(.login-page) .contact-grid a,
body:not(.login-page) .experience,
body:not(.login-page) .impact { border-color: #cbd7fa !important; }
body:not(.login-page) .cards article:hover,
body:not(.login-page) .contact-grid a:hover { border-color: var(--royal-blue) !important; }
body .login-shell { background: white !important; border-color: #cbd7fa; box-shadow: 0 24px 70px rgb(40 76 186 / 12%); }
body .login-main { background: var(--royal-tint) !important; }
body .login-shell h1 span { background: none; color: var(--royal-deep); }
body .login-form input[type=email],
body .login-form input[type=password] { background: #f7f9ff; color: #111827; border-color: #cbd7fa; }
body .login-row a { color: var(--royal-deep); }
body .remember input { accent-color: var(--royal-blue); }
body .login-note { background: var(--royal-tint); color: var(--royal-deep); border-color: #cbd7fa; }
body a:focus-visible, body button:focus-visible, body input:focus-visible { outline: 3px solid #89a4f5; outline-offset: 4px; }

/* The reference-inspired floating artwork contains its own orbit. */
body .hero-stage.hero-stage-3d {
  height: auto;
  min-width: 0;
  width: 100%;
  transform: none;
  display: grid;
  place-items: center;
}
.hero-logo-3d {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgb(40 76 186 / 16%));
  animation: hero-logo-bounce 3.6s ease-in-out infinite;
}
/* Keep both columns inside their tracks, including the long headline. */
body .hero-copy {
  min-width: 0;
  transform: none;
  container-type: inline-size;
}
body .hero h1 {
  max-width: 100%;
  font-size: clamp(32px, 10.5cqi, 72px);
  overflow-wrap: normal;
}
body .hero-actions { flex-wrap: wrap; }
@media (min-width: 1101px) {
  body .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 44px;
  }
  body .hero-copy { padding-left: 18px; }
  body .hero-stage.hero-stage-3d {
    width: calc(100% - 18px);
    justify-self: start;
    transform: translateX(-12px);
  }
}
@keyframes hero-logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-3d { animation: none; }
}
@media (max-width: 700px) {
  body .hero-stage.hero-stage-3d { margin-top: 28px; }
  .hero-logo-3d { max-width: 440px; }
}

/* Black navigation labels in both the full and floating header. */
body:not(.login-page) .header .nav a,
body:not(.login-page) .header .nav a.active,
body:not(.login-page) .header .nav a:hover,
body:not(.login-page) .header .login-link,
body:not(.login-page) .header .login-link:hover,
body:not(.login-page) .header .touch-btn,
body:not(.login-page) .header .touch-btn:hover,
body:not(.login-page) .header .touch-btn span {
  color: #000000 !important;
}
body:not(.login-page) .header .nav-indicator { background: #000000; }
body:not(.login-page) .header .demo-nav { flex-shrink: 0; }

/* Demo action belongs with the right-hand account/contact actions. */
body:not(.login-page) .header > .demo-nav {
  order: 2;
  flex-shrink: 0;
  padding: 11px 16px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 999px;
  color: #000 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body:not(.login-page) .header > .demo-nav span { margin-left: 7px; }
body:not(.login-page) .header > .demo-nav:hover { background: rgb(255 255 255 / 12%); }
body:not(.login-page) .header .login-link { order: 3; }
body:not(.login-page) .header .touch-btn { order: 4; }
@media (max-width: 1100px) {
  body:not(.login-page) .header > .demo-nav { font-size: 13px; padding: 10px 12px; }
}

/* Center the section navigation between the logo and action buttons. */
@media (min-width: 701px) {
  body:not(.login-page) .header .nav {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}
@media (min-width: 1500px) {
  body:not(.login-page) .header:not(.is-scrolled) .nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  body:not(.login-page) .header:not(.is-scrolled) > .demo-nav { margin-left: auto; }
}

/* Brand name beside the header emblem. */
body:not(.login-page) .header .logo-only {
  width: auto;
  flex: 0 0 auto;
  gap: 10px;
  text-decoration: none;
}
.header-brand-name {
  color: #000;
  font: 800 20px 'Manrope', sans-serif;
  letter-spacing: .13em;
  white-space: nowrap;
}
@media (min-width: 701px) and (max-width: 1250px) {
  body:not(.login-page) .header { gap: 10px; padding-inline: 18px; }
  body:not(.login-page) .header .nav { gap: 12px; margin-left: auto; }
  body:not(.login-page) .header .nav a { font-size: 15px; }
  body:not(.login-page) .header .touch-btn { display: none; }
  .header-brand-name { font-size: 16px; letter-spacing: .08em; }
}
body:not(.login-page) .header.is-scrolled .header-brand-name { font-size: 16px; letter-spacing: .08em; }
body:not(.login-page) .header.is-scrolled .nav { gap: 12px; }
body:not(.login-page) .header.is-scrolled .nav a { font-size: 15px; }
body:not(.login-page) .header.is-scrolled .touch-btn { display: none; }
@media (max-width: 700px) {
  .header-brand-name { font-size: 15px; letter-spacing: .06em; }
  body:not(.login-page) .header .logo-only { gap: 4px; }
  body:not(.login-page) .header .logo-only img { width: 40px; }
  body:not(.login-page) .header .touch-btn { display: none; }
}

/* Larger wordmark with an Indian tricolour IND. */
body:not(.login-page) .header .header-brand-name {
  font-size: 28px;
  letter-spacing: .08em;
}
.header-brand-name .brand-i { color: var(--brand-saffron); }
.header-brand-name .brand-n { color: var(--brand-white); }
.header-brand-name .brand-d { color: var(--brand-green); }
body:not(.login-page) .header.is-scrolled .header-brand-name {
  font-size: 23px;
}
@media (max-width: 1250px) {
  body:not(.login-page) .header .header-brand-name { font-size: 23px; letter-spacing: .045em; }
}
@media (max-width: 700px) {
  body:not(.login-page) .header .header-brand-name { font-size: 20px; }
}

/* Small wordmark layered behind the header emblem. */
body:not(.login-page) .header .logo-only {
  position: relative;
  width: 128px;
  flex: 0 0 128px;
  justify-content: center;
  gap: 0;
  isolation: isolate;
}
body:not(.login-page) .header .logo-only img {
  position: relative;
  z-index: 2;
}
body:not(.login-page) .header .logo-only .header-brand-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 17px;
  letter-spacing: .055em;
  opacity: .65;
  pointer-events: none;
}
@media (max-width: 700px) {
  body:not(.login-page) .header .logo-only { width: 108px; flex-basis: 108px; }
  body:not(.login-page) .header .logo-only .header-brand-name { font-size: 15px; }
}

/* Stack the compact wordmark below the header emblem. */
body:not(.login-page) .header .logo-only {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  height: 100%;
}
body:not(.login-page) .header .logo-only img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
body:not(.login-page) .header .logo-only .header-brand-name {
  position: static;
  transform: none;
  opacity: 1;
  font-size: 15px;
  line-height: 1;
}
body:not(.login-page) .header.is-scrolled .logo-only img {
  width: 36px;
  height: 36px;
}
body:not(.login-page) .header.is-scrolled .logo-only .header-brand-name {
  font-size: 13px;
}

/* Equal flexible gaps on either side of the section links. */
@media (min-width: 701px) {
  body:not(.login-page) .header .nav,
  body:not(.login-page) .header:not(.is-scrolled) .nav {
    position: relative;
    left: auto;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }
  body:not(.login-page) .header:not(.is-scrolled) > .demo-nav {
    margin-left: 0;
  }
  body:not(.login-page) .header .logo-only {
    width: auto;
    flex: 0 0 auto;
  }
}

/* A real animated orbit replaces the ring baked into the hero artwork. */
.hero-orbit-scene {
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1;
  perspective: 900px;
  transform-style: preserve-3d;
  animation: hero-logo-bounce 3.6s ease-in-out infinite;
}
.hero-orbit-scene .hero-logo-3d {
  position: absolute;
  inset: 0;
  animation: none;
  filter: none;
  transform: translateZ(0);
}
.hero-orbit-plane {
  position: absolute;
  inset: 5%;
  transform: rotateZ(-14deg) rotateX(72deg);
  transform-style: preserve-3d;
  pointer-events: none;
}
.hero-orbit-track {
  position: absolute;
  inset: 0;
  border: 2px solid #e8be59;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffda7899, inset 0 0 7px #ffda7855;
  transform-style: preserve-3d;
  animation: hero-orbit-revolve 7s linear infinite;
}
.hero-orbit-spark {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 12px 4px #ffd36a, 0 0 26px 6px #edb53666;
}
@keyframes hero-orbit-revolve { to { transform: rotateZ(360deg); } }
@media(prefers-reduced-motion: reduce) {
  .hero-orbit-scene, .hero-orbit-track { animation: none; }
}

/* Four orbital paths, each with its own angle and revolution speed. */
.hero-orbit-plane.orbit-plane-2 { inset: 7%; transform: rotateZ(24deg) rotateX(68deg); }
.hero-orbit-plane.orbit-plane-3 { inset: 3%; transform: rotateZ(62deg) rotateX(73deg); }
.hero-orbit-plane.orbit-plane-4 { inset: 8%; transform: rotateZ(104deg) rotateX(65deg); }
.orbit-plane-2 .hero-orbit-track { animation-duration: 9s; animation-direction: reverse; animation-delay: -2s; }
.orbit-plane-3 .hero-orbit-track { animation-duration: 11s; animation-delay: -4s; }
.orbit-plane-4 .hero-orbit-track { animation-duration: 13s; animation-direction: reverse; animation-delay: -6s; }

body .tricolour-brand .brand-i { color: var(--brand-saffron) !important; }
body .tricolour-brand .brand-n { color: var(--brand-white) !important; text-shadow: 0 1px 2px #23365b; }
body .tricolour-brand .brand-d { color: var(--brand-green) !important; }
body:not(.login-page) main .tricolour-brand .brand-i { color: var(--brand-saffron) !important; }
body:not(.login-page) main .tricolour-brand .brand-n { color: var(--brand-white) !important; text-shadow: 0 1px 2px #23365b !important; }
body:not(.login-page) main .tricolour-brand .brand-d { color: var(--brand-green) !important; }

/* Keep the nested brand letters together inside the Call card. */
body:not(.login-page) .contact-grid a .tricolour-brand,
body:not(.login-page) .contact-grid a .tricolour-brand span {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  white-space: nowrap;
}
body:not(.login-page) .contact-grid a .tricolour-brand .brand-i { color: var(--brand-saffron) !important; }
body:not(.login-page) .contact-grid a .tricolour-brand .brand-n { color: var(--brand-white) !important; text-shadow: 0 1px 2px #23365b !important; }
body:not(.login-page) .contact-grid a .tricolour-brand .brand-d { color: var(--brand-green) !important; }

/* Shared brand treatment for all visible company-name mentions. */
.tricolour-brand { white-space: nowrap; }
body .tricolour-brand > span { display: inline; font: inherit; letter-spacing: inherit; }
body.login-page .tricolour-brand .brand-i { color: var(--brand-saffron) !important; }
body.login-page .tricolour-brand .brand-n { color: var(--brand-white) !important; text-shadow: 0 1px 2px #23365b; }
body.login-page .tricolour-brand .brand-d { color: var(--brand-green) !important; }

/* Lavender navigation actions across the homepage and login page. */
body:not(.login-page) .header > .demo-nav,
body:not(.login-page) .header .login-link,
body:not(.login-page) .header .touch-btn,
body.login-page .header .login-header-actions a {
  background: #e6e6fa !important;
  border-color: #d5cef3 !important;
  color: #241b3b !important;
}
body:not(.login-page) .header > .demo-nav:hover,
body:not(.login-page) .header .login-link:hover,
body:not(.login-page) .header .touch-btn:hover,
body.login-page .header .login-header-actions a:hover {
  background: #d8cef3 !important;
  color: #241b3b !important;
}
body:not(.login-page) .header .touch-btn span { color: #241b3b !important; }

/* Match the Discover action to the lavender navigation buttons. */
body:not(.login-page) .hero-actions .play-btn {
  background: #e6e6fa !important;
  border-color: #d5cef3 !important;
  color: #241b3b !important;
}
body:not(.login-page) .hero-actions .play-btn:hover {
  background: #d8cef3 !important;
}

/* Lavender careers action. */
body:not(.login-page) #careers .gold-btn {
  background: #e6e6fa !important;
  border-color: #d5cef3 !important;
  color: #241b3b !important;
  box-shadow: 0 10px 28px rgb(109 86 160 / 14%) !important;
}
body:not(.login-page) #careers .gold-btn:hover {
  background: #d8cef3 !important;
}

/* Lavender content cards throughout the homepage. */
body:not(.login-page) .cards article,
body:not(.login-page) .company-points > div,
body:not(.login-page) .outcome-grid article,
body:not(.login-page) .framework-grid article,
body:not(.login-page) .advantage-row > div,
body:not(.login-page) .advantage-list > div,
body:not(.login-page) .experience,
body:not(.login-page) .impact,
body:not(.login-page) .contact-grid a {
  background: #e6e6fa !important;
  border-color: #d5cef3 !important;
  box-shadow: 0 12px 32px rgb(109 86 160 / 8%);
}
body:not(.login-page) .contact-grid a:hover,
body:not(.login-page) .cards article:hover {
  background: #ddd8f5 !important;
  border-color: #b9a8e5 !important;
}
