/*
  Homepage (SITE-1448), from the 10/20 homepage handoff: tiger hero, radar band,
  Holly AI signals, "What is Trade Ideas?", brokers and partners, closing band.
  Loads after theme.css, competitor-pages.css (story blocks, FAQ, figure.shot,
  .fp-close, radar) and feature-pages.css (the live #stock-ticker cards).
  Values come only from the --ti-* tokens in theme.css. The homepage H1 is the
  one heading with its own size (--ti-fs-h1-home); every H2 uses the theme size.
*/

/* ==========================================================================
   The hero slides up under the see-through sticky top nav (--ti-nav-h,
   marketing/assets/css/top-nav.css) so the tiger shows faintly behind it.
   ========================================================================== */

.ti-home .hm-hero {
  margin-top: calc(-1 * var(--ti-nav-h));
  padding-top: var(--ti-nav-h);
}

/* ==========================================================================
   Hero: full-bleed tiger photo, copy on the left, product clips on the right
   ========================================================================== */

.ti-home .hm-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* exactly one window tall (it starts under the nav), so the content ends
     --hm-breathe above the bottom of the window */
  min-height: 100svh;
  overflow: hidden;
  /* index.js sets the size and position so the tiger's face sits between the copy and the clips */
  background: var(--ti-bg-deep) url("/MainSite/images/hero/hero-tiger.webp") var(--hm-photo-pos, 72% 40%) / var(--hm-photo-size, cover) no-repeat;
}
/* scrim: dark behind the copy (left) and the trust line (bottom) */
.ti-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ti-scrim-strong) 0%, var(--ti-scrim) 34%, var(--ti-scrim-soft) 48%, transparent 64%),
    linear-gradient(0deg, var(--ti-scrim-strong) 0%, transparent 38%);
  pointer-events: none;
}
.ti-home .hm-hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  width: 100%;
  padding-top: 48px;
  padding-bottom: var(--hm-breathe, 48px);
}
.ti-home .hm-hero__copy { min-width: 0; }

.ti-home .hm-kick {
  margin: 0 0 8px;
  color: var(--ti-amber);
  font-size: var(--ti-fs-md);
  font-weight: var(--ti-fw-bold);
  line-height: var(--ti-lh-snug);
  letter-spacing: var(--ti-track-caps);
  text-transform: uppercase;
}
/* the big headline: a <p> since the H1 is the line above (.hm-kick), so it sets what it used to get as an h1 */
.ti-home .hm-headline {
  margin: 0;
  font-family: var(--ti-font);
  font-size: var(--ti-fs-h1-home);
  font-weight: var(--ti-fw-semibold);
  line-height: var(--ti-lh-display);
  letter-spacing: var(--ti-track-tight);
  color: var(--ti-text);
}
/* "Big Move" in orange. The markup joins "Big Move First" with non-breaking spaces,
   so the headline only breaks after "Catch the" and the orange words stay together. */
.ti-home .hm-headline span { color: var(--ti-orange); }
/* the claim line with the Investopedia badge beside it */
.ti-home .hm-claim {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.ti-home .hm-sub {
  margin: 0;
  color: var(--ti-text);
  font-size: var(--ti-fs-2xl);
  font-weight: var(--ti-fw-bold);
  line-height: var(--ti-lh-snug);
  letter-spacing: var(--ti-track-snug);
}
.ti-home .hm-sub a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ti-home .hm-badge {
  flex: none;
  width: 62px;
  height: auto;
  filter: drop-shadow(var(--ti-shadow-sm));
}

.ti-home .hm-hero #stock-ticker { margin-bottom: 0; }
.ti-home .hm-hero .hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
/* two-line button: the action, then a short note under it */
.ti-home .hm-btn {
  flex: 0 1 auto;
  flex-direction: column;
  white-space: normal;
  text-align: center;
  gap: 2px;
  padding: 13px 34px;
  font-size: var(--ti-fs-h3);
  font-weight: var(--ti-fw-black);
  line-height: var(--ti-lh-tight);
  letter-spacing: var(--ti-track-snug);
  border-width: 2px;
  border-radius: var(--ti-radius);
}
.ti-home .hm-btn__note {
  font-size: var(--ti-fs-md);
  font-weight: var(--ti-fw-semibold);
  letter-spacing: 0;
}
/* the gradient stays on hover (a gradient can't fade into a flat colour, which
   flickered); hover brightens it instead */
.ti-home .hm-btn--buy {
  border-color: transparent;
  background: var(--ti-orange) linear-gradient(180deg, var(--ti-orange-hot), var(--ti-orange));
  box-shadow: var(--ti-shadow-orange);
  color: var(--ti-on-accent);
  transition: filter var(--ti-dur-fast) ease, transform 0.12s ease;
}
.ti-home .hm-btn--buy:hover { filter: brightness(1.08); }

.ti-home .hm-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ti-text-soft);
  font-size: var(--ti-fs-md);
}
.ti-home .hm-checks li::before { content: "\2713"; margin-right: 6px; }
.ti-home .hm-checks .hm-checks__more::before { content: none; }
.ti-home .hm-checks a {
  color: var(--ti-amber);
  font-weight: var(--ti-fw-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ti-home .hm-checks a:hover { color: var(--ti-orange); }

/* Inc. 5000 logo, then the trust line */
.ti-home .hm-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.ti-home .hm-trust img { flex: none; width: auto; height: 30px; }
.ti-home .hm-trust ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ti-muted-mid);
  font-size: var(--ti-fs-sm);
}
.ti-home .hm-trust li + li::before { content: "\00b7"; margin: 0 10px; color: var(--ti-muted-dim); }

