:root {
  --octron-landing-accent: #62d5fb;
  --octron-landing-focus-ring: rgba(98, 213, 251, 0.72);
}

.header {
  top: 0 !important;
}

.header-blur-block {
  display: none !important;
}

html,
body {
  background: transparent !important;
}

.octron-visual-background {
  background: transparent;
  isolation: isolate;
  overflow: hidden;
}

.octron-visual-background #canvas {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.octron-visual-background::after {
  background: url("/images/landing/landing.png") center / cover no-repeat;
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  opacity: 1;
  position: absolute;
  z-index: 1;
}

/* Light landing palette. Keep this isolated from the dark app/auth surfaces. */
html[data-theme="light"] {
  --octron-landing-accent: #747474;
  --octron-landing-focus-ring: rgba(116, 116, 116, 0.55);
  --octron-landing-ink: #090909;
  --octron-landing-muted: #5f5f5f;
}

html[data-theme="light"] .octron-visual-background #canvas {
  filter: grayscale(1) saturate(0) invert(1) contrast(1.28) brightness(1);
}

html[data-theme="light"] .octron-visual-background::after {
  background: #fff;
  mix-blend-mode: multiply;
}

html[data-theme="light"] body,
html[data-theme="light"] .landing,
html[data-theme="light"] .introduction,
html[data-theme="light"] .manifesto,
html[data-theme="light"] .team,
html[data-theme="light"] .investors,
html[data-theme="light"] .footer,
html[data-theme="light"] .octron-final-cta {
  color: var(--octron-landing-ink);
}

html[data-theme="light"] p {
  text-shadow: none;
}

html[data-theme="light"] .header__logo,
html[data-theme="light"] .header__logo svg,
html[data-theme="light"] .header__logo .js-header-logo-text,
html[data-theme="light"] .header-link,
html[data-theme="light"] .nav__link,
html[data-theme="light"] .nav__item.isActive .nav__link,
html[data-theme="light"] .nav__link:hover,
html[data-theme="light"] .btn,
html[data-theme="light"] .manifesto--introduction .manifesto__body p,
html[data-theme="light"] .footer__nav__link,
html[data-theme="light"] .footer__social__link,
html[data-theme="light"] .contact-card__link,
html[data-theme="light"] .cookie-notice a,
html[data-theme="light"] .team-card__social__link,
html[data-theme="light"] .team-card__content,
html[data-theme="light"] .header-more-menu,
html[data-theme="light"] .header-more-menu__popover a,
html[data-theme="light"] .octron-final-cta__title,
html[data-theme="light"] .t-white {
  color: var(--octron-landing-ink) !important;
}

html[data-theme="light"] .nav-toggle path,
html[data-theme="light"] .stroke-white {
  stroke: var(--octron-landing-ink) !important;
}

html[data-theme="light"] .team-slider__control svg,
html[data-theme="light"] .footer__social__icon,
html[data-theme="light"] .contact-card__icon,
html[data-theme="light"] .team-card__social__icon,
html[data-theme="light"] .fill-white {
  fill: var(--octron-landing-ink) !important;
}

html[data-theme="light"] .landing__body > .t-yellow {
  -webkit-text-fill-color: var(--octron-landing-accent);
  filter: grayscale(1);
}

html[data-theme="light"] .header-link:hover,
html[data-theme="light"] .header-more-menu__popover a:hover,
html[data-theme="light"] .footer__nav__link:hover {
  color: var(--octron-landing-accent) !important;
}

html[data-theme="light"] .footer__social__link:hover .footer__social__icon,
html[data-theme="light"] .footer__social__link:hover .footer__social__icon.footer__social__icon--email,
html[data-theme="light"] .footer__social__link:hover .footer__social__icon.footer__social__icon--github {
  fill: var(--octron-landing-accent) !important;
}

html[data-theme="light"] .footer__copyright,
html[data-theme="light"] .footer__copyright__item {
  color: var(--octron-landing-muted) !important;
}

