/* ==========================================================================
   Homepage facelift — styling follows marketing/Trade-Ideas-Site-Latest/index.html
   Everything is scoped under .ti-home so shared site CSS is untouched.
   ========================================================================== */

.ti-home {
    --ti-bg: #080b11;
    --ti-panel: #101622;
    --ti-line: #212b3d;
    --ti-text: #f6f7fa;
    --ti-muted: #a3aec0;
    --ti-dim: #8b97a8;
    --ti-orange: #ff8a00;
    --ti-orange2: #ffb25b;
    --ti-green: #23d17d;
    --ti-panel-bg: linear-gradient(180deg, rgba(22, 30, 44, .94), rgba(10, 14, 22, .96));
    --ti-panel-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .05);

    background: var(--ti-bg);
    color: var(--ti-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* styles.css sets Poppins on `*`; :where() keeps this at zero specificity so icon-font classes still win */
:where(.ti-home, .ti-home *) {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ti-home h1,
.ti-home h2,
.ti-home h3,
.ti-home h4,
.ti-home h5,
.ti-home p {
    font-family: inherit;
}

.ti-home-accent {
    color: var(--ti-orange);
    text-shadow: 0 0 28px rgba(255, 138, 0, .35);
}

.ti-home-wrap {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 38px;
}

/* Primary button — orange gradient, 12px radius */
.ti-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff9a1a 0%, var(--ti-orange) 100%);
    color: #0a0d12 !important;
    font-size: 15px;
    font-weight: 700 !important;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 138, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.ti-home-btn:hover {
    color: #0a0d12 !important;
    background: linear-gradient(180deg, #ffab3d 0%, #ff9410 100%);
    box-shadow: 0 12px 28px rgba(255, 138, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .32);
    transform: translateY(-1px);
}

/* Eyebrow pill */
.ti-home-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 138, 0, .35);
    background: rgba(255, 138, 0, .08);
    color: var(--ti-orange2) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ti-home-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ti-orange);
    box-shadow: 0 0 10px var(--ti-orange);
}

/* Live indicator (green pulsing dot) */
.ti-home-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c5ced9 !important;
}

.ti-home-live i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ti-green);
    box-shadow: 0 0 8px rgba(35, 209, 125, .8);
    animation: ti-home-pulse 1.6s ease-in-out infinite;
}

@keyframes ti-home-pulse {
    50% {
        opacity: .35;
        transform: scale(.8);
    }
}


/* ==========================================================================
   Hero
   ========================================================================== */

.ti-home .top-wrapper {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: -84px !important;
    padding-top: 160px;
    padding-bottom: 80px;
    background:
        radial-gradient(900px 600px at 72% 14%, rgba(255, 138, 0, .11), transparent 65%),
        radial-gradient(1000px 700px at 18% 76%, rgba(48, 104, 170, .12), transparent 70%),
        var(--ti-bg);
}

/* Perspective grid floor + sweeping light tapes */
.ti-home-motion-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ti-home-motion-bg::before,
.ti-home-motion-bg::after {
    content: "";
    position: absolute;
    inset: -35%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: perspective(700px) rotateX(66deg);
    transform-origin: center;
    animation: ti-home-gridflow 18s linear infinite;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.ti-home-motion-bg::after {
    opacity: .35;
    background-size: 92px 92px;
    animation-duration: 30s;
}

@keyframes ti-home-gridflow {
    from { transform: perspective(700px) rotateX(66deg) translateY(-46px); }
    to { transform: perspective(700px) rotateX(66deg) translateY(46px); }
}

.ti-home-motion-bg .tape {
    position: absolute;
    left: -8vw;
    width: 116vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 0, .12), rgba(255, 138, 0, .5), rgba(255, 138, 0, .1), transparent);
    box-shadow: 0 0 18px rgba(255, 138, 0, .22);
    animation: ti-home-sweep 12s ease-in-out infinite;
}

.ti-home-motion-bg .t1 { top: 26%; }
.ti-home-motion-bg .t2 { top: 52%; animation-delay: -4s; }
.ti-home-motion-bg .t3 { top: 76%; animation-delay: -8s; }