/* Product clips: Stock Race, scanner, PiP charting, heat map (index.js steps
   through them). Hero media rule: a 3:2 stage, each clip shown whole. */
.ti-home .hm-seq {
  justify-self: end;
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid var(--ti-overlay-3);
  border-radius: var(--ti-radius);
  background: var(--ti-card-translucent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--ti-shadow-lg);
}
.ti-home .hm-seq__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 14px;
  font-size: var(--ti-fs-sm);
  font-weight: var(--ti-fw-bold);
  letter-spacing: var(--ti-track-caps-sm);
  text-transform: uppercase;
}
.ti-home .hm-seq__cap b { color: var(--ti-orange); font-weight: var(--ti-fw-black); }
.ti-home .hm-seq__dots {
  flex: none;
  color: var(--ti-muted-dim);
  font-size: var(--ti-fs-2xs);
  font-weight: var(--ti-fw-semibold);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.ti-home .hm-seq__dots b { font-weight: var(--ti-fw-bold); }
.ti-home .hm-seq__dots b.on { color: var(--ti-amber); font-weight: var(--ti-fw-black); }
.ti-home .hm-seq__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--ti-bg-deep);
}
.ti-home .hm-seq__stage > img,
.ti-home .hm-seq__stage > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.ti-home .hm-seq__stage > .is-on { opacity: 1; }
/* a clip stays hidden over its poster until it is actually playing */
.ti-home .hm-seq__stage > video.is-on:not([data-ok]) { opacity: 0; }
.ti-home .hm-seq__pause {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ti-text);
  border: 1px solid var(--ti-overlay-4);
  border-radius: 50%;
  background: var(--ti-scrim);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--ti-dur-fast) ease, border-color var(--ti-dur-fast) ease;
}
.ti-home .hm-seq__pause:hover,
.ti-home .hm-seq__pause:focus-visible { opacity: 1; border-color: var(--ti-orange); }
.ti-home .hm-seq__pause:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: 2px; }
.ti-home .hm-seq__pause svg { width: 14px; height: 14px; fill: currentColor; }
.ti-home .hm-seq__link {
  display: block;
  padding: 9px 14px;
  color: var(--ti-amber);
  font-size: var(--ti-fs-md);
  font-weight: var(--ti-fw-bold);
  text-decoration: none;
}
.ti-home .hm-seq__link:hover { text-decoration: underline; }
.ti-home .hm-seq__link[hidden] { display: none; }

.ti-home .hm-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 64px;
  color: var(--ti-text-soft);
  transform: translateX(-50%);
  animation: hmCue 2s ease-in-out infinite;
}
.ti-home .hm-cue:hover { color: var(--ti-orange); }
@keyframes hmCue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ==========================================================================
   Body: full-width bands on one grid. Each band has a centred heading block
   (the Holly split carries its heading in its text column) and the bands
   alternate background. Story block, FAQ, figure.shot and .fine styles come
   from competitor-pages.css; .fp-split, .fp-checks and .fp-prem-tag from
   feature-pages.css.
   ========================================================================== */

