.overview-legacy {
    display: none !important;
}

.overview-modular {
    --overview-navy: #053b6b;
    --overview-navy-dark: #032b4f;
    --overview-blue: #17689b;
    --overview-gold: #d6a118;
    --overview-ink: #15364f;
    --overview-muted: #526b7f;
    --overview-surface: #f2f6f9;
    --overview-border: #dbe5ec;
    color: var(--overview-ink);
    scroll-behavior: smooth;
}

.overview-modular h1,
.overview-modular h2,
.overview-modular h3,
.overview-modular p {
    margin-top: 0;
}

.overview-modular__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: linear-gradient(135deg, var(--overview-navy-dark), var(--overview-blue));
    color: #fff;
}

.overview-modular__hero::before {
    position: absolute;
    inset: -8%;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, .13) 0 8%, rgba(255, 255, 255, .025) 8.4%, transparent 9%),
        radial-gradient(circle at 78% 72%, rgba(255, 255, 255, .09) 0 6%, rgba(255, 255, 255, .02) 6.4%, transparent 7%),
        radial-gradient(circle at 96% 82%, rgba(255, 255, 255, .045) 0 3%, transparent 3.5%);
    animation: overview-circle-float 16s ease-in-out infinite alternate;
    content: "";
    pointer-events: none;
    will-change: transform;
}

.overview-modular__hero::after {
    position: absolute;
    inset: -24px;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: overview-dot-drift 24s linear infinite;
    content: "";
    pointer-events: none;
    will-change: transform;
}

.overview-modular__hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.overview-modular__hero h1 {
    max-width: 900px;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.30;
}

.overview-modular__hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.65;
}

.overview-modular__eyebrow {
    display: block;
    margin-bottom: .85rem;
    margin-top: .85rem;
    color: var(--overview-gold);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.overview-modular__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.overview-modular__actions .btn {
    padding: .8rem 1.25rem;
    border: 0;
    border-radius: .45rem;
    font-weight: 700;
}

.overview-modular__text-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.overview-modular__text-link:hover,
.overview-modular__text-link:focus {
    color: #fff;
    text-decoration: underline;
}

.overview-modular__law-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--overview-border);
}

.overview-modular__law-icon,
.overview-modular__card-icon,
.overview-modular__legal-icon {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border-radius: .65rem;
    background: var(--overview-navy);
    color: #fff;
    font-size: 1.25rem;
}

.overview-modular__law-summary h2 {
    margin-bottom: .35rem;
    color: var(--overview-ink);
    font-size: 1.25rem;
    font-weight: 700;
}

.overview-modular__law-summary p,
.overview-modular__intro p,
.overview-modular__legal-intro p,
.overview-modular__card p {
    color: var(--overview-muted);
    line-height: 1.65;
}

.overview-modular__law-summary p {
    margin-bottom: 0;
}

.overview-modular__law-link {
    color: var(--overview-blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.overview-modular__law-link:hover,
.overview-modular__law-link:focus {
    color: var(--overview-navy-dark);
    text-decoration: none;
}

.overview-modular__intro {
    max-width: 900px;
    padding-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.overview-modular__intro h2 {
    margin-bottom: 1rem;
    color: var(--overview-gold);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.025em;
}

.overview-modular__section-heading h2,
.overview-modular__legal-intro h2,
.overview-modular__workflow h2 {
    margin-bottom: 1rem;
    color: var(--overview-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.025em;
}

.overview-modular__intro p {
    margin-right: auto;
    margin-bottom: .9rem;
    margin-left: auto;
    font-size: 1.05rem;
}

.overview-modular__capabilities {
    padding-top: 1rem;
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.overview-modular__section-heading {
    max-width: 720px;
    margin-bottom: 2.25rem;
}

.overview-modular__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--overview-border);
    border-radius: .85rem;
    background: var(--overview-border);
}

.overview-modular__card {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
}

.overview-modular__card--wide {
    grid-column: span 3;
}

.overview-modular__card-icon {
    margin-bottom: 1.3rem;
    background: var(--overview-surface);
    color: var(--overview-navy);
}

.overview-modular__card h3 {
    margin-bottom: .85rem;
    color: var(--overview-ink);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
}

.overview-modular__card p {
    margin-bottom: .8rem;
    font-size: .96rem;
}

.overview-modular__card p:last-child {
    margin-bottom: 0;
}

.overview-modular__workflow {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--overview-navy);
    color: #fff;
}

.overview-modular__workflow > .container {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 3rem;
}

.overview-modular__workflow h2 {
    margin-bottom: 0;
    color: #fff;
}

.overview-modular__workflow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.overview-modular__workflow-steps::before {
    position: absolute;
    top: 1rem;
    right: calc(25% - 1rem);
    left: 1rem;
    height: 1px;
    background: rgba(255, 255, 255, .4);
    content: "";
}

.overview-modular__workflow-steps li {
    position: relative;
    display: grid;
    gap: .65rem;
}

.overview-modular__workflow-steps span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--overview-gold);
    color: var(--overview-navy-dark);
    font-weight: 700;
}