@keyframes ti-home-sweep {
    0%, 100% { transform: translateX(-8%) scaleX(.9); opacity: .1; }
    50% { transform: translateX(8%) scaleX(1.1); opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
    .ti-home-motion-bg::before,
    .ti-home-motion-bg::after,
    .ti-home-motion-bg .tape,
    .ti-home-live i {
        animation: none;
    }
}

.ti-home .top-wrapper .main-title {
    max-width: 720px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(40px, 4.3vw, 64px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.045em;
    text-align: left;
    text-wrap: balance;
}

/* GPT bar — dark glass input */
.ti-home .chat-modules {
    max-width: 550px;
}

.ti-home .chat-input-wrapper {
    height: 54px;
    padding: 4px 8px 4px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(16, 22, 34, .8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ti-home .chat-input-wrapper:focus-within {
    border-color: rgba(255, 138, 0, .55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 138, 0, .14);
}

.ti-home .chat-input-wrapper > svg g {
    fill: #e8eef7;
}

.ti-home .chat-input {
    color: var(--ti-text);
    font-family: inherit;
    font-size: 15px;
}

.ti-home .chat-input::placeholder {
    color: var(--ti-dim);
}

.ti-home .send-btn {
    background: transparent;
    padding: 2px;
}

.ti-home .send-btn svg path {
    fill: var(--ti-orange);
    transition: fill .18s ease;
}

.ti-home .send-btn:hover svg path {
    fill: #ffab3d;
}

/* Hero signals block — match chat bar width; keep ticker full width */
.hero-signals-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

#stock-ticker {
    width: 100%;
}

#stock-ticker .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (min-width: 1200px) {
    .hero-signals-block {
        margin-left: 0;
        margin-right: auto;
    }
}

/* AI signal ticker cards (markup comes from the promotions feed) */
.ti-home #stock-ticker .row {
    margin-top: 18px !important;
    row-gap: 8px;
}

.ti-home #stock-ticker a {
    text-decoration: none;
}

.ti-home #stock-ticker .ai-signal-wrapper,
.ti-home #stock-ticker .ai-signal-wrapper .ai-signal {
    height: 100%;
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal {
    margin-bottom: 0;
    padding: 14px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(18, 26, 40, .95), rgba(10, 14, 22, .98));
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    transition: border-color .2s ease, transform .2s ease;
}

.ti-home #stock-ticker a:hover .ai-signal {
    border-color: rgba(255, 138, 0, .45);
    transform: translateY(-2px);
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal p {
    color: var(--ti-dim) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal .ai-stock-name {
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 138, 0, .4);
    background: rgba(255, 138, 0, .12);
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal .ai-stock-name p {
    color: var(--ti-orange2) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal > p:first-of-type {
    color: #c5ced9 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.ti-home #stock-ticker .ai-signal-wrapper .ai-signal p.gradient {
    margin: 4px 0 2px;
    background: none;
    color: var(--ti-green) !important;
    -webkit-text-fill-color: var(--ti-green);
    font-family: inherit;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    text-shadow: 0 0 18px rgba(35, 209, 125, .25);
}

/* Inc. 5000 badge — logo chip left, proof text right */
.hero-inc-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.hero-inc-badge__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .32);
}

.hero-inc-badge__logo img {
    width: 58px;
    height: auto;
}

.ti-home .hero-inc-badge__text {
    margin: 0;
    color: #d7dee8;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .005em;
    text-align: left;
}

.hero-inc-badge__text strong {
    color: var(--ti-orange2);
    font-weight: 800;
    letter-spacing: .02em;
}

/* Hero trust strip — full width of signal cards; stat left, logos right (currently hidden) */
.hero-trust-strip {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: inherit;
    transition: opacity 0.2s ease;
    display: none;
}

.hero-trust-strip:hover {
    opacity: 0.92;
}

.hero-trust-strip__stat {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 0.1rem;
    font-size: 1rem;
    line-height: 1.35;
    color: #fff;
    text-align: left;
}

.hero-trust-strip__stat-line {
    display: block;
    white-space: nowrap;
}

