:root {
    --topic-navy: #0f2742;
    --topic-blue: #087fad;
    --topic-cyan: #37afd0;
    --topic-green: #22a66f;
    --topic-ink: #173b57;
    --topic-muted: #58738a;
    --topic-soft: #f3f8fb;
    --topic-line: #d7e3eb;
}

.topic-page {
    color: var(--topic-ink);
    background: #fff;
}

.topic-hero {
    position: relative;
    isolation: isolate;
    min-height: 580px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(8, 31, 54, .96), rgba(8, 71, 101, .82)),
        var(--topic-image) center/cover no-repeat;
}

.topic-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -180px auto;
    z-index: -1;
    width: 480px;
    height: 480px;
    border: 80px solid rgba(55, 175, 208, .16);
    border-radius: 50%;
}

.topic-hero .container {
    padding-top: 104px;
    padding-bottom: 104px;
}

.topic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #bdeeff;
    font-weight: 700;
    letter-spacing: .06em;
}

.topic-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: var(--topic-cyan);
}

.topic-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.8vw, 68px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.topic-hero .topic-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: #e3f5ff;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

.topic-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.topic-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.topic-button:hover,
.topic-button:focus-visible {
    transform: translateY(-2px);
}

.topic-button-primary {
    background: var(--topic-cyan);
    color: #08263d !important;
}

.topic-button-secondary {
    border-color: rgba(255, 255, 255, .65);
    color: #fff !important;
}

.topic-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.topic-section-soft {
    background: var(--topic-soft);
}

.topic-section-dark {
    color: #e6f4ff;
    background: var(--topic-navy);
}

.topic-section-head {
    max-width: 800px;
    margin-bottom: 42px;
}

.topic-section-head.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.topic-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--topic-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topic-section-dark .topic-kicker {
    color: #81dbf4;
}

.topic-section h2 {
    margin: 0;
    color: var(--topic-navy);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
}

.topic-section-dark h2 {
    color: #fff;
}

.topic-section-head p {
    margin: 18px 0 0;
    color: var(--topic-muted);
    font-size: 17px;
    line-height: 1.75;
}

.topic-section-dark .topic-section-head p {
    color: #c8e2f0;
}

.topic-grid {
    display: grid;
    gap: 22px;
}

.topic-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--topic-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 39, 66, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: #a8ddec;
    box-shadow: 0 18px 42px rgba(15, 39, 66, .12);
}

.topic-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #e8f7fb;
    color: var(--topic-blue);
    font-size: 21px;
}

.topic-card h3 {
    margin: 0;
    color: var(--topic-navy);
    font-size: 21px;
    line-height: 1.4;
}

.topic-card p {
    margin: 12px 0 0;
    color: var(--topic-muted);
    font-size: 16px;
    line-height: 1.7;
}

.topic-scope-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topic-scope-list li {
    position: relative;
    padding: 18px 20px 18px 50px;
    border: 1px solid var(--topic-line);
    border-radius: 14px;
    background: #fff;
    color: var(--topic-ink);
    line-height: 1.65;
}

.topic-scope-list li::before {
    content: "\f00c";
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--topic-green);
    font-family: FontAwesome;
}

.topic-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    counter-reset: topic-step;
}

.topic-step {
    position: relative;
    padding: 70px 22px 24px;
    border: 1px solid rgba(190, 226, 239, .22);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    counter-increment: topic-step;
}

.topic-step::before {
    content: counter(topic-step, decimal-leading-zero);
    position: absolute;
    top: 22px;
    left: 22px;
    color: #70d5ef;
    font-size: 24px;
    font-weight: 800;
}

.topic-step h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.topic-step p {
    margin: 10px 0 0;
    color: #c8e2f0;
    font-size: 15px;
    line-height: 1.65;
}

.topic-metric {
    padding: 26px;
    border-top: 4px solid var(--topic-cyan);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 39, 66, .07);
}

.topic-metric strong {
    display: block;
    color: var(--topic-navy);
    font-size: 20px;
}

.topic-metric span {
    display: block;
    margin-top: 9px;
    color: var(--topic-muted);
    line-height: 1.6;
}

.topic-faq {
    max-width: 900px;
    margin: 0 auto;
}

.topic-faq details {
    border-bottom: 1px solid var(--topic-line);
}

.topic-faq summary {
    position: relative;
    padding: 22px 48px 22px 0;
    color: var(--topic-navy);
    font-size: 18px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.topic-faq summary::-webkit-details-marker {
    display: none;
}

.topic-faq summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 4px;
    font-size: 26px;
    font-weight: 400;
}

.topic-faq details[open] summary::after {
    content: "−";
}

.topic-faq details p {
    margin: -4px 0 22px;
    color: var(--topic-muted);
    line-height: 1.75;
}

.topic-related a {
    display: block;
    height: 100%;
}

.topic-cta {
    padding: 72px 0;
    background: linear-gradient(125deg, #0d3150, #087fad);
}

.topic-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.topic-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
}

.topic-cta p {
    max-width: 680px;
    margin: 14px 0 0;
    color: #d8f2fb;
    line-height: 1.7;
}

.topic-nav-menu .dropdown-menu {
    min-width: 260px !important;
    padding: 10px !important;
    border: 1px solid var(--topic-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px rgba(15, 39, 66, .15) !important;
}

.topic-nav-menu .dropdown-menu > li > a {
    padding: 10px 13px !important;
    border-radius: 9px;
    color: var(--topic-navy) !important;
    line-height: 1.35;
}

.topic-nav-menu .dropdown-menu > li > a:hover,
.topic-nav-menu .dropdown-menu > li > a:focus {
    background: #edf8fc !important;
}

.footer-topic-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.footer-topic-links > li > strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 17px;
}

.footer-topic-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-topic-links ul li + li {
    margin-top: 8px;
}

.topic-breadcrumb {
    margin: 0 0 22px;
}

.topic-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topic-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: #d8f2fb;
    font-size: 14px;
    line-height: 1.5;
}

.topic-breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(216, 242, 251, .58);
}

.topic-breadcrumb a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: #e8f8fd;
    text-decoration: none;
}

.topic-breadcrumb a:hover,
.topic-breadcrumb a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.topic-breadcrumb a:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 3px;
    border-radius: 3px;
}

.topic-breadcrumb [aria-current="page"] {
    color: #7dd3fc;
    font-weight: 650;
}

.topic-reveal {
    animation: topic-rise .7s both;
}

.topic-grid > .topic-reveal:nth-child(2) { animation-delay: .08s; }
.topic-grid > .topic-reveal:nth-child(3) { animation-delay: .16s; }
.topic-grid > .topic-reveal:nth-child(4) { animation-delay: .24s; }

@keyframes topic-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .topic-grid-4,
    .topic-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .topic-nav-menu .dropdown-menu {
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
    }
}

@media (max-width: 600px) {
    .topic-hero {
        min-height: 620px;
    }

    .topic-hero .container {
        padding: 82px 20px;
    }

    .topic-hero-actions,
    .topic-button {
        width: 100%;
    }

    .topic-grid-4,
    .topic-grid-3,
    .topic-process,
    .topic-scope-list,
    .footer-topic-links {
        grid-template-columns: 1fr;
    }

    .topic-card,
    .topic-metric {
        padding: 24px;
    }

    .topic-section-head {
        margin-bottom: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .topic-reveal,
    .topic-grid > .topic-reveal {
        animation: none !important;
    }
}
