:root {
    --lm-brand: #f19326;
    --lm-brand-dark: #d87511;
    --lm-navy: #062d54;
    --lm-navy-deep: #031b34;
    --lm-ink: #172536;
    --lm-muted: #687789;
    --lm-line: #dfe6ed;
    --lm-surface: #f4f7fa;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--lm-ink);
}

body.lm-nav-open {
    overflow: hidden;
}

/* Keep the fixed mobile menu relative to the viewport while it is open. */
body.lm-page-Index.lm-nav-open .lm-site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Phase 1 site header */
.lm-site-header {
    height: 76px;
    border-bottom: 1px solid rgba(17, 45, 72, .08);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 4px 18px rgba(6, 45, 84, .06);
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lm-page-Index .lm-site-header:not(.on) {
    border-bottom-color: rgba(255, 255, 255, .16);
    background: rgba(3, 27, 52, .22);
    box-shadow: none;
}

.lm-site-header .lm-header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    width: calc(100% - 56px);
    max-width: 1320px;
    height: 76px;
    padding: 0;
}

.lm-site-header .lm-site-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 300px;
    height: 68px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease;
}

.lm-page-Index .lm-site-header:not(.on) .lm-site-logo {
    background: #fff;
}

.lm-site-header .lm-site-logo > img,
.lm-site-header .lm-site-logo .logo-text img {
    width: auto;
    height: 56px;
    margin: 0;
    filter: brightness(0) saturate(100%) invert(12%) sepia(22%) saturate(1604%) hue-rotate(176deg) brightness(91%) contrast(95%);
}

.lm-site-header .lm-site-logo > img {
    flex: 0 0 auto;
}

.lm-site-header .lm-site-logo .logo-text {
    display: block;
    min-width: 0;
}

.lm-site-header .lm-desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    height: 76px;
    padding: 0;
    line-height: normal;
}

.lm-site-header .navbar_nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    height: 76px;
}

.lm-site-header .navbar_nav > li {
    display: flex;
    float: none;
    align-items: center;
    width: auto;
    min-width: 72px;
}

.lm-site-header .navbar_nav > li:after {
    right: 18px;
    bottom: 0;
    left: 18px;
    width: auto;
    height: 3px;
    background: transparent;
    transition: background-color .2s ease;
}

.lm-site-header .navbar_nav > li.active:after,
.lm-site-header .navbar_nav > li:hover:after {
    background: var(--lm-brand);
}

.lm-site-header .navbar_nav > li > a {
    display: flex;
    align-items: center;
    height: 76px;
    padding: 0 13px;
    color: var(--lm-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: color .2s ease;
}

.lm-page-Index .lm-site-header:not(.on) .navbar_nav > li > a {
    color: #fff;
}

.lm-site-header .navbar_nav > li.active > a,
.lm-site-header .navbar_nav > li:hover > a,
.lm-page-Index .lm-site-header:not(.on) .navbar_nav > li.active > a,
.lm-page-Index .lm-site-header:not(.on) .navbar_nav > li:hover > a {
    color: var(--lm-brand);
}

.lm-site-header .navbar_nav li.dropdown > .dropdown_menu {
    top: 76px;
    width: 168px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-top: 3px solid var(--lm-brand);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 14px 36px rgba(3, 27, 52, .14);
}

.lm-site-header .navbar_nav li.dropdown .dropdown_menu a {
    padding: 0 18px;
    color: #49596a;
    font-size: 15px;
    text-align: left;
    line-height: 44px;
}

.lm-site-header .navbar_nav li.dropdown .dropdown_menu a:hover {
    background: #f7f9fb;
    color: var(--lm-brand-dark);
}

.lm-header-tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
}

.lm-language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a3afbb;
    font-size: 13px;
    white-space: nowrap;
}

.lm-language-switch a {
    color: #7b8997;
}

.lm-language-switch a.active,
.lm-language-switch a:hover {
    color: var(--lm-ink);
}

.lm-page-Index .lm-site-header:not(.on) .lm-language-switch,
.lm-page-Index .lm-site-header:not(.on) .lm-language-switch a {
    color: rgba(255, 255, 255, .72);
}

.lm-page-Index .lm-site-header:not(.on) .lm-language-switch a.active,
.lm-page-Index .lm-site-header:not(.on) .lm-language-switch a:hover {
    color: #fff;
}

.lm-header-query {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 102px;
    height: 40px;
    padding: 0 17px;
    border: 1px solid #0b5bd3;
    border-radius: 20px;
    background: #0b5bd3;
    box-shadow: 0 8px 18px rgba(11, 91, 211, .2);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lm-header-query:hover,
.lm-header-query:focus {
    border-color: #094eae;
    background: #094eae;
    box-shadow: 0 10px 22px rgba(11, 91, 211, .26);
    color: #fff;
}

.lm-site-header #navToggle {
    display: none;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    background: transparent;
}

.lm-site-header #navToggle span,
.lm-site-header #navToggle span:before,
.lm-site-header #navToggle span:after {
    height: 2px;
    background: var(--lm-ink);
}