.overview-modular__workflow-steps strong {
    font-size: 1rem;
}

.overview-modular__legal-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2rem;
    padding-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: 2.5rem;
}

.overview-modular__legal-icon {
    width: 5rem;
    height: 5rem;
    background: var(--overview-surface);
    color: var(--overview-navy);
    font-size: 2.2rem;
}

.overview-modular__legal-intro p {
    max-width: 900px;
    margin-bottom: .9rem;
}

.overview-modular__legal-accordion {
    padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
    background: transparent !important;
}

.overview-modular__legal-accordion .accordion {
    background: transparent;
}

.overview-modular__legal-accordion .accordion-item {
    overflow: hidden;
    border: 0;
    border-top: 1px solid var(--overview-border);
    border-bottom: 1px solid var(--overview-border);
    border-radius: 0;
    background: transparent;
}

.overview-modular__legal-accordion .accordion-button {
    gap: 1.5rem;
    min-height: 4.75rem;
    padding: 1.25rem 0;
    background: transparent;
    color: var(--overview-ink);
    font-family: inherit;
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
    font-weight: 500;
    line-height: 1.5;
    transition: color .2s ease;
}

.overview-modular__legal-accordion .accordion-button::after {
    width: .75rem;
    height: .75rem;
    margin-right: .2rem;
    background-image: none;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.overview-modular__legal-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--overview-navy);
    box-shadow: none;
}

.overview-modular__legal-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(225deg);
}

.overview-modular__legal-accordion .accordion-button:hover {
    color: var(--overview-navy);
}

.overview-modular__legal-accordion .accordion-button:focus-visible {
    border-radius: .25rem;
    outline: 2px solid var(--overview-gold);
    outline-offset: 4px;
}

.overview-modular__legal-accordion .accordion-body {
    padding: 2rem 0 0;
    border-top: 1px solid color-mix(in srgb, var(--overview-border) 55%, transparent);
}

.overview-modular__closing {
    width: 100%;
    max-width: none;
    margin: 0;
}

@media (max-width: 991.98px) {
    .overview-modular__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-modular__card--wide {
        grid-column: span 2;
    }

    .overview-modular__workflow > .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .overview-modular__hero {
        padding: 4rem 0;
    }

    .overview-modular__law-summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .overview-modular__law-link {
        grid-column: 2;
        justify-self: start;
    }

    .overview-modular__grid {
        grid-template-columns: 1fr;
    }

    .overview-modular__card--wide {
        grid-column: auto;
    }

    .overview-modular__workflow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .overview-modular__workflow-steps::before {
        display: none;
    }

    .overview-modular__legal-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479.98px) {
    .overview-modular__workflow-steps {
        grid-template-columns: 1fr;
    }
}

@keyframes overview-circle-float {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-1.2%, 1.8%, 0) scale(1.025);
    }

    100% {
        transform: translate3d(1%, -1.2%, 0) scale(1.045);
    }
}

@keyframes overview-dot-drift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(24px, 24px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .overview-modular {
        scroll-behavior: auto;
    }

    .overview-modular__hero::before,
    .overview-modular__hero::after {
        animation: none;
    }
}
