/* Sprint CV native styles: blog, articles and page-builder blocks.
   Everything is namespaced with cb- so it never collides with imported legacy CSS. */

/* Roboto (variable font, all weights), Latin and Latin Extended: every site language. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/roboto-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/roboto-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/roboto-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/roboto-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cb-primary: #26518b;
  --cb-accent: #187adf;
  --cb-dark: #22284b;
  --cb-text: #4a4a4a;
  --cb-muted: #6b7280;
  --cb-line: #e3e9f1;
  --cb-soft: #f6f9fd;
  --cb-radius: 12px;
  --cb-width: 1140px;
  --cb-narrow: 760px;
  --cb-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.cb-main { font-family: var(--cb-font); color: var(--cb-text); font-size: 17px; line-height: 1.7; max-width: var(--cb-width); margin: 0 auto; padding: 48px 20px 72px; box-sizing: border-box; }
.cb-main *, .cb-main *::before, .cb-main *::after { box-sizing: border-box; }
.cb-main h1, .cb-main h2, .cb-main h3, .cb-main h4 { color: var(--cb-dark); line-height: 1.25; text-wrap: balance; font-family: var(--cb-font); }
.cb-main h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin: 0 0 16px; }
.cb-main a { color: var(--cb-accent); }
.cb-main img, .cb-main video { max-width: 100%; height: auto; }

/* ---------- shared: full-width blog shell and hero ---------- */
.cb-wide { font-family: var(--cb-font); color: #2d3a4d; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.cb-wide *, .cb-wide *::before, .cb-wide *::after { box-sizing: border-box; }
.cb-wide img, .cb-wide video { max-width: 100%; height: auto; }
.cb-hero { position: relative; overflow: hidden; background: #243060 linear-gradient(135deg, #202547 0%, #243060 55%, #26518b 100%); padding: 66px 0 70px; text-align: center; color: #fff; }
.cb-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.cb-hero h1 { font-family: var(--cb-font); font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; line-height: 1.2; color: #fff; margin: 0 auto 20px; max-width: 840px; text-wrap: pretty; }
.cb-hero-intro { font-size: 17px; line-height: 1.6; color: #fff; max-width: 760px; margin: 0 auto; }
.cb-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; font-size: 16px; color: #cfe0f5; }
.cb-hero-meta a, .cb-hero-meta span { display: inline-flex; align-items: center; gap: 7px; color: #cfe0f5; text-decoration: none; }
.cb-hero-meta a:hover { color: #fff; }
.cb-hero-note { margin: 14px 0 0; font-size: 14px; color: #cfe0f5; font-style: italic; }
.cb-hero-cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 0; color: #cfe0f5; }
.cb-hero-cats a { display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 99px; padding: 5px 14px; font-size: 13px; font-weight: 600; text-decoration: none; }
.cb-hero-cats a:hover { background: rgba(255, 255, 255, .24); }
.cb-sd { position: absolute; top: 0; bottom: 0; width: 20%; z-index: 1; pointer-events: none; }
.cb-sd.l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent); mask-image: linear-gradient(90deg, #000 45%, transparent); }
.cb-sd.r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent); mask-image: linear-gradient(270deg, #000 45%, transparent); }
.cb-sd i { position: absolute; border-radius: 99px; display: block; }
.cb-btn-pill { background: var(--cb-primary); color: #fff !important; border-radius: 99px; font-weight: 700; padding: 12px 28px; }
.cb-btn-pill:hover { background: var(--cb-accent); }

/* ---------- article ---------- */
.cb-post-wrap { background: #fff; padding: 56px 0 40px; }
.cb-post-cols { max-width: 1180px; margin: 0 auto; padding: 0 32px; display: flex; gap: 56px; align-items: flex-start; justify-content: center; }
.cb-post-toc { width: 240px; flex: none; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; }
.cb-post-toc-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1e375a; margin: 0 0 10px; }
.cb-post-toc nav a { display: block; padding: 7px 0 7px 14px; border-left: 3px solid #d7e1ee; color: #44546a; font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s; }
.cb-post-toc nav a:hover { color: var(--cb-accent); }
.cb-post-toc nav a.active { border-left-color: var(--cb-accent); color: #1e375a; font-weight: 600; }
.cb-post-article { max-width: 760px; min-width: 0; flex: 1; }
.cb-wide h1, .cb-wide h2, .cb-wide h3, .cb-wide h4 { font-family: var(--cb-font); }
.cb-prose { color: #2d3a4d; }
.cb-prose h2 { font-size: 28px; line-height: 1.3; font-weight: 700; color: #1e375a; margin: 46px 0 16px; scroll-margin-top: 110px; }
.cb-prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--cb-primary); margin: 0 0 12px; }
.cb-prose h2:nth-of-type(4n+2)::before { background: #2fa89a; }
.cb-prose h2:nth-of-type(4n+3)::before { background: #6c5ba6; }
.cb-prose h2:nth-of-type(4n+4)::before { background: var(--cb-accent); }
.cb-prose h3 { font-size: 22px; line-height: 1.35; color: #1e375a; margin: 34px 0 12px; scroll-margin-top: 110px; }
.cb-prose h4 { font-size: 18px; color: #1e375a; margin: 28px 0 10px; }
.cb-prose p, .cb-prose ul, .cb-prose ol { margin: 0 0 18px; line-height: 1.8; }
.cb-prose > .cb-text:first-child > p:first-child { font-size: 19px; font-weight: 500; }
.cb-prose ul, .cb-prose ol { padding-left: 24px; }
.cb-prose li { margin-bottom: 8px; }
.cb-prose a { color: var(--cb-accent); text-decoration: underline; word-break: break-word; }
.cb-prose img { border-radius: var(--cb-radius); }
.cb-prose figure { margin: 32px 0; }
.cb-prose figcaption { font-size: 14px; color: var(--cb-muted); text-align: center; margin-top: 8px; }
.cb-prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--cb-accent); color: var(--cb-dark); font-size: 19px; }
.cb-prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; display: block; overflow-x: auto; }
.cb-prose th, .cb-prose td { border: 1px solid #e3eaf4; padding: 12px 14px; text-align: left; vertical-align: top; }
.cb-prose th { background: #f3f6fb; color: #1e375a; }
.cb-prose pre { background: var(--cb-dark); color: #e6ecff; padding: 18px; border-radius: var(--cb-radius); overflow-x: auto; font-size: 14px; }
.cb-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--cb-line); }
.cb-chip { display: inline-block; padding: 6px 14px; border: 1px solid #d7e1ee; border-radius: 999px; font-size: 14px; color: #1e375a !important; text-decoration: none; background: #fff; }
.cb-chip:hover { border-color: var(--cb-primary); }
.cb-author-band { background: #fff; padding: 12px 0 44px; }
.cb-author { max-width: 880px; margin: 0 auto; display: flex; gap: 22px; align-items: flex-start; background: #f3f6fb; border: 1px solid #d7e1ee; border-radius: 16px; padding: 26px; font-size: 16px; }
.cb-author-band .cb-author { width: calc(100% - 64px); }
.cb-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.cb-author p { margin: 0; line-height: 1.7; }
.cb-author-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2fa89a; margin-bottom: 6px !important; }
.cb-author-name { font-weight: 700; color: #1e375a; margin-bottom: 4px !important; }
.cb-author-role { font-size: 14px; color: #5b6b80; margin-bottom: 8px !important; }
.cb-author-role a { font-weight: 600; color: #177ddc; text-decoration: none; }
.cb-author-role a:hover { text-decoration: underline; }
.cb-author-sep { margin: 0 8px; color: #9aa7b8; }
.cb-author-bio p + p { margin-top: 10px; }
.cb-related { background: #e9eef6; padding: 56px 0 64px; }
.cb-related-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.cb-related h2 { font-size: 28px; font-weight: 700; color: #1e375a; margin: 0 0 22px; }
.cb-related h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: #6c5ba6; margin: 0 0 12px; }
.cb-related-all { text-align: center; margin: 28px 0 0; }

/* ---------- blog list ---------- */
.cb-blog-wrap { max-width: 1244px; margin: 0 auto; padding: 36px 32px 72px; }
.cb-blog-tools { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid #d7e1ee; }
.cb-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.cb-pill { display: inline-block; padding: 8px 16px; border: 1px solid #d7e1ee; border-radius: 99px; background: #fff; color: #1e375a !important; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.cb-pill:hover { border-color: var(--cb-primary); }
.cb-pill.active { border-color: var(--cb-primary); background: var(--cb-primary); color: #fff !important; }
.cb-search input { font: inherit; font-size: 15px; width: 100%; padding: 11px 18px; border: 1px solid #c5d3e6; border-radius: 99px; background: #fff; color: #2d3a4d; }
.cb-search input:focus { border-color: var(--cb-primary); box-shadow: inset 0 0 0 1px var(--cb-primary); outline: 2px solid transparent; }
.cb-sec-title { font-size: 26px; line-height: 1.3; font-weight: 700; color: #1e375a; margin: 0 0 22px; }
.cb-sec-title::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--cb-primary); margin: 0 0 12px; }
.cb-featured-sec { margin-bottom: 52px; padding-bottom: 48px; border-bottom: 1px solid #d7e1ee; }
.cb-featured-sec .cb-sec-title::before { background: #2fa89a; }
.cb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cb-grid-featured.n1 { grid-template-columns: 1fr; }
.cb-grid-featured.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #d7e1ee; border-radius: 14px; overflow: hidden; transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease; }
.cb-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 40, 70, .13); }
.cb-card-img { display: block; aspect-ratio: 1200 / 630; background: #e9eef6; overflow: hidden; }
.cb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #202547, #26518b); }
.cb-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cb-card-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-card-cats a { display: inline-block; background: #eef3fa; color: #26518b; border-radius: 99px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.cb-card-cats a:hover { background: #dde8f6; }
.cb-card h3 { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0; }
.cb-card h3 a { color: #1e375a; text-decoration: none; }
.cb-card h3 a:hover { color: var(--cb-accent); }
.cb-card-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: #44546a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-card-meta { margin: auto 0 0; padding-top: 4px; font-size: 13px; color: #667085; display: flex; flex-wrap: wrap; }
.cb-card-meta span + time::before { content: "·"; margin: 0 7px; }
.cb-badge { align-self: flex-start; background: #2fa89a; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 99px; }
.cb-card-featured { border-top: 4px solid #2fa89a; }
.cb-grid-featured.n1 .cb-card { flex-direction: row; }
.cb-grid-featured.n1 .cb-card-img { width: 52%; flex: none; aspect-ratio: auto; min-height: 300px; }
.cb-grid-featured.n1 .cb-card-body { justify-content: center; padding: 32px 36px; gap: 14px; }
.cb-grid-featured.n1 .cb-card h3 { font-size: clamp(22px, 2.6vw, 30px); }
.cb-grid-featured.n1 .cb-card-meta { margin-top: 0; }
.cb-more-wrap { text-align: center; margin: 40px 0 0; }
.cb-feed-status { text-align: center; color: #667085; font-size: 15px; margin: 24px 0 0; min-height: 1.5em; }
.cb-empty { color: #667085; }
.cb-404 { text-align: center; padding-top: 96px; padding-bottom: 120px; }
.cb-404-code { font-size: 96px; font-weight: 700; color: var(--cb-line); margin: 0; line-height: 1; }

@media (max-width: 1000px) {
  .cb-sd { display: none; }
  .cb-grid, .cb-grid-featured.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-post-cols { flex-direction: column; gap: 28px; }
  .cb-post-toc { position: static; width: 100%; max-height: none; background: #f3f6fb; border-radius: 12px; padding: 18px 20px; }
  .cb-post-article { max-width: none; width: 100%; }
}
@media (min-width: 1001px) {
  /* The sidebar index replaces the table of contents some imported articles carry in their text. */
  .cb-post-cols:not(.no-toc) .cb-article-body nav.toc { display: none; }
}
@media (max-width: 767px) {
  .cb-hero { padding: 44px 0 48px; }
  .cb-hero-inner, .cb-post-cols, .cb-related-inner { padding: 0 18px; }
  .cb-blog-wrap { padding: 24px 18px 48px; }
  .cb-grid, .cb-grid-featured.n2 { grid-template-columns: 1fr; gap: 20px; }
  .cb-grid-featured.n1 .cb-card { flex-direction: column; }
  .cb-grid-featured.n1 .cb-card-img { width: 100%; min-height: 0; aspect-ratio: 1200 / 630; }
  .cb-grid-featured.n1 .cb-card-body { padding: 20px 22px; }
  .cb-post-wrap { padding: 32px 0 24px; }
  .cb-author { flex-direction: column; }
  .cb-cats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .cb-pill { white-space: nowrap; }
}

/* ---------- page-builder blocks ---------- */
.cb-block { margin-block: 0 24px; }
.cb-align-left { text-align: left; } .cb-align-center { text-align: center; } .cb-align-right { text-align: right; }
.cb-w-narrow { max-width: var(--cb-narrow); margin-inline: auto; }
.cb-w-wide { max-width: var(--cb-width); margin-inline: auto; }
.cb-w-full { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.cb-btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: filter .15s, background .15s; font-family: inherit; line-height: 1.2; }
.cb-btn-primary { background: var(--cb-accent); color: #fff !important; }
.cb-btn-primary:hover { filter: brightness(1.1); }
.cb-btn-secondary { background: var(--cb-dark); color: #fff !important; }
.cb-btn-outline { border-color: var(--cb-accent); color: var(--cb-accent) !important; background: transparent; }
.cb-btn-outline:hover { background: var(--cb-accent); color: #fff !important; }
.cb-image { margin-inline: 0; }
.cb-image.cb-align-center img { margin-inline: auto; display: block; }
.cb-rounded { border-radius: var(--cb-radius); }
.cb-image figcaption, .cb-gallery figcaption { font-size: 14px; color: var(--cb-muted); text-align: center; margin-top: 8px; }
.cb-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 14px; }
.cb-gallery figure { margin: 0; }
.cb-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.cb-video video, .cb-embed iframe { width: 100%; border: 0; border-radius: var(--cb-radius); display: block; background: #000; }
.cb-video video { aspect-ratio: 16 / 9; }
.cb-video-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; border-radius: var(--cb-radius); overflow: hidden; cursor: pointer; }
/* Thumbnail fills the 16:9 frame, centred. Doubled class: article image rules (height:auto) must not win,
   or YouTube's 4:3 thumbnails show their black letterbox bands and the picture sits off-centre. */
.cb-video-lite.cb-video-lite img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; margin: 0; border-radius: 0; }
.cb-video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* YouTube-style play button: red rounded rectangle, white triangle. */
.cb-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px / 12px; background: #f00; transition: background-color .15s; }
.cb-video-lite:hover .cb-play, .cb-video-lite:focus-visible .cb-play { background: #cc0000; }
.cb-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
@media (max-width: 600px) { .cb-play { width: 56px; height: 40px; } .cb-play::after { left: 22px; top: 11px; border-width: 9px 0 9px 15px; } }
.cb-section { padding: 56px 20px; }
.cb-section-inner { max-width: var(--cb-width); margin: 0 auto; }
.cb-columns { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: var(--gap, 32px); }
.cb-col > :last-child { margin-bottom: 0; }
.cb-divider { border: 0; border-top: 1px solid var(--cb-line); margin: 32px 0; }
.cb-quote { margin-inline: 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--cb-accent); font-size: 20px; color: var(--cb-dark); }
.cb-quote p { margin: 0 0 8px; }
.cb-quote cite { font-size: 15px; color: var(--cb-muted); font-style: normal; }
.cb-list { list-style: none; padding: 0; }
.cb-list li { display: flex; gap: 10px; margin-bottom: 10px; }
.cb-list-icon { color: var(--cb-accent); font-weight: 700; flex: none; }
.cb-callout { margin: 8px 0 26px; }
.cb-callout-box { background: #fff; border: 1px solid #d7e1ee; border-top: 4px solid #2fa89a; border-radius: 14px; padding: 22px 26px; }
.cb-callout-note { background: #f3f6fb; border-left: 4px solid #2fa89a; border-radius: 10px; padding: 16px 20px; }
.cb-callout-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2fa89a; margin: 0 0 12px !important; }
.cb-callout-note .cb-callout-title { font-size: 17px; letter-spacing: normal; text-transform: none; color: #1e375a; margin-bottom: 6px !important; }
.cb-callout-body > :last-child { margin-bottom: 0; }
.cb-callout-body ul, .cb-callout-body ol { padding-left: 20px; margin: 0; }
.cb-callout-body li { font-size: 16px; line-height: 1.65; margin: 0 0 8px; }
.cb-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 32px; border-radius: calc(var(--cb-radius) + 4px); background: linear-gradient(135deg, var(--cb-dark), var(--cb-primary)); color: #fff; }
.cb-cta p { margin: 0; color: #dfe8f7; }
.cb-cta .cb-cta-title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cb-cta .cb-btn-primary { background: #fff; color: var(--cb-primary) !important; }
.cb-faq details { border: 1px solid var(--cb-line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.cb-faq summary { padding: 16px 20px; font-weight: 500; color: var(--cb-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--cb-accent); }
.cb-faq details[open] summary::after { content: "−"; }
.cb-faq details > div { padding: 0 20px 6px; }
.cb-table { overflow-x: auto; }
.cb-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cb-table th, .cb-table td { border: 1px solid var(--cb-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.cb-table th { background: var(--cb-soft); color: var(--cb-dark); }
.cb-striped tbody tr:nth-child(even) { background: #fafcff; }
.cb-toc { background: var(--cb-soft); border-radius: var(--cb-radius); padding: 20px 24px; }
.cb-toc-title { font-weight: 700; color: var(--cb-dark); margin: 0 0 8px; }
.cb-toc ol { margin: 0; padding-left: 20px; }
.cb-toc li { margin: 4px 0; }
.cb-toc-l3 { margin-left: 18px !important; font-size: 15px; }
.cb-toc a { text-decoration: none; }
.cb-code { background: var(--cb-dark); color: #e6ecff; padding: 18px; border-radius: var(--cb-radius); overflow-x: auto; font-size: 14px; line-height: 1.5; }
.cb-form { display: grid; gap: 16px; max-width: 620px; }
.cb-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--cb-dark); }
.cb-form input, .cb-form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cdd6e3; border-radius: 8px; background: #fff; color: var(--cb-text); width: 100%; }
.cb-form input:focus, .cb-form textarea:focus { outline: 2px solid var(--cb-accent); outline-offset: 1px; border-color: var(--cb-accent); }
.cb-form .cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cb-form button { justify-self: start; }
.cb-form-status { margin: 0; font-size: 15px; min-height: 1.4em; }
.cb-form-status.ok { color: #14803c; } .cb-form-status.err { color: #b42318; }

/* ---------- fallback chrome (used only until a header/footer is saved in the CMS) ---------- */
.cbx-native { margin: 0; font-family: var(--cb-font); }
.cbx-header { display: flex; align-items: center; gap: 28px; padding: 16px 24px; border-bottom: 1px solid var(--cb-line); font-family: var(--cb-font); }
.cbx-logo { font-weight: 700; font-size: 20px; color: var(--cb-dark); text-decoration: none; }
.cbx-header nav { flex: 1; } .cbx-header a { color: var(--cb-dark); text-decoration: none; }
.cbx-langs { display: flex; gap: 12px; font-size: 14px; }
.cbx-footer { padding: 32px 24px; text-align: center; background: var(--cb-dark); color: #cfd6ee; font-family: var(--cb-font); }

/* ---------- cookie consent ---------- */
.cb-consent { position: fixed; z-index: 99990; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; padding: 18px 20px; background: #fff; color: var(--cb-text); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); box-shadow: 0 12px 40px rgba(34, 40, 75, .2); font: 15px/1.5 var(--cb-font); }
.cb-consent p { margin: 0 0 12px; }
.cb-consent div { display: flex; gap: 10px; justify-content: flex-end; }
.cb-consent button { font: inherit; padding: 8px 18px; border-radius: 8px; cursor: pointer; border: 1px solid var(--cb-primary); background: #fff; color: var(--cb-primary); }
.cb-consent button[data-v="1"] { background: var(--cb-primary); color: #fff; }

@media (max-width: 767px) {
  .cb-main { padding: 28px 16px 48px; font-size: 16px; }
  .cb-columns:not(.cb-nostack) { grid-template-columns: 1fr; }
  .cb-gallery { grid-template-columns: repeat(2, 1fr); }
  .cb-hide-mobile { display: none !important; }
  .cb-section { padding: 36px 16px; }
}
@media (min-width: 768px) { .cb-hide-desktop { display: none !important; } }

/* ---------- device compatibility (UX audit) ---------- */
/* The site header stays at the top while scrolling (it sits directly in <body>, so its own sticky works). */
.scvh { position: sticky; top: 0; }
/* Mobile menu: 100vh includes the area behind phone browser toolbars; use the visible height. */
@supports (height: 100dvh) {
  @media (max-width: 1099px) { .scvh .scvh-nav { max-height: calc(100dvh - 70px); overscroll-behavior: contain; } }
}
/* Sign up / Login / language menus open on tap (site.js toggles .open), not only on hover. */
.scvh .scvh-right .scvh-dd.open > .scvh-menu { display: block; }
@media (hover: none) {
  .scvh .scvh-right .scvh-dd:hover:not(.open) > .scvh-menu,
  .scvh .scvh-right .scvh-dd:focus-within:not(.open) > .scvh-menu { display: none; }
}
/* On small phones the menus span the screen under the header instead of hanging off its left edge
   (translated labels make the buttons wider, which pushed the menus past the viewport). */
@media (max-width: 480px) {
  .scvh .scvh-right .scvh-dd > .scvh-menu { position: fixed; left: 12px; right: 12px; top: 72px; min-width: 0 !important; max-height: calc(100vh - 90px); overflow-y: auto; }
  .scvh .scvh-right .scvh-dd > .scvh-menu::before { display: none; }
}
/* Readable header buttons on small screens (they shrank to 11px). */
@media (max-width: 1099px) {
  .scvh.scvh .scvh-signup, .scvh.scvh .scvh-login { font-size: 13px; min-height: 38px; }
}
/* Touch targets of at least 40px: footer social icons and case-study dots. */
.scvf .scvf-social { gap: 8px; }
.scvf .scvf-social a { width: 40px; height: 40px; padding: 7px; box-sizing: border-box; }
.scv-cs-dot { position: relative; }
.scv-cs-dot::after { content: ""; position: absolute; inset: -14px; }
.scvf .scvf-lang a { display: inline-block; padding: 8px 2px; }
/* iOS zooms into inputs whose text is smaller than 16px. */
@media (max-width: 1000px) { .cb-search input, .cb-form input, .cb-form textarea, .cb-form select, .cb-cf input, .cb-cf textarea, .cb-cf select { font-size: 16px; } }
/* Long words and URLs never push the page sideways. */
.cb-prose, .cb-article-body { overflow-wrap: anywhere; }
.cb-prose table, .cb-article-body table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cb-prose img, .cb-article-body img, .cb-prose video, .cb-article-body video { max-width: 100%; height: auto; }
.cb-prose iframe, .cb-article-body iframe { max-width: 100%; }
/* Article index: collapsible on phones and tablets so the article starts on the first screen. */
.cb-post-toc-title { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0; font-family: inherit; cursor: default; text-align: left; }
.cb-post-toc-title::after { content: ""; display: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 12px; transition: transform .2s; }
@media (max-width: 1000px) {
  .cb-post-toc { padding: 0; }
  .cb-post-toc-title { cursor: pointer; padding: 16px 20px; margin: 0; min-height: 48px; font-size: 13px; }
  .cb-post-toc-title::after { display: block; }
  .cb-post-toc nav { padding: 0 20px 16px; }
  .cb-post-toc.collapsed nav { display: none; }
  .cb-post-toc.collapsed .cb-post-toc-title::after { transform: rotate(-45deg); }
  .cb-post-toc:not(.collapsed) .cb-post-toc-title::after { transform: rotate(45deg); }
}
/* Contact page (all languages): the form card under "Send us a message". */
.scv-contact-form { background: #e9eef6; padding: 40px 24px 56px; width: 100%; box-sizing: border-box; }
.scv-contact-form-in { max-width: 620px; margin-inline: auto; background: #fff; border: 1px solid #d7e1ee; border-radius: 12px; padding: clamp(16px, 4vw, 26px); box-sizing: border-box; }
@media (max-width: 480px) { .scv-contact-form { padding-inline: 4px; } .scv-contact-form-in { padding-inline: 6px; } }
/* The page's inline script widened its two blocks to the window and shifted them left by the column's
   offset (inline margin-left/width). With a full-width column that is unnecessary, and a measurement
   taken while the layout settles pushed the whole page off-screen. CSS layout only. */
body .scv-contact-top, body .scv-contact-bottom { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100%; }

/* ---------- contact form ---------- */
.cb-cf { --cf-line: #c9d5e4; --cf-focus: #187ADF; --cf-err: #b42318; display: grid; gap: 18px; font-family: var(--cb-font); color: #1e375a; text-align: left; }
.cb-cf[hidden], .cb-cf-done[hidden] { display: none; }
.cb-cf-note { margin: 0; font-size: 14px; color: #5b6472; }
.cb-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cb-cf-field { display: grid; gap: 6px; min-width: 0; }
.cb-cf-field label { font-size: 15px; font-weight: 600; color: #1e375a; }
.cb-cf-req { color: var(--cf-err); }
.cb-cf-opt { font-weight: 400; color: #667085; font-size: 14px; }
.cb-cf input, .cb-cf textarea { font: 16px/1.5 var(--cb-font); color: #1e293b; background: #fff; border: 1px solid var(--cf-line); border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; min-height: 48px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.cb-cf textarea { min-height: 150px; resize: vertical; }
.cb-cf input::placeholder, .cb-cf textarea::placeholder { color: #8a94a6; }
.cb-cf input:hover, .cb-cf textarea:hover { border-color: #9fb3cc; }
.cb-cf input:focus, .cb-cf textarea:focus { outline: none; border-color: var(--cf-focus); box-shadow: 0 0 0 3px rgba(24, 122, 223, .2); }
.cb-cf-field.has-error input, .cb-cf-field.has-error textarea { border-color: var(--cf-err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.cb-cf-err { margin: 0; font-size: 14px; color: var(--cf-err); }
.cb-cf-err::before { content: "! "; font-weight: 700; }
.cb-cf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cb-cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cb-cf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 999px; background: #187ADF; color: #fff; font: 600 16px/1 var(--cb-font); cursor: pointer; box-shadow: 0 6px 16px rgba(24, 122, 223, .3); transition: background .2s, transform .2s, box-shadow .2s; }
.cb-cf-btn:hover { background: #2f8fef; transform: translateY(-1px); }
.cb-cf-btn:focus-visible { outline: 3px solid #1e375a; outline-offset: 2px; }
.cb-cf-btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.cb-cf-spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: cbspin .8s linear infinite; }
.cb-cf.is-sending .cb-cf-spin { display: inline-block; }
@keyframes cbspin { to { transform: rotate(360deg); } }
.cb-cf-privacy { margin: 0; flex: 1 1 240px; font-size: 13.5px; line-height: 1.5; color: #5b6472; }
.cb-cf-privacy a { color: #26518B; text-decoration: underline; }
.cb-cf-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; background: #f1f5fa; color: #1e375a; }
.cb-cf-status.err { background: #fef3f2; color: var(--cf-err); border: 1px solid #fecdca; }
.cb-cf-done { padding: 28px 24px; border-radius: 14px; background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; text-align: left; font-family: var(--cb-font); }
.cb-cf-done:focus { outline: none; }
.cb-cf-done p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.cb-cf-done .cb-cf-done-title { font-size: 20px; font-weight: 700; color: #05603a; }
.cb-cf-again { margin-top: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid #05603a; background: #fff; color: #05603a; font: 600 15px var(--cb-font); cursor: pointer; }
@media (max-width: 640px) { .cb-cf-row { grid-template-columns: 1fr; } .cb-cf-btn { width: 100%; } .cb-cf, .cb-cf-done { margin-inline: 5px; } }
@media (prefers-reduced-motion: reduce) { .cb-cf-spin { animation-duration: 2s; } .cb-cf-btn { transition: none; } }

/* Anchors land below the sticky header. */
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { .cb-card, .cb-btn, .cb-post-toc nav a { transition: none; } html { scroll-behavior: auto; } }
