/* 2026-09-03 — live market rail after the landing configurator. */
body.landing-rebuild .market-ticker-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 92px;
  background: #000000;
  color: var(--landing-ink, #f5f5f7);
  scroll-margin-top: 76px;
}

html body.landing-rebuild main.site-main section#programs.programs-section {
  padding-bottom: 0 !important;
}

body.landing-rebuild .market-ticker-section .content-wrap {
  overflow: visible;
}

body.landing-rebuild .market-ticker-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 25px;
}

body.landing-rebuild .market-ticker-heading {
  display: grid;
  gap: 0;
  min-width: 0;
}

body.landing-rebuild .market-ticker-eyebrow {
  color: #ef443e;
  font-family: "Friday Roboto", "Roboto", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

html body.landing-rebuild main.site-main section.market-ticker-section .market-ticker-heading h2#marketTickerTitle {
  margin: 0;
  color: #f5f4f1;
  font-family: "Friday Roboto", "Roboto", Arial, sans-serif;
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  font-weight: 760;
  font-style: normal !important;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.landing-rebuild .market-ticker-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

body.landing-rebuild .market-ticker-status {
  color: rgba(255, 255, 255, 0.46);
  font-family: "Friday Roboto", "Roboto", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.2;
  white-space: nowrap;
}

body.landing-rebuild .market-ticker-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: #111214;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Friday Roboto", "Roboto", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

body.landing-rebuild .market-ticker-toggle-icon {
  display: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

body.landing-rebuild .market-ticker-toggle-icon.is-pause {
  -webkit-mask-image: url("/static/tabler-player-pause.svg");
  mask-image: url("/static/tabler-player-pause.svg");
}

body.landing-rebuild .market-ticker-toggle-icon.is-play {
  -webkit-mask-image: url("/static/tabler-player-play.svg");
  mask-image: url("/static/tabler-player-play.svg");
}

body.landing-rebuild .market-ticker-toggle-label {
  display: none;
}

body.landing-rebuild .market-ticker-toggle-icon.is-pause {
  display: block;
}

body.landing-rebuild .market-ticker-section.is-paused .market-ticker-toggle-icon.is-pause {
  display: none;
}

body.landing-rebuild .market-ticker-section.is-paused .market-ticker-toggle-icon.is-play {
  display: block;
}

body.landing-rebuild .market-ticker-toggle:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #17181b;
  color: #ffffff;
}

body.landing-rebuild .market-ticker-toggle:focus-visible,
body.landing-rebuild .market-ticker-viewport:focus-visible {
  outline: 2px solid #ef443e;
  outline-offset: 3px;
}

body.landing-rebuild .market-ticker-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y;
  scrollbar-width: none;
}

body.landing-rebuild .market-ticker-viewport::-webkit-scrollbar {
  display: none;
}

body.landing-rebuild .market-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: friday-market-ticker var(--market-ticker-duration, 36s) linear infinite;
}

body.landing-rebuild .market-ticker-group {
  display: flex;
  flex: 0 0 auto;
  gap: 11px;
  padding-right: 11px;
}

body.landing-rebuild .market-ticker-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  min-width: 174px;
  height: 68px;
  gap: 12px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #111214;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.landing-rebuild .market-ticker-card[hidden] {
  display: none;
}

body.landing-rebuild .market-ticker-logo {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1b1f;
}

body.landing-rebuild .market-ticker-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.landing-rebuild .market-ticker-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-family: "Friday Roboto", "Roboto", Arial, sans-serif;
}