.hero-trust-strip__stat-accent {
    color: var(--color-amber-500, #F19429);
    font-weight: 600;
}

.hero-trust-strip__logos {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-strip__logos img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Stock race — framed like the prototype's story panel */
.ti-home-race-col {
    max-width: 750px;
}

.ti-home-story {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: var(--ti-panel-bg);
    box-shadow: var(--ti-panel-shadow);
}

.ti-home-story::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 250px at 60% 0, rgba(255, 138, 0, .12), transparent 70%);
    pointer-events: none;
}

.ti-home-story__head {
    position: relative;
    z-index: 2;
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ti-home .ti-home-story__usa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ti-dim);
    font-size: 12px;
    font-weight: 600;
}

.ti-home-story__usa img {
    width: 28px;
    height: auto;
}

.ti-home .race-wrapper {
    position: relative;
    z-index: 2;
    padding: 16px 16px 14px;
}

/* Race track — swap the shared navy blues (styles.css) for the page's charcoal palette */
.ti-home .race-rounded-container {
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background-color: rgba(8, 11, 17, .7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.ti-home #race-div-main-1 {
    border-radius: 10px;
    background-color: #080c14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 46px 46px;
}

.ti-home .race-rounded-container #vl1S-1,
.ti-home .race-rounded-container #vl2S-1,
.ti-home .race-rounded-container #vl3S-1 {
    border-left: 1px dashed rgba(255, 255, 255, .12);
}

.ti-home .race-bottom-compact-labels {
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 6px;
    background-color: rgba(10, 13, 18, .92) !important;
}

.ti-home #market-subtitle {
    max-width: 560px;
    min-height: 40px;
    color: var(--ti-muted) !important;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.35rem;
}

@media screen and (max-width: 1199px) {
    .ti-home .top-wrapper {
        padding-bottom: 64px;
    }

    .ti-home .top-wrapper .main-title {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .ti-home-race-col {
        margin-top: 48px;
    }

    .hero-trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-trust-strip__stat {
        text-align: center;
        align-items: center;
    }

    .hero-trust-strip__logos {
        justify-content: center;
    }

    .hero-trust-strip__logos img {
        width: 38px;
        height: 38px;
    }
}

@media screen and (max-width: 767px) {
    /* keep the three signal cards side by side instead of stacking */
    .ti-home #stock-ticker .row > [class*="col-"] {
        flex: 0 0 33.333%;
        max-width: 33.333% !important;
    }

    .ti-home #stock-ticker .ai-signal-wrapper .ai-signal {
        padding: 10px 6px;
    }

    .ti-home #stock-ticker .ai-signal-wrapper .ai-signal p {
        font-size: 10px;
    }

    .ti-home #stock-ticker .ai-signal-wrapper .ai-signal .ai-stock-name p {
        font-size: 12px;
    }

    .ti-home #stock-ticker .ai-signal-wrapper .ai-signal p.gradient {
        font-size: 1.45rem !important;
        line-height: 1.8rem !important;
    }

    .ti-home .features-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .ti-home .features-footer-cards-wrapper {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 640px) {
    .ti-home .top-wrapper {
        padding-top: 130px;
        padding-bottom: 48px;
    }

    .ti-home-story {
        border-radius: 16px;
    }

    .ti-home .race-wrapper {
        padding: 10px 8px;
    }

    .hero-inc-badge {
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .hero-trust-strip__stat-line {
        white-space: normal;
    }

    .hero-trust-strip__logos {
        justify-content: center;
        flex-wrap: nowrap;
        align-self: stretch;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.15rem;
    }

    .hero-trust-strip__logos::-webkit-scrollbar {
        display: none;
    }
}


/* ==========================================================================
   AI Signals section (content from the AI Signals page)
   ========================================================================== */

.ti-home-signals {
    position: relative;
    padding: 96px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    background: radial-gradient(800px 420px at 50% 0%, rgba(255, 138, 0, .08), transparent 70%), var(--ti-bg);
}

.ti-home-section-head {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.ti-home .ti-home-display {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 4.2vw, 50px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.ti-home .ti-home-lead {
    max-width: 660px;
    margin: 0 auto;
    color: var(--ti-muted);
    font-size: 19px;
    line-height: 1.58;
}

.ti-home-panel {
    position: relative;
    overflow: hidden;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 26px 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: var(--ti-panel-bg);
    box-shadow: var(--ti-panel-shadow);
}

.ti-home-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 250px at 60% 0, rgba(255, 138, 0, .12), transparent 70%);
    pointer-events: none;
}

.ti-home-panel > * {
    position: relative;
}

.ti-home-panel__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}

