:root {
    --lh-navy: #0b1630;
    --lh-action: #3051ec;
    --lh-mint: #51e7cf;
    --lh-ink: #111d39;
    --lh-soft: #52617a;
    --lh-line: #dce5f7;
    --lh-canvas: #f1f5ff;
}

.lh-brand-lockup {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.lh-brand-lockup .lh-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    background: var(--lh-action);
}

.lh-brand-lockup .lh-brand-mark::before,
.lh-brand-lockup .lh-brand-mark::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 10px;
    border: 2px solid white;
    border-radius: 5px;
    transform: translate(-3px, 3px) rotate(-45deg);
}

.lh-brand-lockup .lh-brand-mark::after {
    border-color: var(--lh-mint);
    transform: translate(3px, -3px) rotate(-45deg);
}

.lh-brand-lockup .lh-brand-name {
    color: inherit;
    font-size: 1.15rem;
}

.lh-brand-lockup .lh-brand-byline {
    margin-top: .2rem;
    color: inherit;
    opacity: .82;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.lh-workspace {
    min-height: 100vh;
    display: grid;
    grid-template:
        "toolbar toolbar" auto
        "sidebar content" 1fr
        / 12rem minmax(0, 1fr);
    background: var(--lh-canvas);
}

.lh-workspace[data-menu-open="false"] { grid-template-columns: 3.75rem minmax(0, 1fr); }
.lh-workspace-content { grid-area: content; min-width: 0; }

.lh-workspace-toolbar {
    grid-area: toolbar;
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .65rem;
    padding: .7rem clamp(.85rem, 3vw, 1.55rem);
    color: white;
    background: var(--lh-navy);
    border-bottom: 1px solid #293b62;
}

.lh-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.lh-account-menu { position: relative; }
.lh-account-menu summary::-webkit-details-marker { display: none; }

.lh-menu-toggle, .lh-account-menu summary, .lh-toolbar-logout {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    padding: .5rem .75rem;
    color: white;
    background: #182c58;
    border: 1px solid #4b6294;
    border-radius: .65rem;
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
}

.lh-menu-toggle[hidden] { display: none; }
.lh-menu-toggle:hover, .lh-account-menu summary:hover, .lh-toolbar-logout:hover { background: #243e78; }
.lh-workspace :is(.lh-brand-lockup, .lh-menu-toggle, .lh-toolbar-logout, .lh-nav-item, summary):focus-visible {
    outline: 2px solid var(--lh-mint);
    outline-offset: 2px;
}

.lh-account-popover {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    width: min(17rem, calc(100vw - 2rem));
    display: grid;
    padding: .65rem;
    gap: .2rem;
    background: white;
    color: var(--lh-ink);
    border: 1px solid var(--lh-line);
    border-radius: .85rem;
    box-shadow: 0 12px 28px #0b163033;
}

.lh-account-popover > a, .lh-account-popover form button {
    display: block;
    width: 100%;
    text-align: start;
    font-size: .9rem;
    padding: .55rem .6rem;
    border-radius: .45rem;
}

.lh-account-popover > a:hover, .lh-account-popover form button:hover { background: var(--lh-canvas); }
.lh-account-popover nav { justify-content: flex-start; padding: .55rem .6rem; }
.lh-account-popover form button { color: #9f1239; }
.lh-account-identity { display: grid; padding: .55rem .6rem; border-bottom: 1px solid var(--lh-line); overflow-wrap: anywhere; }
.lh-account-identity span { color: var(--lh-soft); font-size: .78rem; }

.lh-sidebar {
    grid-area: sidebar;
    background: var(--lh-navy);
    min-width: 0;
    display: grid;
    align-content: start;
    gap: .35rem;
    padding: 1rem;
}

.lh-nav-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: .55rem;
    padding: .55rem .75rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    color: #bfcde8;
    font-weight: 650;
    font-size: .91rem;
}

.lh-nav-item svg { flex: 0 0 18px; }
.lh-nav-item[aria-current="page"], .lh-nav-item:hover { color: white; background: #223a70; border-color: #365391; }

@media (min-width: 701px) {
    .lh-workspace[data-menu-open="false"] .lh-sidebar { padding: .75rem .375rem; }
    .lh-workspace[data-menu-open="false"] .lh-nav-item { justify-content: center; padding-inline: .25rem; }
    .lh-workspace[data-menu-open="false"] .lh-nav-label { display: none; }
}

.lh-dashboard { max-width: 85rem; margin: 0 auto; padding: clamp(.85rem, 2.9vw, 1.7rem); color: var(--lh-ink); }
.lh-dashboard-context, .lh-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; }
.lh-dashboard-context { margin-bottom: .9rem; }
.lh-dashboard-context p { font-size: .85rem; color: var(--lh-soft); }
.lh-dashboard-context strong { overflow-wrap: anywhere; }

.lh-hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: .65rem;
    background: linear-gradient(116deg, #0b1630 12%, #182963 68%, #2b32a4);
    color: white;
    padding: clamp(1.15rem, 4.5vw, 2.5rem);
}

.lh-dashboard-hero { border-radius: 1rem; }
.lh-hero::after {
    position: absolute;
    z-index: -1;
    content: '';
    width: 17rem;
    height: 11rem;
    border: 1px solid #6582ed;
    border-radius: 2.35rem;
    transform: rotate(-35deg);
    right: -6.5rem;
    top: 1rem;
    opacity: .53;
    box-shadow: 0 0 0 1.6rem #3b57b025, 0 0 0 3.25rem #5474dc18;
    pointer-events: none;
}

.lh-hero h1 { max-width: 17ch; font-size: clamp(1.8rem, 4.65vw, 3.5rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; overflow-wrap: anywhere; }
.lh-hero p { max-width: 31rem; overflow-wrap: anywhere; }
.lh-hero .lh-hero-description { color: #cfddff; }
.lh-eyebrow { color: var(--lh-mint); font-size: .77rem; text-transform: uppercase; font-weight: 750; letter-spacing: .02em; }

.lh-action {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .5rem .82rem;
    background: white;
    color: var(--lh-ink);
    border: 1px solid var(--lh-line);
    border-radius: .65rem;
    font-weight: 675;
    font-size: .9rem;
}
.lh-action:hover { border-color: var(--lh-action); background: #f5f8ff; }
.lh-hero-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .35rem .55rem;
    color: white;
    text-decoration: underline;
    text-underline-offset: .22em;
    font-weight: 650;
}
.lh-hero-link:hover { color: var(--lh-mint); }
.lh-action:focus-visible, .lh-business:focus-visible { outline: 2px solid var(--lh-action); outline-offset: 3px; }
.lh-hero a:focus-visible { outline-color: var(--lh-mint); }
.lh-dashboard-section { display: grid; gap: .65rem; margin-block: 1.35rem; }
.lh-section-heading h2 { font-size: clamp(1.2rem, 2.75vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 730; }
.lh-business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.lh-business {
    display: block;
    min-width: 0;
    background: white;
    overflow: hidden;
    border: 1px solid var(--lh-line);
    border-radius: .85rem;
    overflow-wrap: anywhere;
}
.lh-business:hover { border-color: var(--lh-action); }
.lh-business img { width: 100%; height: clamp(5.25rem, 11vw, 9rem); object-fit: cover; object-position: center 49%; }
.lh-business-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .45rem; padding: .65rem .75rem; }
.lh-business-text small { display: block; color: var(--lh-soft); }
.lh-business-arrow { color: #233fb1; font-weight: 700; }

.lh-home-hero {
    max-width: 85rem;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(1.25rem, 5vw, 3.2rem);
}
.lh-home-copy { display: grid; gap: .85rem; }
.lh-home-example { min-width: 0; padding: .7rem; background: #203867; border: 1px solid #526da7; border-radius: 1rem; display: grid; gap: .55rem; }
.lh-home-example > span { color: #eff5ff; font-size: .8rem; }
.lh-home-business { min-width: 0; overflow: hidden; border-radius: .85rem; color: #41231c; background: #fff9f0; }
.lh-home-business img { display: block; width: 100%; height: clamp(6rem, 17vw, 13rem); object-fit: cover; object-position: center 46%; }
.lh-home-business-content { display: grid; gap: .55rem; padding: 1rem; }
.lh-home-business-content h2 { font: bold clamp(1.25rem, 2.9vw, 1.85rem)/1.22 Georgia, serif; }
.lh-home-business-content .lh-action { background: #8b3729; color: white; border-color: #8b3729; }
.lh-home-business-content .lh-action:hover { background: #712a1f; }
.lh-home-business-content .lh-action:focus-visible { outline-color: #8b3729; }

.lh-skip-link {
    position: absolute;
    z-index: 30;
    inset: .6rem auto auto .6rem;
    padding: .6rem .8rem;
    border-radius: .45rem;
    color: var(--lh-navy);
    background: white;
    transform: translateY(-200%);
}
.lh-skip-link:focus { transform: translateY(0); }

.lh-platform { max-width: 80rem; margin: 0 auto; padding: clamp(.85rem, 3vw, 1.75rem); }
.lh-platform-heading {
    padding: clamp(1rem, 3vw, 1.6rem);
    color: var(--lh-ink);
    background: white;
    border: 1px solid var(--lh-line);
    border-radius: 1rem;
}
.lh-platform-heading h1 { font-size: clamp(1.4rem, 3.5vw, 2.25rem); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.lh-platform-header-actions, .lh-platform-sections { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.lh-platform-sections { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--lh-line); }
.lh-platform-sections a { min-height: 44px; padding: .65rem .7rem; color: #233fb1; font-size: .875rem; font-weight: 650; border-radius: .45rem; }
.lh-platform-sections a:hover { background: var(--lh-canvas); }
.lh-platform :is(button, a, summary, input, select):focus-visible { outline: 2px solid var(--lh-action); outline-offset: 3px; }
.lh-platform :is(section, details)[id] { scroll-margin-top: 1rem; }
.lh-platform-disclosure > summary {
    color: var(--lh-ink);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    padding-block: .35rem;
}
.lh-platform-disclosure[open] > summary { margin-bottom: .65rem; }
.lh-platform-finance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
    gap: .7rem;
    font-variant-numeric: tabular-nums;
}
.lh-platform-company { overflow-wrap: anywhere; }
.lh-platform-company .lh-platform-disclosure { border-top: 1px solid var(--lh-line); padding-top: .5rem; }
.lh-platform-company .lh-platform-disclosure > summary { font-size: .875rem; }

@media (max-width: 700px) {
    .lh-workspace, .lh-workspace[data-menu-open="false"] {
        grid-template: "toolbar" auto "sidebar" auto "content" 1fr / minmax(0, 1fr);
    }
    .lh-workspace[data-menu-open="false"] .lh-sidebar { display: none; }
    .lh-sidebar { display: flex; flex-wrap: wrap; padding: .55rem .85rem; }
    .lh-account-menu { position: static; }
    .lh-account-popover { top: calc(100% + .2rem); right: .75rem; }
    .lh-home-hero { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .lh-business-grid { grid-template-columns: minmax(0, 1fr); }
    .lh-menu-toggle, .lh-account-menu summary, .lh-toolbar-logout { font-size: .79rem; padding-inline: .48rem; min-height: 44px; }
    .lh-toolbar-actions { gap: .3rem; }
}
