@font-face {
    font-family: 'QuestaMedium';
    src: url('../fonts/questa-medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --surface: #012F6B;
    --text: #f6f2e9;
    --text-soft: rgba(246, 242, 233, 0.78);
    --text-muted: rgba(246, 242, 233, 0.6);
    --line-soft: rgba(246, 242, 233, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--surface);
    color: var(--text);
    font-family: 'QuestaMedium', serif;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 6vw, 4.5rem);
    text-align: left;
}

h1 {
    font-size: 4rem;
    font-weight: normal;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: normal;
    line-height: 1.12;
}

a {
    color: inherit;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.25rem, 5vw, 4.5rem);
    border-top: 1px solid var(--line-soft);
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-soft);
    padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.footer-company {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.95rem;
    min-width: 0;
}

.footer-company > * {
    min-width: 0;
}

.footer-company strong {
    color: var(--text);
    font-weight: normal;
}

.footer-company span {
    overflow-wrap: anywhere;
}

.footer-links {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    text-transform: uppercase;
}

.footer-label-short {
    display: none;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text-soft);
}

.footer-links a[aria-current="page"] {
    color: var(--text-soft);
}

.content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.subtitle {
    max-width: 760px;
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--text-soft);
}

.holdings-strip {
    padding: 0 clamp(1.25rem, 6vw, 4.5rem) clamp(2.25rem, 5vw, 4rem);
    text-align: center;
}

.holdings-strip-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.holdings-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 7vw, 5rem);
}

.holding-logo {
    display: grid;
    min-width: 0;
    min-height: 3.6rem;
    place-items: center;
    opacity: 0.58;
    filter: grayscale(1) brightness(0) invert(1);
    transition: opacity 180ms ease;
}

.holding-logo:hover,
.holding-logo:focus-visible {
    opacity: 0.78;
}

.holding-logo img {
    width: auto;
    max-width: min(58vw, 18rem);
    max-height: 3.2rem;
    object-fit: contain;
}

.holding-logo-cavicondor img {
    max-width: min(64vw, 20rem);
    max-height: 3.55rem;
}

.legal-main {
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 6vw, 4.5rem);
    text-align: left;
}

.legal-article {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.legal-home {
    display: inline-flex;
    margin-bottom: clamp(3.5rem, 7vw, 5.75rem);
    color: var(--text);
    font-size: 1.1rem;
    text-decoration: none;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: clamp(0.86rem, 1.25vw, 0.98rem);
    line-height: 1.3;
    text-transform: uppercase;
}

.legal-article h1 {
    max-width: 800px;
    margin-bottom: 1.35rem;
    font-size: clamp(3.15rem, 7vw, 5.35rem);
    line-height: 1;
}

.legal-meta {
    margin-bottom: clamp(3.25rem, 6.5vw, 5rem);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.legal-section {
    max-width: 820px;
    padding-block: clamp(2.15rem, 4vw, 3rem);
    border-top: 1px solid var(--line-soft);
}

.legal-section h2 {
    margin-bottom: 1rem;
}

.legal-section p,
.legal-list,
.legal-details {
    color: var(--text-soft);
    font-size: clamp(0.98rem, 1.15vw, 1.06rem);
}

.legal-section p {
    max-width: 760px;
    line-height: 1.75;
}

.legal-section p + p {
    margin-top: 1rem;
}

.legal-list {
    display: grid;
    gap: 0.95rem;
    padding-left: 1.1rem;
    line-height: 1.7;
}

.legal-details {
    display: grid;
    border-top: 1px solid var(--line-soft);
    background: transparent;
}

.legal-details div {
    display: grid;
    grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-soft);
    background: transparent;
}

dt {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.legal-section a,
.legal-details a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

@media (max-width: 700px) {
    h1 {
        font-size: 2.5rem;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 1.25rem;
    }

    .footer-company {
        display: grid;
        gap: 0.25rem;
    }

    .footer-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem 0.75rem;
        font-size: 0.78rem;
    }

    .footer-label-full {
        display: none;
    }

    .footer-label-short {
        display: inline;
    }

    .subtitle {
        font-size: 1rem;
    }

    main {
        padding: 2.75rem 1.25rem;
    }

    .holdings-strip {
        padding-bottom: 1.25rem;
    }

    .holdings-logos {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .holding-logo {
        min-height: 1.9rem;
    }

    .holding-logo img {
        max-width: min(40vw, 9rem);
        max-height: 1.85rem;
    }

    .holding-logo-cavicondor img {
        max-width: min(48vw, 11rem);
        max-height: 2.25rem;
    }

    .legal-main {
        padding: 2.75rem 1.25rem;
    }

    .legal-home {
        margin-bottom: 2.75rem;
    }

    .legal-article h1 {
        margin-bottom: 1.15rem;
        font-size: clamp(2.6rem, 15vw, 3.5rem);
    }

    .legal-meta {
        margin-bottom: 2.9rem;
    }

    .legal-section {
        padding-block: 1.85rem;
    }

    .legal-details div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}
