*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.insights-page {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.insights-page img {
    max-width: 100%;
}

.insights-page a {
    color: inherit;
    text-decoration: none;
}

.insights-page h1,
.insights-page h2,
.insights-page h3,
.insights-page p,
.insights-page ul,
.insights-page ol {
    margin-top: 0;
}

.insights-page h1,
.insights-page h2,
.insights-page h3 {
    color: var(--navy);
    font-family: "IBM Plex Serif", Georgia, serif;
    line-height: 1.16;
}

.insights-page .container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.insights-page :focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.button--primary {
    background: var(--red);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(217, 45, 32, .2);
}

.button--primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 32px;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--red);
}

.breadcrumbs--light {
    color: rgba(255, 255, 255, .72);
}

.breadcrumbs--light a:hover {
    color: #fff;
}

/* Insights hub */
.insights-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 83% 20%, rgba(247, 144, 9, .2), transparent 30%),
        linear-gradient(125deg, #101828 0%, #1d2939 62%, #2d1112 100%);
    color: #fff;
}

.insights-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -230px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.insights-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 54px 80px;
}

.insights-hero__eyebrow,
.article-topic,
.insights-library__heading > span,
.insights-assessment__inner > div > span,
.related-articles__heading > span,
.article-cta__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.insights-hero__eyebrow {
    color: var(--gold);
}

.insights-hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(46px, 7vw, 76px);
    letter-spacing: -.04em;
}

.insights-hero__inner > p {
    max-width: 760px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(19px, 2.4vw, 24px);
    line-height: 1.55;
}

.insights-hero__note {
    max-width: 720px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.5;
}

.insights-hero__note i {
    margin-top: 2px;
    color: var(--gold);
    font-size: 19px;
}

.insights-library {
    padding-block: 88px 100px;
    background: var(--surface);
}

.insights-library__heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.insights-library__heading h2,
.insights-assessment h2,
.related-articles h2 {
    margin-bottom: 14px;
    font-size: clamp(31px, 4vw, 44px);
    letter-spacing: -.025em;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.insight-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 45, 32, .35);
    box-shadow: 0 20px 38px rgba(16, 24, 40, .1);
}

.insight-card__topic {
    width: fit-content;
    margin-bottom: 24px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--red-light);
    color: var(--red-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.insight-card h2 {
    margin-bottom: 16px;
    font-size: 25px;
}

.insight-card p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
}

.insight-card__link {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
}

.insights-assessment {
    padding-block: 76px;
    background: #fff;
}

.insights-assessment__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 60px;
    padding: 44px 48px;
    border-left: 5px solid var(--red);
    border-radius: 14px;
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
}

.insights-assessment h2 {
    max-width: 670px;
    color: #fff;
}

.insights-assessment__inner p {
    max-width: 720px;
    margin-bottom: 0;
}

.insights-assessment__inner > div > span {
    color: var(--gold);
}

.insights-assessment__action {
    min-width: 270px;
    display: grid;
    gap: 13px;
}

.insights-assessment__action > strong {
    color: #fff;
    font-size: 22px;
    text-align: center;
}

/* Article pages */
.article-hero {
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(217, 45, 32, .05), transparent 40%),
        var(--surface);
}

.article-hero__inner {
    max-width: 930px;
    padding-block: 48px 64px;
}

.article-hero h1 {
    max-width: 900px;
    margin-bottom: 22px;
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -.035em;
}

.article-summary {
    max-width: 790px;
    margin-bottom: 24px;
    color: #475467;
    font-size: clamp(19px, 2.3vw, 23px);
    line-height: 1.55;
}

.article-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 0;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.article-dates span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px 3px 0;
    border-radius: 50%;
    background: var(--red);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(260px, 320px);
    justify-content: space-between;
    align-items: start;
    gap: 64px;
    padding-block: 72px 88px;
}

.article-content {
    min-width: 0;
    color: #344054;
}

.article-content .article-lead {
    margin-bottom: 40px;
    padding-left: 22px;
    border-left: 4px solid var(--red);
    color: var(--navy-soft);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.65;
}

.article-content h2 {
    margin: 50px 0 18px;
    font-size: clamp(28px, 3.5vw, 36px);
    letter-spacing: -.02em;
}

