/* Shared accessibility hardening for public and CMS-managed pages. */
:root {
    --green: #00743a;
    --green-dark: #005b2d;
}

html {
    scroll-padding-top: 96px;
}

section[id] {
    scroll-margin-top: 96px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 11px 16px;
    border: 3px solid #fff;
    border-radius: 6px;
    background: #071827;
    color: #fff;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .15s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #0a1628;
}

:where(button, input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select) {
    min-height: 44px;
}

.tl-nav-item > a,
.tl-nav-item > button,
.tl-dropdown a,
.site-footer .footer-grid a:not(.brand) {
    min-height: 44px;
}

.tl-dropdown a,
.site-footer .footer-grid a:not(.brand) {
    display: flex;
    align-items: center;
}

.eyebrow,
.text-link,
.card-link,
.secondary-note a,
.case-grid small,
.case-grid a,
.insight-card small,
.insight-card span,
.long-process article > span,
.long-process a,
.inquiry-contact {
    color: #00743a;
}

.tl-pre-header,
.tl-site-header .tl-nav-cta,
.tl-site-header.is-scrolled .tl-nav-cta {
    background: #00743a !important;
    color: #fff !important;
}

.tl-site-header .tl-nav-cta:hover,
.tl-site-header .tl-nav-cta:focus-visible,
.tl-site-header.is-scrolled .tl-nav-cta:hover,
.tl-site-header.is-scrolled .tl-nav-cta:focus-visible {
    background: #005b2d !important;
}

.tl-nav-item > a:hover,
.tl-nav-item > button:hover,
.tl-dropdown a:hover {
    color: #006632;
}

.tl-home .tl-badge-green,
.tl-home .tl-prod-body em,
.tl-home .tl-brandstrip-logos span:hover,
.tl-home .tl-team-grid small,
.tl-home .tl-service-process > summary span,
.tl-home .tl-flex-content-points article > span {
    color: #006632;
}

.tl-home .tl-steps b,
.tl-home .tl-service-process-grid b,
.tl-home .tl-cta a:first-child {
    border-color: #00743a;
    background: #00743a;
    color: #fff;
}

.tl-home .tl-cta a:first-child:hover,
.tl-home .tl-cta a:first-child:focus-visible {
    background: #005b2d;
}

.tl-home .tl-cred-sub {
    color: #4b6479;
}

/* Keep each content theme's personality while using a darker accent anywhere
   the accent carries small text or white button copy. */
.tl-content { --tl-accent-ink: #00743a; }
.tl-content--commerce,
.tl-content--ecosystem { --tl-accent-ink: #00743a; }
.tl-content--marketing { --tl-accent-ink: #6f5200; }
.tl-content--live { --tl-accent-ink: #ad2038; }
.tl-content--stores { --tl-accent-ink: #7b4d00; }
.tl-content--support { --tl-accent-ink: #1d5f9e; }
.tl-content--warehouse { --tl-accent-ink: #336b4a; }
.tl-content--freight { --tl-accent-ink: #1a609d; }
.tl-content--advisory { --tl-accent-ink: #6f5200; }
.tl-content--beverage { --tl-accent-ink: #006e70; }
.tl-content--agri { --tl-accent-ink: #536917; }
.tl-content--beauty { --tl-accent-ink: #82315a; }
.tl-content--family { --tl-accent-ink: #91402f; }
.tl-content--wellbeing { --tl-accent-ink: #0e6761; }
.tl-content--centres { --tl-accent-ink: #795005; }
.tl-content--story { --tl-accent-ink: #a52c3d; }
.tl-content--approach { --tl-accent-ink: #1d5f8f; }

.tl-content-primary {
    background: var(--tl-accent-ink);
    color: #fff;
}

.tl-content-primary:hover,
.tl-content-primary:focus-visible {
    background: color-mix(in srgb, var(--tl-accent-ink) 78%, #000);
    color: #fff;
}

.tl-content-block-number,
.tl-content-list li > span,
.tl-content-section-heading > span,
.tl-content-related-card > span,
.tl-content-related-card b {
    color: var(--tl-accent-ink);
}

.tl-content-list li:hover,
.tl-content-related-card:hover {
    border-color: var(--tl-accent-ink);
}

.tl-content-crumb {
    color: rgba(255, 255, 255, .78);
}

.tl-content-crumb a,
.tl-content-crumb strong {
    color: rgba(255, 255, 255, .9);
}

.tl-category-page .industry-card small {
    color: #526173;
}

.tl-content--marketing .tl-content-related-card:nth-child(2) b {
    color: #f5d77f;
}

.tl-content--live .tl-content-hero-visual small {
    background: var(--tl-accent-ink);
}

.site-footer .footer-heading {
    margin: 0 0 17px;
    color: #fff;
    font-size: 12px;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.6;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (forced-colors: active) {
    :where(a, button, summary, input, select, textarea):focus-visible {
        outline: 3px solid CanvasText;
        box-shadow: none;
    }
}
