body { font-family: 'DM Sans', system-ui, sans-serif; }
.heading-serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

.nav-scrolled {
    background: rgba(255,255,255,.92);
    border-color: rgba(2,79,124,.06);
    box-shadow: 0 1px 0 rgba(2,79,124,.06), 0 12px 40px rgba(15,23,42,.06);
}
.nav-scrolled .nav-link { color: #64748b; }
.nav-scrolled .nav-link:hover { color: #024f7c; }
.nav-scrolled .nav-link-active { color: #024f7c; }
.nav-scrolled .nav-brand-sub { color: #64748b; }
.nav-scrolled .nav-brand-name { color: #024f7c; }
.nav-scrolled .nav-social { color: #94a3b8; }
.nav-scrolled .nav-social:hover { color: #024f7c; }
.nav-scrolled .nav-menu-btn { color: #024f7c; }

.btn-primary { transition: all .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(2,79,124,.38); }

.article-page { background: #fff; }
.article-hero-img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 16px 48px -20px rgba(2,79,124,.2);
}
.page-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #024f7c;
}
.tag-tutorial { background: #ecfdf5; color: #15803d; }
.tag-news { background: #e8f4fa; color: #024f7c; }
.tag-interview { background: #fff7ed; color: #c2410c; }
.tag-research { background: #fef3c7; color: #b45309; }
.tag-featured { background: #ecfdf5; color: #15803d; }

.article-date-banner { letter-spacing: .01em; }
.article-date-line {
    font-size: .9rem;
    color: #64748b;
    padding: .85rem 1rem;
    background: #f8fafc;
    border-radius: .75rem;
    border: 1px solid rgba(2,79,124,.1);
    margin-bottom: 1.5rem;
}

.article-prose h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-top: 2.25rem;
    margin-bottom: .85rem;
    line-height: 1.25;
}
.article-prose h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #024f7c;
    margin-top: 1.75rem;
    margin-bottom: .65rem;
}
.article-prose p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}
.article-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}
.article-prose ul > li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 0.55rem;
    color: #475569;
    line-height: 1.7;
}
.article-prose ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.42rem;
    height: 0.42rem;
    background: #024f7c;
    border-radius: 2px;
}
.article-prose ul ul > li::before {
    width: 0.34rem;
    height: 0.34rem;
    background: transparent;
    border: 2px solid #024f7c;
    border-radius: 1px;
    top: 0.68em;
}
.article-prose ol {
    list-style: none;
    counter-reset: article-step;
    padding-left: 0;
    margin-bottom: 1.25rem;
}
.article-prose ol > li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.55rem;
    counter-increment: article-step;
    color: #475569;
    line-height: 1.7;
}
.article-prose ol > li::before {
    content: counter(article-step);
    position: absolute;
    left: 0;
    top: 0.12em;
    min-width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: #024f7c;
    border-radius: 9999px;
}
.article-prose li:last-child { margin-bottom: 0; }
.article-prose strong { color: #0f172a; }

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.75rem;
    font-size: .92rem;
    line-height: 1.5;
}
.article-table th,
.article-table td {
    border: 1px solid rgba(2,79,124,.14);
    padding: .65rem .75rem;
    text-align: left;
    vertical-align: top;
}
.article-table th {
    background: #f0f7fb;
    color: #024f7c;
    font-weight: 600;
}
.article-table tbody tr:nth-child(even) { background: #f8fafc; }

.article-authors,
.article-disclaimer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(2,79,124,.1);
}
.article-disclaimer p {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.65;
}

.callout {
    background: #f8fbfd;
    border: 1px solid rgba(2,79,124,.12);
    border-left: 3px solid #024f7c;
    border-radius: .75rem;
    padding: 1.15rem 1.35rem;
    margin: 1.75rem 0;
}
.callout-warn {
    background: #fffbeb;
    border-color: #fde68a;
    border-left-color: #f59e0b;
}
.callout p:last-child { margin-bottom: 0; }

.step-block {
    background: #f8fafc;
    border: 1px solid rgba(2,79,124,.1);
    border-radius: .85rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    background: #024f7c;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    margin-right: .5rem;
}

.article-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .92rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 100%;
}
.article-prose table th,
.article-prose table td {
    vertical-align: top;
    border: 1px solid rgba(2,79,124,.12);
    padding: .65rem .85rem;
    text-align: left;
}
.article-prose table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}
.article-prose a.text-brand { text-decoration: underline; text-underline-offset: 2px; }

.sidebar-newsletter-input {
    width: 100%;
    padding: .7rem 1rem;
    border-radius: .75rem;
    border: 1px solid rgba(2, 79, 124, 0.18);
    background: #fff;
    color: #0f172a;
    font-size: .82rem;
    outline: none;
}
.sidebar-newsletter-input:focus { border-color: #024f7c; box-shadow: 0 0 0 3px rgba(2,79,124,.1); }
.sidebar-newsletter-input::placeholder { color: #94a3b8; }

.disclaimer {
    font-size: .78rem;
    color: #94a3b8;
    border-top: 1px solid rgba(2,79,124,.1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    line-height: 1.6;
}

.site-footer {
    background: linear-gradient(180deg, #060d18 0%, #0a1628 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #024f7c 20%, #38bdf8 50%, #024f7c 80%, transparent 100%);
}
.footer-heading {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 1.25rem;
}
.footer-office-title { font-size: .9rem; font-weight: 600; color: #fff; }
.footer-office-link {
    color: rgba(226,232,240,.72);
    font-size: .82rem;
    line-height: 1.65;
    transition: color .2s;
}
.footer-office-link:hover { color: #38bdf8; }
.footer-text { color: rgba(226,232,240,.72); font-size: .82rem; line-height: 1.65; }
.footer-link { color: rgba(226,232,240,.78); transition: color .2s; }
.footer-link:hover { color: #38bdf8; }
.footer-social-btn {
    width: 2.25rem; height: 2.25rem;
    border-radius: 9999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #e2e8f0;
    transition: all .22s ease;
}
.footer-social-btn:hover { background: #024f7c; border-color: #38bdf8; color: #fff; }
.footer-newsletter-input {
    flex: 1; padding: .7rem 1rem;
    border-radius: .75rem 0 0 .75rem;
    border: 1px solid rgba(255,255,255,.12);
    border-right: none;
    background: rgba(255,255,255,.05);
    color: #fff; font-size: .82rem; outline: none;
}
.footer-newsletter-input::placeholder { color: rgba(226,232,240,.45); }
.footer-newsletter-btn {
    padding: .7rem 1.1rem;
    border-radius: 0 .75rem .75rem 0;
    background: #024f7c; color: #fff;
    font-size: .82rem; font-weight: 600;
}
.footer-legal-link { color: rgba(226,232,240,.65); font-size: .78rem; }
.footer-legal-link:hover { color: #38bdf8; }