.ti-home .hm-main { padding-bottom: 0; }
.ti-home .cmp-main .hm-sec {
  padding: 72px 0;
  border-top: 1px solid var(--ti-border);
}
.ti-home .cmp-main .hm-sec--alt { background: var(--ti-bg-sunken); }
.ti-home .hm-head {
  max-width: var(--ti-prose);
  margin: 0 auto 36px;
  text-align: center;
}
.ti-home .cmp-main .hm-head h2 { margin: 0 auto 12px; }
.ti-home .hm-head p {
  margin: 0;
  color: var(--ti-muted);
  font-size: var(--ti-fs-lead);
  line-height: var(--ti-lh-body);
}
.ti-home .hm-go {
  color: var(--ti-orange);
  font-weight: var(--ti-fw-bold);
  text-decoration: none;
}
.ti-home .hm-go:hover { color: var(--ti-amber); text-decoration: underline; }

/* What is Trade Ideas: a taste-of-Quant video, its chapter buttons, four
   cards with the Features hub look (.ft-card in features-hub.css, one row
   of four) and a closing ask band (SITE-1551). Inside .cmp-main the
   story-block h3 and body-link rules would win, so the card heading is
   restated here. */
.ti-home .hm-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ti-home .cmp-main .ft-card h3 { max-width: none; margin: 0; line-height: var(--ti-lh-tight); }
.ti-home .cmp-main .ft-card h3 a { color: var(--ti-text); text-decoration: none; }
.ti-home .cmp-main .ft-card h3 a:hover { color: var(--ti-orange); }
.ti-home .wt-card-cta { width: 100%; margin-top: 6px; }

/* The video stage: framed like .ft-hero-panel's glow treatment, with a
   "live" pill (.ti-pill / .ti-pill-dot, theme.css) pinned over the corner. */
.ti-home .wt-stage {
  position: relative;
  margin: 0 0 18px;
  border-radius: var(--ti-radius-lg);
  overflow: hidden;
  background: var(--ti-bg-deep);
  box-shadow: var(--ti-shadow-lg), 0 0 0 1px var(--ti-orange-line), var(--ti-glow-orange);
}
.ti-home .wt-stage video { display: block; width: 100%; height: auto; }
.ti-home .wt-live {
  position: absolute;
  left: 14px;
  top: 14px;
  margin-bottom: 0;
  padding: 6px 12px;
  background: var(--ti-scrim-strong);
  color: var(--ti-text);
  font-size: var(--ti-fs-2xs);
}

/* Chapter buttons under the stage: inactive ones look like .ti-btn-secondary,
   the active one picks up the orange treatment. */
.ti-home .wt-chaps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}
.ti-home .wt-chap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: transparent;
  color: var(--ti-muted);
  font-family: var(--ti-font);
  font-size: var(--ti-fs-md);
  font-weight: var(--ti-fw-bold);
  cursor: pointer;
  transition: border-color var(--ti-dur-fast), background var(--ti-dur-fast), color var(--ti-dur-fast);
}
.ti-home .wt-chap b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ti-overlay-3);
  font-size: var(--ti-fs-xs);
}
.ti-home .wt-chap.on {
  border-color: var(--ti-orange-line);
  background: var(--ti-orange-dim);
  color: var(--ti-text);
}
.ti-home .wt-chap.on b { background: var(--ti-orange); color: var(--ti-on-accent); }

/* The closing ask band: same panel language as .ft-legend, but a full box */
.ti-home .wt-ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--ti-prose);
  margin: 40px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--ti-orange-line);
  border-radius: var(--ti-radius-lg);
  background: var(--ti-orange-dim);
}
.ti-home .wt-ask__copy { margin: 0; color: var(--ti-muted); font-size: var(--ti-fs-base); }
.ti-home .wt-ask__copy strong { display: block; margin-bottom: 2px; color: var(--ti-text); font-size: var(--ti-fs-h3); }
.ti-home .wt-ask__copy a { color: var(--ti-orange); font-weight: var(--ti-fw-bold); }
.ti-home .wt-ask .ti-btn { flex: none; }

.ti-home .hm-foot {
  margin: 40px auto 0;
  color: var(--ti-muted);
  font-size: var(--ti-fs-md);
  text-align: center;
}

/* Holly AI Signals: text and checklist beside the CYPH video */
.ti-home .hm-prem {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  color: var(--ti-orange);
  font-size: var(--ti-fs-xs);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-caps);
  text-transform: uppercase;
  border: 1px solid var(--ti-orange-line);
  border-radius: var(--ti-radius-pill);
}
.ti-home .fp-main .fp-split > div > p.hm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 20px 0 14px;
}
.ti-home .fp-main .fp-split > div > p.fine {
  margin: 0;
  color: var(--ti-muted-mid);
  font-size: var(--ti-fs-sm);
}

