@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Oswald:wght@600&display=swap');

* {
    box-sizing: border-box;
}

:root {
    --ambient: #4A93B2;
    --ambient-dark: #3D7A94;
    --ambient-light: #E8F2F6;
    --ink: #07090A;
    --gray-700: #404040;
    --gray-500: #6B6B6B;
    --gray-200: #D4D4D4;
    --gray-100: #F5F5F5;
    --gray-050: #FAFAFA;
    --white: #FFFFFF;
    --font-display: 'Oswald', 'Inter', sans-serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow-sm: 0 18px 48px rgba(13, 13, 13, 0.08);
    --shadow-xs: 0 10px 26px rgba(13, 13, 13, 0.06);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(74, 147, 178, 0.14) 0%, rgba(74, 147, 178, 0) 28%),
        linear-gradient(180deg, var(--gray-050) 0%, var(--white) 24%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand-mark img {
    width: 100%;
    height: 100%;
}

.brand-mark::before,
.brand-mark::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.brand-mark::before {
    inset: -14px;
    border: 1px solid rgba(74, 147, 178, 0.18);
}

.brand-mark::after {
    inset: -20px;
    border: 1px dashed rgba(74, 147, 178, 0.12);
}

.nav-wordmark {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 3px;
    border: 1.5px solid var(--ambient);
    color: var(--ambient);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.nav-menu-button,
.nav-backdrop {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--gray-700);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links .btn-primary {
    color: var(--white);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--ambient);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--ambient-dark);
}

.btn-secondary {
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: var(--white);
}

.btn-secondary:hover {
    border-color: rgba(74, 147, 178, 0.38);
}

.hero {
    padding: 88px 0 56px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 40px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(74, 147, 178, 0.1);
    border: 1px solid rgba(74, 147, 178, 0.18);
    color: var(--ambient-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.hero-intro {
    margin: 0;
    max-width: 760px;
    font-size: 20px;
    color: var(--gray-700);
}

.hero-meta {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(74, 147, 178, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #F7FAFC 100%);
    box-shadow: var(--shadow-xs);
}

.hero-meta-item {
    display: grid;
    gap: 6px;
}

.hero-meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.hero-meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.article-shell {
    padding-bottom: 96px;
}

.feature-figure {
    margin: 0 0 48px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(74, 147, 178, 0.14);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.feature-figure img {
    width: 100%;
    height: auto;
}

.feature-figure figcaption {
    padding: 16px 20px 18px;
    font-size: 13px;
    color: var(--gray-500);
    background: rgba(255, 255, 255, 0.96);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 48px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.article-body h2 {
    margin: 56px 0 18px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.article-body p {
    margin: 0 0 22px;
    font-size: 18px;
    color: var(--gray-700);
}

.article-body strong {
    color: var(--ink);
}

.inline-figure {
    margin: 40px 0;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-xs);
}

.inline-figure img {
    width: 100%;
    border-radius: 14px;
}

.inline-figure figcaption {
    margin-top: 14px;
    font-size: 13px;
    color: var(--gray-500);
}

.article-aside {
    position: sticky;
    top: 96px;
}

.listing-shell {
    padding: 32px 0 96px;
}

.listing-header {
    margin-bottom: 36px;
}

.listing-header p {
    max-width: 760px;
    margin: 0;
    font-size: 19px;
    color: var(--gray-700);
}

.article-list {
    display: grid;
    gap: 18px;
}

.article-list-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #F7FAFC 100%);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
}

.article-list-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(74, 147, 178, 0.14);
    background: var(--ambient-light);
}

.article-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.article-list-body {
    min-width: 0;
}

.article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.article-list-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(74, 147, 178, 0.2);
    background: rgba(74, 147, 178, 0.08);
    color: var(--ambient-dark);
}

.article-list-card h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.article-list-card p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-700);
}

.article-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.article-list-tag {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-700);
}

.article-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: var(--gray-500);
}

.article-list-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
}

.article-list-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.aside-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.aside-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 12px;
}

.aside-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    color: var(--gray-700);
}

.aside-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.aside-card .btn-secondary {
    width: 100%;
}

footer {
    padding: 40px 0 56px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    text-decoration: none;
    color: var(--gray-500);
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-copy {
    font-size: 14px;
    color: var(--gray-500);
}

@media (max-width: 900px) {
    .container,
    .nav-inner {
        width: min(1200px, calc(100% - 32px));
    }

    .nav-badge {
        display: none;
    }

    .nav-menu-button,
    .nav-backdrop {
        display: inline-flex;
    }

    .nav-menu-button {
        position: relative;
        z-index: 3;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.96);
        color: var(--ink);
    }

    .nav-menu-lines {
        position: relative;
        width: 20px;
        height: 14px;
    }

    .nav-menu-lines span {
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
    }

    .nav-menu-lines span:nth-child(1) {
        top: 0;
    }

    .nav-menu-lines span:nth-child(2) {
        top: 6px;
    }

    .nav-menu-lines span:nth-child(3) {
        top: 12px;
    }

    nav.is-open .nav-menu-lines span:nth-child(1) {
        top: 6px;
        transform: rotate(45deg);
    }

    nav.is-open .nav-menu-lines span:nth-child(2) {
        opacity: 0;
    }

    nav.is-open .nav-menu-lines span:nth-child(3) {
        top: 6px;
        transform: rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 82px;
        left: 16px;
        right: 16px;
        z-index: 2;
        display: grid;
        gap: 0;
        padding: 18px;
        border-radius: 18px;
        border: 1px solid rgba(74, 147, 178, 0.16);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 60px rgba(13, 13, 13, 0.14);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-links a {
        padding: 14px 6px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn-primary {
        width: 100%;
        margin-top: 16px;
        color: var(--white);
    }

    nav.is-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1;
        border: 0;
        background: rgba(7, 9, 10, 0.16);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    nav.is-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-layout,
    .article-layout,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .article-list-card {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .hero-intro,
    .article-body p {
        font-size: 17px;
    }

    .feature-figure {
        border-radius: 18px;
    }

    .inline-figure {
        margin: 32px 0;
        padding: 14px;
    }

    .article-list-card h2 {
        font-size: 30px;
    }

    .article-list-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-menu-lines span,
    .nav-links,
    .nav-backdrop,
    .btn-primary,
    .btn-secondary {
        transition: none;
    }
}