.ti-home .ti-home-panel__title {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 750;
    letter-spacing: -.03em;
}

/* Free signup / Holly History call to action */
.ti-home-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 860px;
    margin: 48px auto 0;
    padding: 48px 32px 44px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(120px 80px at 12% 30%, rgba(255, 138, 0, .22), transparent 70%),
        radial-gradient(160px 100px at 88% 70%, rgba(56, 189, 248, .16), transparent 72%),
        linear-gradient(135deg, rgba(11, 31, 58, .96), rgba(8, 18, 36, .98) 55%, rgba(12, 28, 52, .96));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 138, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ti-home-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .55;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 22px 22px;
}

.ti-home .ti-home-cta h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.ti-home .ti-home-cta__sub {
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(18px, 2vw, 21px);
    font-weight: 700;
    letter-spacing: -.01em;
}

.ti-home .ti-home-cta__note {
    margin: 18px 0 0;
    color: var(--ti-muted);
    font-size: 14px;
}

.ti-home-cta__note a {
    color: var(--ti-orange2);
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .ti-home-wrap {
        padding: 0 20px;
    }

    .ti-home-signals {
        padding-top: 64px;
    }

    .ti-home-panel {
        padding: 18px 14px 14px;
        border-radius: 16px;
    }

    .ti-home-cta {
        padding: 36px 20px 32px;
    }
}

/* Features row (shared row-templates/features-footer) — dark panel treatment on the homepage */
.ti-home .features-footer {
    margin-top: 0;
    padding-top: 24px;
    background: var(--ti-bg);
}

.ti-home .features-footer-cards-wrapper {
    width: 100%;
    max-width: 1240px;
}

.ti-home .features-footer-title h2 {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.035em;
}

.ti-home .features-footer-inner-div {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: var(--ti-panel-bg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: border-color .2s ease;
}

.ti-home .features-footer-inner-div:hover {
    border-color: rgba(255, 138, 0, .4);
    background-image: linear-gradient(180deg, rgba(255, 138, 0, .1), rgba(10, 14, 22, .96));
}

.ti-home .features-footer .subtitle {
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.ti-home .features-footer-main-copy p {
    color: var(--ti-muted);
}

.ti-home .features-footer .explore-more p a {
    color: #fff;
    font-weight: 700;
}


/* ==========================================================================
   Brokers & Partners
   ========================================================================== */

.ti-home-brokers {
    padding-top: 40px;
    padding-bottom: 24px;
}

.ti-home .ti-home-brokers h2 {
    max-width: 600px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.ti-home .ti-home-brokers .paragraph-3 {
    color: var(--ti-muted);
    line-height: 1.55em;
}

.ti-home .partner-card {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: var(--ti-panel-bg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: border-color .2s ease;
}

.ti-home .partner-card:hover {
    border-color: rgba(255, 138, 0, .4);
}

.ti-home .section-3 .partner-card p {
    color: #c5ced9;
}

.ti-home .partner-link,
.ti-home .partner-link:visited {
    color: var(--ti-orange2);
}

/* css for the side scrolling partner logos BEGIN */
.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.ti-home .logo-slider {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.slider-content {
    display: inline-flex;
    animation: slide 50s linear infinite;
}

.slider-content img {
    max-height: 40px;
    margin: 0 25px;
    flex-shrink: 0;
    /* Prevent images from shrinking */
}

/* Partner logos keep their original colors — each sits on a light chip so it reads on the dark page */
.ti-home .slider-content {
    align-items: center;
}

.ti-home .slider-content img {
    box-sizing: content-box;
    width: auto;
    height: 28px;
    max-height: none;
    margin: 0 9px;
    padding: 10px 18px !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .6);
    background: #f4f6f9;
    object-fit: contain;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ti-home .slider-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 138, 0, .45);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move exactly half the width since we duplicated the content */
    }
}

/* css for the side scrolling partner logos END */
