/* Case-study landing pages and their shared HubSpot gate. */
.cs-page { background: #f7f9fc; color: #111318; }
.cs-page-shell { min-height: 100vh; transition: filter .25s ease; }
.cs-page.csg-page-locked .cs-page-shell { filter: blur(6px); pointer-events: none; user-select: none; }
.cs-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cs-hero { position: relative; overflow: hidden; padding: 8rem 0 6rem; color: #fff; background: linear-gradient(120deg, #071a36 0%, #123c71 54%, #1769aa 100%); }
.cs-hero-orb { position: absolute; width: 42rem; height: 42rem; right: -18rem; top: -16rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.04), 0 0 0 74px rgba(255,255,255,.025); }
.cs-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 5rem; align-items: end; }
.cs-back-link { display: inline-block; margin-bottom: 2rem; color: #dcecff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.cs-back-link:hover { color: #fff; text-decoration: underline; }
.cs-eyebrow { margin: 0 0 .85rem; color: #bfe0ff; font: 800 .7rem/1.3 'Montserrat', sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.cs-eyebrow.orange { color: #e66d31; }
.cs-eyebrow.blue { color: #1769aa; }
.cs-hero h1 { max-width: 850px; margin: 0 0 1.35rem; font: 800 clamp(2.15rem, 5vw, 4.3rem)/1.08 'Montserrat', sans-serif; letter-spacing: -.035em; }
.cs-lede { max-width: 760px; margin: 0; color: #e8f3ff; font-size: 1.08rem; line-height: 1.72; }
.cs-hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: #123c71; }
.cs-hero-card { display: grid; gap: .6rem; padding: 1.45rem; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.cs-card-label { color: #748092; font: 800 .66rem/1.4 'Montserrat', sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.cs-hero-card .cs-card-label { color: #bfe0ff; margin-top: .45rem; }
.cs-hero-card strong { color: #fff; font: 700 1.04rem/1.35 'Montserrat', sans-serif; }
.cs-section { padding: 5.5rem 0; }
.cs-overview { background: #fff; }
.cs-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 5rem; align-items: center; }
.cs-section h2 { margin: 0 0 1rem; color: #111318; font: 800 clamp(1.8rem, 3vw, 2.75rem)/1.16 'Montserrat', sans-serif; letter-spacing: -.025em; }
.cs-section h2 em { color: #1769aa; font-style: normal; }
.cs-section p { color: #566170; line-height: 1.75; }
.cs-theme-card { padding: 1.6rem; border: 1px solid #dfe6ef; border-radius: 14px; background: #f8fbff; }
.cs-theme-card ul { display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.cs-theme-card li { position: relative; padding-left: 1.2rem; color: #233247; font-weight: 700; line-height: 1.45; }
.cs-theme-card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #e66d31; }
.cs-document-section { background: #f2f5f9; }
.cs-section-heading { max-width: 760px; margin-bottom: 2.25rem; }
.cs-document { display: grid; gap: 1.35rem; max-width: 980px; margin: 0 auto; }
.cs-document-page { margin: 0; padding: .65rem; border: 1px solid #d9e0ea; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(18,45,76,.08); }
.cs-document-page img { display: block; width: 100%; height: auto; border-radius: 6px; }
.cs-document-page figcaption { padding: .7rem .35rem .15rem; color: #7b8795; font-size: .74rem; text-align: center; }
.cs-document-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.cs-text-link { color: #1769aa; font-weight: 800; text-decoration: none; }
.cs-text-link:hover { text-decoration: underline; }
.cs-cta { padding: 5rem 0; background: #071a36; text-align: center; }
.cs-cta h2 { color: #fff; }
.cs-cta p:not(.cs-eyebrow) { max-width: 620px; margin: 0 auto 1.7rem; color: #d8e7f8; }
.cs-cta .cs-eyebrow { color: #f59c6b; }

/* Landing-page gate. The page remains locked until HubSpot confirms submission. */
.csg-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(5,15,31,.72); opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.csg-overlay.is-open { opacity: 1; visibility: visible; }
body.csg-lock-scroll { overflow: hidden; }
.csg-modal { position: relative; display: grid; grid-template-columns: minmax(260px, .82fr) minmax(390px, 1.18fr); width: min(920px, 100%); max-height: min(680px, calc(100vh - 36px)); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.34); transform: translateY(14px) scale(.985); transition: transform .22s ease; }
.csg-overlay.is-open .csg-modal { transform: translateY(0) scale(1); }
.csg-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; padding: 2.4rem; background: linear-gradient(145deg, #102f58, #1769aa); }
.csg-visual-mark { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 20px; color: #fff; font: 800 2rem 'Montserrat', sans-serif; }
.csg-visual h3 { max-width: 270px; margin: 0; color: #fff; font: 800 1.55rem/1.2 'Montserrat', sans-serif; }
.csg-visual p { max-width: 260px; margin: .8rem 0 0; color: #d8eaff; line-height: 1.6; }
.csg-content { position: relative; overflow-y: auto; padding: 3.7rem 3.1rem 2.4rem; }
.csg-close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 34px; height: 34px; border: 1px solid #b9c9db; border-radius: 50%; background: #fff; color: #172333; font: 700 20px/28px Arial, sans-serif; cursor: pointer; }
.csg-close:hover { background: #eff5fc; }
.csg-title { margin: 0 0 .65rem; color: #08111d; font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.16 'Montserrat', sans-serif; }
.csg-subtitle { margin: 0 0 1.6rem; color: #66717e; line-height: 1.6; }
.csg-form-target iframe { width: 100% !important; min-height: 320px; border: 0; }
.csg-form-status { padding: 1rem; border-radius: 8px; background: #fff4ed; color: #9b4418; font-size: .88rem; line-height: 1.5; }
.csg-success { padding: 2rem 0 .3rem; text-align: center; }
.csg-success-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; background: #edf8f1; color: #16824b; font-size: 1.4rem; }
.csg-success p { color: #566170; line-height: 1.6; }
.csg-success strong { display: block; margin-top: .35rem; color: #172333; }
@media (max-width: 880px) { .cs-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; } .cs-hero-card { max-width: 420px; } .cs-overview-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 720px) { .cs-container { width: min(100% - 28px, 1180px); } .cs-hero { padding: 5.7rem 0 4rem; } .cs-section { padding: 4rem 0; } .csg-modal { display: block; max-height: calc(100vh - 24px); overflow-y: auto; } .csg-visual { min-height: 0; padding: 1.7rem 1.6rem 1.9rem; } .csg-visual h3 { max-width: 100%; margin-top: 2rem; } .csg-visual p { max-width: 100%; } .csg-content { overflow: visible; padding: 3rem 1.6rem 1.9rem; } .cs-document-footer { align-items: flex-start; flex-direction: column; } }