/* Brokers and partners: the logo strip, then one full-width row per partner
   (logo on the left, the partner's copy across the rest) */
.ti-home .hm-partners { margin: 36px 0 0; padding: 0; list-style: none; }
.ti-home .hm-partner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--ti-border);
}
.ti-home .hm-partner:last-child { border-bottom: 1px solid var(--ti-border); }
.ti-home .hm-partner > :first-child { grid-column: 1; grid-row: 1 / span 6; align-self: start; }
.ti-home .hm-partner > :not(:first-child) { grid-column: 2; }
.ti-home .hm-partner picture { display: block; }
.ti-home .hm-partner__logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}
.ti-home .hm-partner p {
  margin: 0 0 10px;
  color: var(--ti-text-subtle);
  font-size: var(--ti-fs-base);
  line-height: var(--ti-lh-body);
}
.ti-home .hm-partner__go {
  justify-self: start;
  margin-top: 4px;
  color: var(--ti-orange);
  font-weight: var(--ti-fw-bold);
  text-decoration: none;
}
.ti-home .hm-partner__go:hover { color: var(--ti-amber); text-decoration: underline; }

/* Questions: a narrow centred column */
.ti-home .hm-narrow { max-width: calc(var(--ti-prose) + 2 * var(--ti-gutter)); }

.ti-home .hm-logos {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--ti-overlay-1);
  border-bottom: 1px solid var(--ti-overlay-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--ti-bg) 8%, var(--ti-bg) 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--ti-bg) 8%, var(--ti-bg) 92%, transparent);
}
.ti-home .hm-logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hmSlide 50s linear infinite;
}
/* hovering or tabbing into the strip stops it (WCAG 2.2.2) */
.ti-home .hm-logos:hover .hm-logos__track,
.ti-home .hm-logos:focus-within .hm-logos__track { animation-play-state: paused; }
.ti-home .hm-logos__track > * { flex: none; margin: 0 9px; }
/* logos keep their own colours, each on a light chip so it reads on the dark page */
.ti-home .hm-logos__track img {
  display: block;
  box-sizing: content-box;
  width: auto;
  height: 28px;
  padding: 10px 18px;
  object-fit: contain;
  border: 1px solid var(--ti-overlay-4);
  border-radius: var(--ti-radius-md);
  background: var(--ti-text);
  box-shadow: var(--ti-shadow-sm);
  transition: transform var(--ti-dur) ease, box-shadow var(--ti-dur) ease;
}
.ti-home .hm-logos__track a:hover img,
.ti-home .hm-logos__track a:focus-visible img {
  transform: translateY(-2px);
  box-shadow: var(--ti-shadow-sm), var(--ti-glow-orange);
}
@keyframes hmSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }   /* the second half repeats the first */
}

.ti-home .fp-close { margin-top: 0; }
.ti-home .hm-disc {
  max-width: var(--ti-prose);
  margin: 0 auto;
  padding: 0 var(--ti-gutter) 48px;
  color: var(--ti-muted-mid);
  font-size: var(--ti-fs-sm);
  line-height: var(--ti-lh-body);
  text-align: center;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 1199px) {
  .ti-home .hm-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
}