.lm-page-Index .lm-site-header:not(.on) #navToggle span,
.lm-page-Index .lm-site-header:not(.on) #navToggle span:before,
.lm-page-Index .lm-site-header:not(.on) #navToggle span:after {
    background: #fff;
}

.lm-site-header .m_nav {
    color: var(--lm-ink);
}

.lm-site-header .m_nav .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    padding: 0 24px;
    border-bottom: 1px solid var(--lm-line);
}

.lm-mobile-nav-title {
    font-size: 17px;
    font-weight: 700;
}

.lm-site-header .m_nav .top .closed {
    float: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--lm-ink);
}

.lm-site-header .m_nav .ul {
    margin-top: 0;
}

.lm-site-header .m_nav .ul li {
    position: relative;
    padding: 0 24px;
    border-bottom-color: var(--lm-line);
}

.lm-site-header .m_nav .ul li a {
    height: 56px;
    color: var(--lm-ink);
    font-size: 16px;
    line-height: 56px;
}

.lm-site-header .m_nav .ul li.active > a {
    color: var(--lm-brand-dark);
    font-weight: 700;
}

.lm-site-header .m_nav .ul li .dropdown_menu a {
    height: 46px;
    padding: 0 18px;
    color: #677789;
    font-size: 14px;
    line-height: 46px;
}

.lm-mobile-nav-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 24px 36px;
}

/* Phase 1 home hero */
.lm-home-main {
    margin-top: 0;
}

.lm-home-hero {
    position: relative;
    height: 660px;
    min-height: 600px;
    overflow: hidden;
    background: var(--lm-navy-deep);
}

.lm-home-hero .banner-swiper,
.lm-home-hero .swiper-wrapper,
.lm-home-hero .swiper-slide,
.lm-home-hero .swiper-slide > a {
    width: 100%;
    height: 100%;
}

.lm-home-hero .swiper-slide > a {
    display: block;
}

.lm-home-hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.lm-home-hero .hover-img:hover img {
    transform: none;
}

.lm-home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(3, 27, 52, .58);
    pointer-events: none;
}

.lm-home-hero-shade:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 58%;
    background: rgba(3, 27, 52, .34);
    content: '';
}

.lm-home-hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 64px);
    max-width: 1280px;
    padding: 52px 0 30px;
    color: #fff;
    pointer-events: none;
}

.lm-home-hero-content > * {
    max-width: 720px;
    pointer-events: auto;
}

.lm-home-hero-kicker {
    margin-bottom: 18px;
    color: #ffc27e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
}

.lm-home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.lm-home-hero-subtitle {
    margin-top: 24px;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.8;
}

.lm-home-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.lm-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease;
}

.lm-hero-button-primary {
    border-color: var(--lm-brand);
    background: var(--lm-brand);
}

.lm-hero-button-primary:hover,
.lm-hero-button-primary:focus {
    border-color: var(--lm-brand-dark);
    background: var(--lm-brand-dark);
    color: #fff;
}

.lm-hero-button-secondary {
    border-color: rgba(255, 255, 255, .7);
    background: rgba(3, 27, 52, .24);
}

.lm-hero-button-secondary:hover,
.lm-hero-button-secondary:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.lm-home-hero .swiper-button-next,
.lm-home-hero .swiper-button-prev {
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(3, 27, 52, .36);
}

.lm-home-hero .swiper-button-prev {
    left: 28px;
}

.lm-home-hero .swiper-button-next {
    right: 28px;
}

/* Phase 1 tracking placement */
.lm-home-tracking-section {
    position: relative;
    z-index: 5;
    background: #fff;
}

.lm-home-tracking-container {
    width: 82%;
    max-width: 1180px;
    margin-top: -86px;
    padding: 0 0 54px;
}

#lm-tracking-home {
    scroll-margin-top: 104px;
}

/* Phase 1 metrics */
.lm-home-metrics {
    padding: 76px 0 82px;
    background: var(--lm-surface);
}

.lm-home-metrics-inner {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 2fr);
    align-items: center;
    gap: 64px;
    width: calc(100% - 64px);
    max-width: 1280px;
    padding: 0;
}

