:root {
    --spi-navy: #071d3b;
    --spi-deep: #04152c;
    --spi-blue: #1877f2;
    --spi-blue-dark: #0f5fc9;
    --spi-light-blue: #eaf3ff;
    --spi-text: #172033;
    --spi-muted: #667085;
    --spi-surface: #f6f8fc;
    --spi-white: #ffffff;
    --spi-border: #dce3ee;
    --spi-radius: 18px;
    --spi-shadow: 0 18px 50px rgba(7, 29, 59, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--spi-text); background: var(--spi-white); font-family: "Inter", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--spi-blue); text-decoration: none; }
a:hover { color: var(--spi-blue-dark); }
img { max-width: 100%; height: auto; }
.spi-skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--spi-white); padding: .75rem 1rem; }
.spi-skip-link:focus { left: 1rem; top: 1rem; }
.spi-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(7,29,59,.08); backdrop-filter: blur(12px); }
.spi-header-inner { width: min(1200px, calc(100% - 2rem)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 1.5rem; }
.spi-brand { margin-right: auto; }
.spi-brand img { max-height: 54px; width: auto; }
.spi-brand-name { color: var(--spi-navy); font-weight: 800; font-size: 1.12rem; }
.spi-primary-nav ul { list-style: none; display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; }
.spi-primary-nav a { color: var(--spi-text); font-size: .94rem; font-weight: 650; }
.spi-primary-nav .sub-menu { display: none; position: absolute; min-width: 250px; padding: .8rem; background: var(--spi-white); border: 1px solid var(--spi-border); border-radius: 12px; box-shadow: var(--spi-shadow); }
.spi-primary-nav li { position: relative; }
.spi-primary-nav li:hover > .sub-menu, .spi-primary-nav li:focus-within > .sub-menu { display: grid; gap: .25rem; }
.spi-primary-nav .sub-menu a { display: block; padding: .55rem .65rem; }
.spi-header-cta, .spi-footer-button, .spi-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.05rem; color: var(--spi-white); background: var(--spi-blue); border-radius: 10px; font-weight: 750; }
.spi-header-cta:hover, .spi-footer-button:hover, .spi-button:hover { color: var(--spi-white); background: var(--spi-blue-dark); }
.spi-menu-toggle { display: none; border: 1px solid var(--spi-border); border-radius: 9px; background: var(--spi-white); padding: .55rem .8rem; }
.spi-site-main { min-height: 60vh; }
.spi-content-shell { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 5rem 0; }
.spi-post-card { padding: 1.5rem 0; border-bottom: 1px solid var(--spi-border); }
.spi-post-card h1 { font-size: 2rem; }
.spi-eyebrow { color: var(--spi-blue); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 800; }
.spi-site-footer { color: rgba(255,255,255,.78); background: var(--spi-deep); padding: 4rem 0 1.5rem; }
.spi-footer-grid, .spi-footer-bottom { width: min(1200px, calc(100% - 2rem)); margin: auto; }
.spi-footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr; gap: 3rem; }
.spi-footer-title { color: var(--spi-white); font-size: 1.3rem; font-weight: 800; }
.spi-footer-label { color: var(--spi-white); font-weight: 800; }
.spi-site-footer ul { list-style: none; padding: 0; margin: 0; }
.spi-site-footer li + li { margin-top: .5rem; }
.spi-site-footer a { color: rgba(255,255,255,.88); }
.spi-footer-button { margin-top: .5rem; }
.spi-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
.spi-image-placeholder { min-height: 320px; display: grid; place-items: center; padding: 2rem; color: var(--spi-white); background: linear-gradient(145deg, var(--spi-navy), var(--spi-blue)); border-radius: var(--spi-radius); text-align: center; }
.spi-image-placeholder strong { display: block; font-size: 1.25rem; }

@media (max-width: 1000px) {
    .spi-menu-toggle { display: block; }
    .spi-header-cta { display: none; }
    .spi-primary-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 72px; padding: 1rem; background: var(--spi-white); border: 1px solid var(--spi-border); border-radius: 12px; box-shadow: var(--spi-shadow); }
    .spi-primary-nav.is-open { display: block; }
    .spi-primary-nav ul { display: grid; align-items: stretch; gap: .4rem; }
    .spi-primary-nav a { display: block; padding: .55rem; }
    .spi-primary-nav .sub-menu { display: grid; position: static; min-width: 0; margin-left: .75rem; padding: .25rem; border: 0; box-shadow: none; }
}

