/* Case study page + Case Studies listing - redesign 2026-11-26. Scoped to .csx (page) and .csl (listing). */
html body .csx, html body .csl { --csx-ink: #0B1B33; --csx-text: #374151; --csx-muted: #4A5568; --csx-line: #E3E9F2; --csx-blue: #1354A1; --csx-navy: #0F3B73; --csx-soft: #F5F7FB; color: var(--csx-ink); }
html body .csx h1, html body .csx h2, html body .csx h3, html body .csl h1, html body .csl h2, html body .csl h3 { color: inherit; font-weight: 700; letter-spacing: -0.2px; }
html body .csx p, html body .csl p { color: var(--csx-text); }

/* Buttons */
html body :is(.csx, .csl) .csx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
html body :is(.csx, .csl) .csx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; transition: transform .15s ease, background .15s ease; }
html body :is(.csx, .csl) .csx-btn:hover { transform: translateY(-1px); text-decoration: none; }
html body :is(.csx, .csl) .csx-btn-light { background: #fff; color: var(--csx-dark, #0F3B73); }
html body :is(.csx, .csl) .csx-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
html body :is(.csx, .csl) .csx-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
html body :is(.csx, .csl) .csx-btn-blue { background: var(--csx-blue); color: #fff; }
html body :is(.csx, .csl) .csx-btn-blue:hover { background: var(--csx-navy); color: #fff; }

/* Hero */
html body .csx .csx-hero { background: var(--csx-dark, #0F3B73); color: #fff; padding: 56px 0 128px; overflow: hidden; }
html body .csx .csx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
html body .csx .csx-hero-copy { display: flex; flex-direction: column; gap: 20px; }
html body .csx .csx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
html body .csx .csx-tags span { font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; padding: 6px 13px; border-radius: 999px; }
html body .csx .csx-logo { align-self: flex-start; background: #fff; border-radius: 12px; padding: 10px 16px; }
html body .csx .csx-logo img { display: block; height: 34px; width: auto; max-width: 180px; object-fit: contain; }
html body .csx .csx-hero h1 { margin: 0; color: #fff; font-size: 44px; line-height: 1.15; }
html body .csx .csx-lead { margin: 0; font-size: 17px; line-height: 1.7; color: #D6E1F1; max-width: 580px; }
html body .csx .csx-hero-visual { position: relative; padding: 0 0 28px 28px; }
html body .csx .csx-browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
html body .csx .csx-browser-bar { height: 32px; background: #E9EEF6; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
html body .csx .csx-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7D2E3; }
html body .csx .csx-browser-screen { aspect-ratio: 16 / 10; background: var(--csx-soft); }
html body .csx .csx-browser-screen > img, html body .csx .csx-phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
html body .csx .csx-phone { position: absolute; left: 0; bottom: 0; width: 28%; min-width: 120px; background: #fff; border-radius: 22px; padding: 7px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
html body .csx .csx-phone-screen { aspect-ratio: 9 / 18; border-radius: 16px; overflow: hidden; background: #EEF2F8; }
html body .csx .csx-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6B778A; font-size: 13px; }
html body .csx .csx-ph img { max-width: 46%; max-height: 34%; object-fit: contain; opacity: .18; filter: grayscale(1); }

/* Result cards */
html body .csx .csx-stats-wrap { margin-top: -84px; position: relative; z-index: 2; }
html body .csx .csx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .csx .csx-stats.csx-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .csx .csx-stats.csx-n1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
html body .csx .csx-stat { background: #fff; border: 1px solid var(--csx-line); border-radius: 20px; padding: 24px 26px; box-shadow: 0 20px 40px -24px rgba(15,59,115,.35); }
html body .csx .csx-stat-n { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--csx-blue); }
html body .csx .csx-stat-l { font-size: 15px; color: var(--csx-muted); margin-top: 6px; }

/* At a glance */
html body .csx .csx-facts-wrap { padding-top: 32px; }
html body .csx .csx-facts { display: grid; grid-template-columns: repeat(var(--csx-cols, 5), minmax(0, 1fr)); border: 1px solid var(--csx-line); border-radius: 20px; overflow: hidden; background: #FAFBFD; }
html body .csx .csx-fact { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-right: 1px solid var(--csx-line); min-width: 0; }
html body .csx .csx-fact:last-child { border-right: 0; }
html body .csx .csx-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #5B6574; }
html body .csx .csx-v { font-size: 15px; font-weight: 600; margin-top: 3px; color: var(--csx-ink); overflow-wrap: anywhere; }
html body :is(.csx, .csl) .csx-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #EAF2FF; color: var(--csx-blue); display: flex; align-items: center; justify-content: center; }
html body :is(.csx, .csl) .csx-ico-lg { width: 48px; height: 48px; border-radius: 14px; }

/* Tabs */
html body .csx .csx-tabs { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--csx-line); margin-top: 40px; }
html body .csx .csx-tabs-in { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
html body .csx .csx-tabs-in::-webkit-scrollbar { display: none; }
html body .csx .csx-tabs a { flex: none; padding: 16px 0; font-size: 15px; font-weight: 500; color: var(--csx-muted); text-decoration: none; border-bottom: 2px solid transparent; }
html body .csx .csx-tabs a:hover, html body .csx .csx-tabs a.on { color: var(--csx-navy); border-bottom-color: var(--csx-blue); }

/* Sections */
html body .csx .csx-sec { padding: 64px 0; scroll-margin-top: 64px; }
html body .csx .csx-soft { background: var(--csx-soft); }
html body .csx .csx-dark { background: #0B1B33; color: #fff; }
html body .csx .csx-dark h2, html body .csx .csx-dark h3 { color: #fff; }
html body .csx .csx-eyebrow, html body .csl .csx-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--csx-blue); margin-bottom: 10px; }
html body .csx .csx-dark .csx-eyebrow { color: #9FB8DC; }
html body .csx .csx-sec h2 { font-size: 32px; line-height: 1.25; margin: 0 0 16px; }
html body .csx .csx-head { max-width: 760px; margin-bottom: 28px; }
html body .csx .csx-head-c { text-align: center; max-width: 760px; margin: 0 auto 28px; }
html body .csx .csx-sub { font-size: 16px; line-height: 1.7; margin: 0 0 8px; }
html body .csx .csx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
html body .csx .csx-two.csx-rev > :first-child { order: 0; }
html body .csx .csx-two.csx-stretch { align-items: stretch; gap: 24px; }
html body .csx .csx-one { max-width: 820px; }
html body .csx .csx-prose p { font-size: 16px; line-height: 1.75; margin: 0 0 14px; }
html body .csx .csx-prose ul { padding-left: 20px; margin: 0 0 14px; }
html body .csx .csx-prose li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; color: var(--csx-text); }
html body .csx .csx-sideimg img { width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 16px; }
html body .csx .csx-quote { margin: 0; background: var(--csx-soft); border-radius: 24px; padding: 36px; color: var(--csx-blue); display: flex; flex-direction: column; gap: 16px; }
html body .csx .csx-quote blockquote { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 600; color: var(--csx-navy); }
html body .csx .csx-quote figcaption { font-size: 14px; color: #5B6574; }

/* Challenges */
html body .csx .csx-pairs { display: flex; flex-direction: column; gap: 18px; }
html body .csx .csx-pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
html body .csx .csx-prob, html body .csx .csx-sol, html body .csx .csx-card { border-radius: 18px; padding: 24px 26px; }
html body .csx .csx-prob, html body .csx .csx-card { background: #fff; border: 1px solid var(--csx-line); }
html body .csx .csx-sol { background: var(--csx-navy); color: #fff; }
html body .csx .csx-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #9A3412; }
html body .csx .csx-sol .csx-lbl { color: #9FB8DC; }
html body .csx .csx-pair h3, html body .csx .csx-card h3 { font-size: 18px; margin: 8px 0 6px; line-height: 1.35; }
html body .csx .csx-sol h3 { color: #fff; }
html body .csx .csx-pair p, html body .csx .csx-card p { font-size: 15px; line-height: 1.65; margin: 0; }
html body .csx .csx-sol p { color: #C9D7EC; }
html body .csx .csx-arrow { display: flex; align-items: center; justify-content: center; color: var(--csx-blue); }
html body .csx .csx-cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html body .csx .csx-cgrid.csx-c2, html body .csx .csx-cgrid.csx-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }

/* Features */
html body .csx .csx-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html body .csx .csx-feat { border: 1px solid var(--csx-line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
html body .csx .csx-feat h3 { font-size: 17px; margin: 4px 0 0; line-height: 1.35; }
html body .csx .csx-feat p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--csx-muted); }

/* Journey */
html body .csx .csx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--csx-cols, 5), minmax(0, 1fr)); gap: 18px; }
html body .csx .csx-steps li { border-top: 3px solid #4C8DFF; padding-top: 18px; }
html body .csx .csx-step-n { font-size: 14px; font-weight: 700; color: #7FB0FF; }
html body .csx .csx-steps h3 { font-size: 18px; margin: 8px 0 6px; }
html body .csx .csx-steps p { font-size: 14.5px; line-height: 1.6; color: #B6C4D8; margin: 0; }

/* Tech */
html body .csx .csx-techs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .csx .csx-tech { border: 1px solid var(--csx-line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
html body .csx .csx-tech-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
html body .csx .csx-tech-name { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; }
html body .csx .csx-tech-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--csx-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--csx-navy); flex: none; }
html body .csx .csx-tech-logo img { width: 26px; height: 26px; object-fit: contain; }
html body :is(.csx, .csl) .csx-chip { font-size: 12px; font-weight: 600; color: var(--csx-navy); background: #EAF2FF; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
html body .csx .csx-tech p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--csx-muted); }

/* Gallery */
html body .csx .csx-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .csx .csx-gimg img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }

/* Next + CTA */
html body .csx .csx-end { padding-top: 24px; padding-bottom: 72px; }
html body .csx .csx-next { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--csx-line); border-radius: 24px; padding: 32px; background: #FAFBFD; color: var(--csx-ink); text-decoration: none; transition: box-shadow .2s ease; }
html body .csx .csx-next:hover { box-shadow: 0 18px 40px -18px rgba(15,59,115,.35); text-decoration: none; color: var(--csx-ink); }
html body .csx .csx-next .csx-eyebrow { color: #5B6574; margin: 0; }
html body .csx .csx-next-name { font-size: 20px; font-weight: 700; }
html body .csx .csx-next-t { font-size: 16px; line-height: 1.6; color: var(--csx-text); }
html body .csx .csx-next-s { font-size: 15px; font-weight: 600; color: var(--csx-blue); }
html body :is(.csx, .csl) .csx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--csx-blue); margin-top: auto; }
html body .csx .csx-cta { background: var(--csx-blue); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
html body .csx .csx-cta h2 { color: #fff; font-size: 26px; margin: 0; }
html body .csx .csx-cta p { color: #DCE6F5; font-size: 16px; line-height: 1.6; margin: 0 0 6px; }
html body .csx .csx-cta .csx-btn-light { color: var(--csx-blue); }

/* Responsive */
@media (max-width: 1199.98px) {
    html body .csx .csx-hero h1 { font-size: 38px; }
    html body .csx .csx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html body .csx .csx-fact { border-bottom: 1px solid var(--csx-line); }
}
@media (max-width: 991.98px) {
    html body .csx .csx-hero { padding: 40px 0 112px; }
    html body .csx .csx-hero-grid, html body .csx .csx-two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    html body .csx .csx-hero-visual { max-width: 560px; }
    html body .csx .csx-feats, html body .csx .csx-techs, html body .csx .csx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body .csx .csx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body .csx .csx-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    html body .csx .csx-hero h1 { font-size: 30px; }
    html body .csx .csx-lead { font-size: 16px; }
    html body .csx .csx-stats, html body .csx .csx-stats.csx-n2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    html body .csx .csx-stat { padding: 18px 20px; }
    html body .csx .csx-stat-n { font-size: 32px; }
    html body .csx .csx-facts { grid-template-columns: minmax(0, 1fr); }
    html body .csx .csx-fact { border-right: 0; }
    html body .csx .csx-sec { padding: 48px 0; }
    html body .csx .csx-sec h2 { font-size: 26px; }
    html body .csx .csx-pair { grid-template-columns: minmax(0, 1fr); }
    html body .csx .csx-arrow { height: 44px; transform: rotate(90deg); }
    html body .csx .csx-feats, html body .csx .csx-techs, html body .csx .csx-gallery, html body .csx .csx-steps, html body .csx .csx-cgrid, html body .csx .csx-cgrid.csx-c2, html body .csx .csx-cgrid.csx-c4 { grid-template-columns: minmax(0, 1fr); }
    html body .csx .csx-quote, html body .csx .csx-next, html body .csx .csx-cta { padding: 24px; }
    html body .csx .csx-tabs a { padding: 14px 0; font-size: 14px; }
    html body .csx .csx-tabs-in { gap: 22px; }
}

/* ================= Case Studies listing (.csl) ================= */
html body .csl { background: var(--csx-soft); }
html body .csl .csl-hero { background: #fff; padding: 48px 0 36px; border-bottom: 1px solid var(--csx-line); }
html body .csl .csl-hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
html body .csl .csl-hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
html body .csl .csl-badge { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--csx-blue); background: #EAF2FF; padding: 7px 14px; border-radius: 999px; }
html body .csl .csl-hero h1 { margin: 0; font-size: 46px; line-height: 1.12; }
html body .csl .csl-hero h1 span { color: var(--csx-blue); }
html body .csl .csl-hero-copy p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--csx-muted); }

/* Featured carousel */
html body .csl .csl-featured { padding: 44px 0 8px; }
html body .csl .csl-feat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
html body .csl .csl-feat-head .csx-eyebrow { color: #5B6574; margin: 0; }
html body .csl .csl-pos { font-weight: 500; letter-spacing: 0; text-transform: none; }
html body .csl .csl-arrows { display: flex; gap: 10px; }
html body .csl .csl-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #D5DEEB; background: #fff; color: var(--csx-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
html body .csl .csl-arrow-on { background: var(--csx-navy); border-color: var(--csx-navy); color: #fff; }
html body .csl .csl-slides { display: grid; }
html body .csl .csl-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--csx-line); border-radius: 24px; overflow: hidden; color: var(--csx-ink); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
html body .csl .csl-slide.is-on { opacity: 1; visibility: visible; }
html body .csl .csl-slide:hover { text-decoration: none; color: var(--csx-ink); box-shadow: 0 18px 40px -18px rgba(15,59,115,.35); }
html body .csl .csl-slide-copy { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
html body .csl .csl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
html body .csl .csl-tags span { font-size: 12px; font-weight: 600; color: var(--csx-navy); background: #EAF2FF; padding: 6px 12px; border-radius: 999px; }
html body .csl .csl-slide-name { font-size: 20px; font-weight: 700; }
html body .csl .csl-slide h2 { margin: 0; font-size: 28px; line-height: 1.28; }
html body .csl .csl-slide p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--csx-muted); }
html body .csl .csl-slide-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 4px; }
html body .csl .csl-slide-stats strong { display: block; font-size: 32px; font-weight: 700; color: var(--csx-blue); line-height: 1.15; }
html body .csl .csl-slide-stats span { font-size: 14px; color: var(--csx-muted); }
html body .csl .csl-slide-side { background: var(--csx-dark, #0F3B73); display: flex; align-items: center; justify-content: center; padding: 32px; min-height: 360px; }
html body .csl .csl-browser { width: 100%; max-width: 480px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
html body .csl .csl-browser-bar { height: 30px; background: #E9EEF6; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
html body .csl .csl-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7D2E3; }
html body .csl .csl-browser-screen { aspect-ratio: 16 / 10; background: var(--csx-soft); }
html body .csl .csl-browser-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
html body .csl .csl-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6B778A; font-size: 13px; }
html body .csl .csl-ph img { max-width: 46%; max-height: 34%; object-fit: contain; opacity: .18; filter: grayscale(1); }
html body .csl .csl-dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
html body .csl .csl-dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
html body .csl .csl-dot span { display: block; width: 10px; height: 6px; border-radius: 999px; background: #C7D2E3; transition: all .3s ease; }
html body .csl .csl-dot.is-on span { width: 28px; background: var(--csx-navy); }

/* Grid */
html body .csl .csl-all { padding: 36px 0 72px; }
html body .csl .csl-all-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
html body .csl .csl-all-head h2 { margin: 0; font-size: 28px; }
html body .csl .csl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
html body .csl .csl-chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid #D5DEEB; background: #fff; color: #1F2A3D; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
html body .csl .csl-chip span { opacity: .65; font-weight: 400; }
html body .csl .csl-chip.is-on { background: var(--csx-navy); border-color: var(--csx-navy); color: #fff; }
html body .csl .csl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
html body .csl .csl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--csx-line); border-radius: 20px; overflow: hidden; color: var(--csx-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
html body .csl .csl-card[hidden] { display: none; }
html body .csl .csl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15,59,115,.35); text-decoration: none; color: var(--csx-ink); }
html body .csl .csl-card-top { height: 108px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body .csl .csl-card-top img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
html body .csl .csl-card-top .csx-chip { background: rgba(255,255,255,.85); }
html body .csl .csl-card-name { font-size: 20px; font-weight: 700; }
html body .csl .csl-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
html body .csl .csl-card-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
html body .csl .csl-card-stat strong { font-size: 32px; font-weight: 700; color: var(--csx-blue); line-height: 1; }
html body .csl .csl-card-stat span { font-size: 14px; font-weight: 500; color: var(--csx-muted); }
html body .csl .csl-card-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #1F2A3D; flex: 1; }
html body .csl .csl-card-body .csx-link { padding-top: 10px; border-top: 1px solid #EEF2F7; font-size: 14px; }
html body .csl .csl-card-cta { background: var(--csx-navy); border-color: var(--csx-navy); color: #fff; padding: 30px 28px; gap: 12px; justify-content: center; }
html body .csl .csl-card-cta:hover { color: #fff; }
html body .csl .csl-card-cta .csx-eyebrow { color: #9FB8DC; margin: 0; }
html body .csl .csl-card-cta strong { font-size: 24px; line-height: 1.3; }
html body .csl .csl-card-cta p { margin: 0; color: #C9D7EC; font-size: 15px; line-height: 1.6; }
html body .csl .csl-cta-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; background: #fff; color: var(--csx-navy); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; }

@media (max-width: 991.98px) {
    html body .csl .csl-hero h1 { font-size: 36px; }
    html body .csl .csl-slide { grid-template-columns: minmax(0, 1fr); }
    html body .csl .csl-slide-side { min-height: 0; padding: 24px; }
    html body .csl .csl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    html body .csl .csl-hero { padding: 32px 0 28px; }
    html body .csl .csl-hero h1 { font-size: 30px; }
    html body .csl .csl-hero-copy p { font-size: 16px; }
    html body .csl .csl-slide-copy { padding: 24px; }
    html body .csl .csl-slide h2 { font-size: 22px; }
    html body .csl .csl-slide-stats strong { font-size: 26px; }
    html body .csl .csl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    html body .csl .csl-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -15px; padding: 0 15px; }
    html body .csl .csl-chips::-webkit-scrollbar { display: none; }
    html body .csl .csl-chip { flex: none; }
}

/* "Your project" card as a full-width banner when the cards already fill complete rows */
html body .csl .csl-card-cta-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow btn" "title btn" "text btn"; column-gap: 32px; row-gap: 8px; align-items: center; padding: 32px 40px; }
html body .csl .csl-card-cta-wide .csx-eyebrow { grid-area: eyebrow; }
html body .csl .csl-card-cta-wide strong { grid-area: title; }
html body .csl .csl-card-cta-wide p { grid-area: text; }
html body .csl .csl-card-cta-wide .csl-cta-btn { grid-area: btn; align-self: center; margin: 0; }
@media (max-width: 767.98px) {
    html body .csl .csl-card-cta-wide { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

html body .csl .csl-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
/* Proof stats: hire-hub stat style (gradient icon tile + gradient number), larger */
html body .csl .csl-stat { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid #E3E9F3; border-radius: 18px; padding: 20px 20px 18px; box-shadow: 0 4px 18px rgba(15,27,45,.05); min-width: 0; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
html body .csl .csl-stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #a033ff 0%, #3b82f6 100%); opacity: .85; }
html body .csl .csl-stat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(59,90,246,.35); }
html body .csl .csl-stat-ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #a033ff 0%, #3b82f6 100%); box-shadow: 0 6px 16px rgba(91,80,246,.28); color: #fff; font-size: 18px; }
html body .csl .csl-stat > div { min-width: 0; display: flex; flex-direction: column; }
html body .csl .csl-stat-num { font-size: 32px; font-weight: 800; line-height: 1.05; background: linear-gradient(90deg, #a033ff 0%, #3b82f6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
html body .csl .csl-stat-lbl { font-size: 15px; font-weight: 600; color: var(--csx-ink); margin-top: 6px; }
html body .csl .csl-stat-sub { font-size: 13px; color: #5B6574; margin-top: 2px; }
@media (min-width: 768px) and (max-width: 1199.98px) { html body .csl .csl-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    html body .csl .csl-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
    html body .csl .csl-stat { flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-radius: 14px; }
    html body .csl .csl-stat-ico { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    html body .csl .csl-stat-num { font-size: 24px; }
    html body .csl .csl-stat-lbl { font-size: 13.5px; margin-top: 4px; }
    html body .csl .csl-stat-sub { font-size: 12px; }
}

/* Tech stack grouped by layer (2026-11-26): one card per layer, always one balanced row on desktop */
html body .csx .csx-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html body .csx .csx-layers.csx-l1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
html body .csx .csx-layers.csx-l2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .csx .csx-layers.csx-l4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .csx .csx-layer { border: 1px solid var(--csx-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: #fff; position: relative; overflow: hidden; }
html body .csx .csx-layer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #a033ff 0%, #3b82f6 100%); opacity: .8; }
html body .csx .csx-layer-head { display: flex; align-items: center; gap: 12px; }
html body .csx .csx-layer-head h3 { margin: 0; font-size: 17px; line-height: 1.3; }
html body .csx .csx-layer > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--csx-muted); flex: 1; }
html body .csx .csx-techchips { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid #EEF2F7; display: flex; flex-wrap: wrap; gap: 8px; }
html body .csx .csx-techchips li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--csx-ink); background: var(--csx-soft); border: 1px solid var(--csx-line); border-radius: 999px; padding: 5px 12px 5px 6px; }
html body .csx .csx-techchip-logo { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
html body .csx .csx-techchip-logo img { width: 16px; height: 16px; object-fit: contain; }
@media (max-width: 1199.98px) {
    html body .csx .csx-layers.csx-l4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    html body .csx .csx-layers, html body .csx .csx-layers.csx-l2, html body .csx .csx-layers.csx-l4 { grid-template-columns: minmax(0, 1fr); }
    html body .csx .csx-layer { padding: 20px; }
}

/* Shared case study card row (home, service pages, "More case studies") - 2026-11-26 */
html body .csl.csl-embed { background: transparent; }
html body .csl .csl-card-logo { display: flex; align-items: center; min-width: 0; }
html body .csl .csl-row.csl-row-n1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
html body .csl .csl-row.csl-row-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
html body .csl .csl-row-more { display: flex; justify-content: center; margin-top: 28px; }
html body .csx-more { background: var(--csx-soft, #F5F7FB); padding: 64px 0 72px; }
html body .csx-more .csx-more-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
html body .csx-more .csx-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #1354A1; margin-bottom: 8px; }
html body .csx-more h2 { margin: 0; font-size: 30px; font-weight: 700; color: #0B1B33; }
@media (max-width: 991.98px) {
    html body .csl .csl-row.csl-row-n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: the embedded rows swipe sideways (cards 82% wide), like the app-style rows elsewhere on the site */
@media (max-width: 767.98px) {
    html body .csl.csl-embed .csl-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -15px; padding: 4px 15px 10px; max-width: none; }
    html body .csl.csl-embed .csl-row::-webkit-scrollbar { display: none; }
    html body .csl.csl-embed .csl-row > .csl-card { flex: 0 0 82%; scroll-snap-align: start; }
    html body .csl.csl-embed .csl-row.csl-row-n1 > .csl-card { flex-basis: 100%; }
    html body .csx-more { padding: 44px 0 52px; }
    html body .csx-more h2 { font-size: 24px; }
}
html body .csx .csx-feat p.csx-feat-solo { color: var(--csx-text); font-size: 15.5px; }

/* Feature cards: balanced rows for any count (4/8 -> 4 per row; others 3 per row, last row centred) */
html body .csx .csx-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
html body .csx .csx-feats > .csx-feat { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; }
html body .csx .csx-feats.csx-f4 > .csx-feat { flex-basis: calc((100% - 60px) / 4); }
@media (max-width: 991.98px) {
    html body .csx .csx-feats > .csx-feat, html body .csx .csx-feats.csx-f4 > .csx-feat { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 767.98px) {
    html body .csx .csx-feats > .csx-feat, html body .csx .csx-feats.csx-f4 > .csx-feat { flex-basis: 100%; }
}

/* Card logos on a white plate, bigger (2026-11-26): logos are trimmed of blank padding in admin uploads */
html body .csl .csl-card-top { height: 112px; padding: 0 18px; }
html body .csl .csl-card-logo { background: #fff; border-radius: 12px; height: 68px; padding: 8px 14px; box-shadow: 0 2px 10px rgba(15,27,45,.08); display: flex; align-items: center; justify-content: center; max-width: 62%; box-sizing: border-box; }
html body .csl .csl-card-top .csl-card-logo img { max-height: 50px; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; }
html body .csx .csx-logo { padding: 10px 18px; }
html body .csx .csx-logo img { height: 42px; max-width: 220px; }
@media (max-width: 767.98px) {
    html body .csl .csl-card-top { height: 100px; }
    html body .csl .csl-card-logo { height: 60px; }
    html body .csl .csl-card-top .csl-card-logo img { max-height: 44px; }
}
