/* Compliance hub (compliance/index.php, /compliance/). Lives in /css rather than
   compliance/css, which is a symlink to the shared service-areas/css.
   Same family as home-2.css / pricing.css / contact.css / startups.css:
   deep navy, rose accent, condensed display type from local fonts, no web
   fonts. Scoped under main.cx so the site-wide Bootstrap/theme CSS loaded by
   includes/header-2.php can't bleed in, and nothing leaks out to the shared
   nav/footer. */

html, body { background: #0a1628 !important; background-image: none !important; }

.cx {
  --ink: #0a1628; --deep: #0d1b30; --panel: #111f37; --panel-hi: #152844;
  --line: #25406a; --line-soft: #1b3152;
  --text: #e9eef4; --muted: #93a4ba; --quiet: #8296b0;
  --rose: #ba5663; --rose-dark: #a84b58; --rose-hi: #d77382;
  --display: "Bahnschrift","DIN Alternate","DIN Next","Roboto Condensed","Nimbus Sans Narrow","Liberation Sans Narrow","Arial Narrow",system-ui,sans-serif;
  --body: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  --gutter: clamp(20px, 4vw, 48px);

  display: block;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 var(--body);
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
/* The theme sets Muli, tracking and uppercase on various elements. */
.cx :where(p,a,label,span,strong,em,div,li,dt,dd,small,button,summary,input,th,td,caption) {
  font-family: inherit; letter-spacing: normal; text-transform: none;
}
.cx :where(h1,h2,h3,h4) { font-family: var(--display); font-weight: 600; color: var(--text); text-transform: none; letter-spacing: normal; margin: 0; text-wrap: balance; }
.cx :where(p,ul,ol,dl,dd,figure) { margin: 0; }
.cx :where(ul,ol) { padding: 0; list-style: none; }
.cx a { color: var(--rose-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cx a:hover { color: #eaa3ae; }
.cx :where(a,summary,input):focus-visible { outline: 3px solid var(--rose-hi); outline-offset: 3px; border-radius: 4px; }
.cx strong { font-weight: 600; color: var(--text); }
.cx [id] { scroll-margin-top: 96px; }
.cx .cx-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cx .cx-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.cx .cx-sec { padding-block: clamp(80px, 8vw, 120px); }
.cx .cx-title { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; }
.cx .cx-head { margin-bottom: clamp(36px, 4vw, 56px); max-width: 46rem; }
.cx .cx-head p { color: var(--muted); font-size: 1.0625rem; margin-top: 16px; max-width: 60ch; }
.cx .cx-head-split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 64px; }
.cx .cx-head-split > div:first-child { max-width: 44rem; }

/* ── Buttons ── */
.cx .cx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cx .cx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 8px;
  font: 600 1rem/1.2 var(--body); text-align: center; text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.cx .cx-btn-primary { background: var(--rose); border-color: var(--rose); color: #fff; }
.cx .cx-btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.cx .cx-btn-ghost { background: transparent; border-color: #3b5f94; color: var(--text); }
.cx .cx-btn-ghost:hover { background: #17294a; border-color: #4f76ae; color: #fff; }

/* ── Breadcrumb ── */
.cx .cx-crumbs { margin-bottom: clamp(28px, 3vw, 44px); }
.cx .cx-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--muted); }
.cx .cx-crumbs li { display: inline-flex; gap: 10px; align-items: center; }
.cx .cx-crumbs li + li::before { content: "/"; color: var(--quiet); }
.cx .cx-crumbs a { color: var(--muted); text-decoration: none; }
.cx .cx-crumbs a:hover { color: var(--text); text-decoration: underline; }
.cx .cx-crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ── Hero: copy left, the division of responsibility right ── */
.cx .cx-hero {
  padding-block: clamp(112px, 10vw, 148px) clamp(72px, 7vw, 104px);
  background: radial-gradient(60% 70% at 85% 45%, #13284a 0%, transparent 70%), var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.cx .cx-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.cx .cx-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.375rem); line-height: .97; letter-spacing: -.01em; max-width: 13em; margin-bottom: 28px; }
.cx .cx-lede { color: #c3cedb; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; max-width: 36rem; margin-bottom: 36px; }
.cx .cx-hero-more { margin-top: 22px; color: var(--muted); font-size: .9375rem; }

.cx .cx-split { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cx .cx-split-part { padding: 28px 30px; }
.cx .cx-split-part h3 { font-size: 1.375rem; line-height: 1.15; margin-bottom: 16px; }
.cx .cx-split-part.is-us { border-left: 4px solid var(--rose); }
.cx .cx-split-part.is-them { background: var(--deep); border-top: 1px solid var(--line); border-left: 4px solid #3b5f94; }
.cx .cx-split-part.is-them p { color: #c3cedb; font-size: .9375rem; line-height: 1.6; }
.cx .cx-split-part.is-them .cx-split-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--muted); }

.cx .cx-checks { display: grid; gap: 10px; }
.cx .cx-checks li { position: relative; padding-left: 28px; color: #c3cedb; font-size: .9375rem; line-height: 1.5; }
.cx .cx-checks li::before {
  content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--rose-hi); border-bottom: 2px solid var(--rose-hi); transform: rotate(-45deg);
}

/* ── Directory ── */
.cx .cx-filter { display: grid; gap: 8px; width: min(100%, 360px); }
.cx .cx-filter[hidden] { display: none; }
.cx .cx-filter label { font-weight: 600; font-size: .9375rem; }
.cx .cx-filter input {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: 8px;
  background: var(--deep); border: 1px solid #3b5f94; color: var(--text);
  font: 400 1rem/1.2 var(--body);
}
.cx .cx-filter input::placeholder { color: var(--quiet); opacity: 1; }
.cx .cx-filter input:focus { border-color: var(--rose-hi); }
.cx .cx-filter-count { color: var(--muted); font-size: .875rem; }

.cx .cx-table-wrap { border-top: 2px solid var(--line); }
.cx .cx-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cx .cx-table thead th {
  text-align: left; font: 600 .875rem/1.3 var(--body); color: var(--muted);
  padding: 16px 20px 14px 0; border-bottom: 1px solid var(--line); vertical-align: bottom;
}
.cx .cx-table thead th:nth-child(1) { width: 25%; }
.cx .cx-table thead th:nth-child(2) { width: 27%; }
.cx .cx-table thead th:nth-child(3) { width: 24%; }
.cx .cx-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.cx .cx-table tbody tr[hidden] { display: none; }
.cx .cx-table tbody tr:hover { background: rgba(17, 31, 55, .6); }
.cx .cx-table tbody :where(th,td) { text-align: left; vertical-align: top; padding: 22px 20px 22px 0; font-size: .9375rem; line-height: 1.5; font-weight: 400; color: #c3cedb; }
.cx .cx-table tbody td:last-child { color: var(--text); }

.cx .cx-fw { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--text); font: 600 1.3125rem/1.15 var(--display); }
.cx .cx-fw i { color: var(--rose-hi); font-size: .95rem; width: 1.1em; text-align: center; flex-shrink: 0; }
.cx .cx-fw span { text-decoration: underline; text-decoration-color: #3b5f94; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cx .cx-fw:hover span { color: #fff; text-decoration-color: var(--rose-hi); }
.cx .cx-fw-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0 calc(1.1em + 12px); font-size: .875rem; font-weight: 600; }
.cx .cx-assessor { display: block; color: var(--text); font-weight: 600; }
.cx .cx-types { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.cx .cx-assessor + .cx-types { margin-top: 6px; }
.cx .cx-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.cx .cx-empty[hidden] { display: none; }

/* ── Two pieces of work ── */
.cx .cx-get { background: var(--deep); border-block: 1px solid var(--line-soft); }
.cx .cx-pair { display: grid; grid-template-columns: 1fr 1fr; }
.cx .cx-half { display: flex; flex-direction: column; padding-right: clamp(28px, 4vw, 64px); }
.cx .cx-half + .cx-half { padding-right: 0; padding-left: clamp(28px, 4vw, 64px); border-left: 1px solid var(--line); }
.cx .cx-half h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; margin-bottom: 14px; }
.cx .cx-half-lede { color: var(--muted); font-size: 1rem; max-width: 52ch; margin-bottom: 26px; }
.cx .cx-dl { display: grid; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--line-soft); }
.cx .cx-dl > div { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cx .cx-dl dt { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cx .cx-dl dd { color: var(--muted); font-size: .9375rem; }

/* ── FAQ ── */
.cx .cx-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.cx .cx-faq-grid .cx-head { position: sticky; top: 108px; margin: 0; }
.cx .cx-faq { border-top: 1px solid var(--line-soft); }
.cx .cx-faq-item { border-bottom: 1px solid var(--line-soft); }
.cx .cx-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; }
.cx .cx-faq-item summary::-webkit-details-marker { display: none; }
.cx .cx-faq-item summary h3 { font: 600 1.0625rem/1.4 var(--body); }
.cx .cx-faq-item summary:hover h3 { color: #fff; }
.cx .cx-faq-i { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.cx .cx-faq-i::before, .cx .cx-faq-i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--rose-hi); transition: transform .2s; }
.cx .cx-faq-i::after { transform: rotate(90deg); }
.cx .cx-faq-item[open] .cx-faq-i::after { transform: rotate(0deg); }
.cx .cx-faq-item p { padding: 0 4px 26px; color: var(--muted); font-size: .9375rem; line-height: 1.7; max-width: 46rem; }

/* ── Closing CTA ── */
.cx .cx-cta { padding-block: clamp(72px, 7vw, 104px); border-top: 1px solid var(--line-soft); background: var(--deep); }
.cx .cx-cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.cx .cx-cta-inner > div:first-child { max-width: 38rem; }
.cx .cx-cta p { color: var(--muted); font-size: 1.0625rem; margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .cx .cx-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cx .cx-split { max-width: 44rem; }
}
@media (max-width: 900px) {
  .cx .cx-pair { grid-template-columns: minmax(0, 1fr); }
  .cx .cx-half, .cx .cx-half + .cx-half { padding: 0; border-left: 0; }
  .cx .cx-half + .cx-half { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
  .cx .cx-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cx .cx-faq-grid .cx-head { position: static; }

  /* Table becomes a stack of framework entries; each cell keeps its column name. */
  .cx .cx-table, .cx .cx-table tbody, .cx .cx-table tr, .cx .cx-table th, .cx .cx-table td { display: block; width: 100%; }
  .cx .cx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cx .cx-table tbody tr { padding: 22px 0; }
  .cx .cx-table tbody tr:hover { background: none; }
  .cx .cx-table tbody :where(th,td) { padding: 0; }
  .cx .cx-table tbody td { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 16px; margin-top: 12px; }
  .cx .cx-table tbody td::before { content: attr(data-label); color: var(--quiet); font-size: .8125rem; line-height: 1.6; }
  .cx .cx-table tbody td > span { grid-column: 2; }
  .cx .cx-table tbody th { margin-bottom: 4px; }
}
@media (max-width: 560px) {
  .cx .cx-table tbody td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cx .cx-table tbody td > span { grid-column: 1; }
  .cx .cx-fw-links { margin-left: 0; }
  .cx .cx-actions .cx-btn { flex: 1 1 100%; }
  .cx .cx-split-part { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cx *, .cx *::before, .cx *::after { transition: none !important; animation: none !important; }
}
