:root {
    --ink: #13294b;
    --blue: #2176ff;
    --sky: #d5e7ff;
    --paper: #fdfffc;
    --mist: #e4edf6;
    --green: #2ec4b6;
    --grey: #566579;
    --border: #d8e1ec;
    --shadow: 0 18px 50px rgba(19, 41, 75, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: white;
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(216, 225, 236, .8);
    background: rgba(253, 255, 252, .94);
    backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-inner {
    min-height: 74px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.06em;
    text-decoration: none;
}

.site-header nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-header nav a,
.site-footer nav a {
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.breadcrumbs a:hover,
.format-card a:hover {
    color: var(--blue);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    color: white;
    background: var(--blue);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(33, 118, 255, .22);
    font-weight: 800;
    text-decoration: none;
}

.button-small {
    min-height: 40px;
    padding-inline: 18px;
    color: white !important;
}

.index-hero,
.article-hero {
    position: relative;
    overflow: hidden;
    color: white;
    background-color: var(--ink);
    background-image:
        radial-gradient(circle at 72% 15%, rgba(46, 196, 182, .25), transparent 28%),
        radial-gradient(rgba(33, 118, 255, .38) 1px, transparent 1px);
    background-size: auto, 26px 26px;
}

.index-hero-inner {
    padding-block: 96px 104px;
}

.article-hero-inner {
    max-width: 900px;
    padding-block: 46px 80px;
}

.index-hero h1,
.article-hero h1 {
    max-width: 900px;
    margin: 10px 0 18px;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.06;
    letter-spacing: -.055em;
}

.article-hero h1 {
    font-size: clamp(2.35rem, 6vw, 4.5rem);
}

.eyebrow {
    margin: 0;
    color: var(--green);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--blue);
}

.index-intro,
.article-deck {
    max-width: 740px;
    margin: 0;
    color: #dbe6f5;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.index-intro p {
    margin: 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: #b9c9dd;
    font-size: .86rem;
}

.breadcrumbs a {
    text-decoration: none;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    color: #c3d1e3;
    font-size: .85rem;
    font-weight: 650;
}

.article-cover {
    position: relative;
    z-index: 2;
    margin-block: -36px 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(216, 225, 236, .75);
    border-radius: 24px;
    background: var(--mist);
    box-shadow: 0 24px 70px rgba(19, 41, 75, .2);
}

.article-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.article-list-section {
    padding-block: 76px 110px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.section-heading > p {
    max-width: 440px;
    margin: 0;
    color: var(--grey);
}

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

.article-card,
.empty-state {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
}

.article-card h3,
.empty-state h3 {
    margin: 24px 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.22;
    letter-spacing: -.03em;
}

.article-card h3 a {
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--blue);
}

.article-card > p,
.empty-state p {
    color: var(--grey);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--grey);
    font-size: .75rem;
    font-weight: 750;
    text-transform: uppercase;
}

.card-link {
    margin-top: auto;
    color: var(--blue);
    font-weight: 850;
    text-decoration: none;
}

.article-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 720px);
    align-items: start;
    justify-content: center;
    gap: 70px;
    padding-block: 70px 100px;
}

.format-card {
    position: sticky;
    top: 104px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f6f9fd;
}

.format-card strong,
.format-card a {
    display: block;
}

.format-card p {
    margin: 7px 0 16px;
    color: var(--grey);
    font-size: .82rem;
    line-height: 1.55;
}

.format-card a {
    padding-block: 7px;
    color: var(--blue);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.article-content {
    min-width: 0;
    color: #263b59;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: 1.16rem;
    line-height: 1.88;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--ink);
    font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
    line-height: 1.2;
    letter-spacing: -.035em;
    scroll-margin-top: 100px;
}

.article-content h2 {
    margin: 2.4em 0 .75em;
    font-size: 2rem;
}

.article-content h3 {
    margin: 2em 0 .65em;
    font-size: 1.55rem;
}

.article-content h4 {
    margin: 1.8em 0 .6em;
    font-size: 1.25rem;
}

.article-content a {
    color: #145fc9;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.editorial-quote {
    margin: 2.4em 0;
    padding: 26px 30px;
    border-left: 5px solid var(--green);
    background: #effaf8;
    border-radius: 0 14px 14px 0;
}

.editorial-quote blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 650;
}

.editorial-quote figcaption {
    margin-top: 10px;
    color: var(--grey);
    font-size: .88rem;
}

.editorial-image {
    margin: 2.4em 0;
}

.editorial-image img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.editorial-image figcaption {
    margin-top: 10px;
    color: var(--grey);
    font-family: Montserrat, Inter, sans-serif;
    font-size: .78rem;
    text-align: center;
}

.faq-item {
    margin: 2em 0;
    padding: 25px 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.faq-item h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.sources {
    margin-top: 60px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.sources ol {
    padding-left: 25px;
    font-family: Montserrat, Inter, sans-serif;
    font-size: .9rem;
}

.article-cta {
    margin: 2.4em 0;
    padding: 34px;
    color: white;
    background: var(--ink);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(19, 41, 75, .18);
    font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
}

.article-cta h2 {
    margin: 8px 0 0;
    color: white;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.article-cta-description {
    margin: 14px 0 22px;
    color: #c3d1e3;
    font-size: .96rem;
    line-height: 1.6;
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-content .article-cta .button {
    color: white;
    text-decoration: none;
}

.button-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, .42);
    background: transparent;
    box-shadow: none;
}

.button-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, .1);
}

.site-footer {
    padding-block: 54px;
    border-top: 1px solid var(--border);
    color: var(--grey);
    background: #f5f8fc;
}

.brand-footer {
    color: var(--ink);
}

.site-footer p {
    margin: 5px 0 0;
    font-size: .85rem;
}

@media (max-width: 820px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

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

    .format-card {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .format-card strong,
    .format-card p {
        grid-column: 1 / -1;
    }

    .section-heading,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .shell {
        width: min(100% - 28px, 1120px);
    }

    .site-header nav > a:first-child,
    .site-header nav > a:nth-child(2) {
        display: none;
    }

    .index-hero-inner {
        padding-block: 72px;
    }

    .article-hero-inner {
        padding-block: 30px 58px;
    }

    .article-layout {
        padding-block: 38px 70px;
    }

    .article-content {
        font-size: 1.06rem;
    }

    .article-card {
        min-height: 280px;
        padding: 24px;
    }

    .article-cta {
        padding: 28px 22px;
    }

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