/* Stacked: the photo becomes a band across the top, copy and clips below */
@media (max-width: 900px) {
  .ti-home .hm-hero {
    display: block;
    min-height: 0;
    background: var(--ti-bg-deep);
  }
  .ti-home .hm-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(clamp(220px, 48vw, 420px) + var(--ti-nav-h));
    background: url("/MainSite/images/hero/hero-tiger-mobile-crop.webp") 50% 42% / cover no-repeat;
  }
  .ti-home .hm-hero::before {
    z-index: 1;
    bottom: auto;
    height: calc(clamp(220px, 48vw, 420px) + var(--ti-nav-h));
    background: linear-gradient(180deg, transparent 55%, var(--ti-bg-deep) 100%);
  }
  .ti-home .hm-hero__in {
    z-index: 2;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: calc(clamp(220px, 48vw, 420px) - 8px);
  }
  .ti-home .hm-seq { justify-self: stretch; width: auto; max-width: 560px; }
  .ti-home .hm-cue { display: none; }

  .ti-home .hm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .ti-home .hm-kick { font-size: var(--ti-fs-2xs); letter-spacing: var(--ti-track-caps-sm); }
  .ti-home .hm-sub { font-size: var(--ti-fs-lg); }
  .ti-home .hm-badge { width: 52px; }
  .ti-home .hm-hero .hero-cta { flex-direction: column; }
  .ti-home .hm-hero .hero-cta .ti-btn { width: 100%; }
  .ti-home .hm-trust ul { font-size: var(--ti-fs-xs); }

  .ti-home .cmp-main .hm-sec { padding: 48px 0; }
  .ti-home .hm-head { margin-bottom: 28px; }
  .ti-home .hm-cards { grid-template-columns: minmax(0, 1fr); }
  .ti-home .wt-ask { flex-direction: column; text-align: center; }
  .ti-home .hm-partner { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .ti-home .hm-partner > :first-child { grid-row: auto; margin-bottom: 14px; }
  .ti-home .hm-partner > :not(:first-child) { grid-column: 1; }
}

