.home-light-layer {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58vw 72vh at 8% 18%, rgba(8, 106, 202, .14), transparent 78%),
    radial-gradient(ellipse 76vw 94vh at 94% 42%, rgba(8, 106, 202, .18), transparent 78%),
    radial-gradient(ellipse 62vw 76vh at 18% 84%, rgba(8, 106, 202, .12), transparent 78%),
    radial-gradient(ellipse 55vw 70vh at 82% 88%, rgba(8, 106, 202, .14), transparent 78%);
  mix-blend-mode: screen;
}

.header .header-entry-nav {
  margin-left: auto;
  margin-right: clamp(22px, 3vw, 46px);
}

.header,
.header.on {
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.footer {
  background: rgba(0, 0, 0, .38);
  border-top: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .08);
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  flex: none;
  position: relative;
  top: 6px;
  color: #f6f7f9;
  font-family: "Inter", system-ui, sans-serif;
}

.home-header-actions details {
  position: relative;
}

.home-header-actions summary {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.home-header-actions summary::-webkit-details-marker {
  display: none;
}

.home-header-language summary {
  gap: 9px;
  min-height: 42px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.home-header-language summary svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.home-header-language summary .home-header-chevron {
  width: 17px;
  height: 17px;
  margin-left: 2px;
  transition: transform .2s ease;
}

.home-header-language[open] .home-header-chevron {
  transform: rotate(180deg);
}

.home-header-profile summary {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #303030;
  font-size: 13px;
  font-weight: 700;
}

.home-header-actions summary:hover,
.home-header-actions summary:focus-visible,
.home-header-actions details[open] > summary {
  color: #64b2ff;
  outline: none;
}

.home-header-actions summary:focus-visible {
  box-shadow: 0 0 0 2px #64b2ff;
}

.home-header-profile summary:hover,
.home-header-profile[open] summary {
  background: #3d4651;
}

.home-header-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 10001;
  min-width: 170px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #f6f7f9;
  background: #151a21;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .36);
}

.home-header-menu a,
.home-header-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.home-header-menu a:hover,
.home-header-menu a:focus-visible,
.home-header-menu button:hover,
.home-header-menu button:focus-visible {
  color: #fff;
  background: rgba(8, 106, 202, .25);
  outline: none;
}

.home-header-menu--language button span {
  color: #64b2ff;
}

.home-header-account-name {
  display: block;
  padding: 10px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: #abb8c5;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .header_mobile.black .top,
  .header.on + .header_mobile.black .top {
    background: rgba(0, 0, 0, .38);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    backdrop-filter: blur(14px) saturate(120%);
  }

  .header_mobile {
    overflow: visible;
  }

  .header_mobile .top .home-header-actions {
    gap: 16px;
    margin-left: 20px;
  }
}

@media (max-width: 640px) {
  .header_mobile .top {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
  }

  .header_mobile .top .l {
    order: 1;
  }

  .header_mobile .top .home-header-actions {
    order: 2;
    gap: 12px;
    margin-left: auto;
  }

  .header_mobile .top .header-entry-nav {
    order: 3;
    width: 100%;
    padding: 0 0 10px;
    top: 0;
  }

  .home-header-language summary {
    gap: 5px;
    font-size: 13px;
  }

  .home-header-language summary svg {
    width: 19px;
    height: 19px;
  }

  .home-header-language summary .home-header-chevron {
    width: 14px;
    height: 14px;
  }

  .home-header-profile summary {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}

.common_contact::before {
  display: none;
}

.agents-showcase,
.agents-ecosystem {
  border-top-color: transparent;
}

/* Shared glass surface for the home page's information cards. */
.agents-showcase .agent-card,
.agent-hub-promo,
.ecosystem-feature,
.ecosystem-entry,
.principle-card,
.workflow-studio-promo-panel,
.deployment-card,
.publication-stat,
.publication-year li,
.agents-cta-panel,
.common_contact .wrap .right {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(20, 25, 32, .56);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 18px 48px rgba(0, 0, 0, .16);
}

.agents-showcase .agent-card:hover {
  border-color: rgba(255, 255, 255, .28);
}

.agents-showcase .agent-visual {
  background: rgba(27, 27, 27, .54);
}

.deployment-card--image {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.deployment-card--image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 10, 18, .04) 24%, rgba(3, 10, 18, .76) 100%);
}