body.landing-rebuild .market-ticker-name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 620;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.landing-rebuild .market-ticker-quote {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

body.landing-rebuild .market-ticker-price {
  color: #f5f4f1;
  font-size: 0.92rem;
  font-weight: 730;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

body.landing-rebuild .market-ticker-change {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 730;
  line-height: 1;
  white-space: nowrap;
}

body.landing-rebuild .market-ticker-change.is-positive {
  color: #54d48b;
}

body.landing-rebuild .market-ticker-change.is-negative {
  color: #f16862;
}

body.landing-rebuild .market-ticker-viewport:hover .market-ticker-track,
body.landing-rebuild .market-ticker-viewport:focus .market-ticker-track {
  animation-play-state: paused;
}

body.landing-rebuild .market-ticker-section.is-paused .market-ticker-track {
  animation: none;
  transform: none;
  will-change: auto;
}

body.landing-rebuild .market-ticker-section.is-paused .market-ticker-viewport {
  overflow-x: auto;
  touch-action: pan-x pan-y;
}

@keyframes friday-market-ticker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 760px) {
  body.landing-rebuild .market-ticker-section {
    padding: 52px 0 68px;
  }

  body.landing-rebuild .market-ticker-head {
    align-items: center;
    gap: 14px;
    margin-bottom: 19px;
  }

  body.landing-rebuild .market-ticker-heading {
    gap: 5px;
  }

  html body.landing-rebuild main.site-main section.market-ticker-section .market-ticker-heading h2#marketTickerTitle {
    font-size: clamp(1.65rem, 8.5vw, 2.1rem);
  }

  body.landing-rebuild .market-ticker-status {
    display: none;
  }

  body.landing-rebuild .market-ticker-section[data-market-ticker-state="loading"] .market-ticker-status,
  body.landing-rebuild .market-ticker-section[data-market-ticker-state="unavailable"] .market-ticker-status {
    display: block;
    max-width: 150px;
    white-space: normal;
    text-align: right;
  }

  body.landing-rebuild .market-ticker-section[data-market-ticker-state="delayed"] .market-ticker-head {
    margin-bottom: 36px;
  }

  body.landing-rebuild .market-ticker-section[data-market-ticker-state="delayed"] .market-ticker-status {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    display: block;
    max-width: none;
    font-size: 0.66rem;
    text-align: left;
  }

  body.landing-rebuild .market-ticker-section[data-market-ticker-state="loading"] .market-ticker-toggle,
  body.landing-rebuild .market-ticker-section[data-market-ticker-state="loading"] .market-ticker-viewport,
  body.landing-rebuild .market-ticker-section[data-market-ticker-state="unavailable"] .market-ticker-toggle,
  body.landing-rebuild .market-ticker-section[data-market-ticker-state="unavailable"] .market-ticker-viewport {
    display: none;
  }

  body.landing-rebuild .market-ticker-toggle {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  body.landing-rebuild .market-ticker-viewport {
    width: calc(100% + 18px);
    border-radius: 0;
  }

  body.landing-rebuild .market-ticker-track {
    animation-duration: var(--market-ticker-duration, 34s);
  }

  body.landing-rebuild .market-ticker-group {
    gap: 8px;
    padding-right: 8px;
  }

  body.landing-rebuild .market-ticker-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-width: 166px;
    height: 62px;
    gap: 10px;
    padding: 0 15px 0 12px;
  }

  body.landing-rebuild .market-ticker-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body.landing-rebuild .market-ticker-name {
    font-size: 0.72rem;
  }

  body.landing-rebuild .market-ticker-price {
    font-size: 0.9rem;
  }

  body.landing-rebuild .market-ticker-change {
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  body.landing-rebuild .market-ticker-toggle {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  body.landing-rebuild .market-ticker-toggle-label {
    display: none;
  }

  body.landing-rebuild .market-ticker-toggle-icon.is-pause {
    display: block;
  }

  body.landing-rebuild .market-ticker-section.is-paused .market-ticker-toggle-icon.is-pause {
    display: none;
  }

  body.landing-rebuild .market-ticker-section.is-paused .market-ticker-toggle-icon.is-play {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-rebuild .market-ticker-track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  body.landing-rebuild .market-ticker-viewport {
    overflow-x: auto;
    touch-action: pan-x pan-y;
  }

  body.landing-rebuild .market-ticker-group[aria-hidden="true"],
  body.landing-rebuild .market-ticker-toggle {
    display: none;
  }
}