@media (max-width: 560px) {
  .ti-home .hm-trust li + li::before { margin: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .ti-home .hm-cue { animation: none; }
  .ti-home .hm-seq__stage > img,
  .ti-home .hm-seq__stage > video { transition: none; }
  /* the logo strip stops and wraps; its repeated half is dropped */
  .ti-home .hm-logos { -webkit-mask-image: none; mask-image: none; }
  .ti-home .hm-logos__track {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    width: auto;
    animation: none;
  }
  .ti-home .hm-logos__track > [aria-hidden="true"] { display: none; }
}

/* TI Quant AI launch (Dan 11-27, homepage version B): Quant banner + AI winner tiles in the right column,
   headline and banner moved up so the tiger's eyes sit between them; word-by-word headline. */
.tqb{display:block;width:460px;max-width:100%;align-self:end;justify-self:end;position:relative;overflow:hidden;text-decoration:none!important;color:#E8EDF4!important;background:radial-gradient(ellipse 80% 60% at 85% 0%,rgba(255,138,0,.22),rgba(255,138,0,0) 70%),linear-gradient(180deg,#0B1F3F,#050E1E);border:1.5px solid rgba(255,138,0,.55);border-radius:22px;padding:16px 16px 14px;box-shadow:0 30px 70px rgba(0,0,0,.5),0 0 0 0 rgba(255,138,0,.4);font-family:Inter,"Segoe UI",sans-serif;transition:transform .25s,box-shadow .25s;animation:tqbGlow 3.2s ease-in-out infinite}
.tqb:hover{transform:translateY(-4px);box-shadow:0 36px 80px rgba(0,0,0,.55),0 0 34px rgba(255,138,0,.45)}
@keyframes tqbGlow{0%,100%{border-color:rgba(255,138,0,.45)}50%{border-color:rgba(255,179,71,.95)}}
.tqb::after{content:"";position:absolute;top:0;left:0;width:40%;height:100%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.10),rgba(255,255,255,0));transform:translateX(-150%) skewX(-18deg);animation:tqbShine 5s ease-in-out infinite;pointer-events:none}
@keyframes tqbShine{0%,60%{transform:translateX(-150%) skewX(-18deg)}100%{transform:translateX(330%) skewX(-18deg)}}
.tqb__top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.tqb__top img{border-radius:11px}
.tqb__pill{display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 8px;border-radius:999px;background:linear-gradient(90deg,#FFE066,#FFB000 55%,#FF8A00);border:0;color:#0B0E14;box-shadow:0 0 18px rgba(255,200,0,.55);animation:tqbPop 2.6s ease-in-out infinite;font:900 12px Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.tqb__pill i{font-style:normal;font-size:16px;line-height:1;color:#fff;text-shadow:0 0 6px #fff,0 0 12px #FFD000;display:inline-block;animation:tqbStar 2.6s ease-in-out infinite}
@keyframes tqbStar{0%,100%{transform:scale(1) rotate(0)}45%{transform:scale(1.35) rotate(72deg)}}
@keyframes tqbPop{0%,100%{box-shadow:0 0 14px rgba(255,200,0,.45)}50%{box-shadow:0 0 26px rgba(255,210,0,.9)}}
.tqb__h{margin:4px 0 0;font:900 26px/1.05 Inter,sans-serif;letter-spacing:-.02em;color:#fff}
.tqb__h em{font-style:normal;color:#FF8A00}
.tqb__foot{display:flex;align-items:center;gap:12px;margin-top:12px}
.tqb__s{margin:0;color:#C9D3E0;font-size:13px;line-height:1.35}
.tqb__vid{position:relative;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.12);aspect-ratio:1920/920;background:#000}
.tqb__vid video{width:100%;height:100%;object-fit:cover;display:block}
.tqb__cta{flex:none;display:inline-block;padding:9px 14px;border-radius:10px;background:#FF8A00;color:#0B0E14;font:800 14px Inter,sans-serif}
/* the card's hit area: a sibling of .tqb__vid, not a wrapper around it, so the
   pause button below stays out of the link and reachable by keyboard (WCAG 2.2.2) */
.tqb__link{position:absolute;inset:0;z-index:1;text-decoration:none}
.tqb__link:focus-visible{outline:2px solid #FF8A00;outline-offset:-4px;border-radius:inherit}
.tqb__pause{position:absolute;z-index:2;right:10px;bottom:10px;display:grid;place-items:center;width:30px;height:30px;padding:0;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(5,14,30,.75);cursor:pointer;opacity:.85;transition:opacity .2s ease,border-color .2s ease}
.tqb__pause:hover,.tqb__pause:focus-visible{opacity:1;border-color:#FF8A00}
.tqb__pause:focus-visible{outline:2px solid #FF8A00;outline-offset:2px}
.tqb__pause svg{width:13px;height:13px;fill:currentColor}
.tqb__pause[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.tqb,.tqb::after,.tqb__pill,.tqb__pill i{animation:none}}
@media (min-width: 901px) {
  .ti-home .hm-hero { align-items: center; --hm-photo-pos: 58% 30%; }
  .ti-home .hm-hero__in { padding-top: 0; align-items: center; }
  .tqb-col { width: min(520px, 100%); justify-self: end; align-self: start; margin-top: -28px; }
  .tqb-col .tqb { width: 100%; }
  .tqb__h { font-size: 30px; }
}
@media (max-width: 900px) { .tqb-col { width: 100%; } }
@media (max-width: 480px) { .tqb__h { font-size: 22px; } }
/* the live AI signal tiles (promotions.js) as one row of three under the banner */
.ti-home #stock-ticker.tqb-wins .row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: none !important; margin: 12px 0 0 !important; }
.ti-home #stock-ticker.tqb-wins .row > div { max-width: none !important; padding: 0 !important; flex: none; width: auto; }
.ti-home #stock-ticker.tqb-wins .ai-signal-wrapper .ai-signal { margin-bottom: 0; background: rgba(5,14,30,.72); backdrop-filter: blur(4px); border-color: rgba(255,255,255,.55); }
.hmx{display:grid}
.hmx>b{grid-area:1/1;font-weight:inherit;align-self:start}
.hmx-nw{font-weight:inherit;white-space:nowrap}
.hmx .hmx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hmx-b{font-size:.6em;line-height:1.12}
@media(max-width:700px){.hmx-b{font-size:.8em}}
.hmx i{font-style:normal;display:inline-block;opacity:0;transform:translateY(.4em);transition:opacity .45s ease,transform .45s ease;transition-delay:calc(var(--n)*170ms)}
.hmx .on i{opacity:1;transform:none}
.hmx .out i{transition-delay:0s;transition-duration:.35s}
@media(prefers-reduced-motion:reduce){.hmx i{transition:none}.hmx-a i{opacity:1;transform:none}}

/* WCAG 2.2.2: the headline's word-by-word build repeats forever, so a keyboard-reachable
   button lets anyone stop it on a complete phrase. Same corner-button look as .hm-seq__pause. */
.ti-home .hmx-wrap { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.ti-home .hmx-wrap .hmx { flex: 1 1 auto; min-width: 0; }
.ti-home .hmx-pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  padding: 0;
  color: var(--ti-text-soft);
  border: 1px solid var(--ti-overlay-4);
  border-radius: 50%;
  background: var(--ti-scrim);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--ti-dur-fast) ease, border-color var(--ti-dur-fast) ease;
}
.ti-home .hmx-pause:hover,
.ti-home .hmx-pause:focus-visible { opacity: 1; border-color: var(--ti-orange); }
.ti-home .hmx-pause:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: 2px; }
.ti-home .hmx-pause svg { width: 13px; height: 13px; fill: currentColor; }
.ti-home .hmx-pause[hidden] { display: none; }