.deployment-card--minibrain-photo::after {
  background: linear-gradient(180deg, rgba(3, 10, 18, .04) 25%, rgba(3, 10, 18, .28) 48%, rgba(3, 10, 18, .88) 100%);
}

.deployment-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.deployment-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.deployment-card--image:hover .deployment-card-media img,
.deployment-card--image:focus-within .deployment-card-media img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.04);
}

.deployment-card--image .deployment-card-body {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  margin-top: auto;
  margin-bottom: 0;
  padding: 32px;
}

.deployment-card--image .deployment-card-body p {
  color: rgba(239, 246, 255, .82);
}

/* Motion layer: reveal content as it enters the viewport and give interactive
   surfaces a restrained lift so the dense page feels responsive. */
html.home-motion-enabled .home-motion-item {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.home-motion-enabled .home-motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.home-motion-enabled .home-motion-card {
  transform: translate3d(0, 56px, 0) scale(.965);
  transition-duration: 1s;
}

.home-motion-enabled .home-motion-card.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

html.home-motion-enabled .home-motion-heading {
  transform: translate3d(0, 30px, 0);
}

.home-motion-enabled .home-motion-heading.is-visible {
  transform: translate3d(0, 0, 0);
}

.agents-showcase .agent-card,
.agent-hub-promo,
.ecosystem-feature,
.ecosystem-entry,
.principle-card,
.workflow-studio-promo-panel,
.deployment-card,
.publication-stat,
.publication-year li,
.agents-cta-panel {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .4s ease, background-color .3s ease;
}

.agents-showcase .agent-card:hover,
.agents-showcase .agent-card:focus-within,
.agent-hub-promo:hover,
.agent-hub-promo:focus-within,
.ecosystem-feature:hover,
.ecosystem-feature:focus-within,
.ecosystem-entry:hover,
.ecosystem-entry:focus-within,
.principle-card:hover,
.principle-card:focus-within,
.workflow-studio-promo-panel:hover,
.workflow-studio-promo-panel:focus-within,
.deployment-card:hover,
.deployment-card:focus-within,
.publication-stat:hover,
.publication-stat:focus-within,
.agents-cta-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(82, 164, 255, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 56px rgba(0, 0, 0, .28), 0 0 28px rgba(8, 106, 202, .08);
}

.home-motion-enabled .home-motion-item.is-visible:is(.agent-card, .agent-hub-promo, .ecosystem-feature, .ecosystem-entry, .principle-card, .workflow-studio-promo-panel, .deployment-card, .publication-stat, .agents-cta-panel):is(:hover, :focus-within) {
  transform: translateY(-6px);
}

.agents-showcase .agent-visual-image img {
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.agents-showcase .agent-card:hover .agent-visual-image img,
.agents-showcase .agent-card:focus-within .agent-visual-image img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.04);
}