.lm-home-metrics-heading p {
    margin-bottom: 12px;
    color: var(--lm-brand-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.lm-home-metrics-heading h2 {
    margin: 0;
    color: var(--lm-navy);
    font-size: 30px;
    line-height: 1.35;
}

.lm-home-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.lm-home-metric {
    position: relative;
    padding: 4px 28px;
    text-align: center;
}

.lm-home-metric + .lm-home-metric:before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 1px;
    background: #d7e0e8;
    content: '';
}

.lm-home-metric-value {
    display: block;
    color: var(--lm-navy);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.lm-home-metric-label {
    display: block;
    margin-top: 9px;
    color: var(--lm-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* Shared V2 footer: the homepage and every content page use Public:footer. */
.lm-page .footer {
    background: #041d42;
}

.lm-page .footer .footer-con {
    max-width: 1280px;
    padding-top: 58px;
    padding-bottom: 44px;
}

.lm-page .footer .footer-address,
.lm-page .footer .footer-address a,
.lm-page .footer .footer-link .blink {
    color: rgba(255, 255, 255, .92);
}

.lm-page .footer .footer-link .botLinkS {
    color: rgba(255, 255, 255, .58);
}

.lm-page .footer .footer-link .botLinkS:hover {
    color: #fff;
}

.lm-page .footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #031735;
    color: rgba(255, 255, 255, .54);
}

@media (min-width: 1440px) {
    .lm-home-hero {
        height: 680px;
    }

    .lm-home-hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 1199px) {
    .lm-site-header .lm-header-inner {
        width: 100%;
        padding: 0 24px;
    }

    .lm-site-header .lm-desktop-nav,
    .lm-site-header > .lm-header-inner > .lm-header-tools {
        display: none;
    }

    .lm-site-header #navToggle {
        display: block;
        margin-left: auto;
    }

    .lm-home-hero-content,
    .lm-home-metrics-inner {
        width: calc(100% - 48px);
    }

    .lm-home-metrics-inner {
        gap: 36px;
    }

    .lm-home-metric {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 991px) {
    .lm-home-hero {
        height: 620px;
    }

    .lm-home-hero h1 {
        font-size: 48px;
    }

    .lm-home-tracking-container {
        width: calc(100% - 48px);
    }

    .lm-home-metrics-inner {
        display: block;
    }

    .lm-home-metrics-heading {
        margin-bottom: 42px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .lm-page .footer .footer-con {
        padding: 38px 20px 28px;
    }

    .lm-page .footer .footer-address,
    .lm-page .footer .footer-link,
    .lm-page .footer .footer-contact {
        width: 100%;
    }

    .lm-page .footer .footer-address,
    .lm-page .footer .footer-link {
        margin-bottom: 28px;
    }

    .lm-page .footer .footer-contact img {
        width: 132px;
        max-width: 100%;
        height: auto;
    }

    .lm-site-header,
    .lm-site-header .lm-header-inner {
        height: 68px;
    }

    .lm-site-header .lm-header-inner {
        padding: 0 16px;
    }

    .lm-site-header .lm-site-logo {
        width: 218px;
        height: 56px;
        padding: 6px 8px;
    }

    .lm-site-header .lm-site-logo > img,
    .lm-site-header .lm-site-logo .logo-text img {
        height: 42px;
    }

    .lm-site-header #navToggle {
        display: block;
        height: 48px;
        padding: 12px;
    }

    .lm-home-hero {
        height: 570px;
        min-height: 0;
    }

    .lm-home-hero .swiper-slide img {
        object-position: 64% center;
    }

    .lm-home-hero-shade {
        background: rgba(3, 27, 52, .66);
    }

    .lm-home-hero-shade:after {
        width: 100%;
        background: rgba(3, 27, 52, .1);
    }

    .lm-home-hero-content {
        width: calc(100% - 40px);
        padding-top: 82px;
        padding-bottom: 36px;
    }

    .lm-home-hero-kicker {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .lm-home-hero h1 {
        font-size: 38px;
        line-height: 1.28;
    }

    .lm-home-hero-subtitle {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.75;
    }

    .lm-home-hero-actions {
        margin-top: 28px;
    }

    .lm-hero-button {
        min-width: 116px;
        height: 44px;
        padding: 0 18px;
        font-size: 14px;
    }

    .lm-home-tracking-container {
        width: 100%;
        margin-top: -38px;
        padding: 0 15px 42px;
    }

    #lm-tracking-home {
        scroll-margin-top: 84px;
    }

    .lm-home-metrics {
        padding: 56px 0 60px;
    }

    .lm-home-metrics-inner {
        width: 100%;
        padding: 0 20px;
    }

    .lm-home-metrics-heading {
        margin-bottom: 34px;
    }

    .lm-home-metrics-heading h2 {
        font-size: 26px;
    }

    .lm-home-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .lm-home-metric {
        padding: 22px 12px;
    }

    .lm-home-metric + .lm-home-metric:before {
        top: 22px;
        bottom: 22px;
    }

    .lm-home-metric:nth-child(3),
    .lm-home-metric:nth-child(4) {
        border-top: 1px solid #d7e0e8;
    }

    .lm-home-metric:nth-child(3):before {
        display: none;
    }

    .lm-home-metric-value {
        font-size: 36px;
    }
}

@media (max-width: 479px) {
    .lm-site-header .lm-site-logo {
        width: 205px;
    }

    .lm-site-header .lm-site-logo > img,
    .lm-site-header .lm-site-logo .logo-text img {
        height: 39px;
    }

    .lm-home-hero {
        height: 540px;
    }

    .lm-home-hero-content {
        width: calc(100% - 32px);
    }

    .lm-home-hero h1 {
        font-size: 32px;
    }

    .lm-home-hero-subtitle {
        font-size: 15px;
    }

    .lm-home-hero-actions {
        gap: 10px;
    }

    .lm-hero-button {
        flex: 1 1 50%;
        min-width: 0;
        padding: 0 14px;
    }
}

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

    .lm-site-header,
    .lm-site-header *,
    .lm-hero-button {
        transition: none !important;
    }
}
