:root {
  --ink: #0f2740;
  --navy: #123e6c;
  --navy-dark: #0b2d50;
  --red: #e63929;
  --muted: #4a5a6d;
  --paper: #ffffff;
  --mist: #f3f5f8;
  --mist-2: #e8edf3;
  --rule: #d5dce5;
  --rule-strong: #6d809a;
  --success: #174f35;
  --max: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 20px 60px rgba(15, 39, 64, .10);
  --hero-panel-height: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.65 var(--sans); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-dark); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.measure { max-width: 68ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); max-width: 13ch; }
h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0; }
.lead { max-width: 36ch; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.55; }
.eyebrow { margin-bottom: 18px; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; min-height: 78px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 197px; height: 44px; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); border-radius: 3px; font-size: .91rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--mist); }
.site-nav .nav-contact a { margin-left: 8px; padding-inline: 17px; color: var(--paper); background: var(--navy); }
.site-nav .nav-contact a:hover { background: var(--navy-dark); }
.menu-toggle { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 3px; cursor: pointer; }
.menu-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero {
  min-height: var(--hero-panel-height);
  padding: clamp(70px, 9vw, 132px) 0 clamp(58px, 7vw, 100px);
  overflow: hidden;
  background-color: #f8fafc;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.68) 68%, rgba(255,255,255,.12) 100%),
    url('../img/faceted-bull-hero.webp');
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: 100% 100%, auto 100%;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(44px, 7vw, 110px); align-items: end; }
.hero h1 { max-width: 11ch; }
.hero-copy .lead { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--navy); border-radius: 3px; font-weight: 650; text-decoration: none; }
.button-primary { color: var(--paper); background: var(--navy); }
.button-primary:hover { color: var(--paper); background: var(--navy-dark); }
.button-secondary { color: var(--navy); background: transparent; }
.facts { display: grid; grid-template-columns: 125px 1fr; margin: 20px 0 0; border-top: 1px solid var(--rule); }
.facts dt, .facts dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts dt { padding-right: 14px; color: var(--muted); font-size: .82rem; }
.facts dd { font-size: .9rem; font-weight: 600; }

.page-head {
  display: flex;
  align-items: center;
  min-height: var(--hero-panel-height);
  overflow: hidden;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  background-color: #f8fafc;
  background-image: url('../img/headers/header-about-desktop.webp');
  background-image: image-set(url('../img/headers/header-about-desktop.webp') 1x, url('../img/headers/header-about-desktop@2x.webp') 2x);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}