@media (max-width: 720px) {
    .spi-header-inner { min-height: 68px; }
    .spi-brand img { max-height: 44px; }
    .spi-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .spi-footer-bottom { flex-direction: column; }
}

/* Refined navigation, compact footer and editable inner banners. */
.spi-brand-name { display:block; width:275px; height:68px; overflow:hidden; }
.spi-brand-name img { width:275px; height:68px; max-height:none; object-fit:cover; }
.spi-brand .custom-logo { width:auto; max-width:275px; object-fit:contain; }
.spi-header-inner { gap:20px; min-height:88px; }
.spi-primary-nav > ul { gap:20px; }
.spi-primary-nav > ul > li > a { color:#071d3b; padding:28px 0; display:block; border-bottom:3px solid transparent; }
.spi-primary-nav > ul > li:hover > a,.spi-primary-nav > ul > li:focus-within > a,.spi-primary-nav > ul > li.current-menu-item > a { color:#1465c8; border-bottom-color:#1877f2; }
.spi-primary-nav > ul > .menu-item-has-children > a::after { content:'⌄'; margin-left:7px; color:#1877f2; }
.spi-primary-nav .sub-menu { top:100%; left:0; width:290px; background:#071d3b; border:0; border-top:3px solid #1877f2; padding:10px; border-radius:0 0 12px 12px; }
.spi-primary-nav .sub-menu a { color:#fff; font-weight:500; font-size:14px; line-height:1.5; border-radius:6px; padding:10px 12px; }
.spi-primary-nav .sub-menu a:hover,.spi-primary-nav .sub-menu a:focus-visible { color:#fff; background:#1267d5; }
.spi-primary-nav > ul > li:last-child .sub-menu { left:auto; right:0; }
.spi-footer-logo { display:block; width:280px; height:76px; overflow:hidden; background:#fff; border-radius:7px; margin-bottom:16px; }
.spi-footer-logo img { display:block; width:280px; height:76px; object-fit:cover; }
.spi-site-footer { padding:40px 0 20px; }
.spi-footer-grid { grid-template-columns:1.3fr .7fr 1fr; gap:48px; }
.spi-footer-grid p { margin:0 0 12px; font-size:15px; }
.spi-footer-label { font-size:16px!important; }
.spi-footer-bottom { margin-top:28px; }
.spi-site-footer .sub-menu { display:none; }
.spi-inner-banner { border-bottom:4px solid #1877f2; }
.spi-inner-banner h1 { max-width:1050px; }
.spi-blog-banner { background:#071d3b; color:#fff; padding:38px max(24px,calc((100% - 1144px)/2)); border-bottom:4px solid #1877f2; }
.spi-blog-banner h1 { color:#fff; margin:0; font-size:38px; }
.spi-blog-banner p { margin:6px 0 0; color:#d6e5fa; }
@media(max-width:1100px){.spi-header-inner{gap:12px}.spi-primary-nav > ul{gap:12px}.spi-brand-name,.spi-brand-name img{width:235px}}
@media(max-width:1000px){.spi-primary-nav{max-height:75vh;overflow:auto;top:88px}.spi-primary-nav > ul > li > a{padding:10px}.spi-primary-nav .sub-menu{width:auto;position:static;border-radius:8px;margin:0 0 10px 12px}.spi-menu-toggle{background:#1877f2;color:#fff;font-weight:700;border-color:#1877f2}.spi-footer-grid{gap:24px}}
@media(max-width:720px){.spi-footer-grid{grid-template-columns:1fr 1fr}.spi-footer-grid>div:first-child{grid-column:1/-1}.spi-footer-logo{width:250px;height:68px}.spi-footer-logo img{width:250px;height:68px}.spi-brand-name,.spi-brand-name img{width:230px;height:60px}.spi-header-inner{min-height:76px}.spi-primary-nav{top:76px}.spi-blog-banner h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