.agents-showcase .agent-action,
.agent-hub-promo-link,
.ecosystem-entry a {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.agents-showcase .agent-action:hover,
.agents-showcase .agent-action:focus-visible,
.agent-hub-promo-link:hover,
.agent-hub-promo-link:focus-visible,
.ecosystem-entry a:hover,
.ecosystem-entry a:focus-visible {
  transform: translateX(4px);
}

.ecosystem-feature-tag,
.principle-number,
.publication-year h3 {
  transition: color .3s ease;
}

.ecosystem-feature:hover .ecosystem-feature-tag,
.ecosystem-feature:focus-within .ecosystem-feature-tag,
.principle-card:hover .principle-number,
.principle-card:focus-within .principle-number,
.publication-year:has(.publication-paper:hover) h3,
.publication-year:has(.publication-paper:focus-visible) h3 {
  color: #52a4ff;
}

.publications-timeline.timeline-animated .publication-year h3 {
  color: #718397;
  transition: color .2s ease;
}

.publications-timeline.timeline-animated .publication-year h3::after {
  background: #4a6178;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.publications-timeline.timeline-animated .publication-year.is-active h3 {
  color: #2187e5;
}

.publications-timeline.timeline-animated .publication-year.is-active h3::after {
  background: #2187e5;
  box-shadow: 0 0 14px rgba(8, 106, 202, .55);
}

.publications-timeline.timeline-animated .publication-paper {
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.publications-timeline.timeline-animated .publication-paper.is-revealed {
  opacity: 1;
  visibility: visible;
  transition: opacity .28s ease, visibility 0s, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.publications-timeline.timeline-animated.is-complete .publication-paper {
  opacity: 1;
  visibility: visible;
  transition: none;
}

.publications-timeline.timeline-animated.is-complete .publication-year h3,
.publications-timeline.timeline-animated.is-complete .publication-year h3::after {
  transition: none;
}

.index1 .fix .container .hero-title-reveal {
  transition-duration: .8s;
}

.index1 .fix .container .hero-subtitle-reveal {
  transition-duration: .8s;
  transition-delay: .2s;
}

@media (prefers-reduced-motion: reduce) {
  .home-motion-enabled .home-motion-item,
  .home-motion-enabled .home-motion-item.is-visible,
  .home-motion-enabled .home-motion-card,
  .home-motion-enabled .home-motion-card.is-visible,
  .home-motion-enabled .home-motion-heading,
  .home-motion-enabled .home-motion-heading.is-visible,
  .agents-showcase .agent-card,
  .agent-hub-promo,
  .ecosystem-feature,
  .ecosystem-entry,
  .principle-card,
  .workflow-studio-promo-panel,
  .deployment-card,
  .publication-stat,
  .publication-year li,
  .agents-cta-panel,
  .agents-showcase .agent-visual-image img,
  .agents-showcase .agent-action,
  .agent-hub-promo-link,
  .ecosystem-entry a {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .home-motion-enabled .home-motion-item.is-visible:is(.agent-card, .agent-hub-promo, .ecosystem-feature, .ecosystem-entry, .principle-card, .workflow-studio-promo-panel, .deployment-card, .publication-stat, .agents-cta-panel):is(:hover, :focus-within),
  .index1 .fix .container .hero-title-reveal,
  .index1 .fix .container .hero-subtitle-reveal {
    transform: none;
    transition: none;
  }

  .index1 .fix .container .hero-title-reveal,
  .index1 .fix .container .hero-subtitle-reveal {
    opacity: 1;
  }

  .publications-timeline.timeline-animated .publication-year h3 {
    color: #086ACA;
    transition: none;
  }

  .publications-timeline.timeline-animated .publication-year h3::after {
    background: #086ACA;
    box-shadow: none;
    transition: none;
  }

  .publications-timeline.timeline-animated .publication-paper {
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .deployment-card--image .deployment-card-media img {
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 680px) {
  .home-light-layer {
    background:
      radial-gradient(ellipse 105vw 58vh at -18% 18%, rgba(8, 106, 202, .11), transparent 80%),
      radial-gradient(ellipse 120vw 66vh at 112% 42%, rgba(8, 106, 202, .16), transparent 80%),
      radial-gradient(ellipse 110vw 62vh at 18% 86%, rgba(8, 106, 202, .10), transparent 80%),
      radial-gradient(ellipse 98vw 58vh at 106% 88%, rgba(8, 106, 202, .11), transparent 80%);
  }

  .agents-showcase .agent-card,
  .agent-hub-promo,
  .ecosystem-feature,
  .ecosystem-entry,
  .principle-card,
  .workflow-studio-promo-panel,
  .deployment-card,
  .publication-stat,
  .publication-year li,
  .agents-cta-panel,
  .common_contact .wrap .right {
    -webkit-backdrop-filter: blur(14px) saturate(110%);
    backdrop-filter: blur(14px) saturate(110%);
  }

  .deployment-card--image .deployment-card-body {
    padding: 24px;
  }
}