.cbm-page-who-we-serve .page-head { background-image: url('../img/headers/header-who-we-serve-desktop.webp'); background-image: image-set(url('../img/headers/header-who-we-serve-desktop.webp') 1x, url('../img/headers/header-who-we-serve-desktop@2x.webp') 2x); }
.cbm-page-capabilities .page-head { background-image: url('../img/headers/header-capabilities-desktop.webp'); background-image: image-set(url('../img/headers/header-capabilities-desktop.webp') 1x, url('../img/headers/header-capabilities-desktop@2x.webp') 2x); }
.cbm-page-markets .page-head { background-image: url('../img/headers/header-markets-desktop.webp'); background-image: image-set(url('../img/headers/header-markets-desktop.webp') 1x, url('../img/headers/header-markets-desktop@2x.webp') 2x); }
.cbm-page-access .page-head { background-image: url('../img/headers/header-access-desktop.webp'); background-image: image-set(url('../img/headers/header-access-desktop.webp') 1x, url('../img/headers/header-access-desktop@2x.webp') 2x); }
.cbm-page-onboarding .page-head { background-image: url('../img/headers/header-onboarding-desktop.webp'); background-image: image-set(url('../img/headers/header-onboarding-desktop.webp') 1x, url('../img/headers/header-onboarding-desktop@2x.webp') 2x); }
.cbm-page-insights .page-head, .single .page-head { background-image: url('../img/headers/header-insights-desktop.webp'); background-image: image-set(url('../img/headers/header-insights-desktop.webp') 1x, url('../img/headers/header-insights-desktop@2x.webp') 2x); }
.cbm-page-about .page-head { background-image: url('../img/headers/header-about-desktop.webp'); background-image: image-set(url('../img/headers/header-about-desktop.webp') 1x, url('../img/headers/header-about-desktop@2x.webp') 2x); }
.cbm-page-contact .page-head { background-image: url('../img/headers/header-contact-desktop.webp'); background-image: image-set(url('../img/headers/header-contact-desktop.webp') 1x, url('../img/headers/header-contact-desktop@2x.webp') 2x); }
.cbm-page-legal .page-head { background-image: url('../img/headers/header-legal-desktop.webp'); background-image: image-set(url('../img/headers/header-legal-desktop.webp') 1x, url('../img/headers/header-legal-desktop@2x.webp') 2x); }
.cbm-page-privacy-notice .page-head { background-image: url('../img/headers/header-privacy-notice-desktop.webp'); background-image: image-set(url('../img/headers/header-privacy-notice-desktop.webp') 1x, url('../img/headers/header-privacy-notice-desktop@2x.webp') 2x); }
.cbm-page-risk-disclosure .page-head { background-image: url('../img/headers/header-risk-disclosure-desktop.webp'); background-image: image-set(url('../img/headers/header-risk-disclosure-desktop.webp') 1x, url('../img/headers/header-risk-disclosure-desktop@2x.webp') 2x); }
.page-head-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: clamp(40px, 7vw, 100px); align-items: end; }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.page-head .lead { color: #304b65; }
.section { padding: clamp(58px, 7vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-tint { background: var(--mist); border-top: 0 !important; }
.section-dark { color: var(--paper); background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 88px); margin-bottom: 44px; }
.section-head p { max-width: 60ch; color: var(--muted); }
.section-dark .section-head p { color: #cbd5df; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--navy); }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); }
.card a { display: inline-block; margin-top: 18px; font-weight: 650; }
.section-dark .card { color: var(--ink); }
.index-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.index-list li { display: grid; grid-template-columns: minmax(180px, 4fr) minmax(0, 7fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.index-list strong { font-family: var(--serif); font-size: 1.25rem; }
.index-list span { color: var(--muted); }
.legal-documents-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.legal-documents-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.45rem); }
.legal-documents-head p { color: var(--muted); font-size: .9rem; }
.legal-documents { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.legal-documents li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 76px; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule); transition: background-color .2s ease; }
.legal-documents li:hover { background: #f7f9fc; }
.legal-document-number { color: var(--rule-strong); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.legal-document-title { font-family: var(--serif); font-size: clamp(1.05rem, 1.45vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.legal-document-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--rule); color: var(--navy); font-size: .83rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.legal-document-link:hover { border-color: var(--navy); color: var(--paper); background: var(--navy); }
.legal-document-link span { font-size: 1.1rem; line-height: 1; }
.step { position: relative; padding: 28px 24px 28px 68px; border-top: 1px solid var(--rule); }
.step-number { position: absolute; top: 25px; left: 0; display: grid; width: 44px; height: 44px; color: var(--paper); background: var(--navy); border-radius: 50%; place-items: center; font-weight: 700; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.notice { padding: 20px 22px; background: var(--mist); border-left: 3px solid var(--navy); }
.notice strong { display: block; margin-bottom: 5px; }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 7fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.contact-list strong { font-family: var(--serif); font-size: 1.2rem; }
.legal-copy { max-width: 78ch; }
.legal-copy h2 { margin: 2.2em 0 .6em; font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
.legal-copy h3 { margin: 1.7em 0 .5em; font-size: 1.3rem; }
.legal-copy p, .legal-copy ul { margin: 0 0 1.1em; }
.legal-copy li + li { margin-top: .45em; }

.risk-band { padding: 24px 0; color: var(--paper); background: var(--navy); }
.risk-band .wrap { display: grid; grid-template-columns: 130px 1fr; gap: 22px; }
.risk-band a { color: var(--paper); }
.site-footer { color: #d8e1ea; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(150px, .7fr)); gap: clamp(36px, 6vw, 90px); padding-block: 60px; }
.footer-brand { margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-grid p { max-width: 72ch; margin-top: 10px; font-size: .82rem; }
.footer-grid h2 { margin-bottom: 16px; color: var(--paper); font: 700 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 9px; }
.footer-grid a { color: #e8edf3; }
.footer-consent-link { padding: 0; color: #e8edf3; background: none; border: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer-base { display: flex; justify-content: space-between; gap: 32px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; }

.consent-open { overflow: hidden; }
.consent-layer { position: fixed; inset: 0; z-index: 1000; display: grid; padding: 24px; background: rgba(7, 24, 41, .62); place-items: center; }
.consent-layer[hidden] { display: none; }
.consent-panel { position: relative; width: min(100%, 720px); max-height: calc(100vh - 48px); padding: clamp(26px, 5vw, 46px); overflow: auto; background: var(--paper); box-shadow: 0 30px 90px rgba(5, 18, 31, .3); }
.consent-panel h2 { max-width: 16ch; margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 3rem); }
.consent-panel > p:not(.eyebrow):not(.consent-privacy) { max-width: 62ch; color: var(--muted); }
.consent-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; color: var(--ink); background: transparent; border: 1px solid var(--rule); cursor: pointer; }
.consent-options { margin-top: 28px; border-top: 1px solid var(--rule); }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.consent-option strong, .consent-option small { display: block; }
.consent-option small { margin-top: 4px; color: var(--muted); }
.consent-option input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--navy); }
.consent-required { color: var(--success); font-size: .82rem; font-weight: 700; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.consent-actions .button { cursor: pointer; }
.consent-privacy { margin-top: 18px; font-size: .88rem; }

.post-list article { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.post-list article:first-child { border-top: 1px solid var(--rule); }
.post-meta { margin-bottom: 8px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.post-list h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.empty-state { padding: 36px; background: var(--mist); border-left: 3px solid var(--navy); }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 14px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); }
  .site-nav[data-open] { display: block; }
  .site-nav ul { display: grid; }
  .site-nav a { width: 100%; min-height: 48px; }
  .site-nav .nav-contact a { margin: 8px 0 0; justify-content: center; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .hero-grid, .page-head-grid, .section-head { grid-template-columns: 1fr; gap: 30px; }
  .hero {
    padding-top: 58px;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.97) 62%, rgba(255,255,255,.72) 100%),
      url('../img/faceted-bull-hero.webp');
    background-position: center, right 12% top 54px;
    background-size: 100% 100%, auto 58%;
  }
  .hero-grid { align-items: start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .index-list li { grid-template-columns: 1fr; gap: 7px; }
  .legal-documents-head { display: block; }
  .legal-documents-head p { margin-top: 8px; }
  .risk-band .wrap, .footer-grid { grid-template-columns: 1fr; }
  .footer-base { display: grid; }
  .footer-grid { padding-block: 48px; }
}

@media (max-width: 640px) {
  .hero, .page-head { min-height: max(720px, 100svh); }
  .page-head {
    display: block;
    padding: calc(71.8vw + 12px) 0 52px;
    background-position: center top;
    background-size: 100% auto;
  }
  .page-head { background-image: url('../img/headers/header-about-mobile@2x.webp'); }
  .cbm-page-who-we-serve .page-head { background-image: url('../img/headers/header-who-we-serve-mobile@2x.webp'); }
  .cbm-page-capabilities .page-head { background-image: url('../img/headers/header-capabilities-mobile@2x.webp'); }
  .cbm-page-markets .page-head { background-image: url('../img/headers/header-markets-mobile@2x.webp'); }
  .cbm-page-access .page-head { background-image: url('../img/headers/header-access-mobile@2x.webp'); }
  .cbm-page-onboarding .page-head { background-image: url('../img/headers/header-onboarding-mobile@2x.webp'); }
  .cbm-page-insights .page-head, .single .page-head { background-image: url('../img/headers/header-insights-mobile@2x.webp'); }
  .cbm-page-about .page-head { background-image: url('../img/headers/header-about-mobile@2x.webp'); }
  .cbm-page-contact .page-head { background-image: url('../img/headers/header-contact-mobile@2x.webp'); }
  .cbm-page-legal .page-head { background-image: url('../img/headers/header-legal-mobile@2x.webp'); }
  .cbm-page-privacy-notice .page-head { background-image: url('../img/headers/header-privacy-notice-mobile@2x.webp'); }
  .cbm-page-risk-disclosure .page-head { background-image: url('../img/headers/header-risk-disclosure-mobile@2x.webp'); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 169px; height: 38px; }
  .site-nav { top: 68px; }
  .grid-4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 3px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .legal-documents li { grid-template-columns: 24px minmax(0, 1fr); gap: 6px 12px; padding: 16px 0; }
  .legal-document-link { grid-column: 2; justify-self: start; margin-top: 3px; }
  .button { width: 100%; }
  .consent-layer { align-items: end; padding: 0; }
  .consent-panel { width: 100%; max-height: 92vh; }
  .consent-option { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .menu-toggle, .risk-band { position: static; }
  .site-nav, .actions { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: none; }
}