html[data-theme="light"] .footer__nav__link {
  color: var(--octron-landing-muted) !important;
}

html[data-theme="light"] .section.footer .footer__bar {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: transparent !important;
}

html[data-theme="light"] .btn,
html[data-theme="light"] .team-slider__control-bg,
html[data-theme="light"] .team-slider__control-hover,
html[data-theme="light"] .footer__head .btn__hover {
  background: var(--octron-landing-accent) !important;
}

html[data-theme="light"] .octron-final-cta__eyebrow {
  color: var(--octron-landing-accent);
}

html[data-theme="light"] .octron-final-cta__body {
  color: var(--octron-landing-muted);
}

.octron-theme-toggle {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: space-between;
  padding: 0 6px;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease, opacity 450ms ease;
  width: 52px;
}

.octron-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.octron-theme-toggle:focus-visible {
  outline: 2px solid var(--octron-landing-focus-ring);
  outline-offset: 3px;
}

.octron-theme-toggle__thumb {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  height: 22px;
  left: 2px;
  position: absolute;
  top: 2px;
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
  width: 22px;
}

html[data-theme="dark"] .octron-theme-toggle__thumb {
  transform: translateX(24px);
}

.octron-theme-toggle__glyph {
  align-items: center;
  display: inline-flex;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 13px;
  height: 16px;
  justify-content: center;
  line-height: 1;
  opacity: 0.45;
  position: relative;
  transition: opacity 180ms ease;
  width: 16px;
  z-index: 1;
}

html[data-theme="light"] .octron-theme-toggle__glyph--light,
html[data-theme="dark"] .octron-theme-toggle__glyph--dark {
  opacity: 1;
}

html[data-theme="light"] .octron-theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
  color: #090909;
}

html[data-theme="light"] .octron-theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .octron-theme-toggle__thumb {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  html[data-theme="light"] .octron-visual-background::after {
    background: #fefefe;
  }

  html[data-theme="light"] .mobile-blur::after {
    background: linear-gradient(
      1turn,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.1)
    );
  }

  .header.is-scrolled .octron-theme-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .header__cta > .octron-theme-toggle {
    height: 24px;
    order: 0;
    padding: 0;
    width: 24px;
  }

  .header__cta > .header-more-menu {
    order: 5;
  }

  .octron-theme-toggle__thumb {
    display: none;
  }

  .octron-theme-toggle__glyph {
    display: none;
    font-size: 13px;
    height: 20px;
    inset: 1px;
    position: absolute;
    width: 20px;
  }

  html[data-theme="light"] .octron-theme-toggle__glyph--light,
  html[data-theme="dark"] .octron-theme-toggle__glyph--dark {
    display: inline-flex;
  }
}

.section.footer {
  min-height: 100vh !important;
  min-height: calc(var(--vh) * 100) !important;
  position: relative;
}

.octron-final-cta {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding-bottom: clamp(4.5rem, 12vh, 8rem);
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.octron-final-cta__content {
  margin-inline: auto;
  max-width: 48rem;
  text-align: center;
}

.octron-final-cta__eyebrow {
  color: var(--octron-landing-accent);
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.octron-final-cta__title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5.75rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.octron-final-cta__body {
  color: #bdbdbd;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  margin: 1.75rem auto 0;
  max-width: 33rem;
}

.section.footer .footer__bar {
  bottom: 0;
  position: -webkit-sticky;
  position: sticky;
  z-index: 3;
}

/* The legacy landing transition remains visual-only inside the iframe. */
.nav-transition-mask,
.nav-transition-mask-bg,
.site-loader {
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .octron-final-cta {
    padding: 0 1.5rem clamp(6rem, 17vh, 9rem);
  }

  /* Keep WebKit repainting the sticky footer inside ASScroll as one layer. */
  html[data-theme="light"] .section.footer .footer__bar {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    isolation: isolate;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  html[data-theme="light"] .section.footer .footer__copyright {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1;
  }
}