.article-content p,
.article-content li {
    max-width: 760px;
}

.article-content p {
    margin-bottom: 22px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 28px;
    padding-left: 26px;
}

.article-content li {
    margin-bottom: 11px;
    padding-left: 4px;
}

.article-content strong {
    color: var(--navy);
}

.article-table-wrap {
    width: 100%;
    margin: 28px 0 34px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .04);
}

.article-content table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
    line-height: 1.55;
}

.article-content th,
.article-content td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
}

.article-content tr:last-child td {
    border-bottom: 0;
}

.article-sources,
.article-faq {
    margin-top: 58px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.article-sources ul {
    list-style: none;
    padding-left: 0;
}

.article-sources li {
    padding-left: 0;
}

.article-sources a {
    color: var(--red-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.article-faq details {
    border-bottom: 1px solid var(--border);
}

.article-faq summary {
    position: relative;
    padding: 20px 44px 20px 0;
    color: var(--navy);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}

.article-faq summary::-webkit-details-marker {
    display: none;
}

.article-faq summary::after {
    content: "+";
    position: absolute;
    top: 14px;
    right: 2px;
    color: var(--red);
    font-size: 26px;
    font-weight: 500;
}

.article-faq details[open] summary::after {
    content: "−";
}

.article-faq details p {
    padding: 0 36px 18px 0;
}

.article-disclaimer {
    margin-top: 44px;
    padding: 22px 24px;
    border: 1px solid #fedf89;
    border-radius: 10px;
    background: #fffaeb;
    color: #7a2e0e;
    font-size: 14px;
}

.article-disclaimer strong {
    display: block;
    margin-bottom: 5px;
    color: #7a2e0e;
}

.article-disclaimer p {
    margin-bottom: 0;
}

.article-sidebar {
    position: sticky;
    top: 28px;
}

.article-cta {
    padding: 30px;
    border-top: 5px solid var(--red);
    border-radius: 12px;
    background: var(--navy);
    color: rgba(255, 255, 255, .74);
    box-shadow: 0 18px 38px rgba(16, 24, 40, .16);
}

.article-cta__eyebrow {
    color: var(--gold);
}

.article-cta h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 27px;
}

.article-cta p {
    font-size: 15px;
    line-height: 1.6;
}

.article-cta > strong {
    display: block;
    margin: 22px 0 12px;
    color: #fff;
    font-size: 24px;
}

.article-cta .button {
    width: 100%;
}

.article-cta small {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.55;
}

.related-articles {
    padding-block: 76px 88px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.related-articles__heading {
    margin-bottom: 34px;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
}

.related-card > span {
    margin-bottom: 14px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.related-card h3 {
    margin-bottom: 13px;
    font-size: 23px;
}

.related-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.related-card strong {
    margin-top: auto;
    padding-top: 14px;
    color: var(--red);
    font-size: 14px;
}

@media (max-width: 900px) {
    .insights-grid,
    .related-articles__grid {
        grid-template-columns: 1fr;
    }

    .insight-card {
        min-height: 0;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .article-sidebar {
        position: static;
    }

    .article-cta {
        max-width: 760px;
    }

    .insights-assessment__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .insights-assessment__action {
        min-width: 0;
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    body.insights-page {
        font-size: 16px;
    }

    .insights-page .container {
        width: min(100% - 32px, 1180px);
    }

    .insights-hero__inner,
    .article-hero__inner {
        padding-block: 34px 54px;
    }

    .breadcrumbs {
        margin-bottom: 24px;
    }

    .insights-library,
    .article-layout,
    .related-articles {
        padding-block: 56px;
    }

    .insight-card,
    .article-cta {
        padding: 24px;
    }

    .article-content .article-lead {
        padding-left: 16px;
        font-size: 18px;
    }

    .article-dates {
        display: grid;
        gap: 4px;
    }

    .article-dates span + span::before {
        display: none;
    }

    .insights-assessment {
        padding-block: 48px;
    }

    .insights-assessment__inner {
        padding: 32px 24px;
    }

    .insights-assessment__action,
    .button {
        width: 100%;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insights-page *,
    .insights-page *::before,
    .insights-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
