/* Climingo site CSS — clmg prefix — all pages */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --clmg-navy:            #0E1825;
  --clmg-navy-alt:        #0D2438;
  --clmg-light:           #F4F7FA;
  --clmg-white:           #FFFFFF;
  --clmg-text-on-dark:    #EEF2F5;
  --clmg-muted-on-dark:   #8BA0B5;
  --clmg-text-on-light:   #0E1825;
  --clmg-muted-on-light:  #4D6073;
  --clmg-amber:           #E07C24;
  --clmg-amber-on-dark:   #E88A30;
  --clmg-amber-on-light:  #8B4C10;
  --clmg-teal:            #2B9090;
  --clmg-teal-on-dark:    #3DAEAE;
  --clmg-teal-on-light:   #1A6B6B;
  --clmg-border-dark:     #1E3347;
  --clmg-border-light:    #DCE4EE;
  --clmg-nav-h:           64px;
  --clmg-container:       1200px;
  --clmg-container-narrow: 720px;
  --clmg-radius:          8px;
  --clmg-radius-lg:       12px;
}

/* ============================================================
   2. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--clmg-text-on-light);
  background-color: var(--clmg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.clmg-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clmg-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

code, pre {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.875rem;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.clmg-container {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-container--narrow {
  max-width: var(--clmg-container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-section {
  padding-block: 96px;
}

.clmg-section--sm {
  padding-block: 64px;
}

@media (max-width: 768px) {
  .clmg-section { padding-block: 56px; }
  .clmg-section--sm { padding-block: 40px; }
}

/* ============================================================
   5. SECTION BACKGROUNDS
   ============================================================ */
.clmg-bg--dark {
  background-color: var(--clmg-navy);
  color: var(--clmg-text-on-dark);
}

.clmg-bg--dark-alt {
  background-color: var(--clmg-navy-alt);
  color: var(--clmg-text-on-dark);
}

.clmg-bg--light {
  background-color: var(--clmg-light);
  color: var(--clmg-text-on-light);
}

.clmg-bg--white {
  background-color: var(--clmg-white);
  color: var(--clmg-text-on-light);
}

.clmg-bg--dark h1,
.clmg-bg--dark h2,
.clmg-bg--dark h3,
.clmg-bg--dark h4,
.clmg-bg--dark-alt h1,
.clmg-bg--dark-alt h2,
.clmg-bg--dark-alt h3,
.clmg-bg--dark-alt h4 {
  color: var(--clmg-text-on-dark);
}

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.clmg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--clmg-nav-h);
  background-color: var(--clmg-navy);
  border-bottom: 1px solid var(--clmg-border-dark);
  display: flex;
  align-items: center;
}

.clmg-nav__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.clmg-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.clmg-nav__logo img {
  height: 32px;
  width: auto;
}

.clmg-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.clmg-nav__link {
  color: var(--clmg-text-on-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--clmg-radius);
  transition: color 0.15s, background-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.clmg-nav__link:hover {
  color: var(--clmg-teal-on-dark);
  background-color: rgba(255,255,255,0.06);
}

.clmg-nav__link--active {
  color: var(--clmg-teal-on-dark);
}

.clmg-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.clmg-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
}

.clmg-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--clmg-text-on-dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.clmg-nav--open .clmg-nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.clmg-nav--open .clmg-nav__hamburger span:nth-child(2) {
  opacity: 0;
}
.clmg-nav--open .clmg-nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .clmg-nav__links,
  .clmg-nav__actions {
    display: none;
  }
  .clmg-nav__hamburger {
    display: flex;
  }
  .clmg-nav--open .clmg-nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--clmg-nav-h);
    left: 0;
    right: 0;
    background-color: var(--clmg-navy);
    border-bottom: 1px solid var(--clmg-border-dark);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .clmg-nav--open .clmg-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(var(--clmg-nav-h) + 220px);
    left: 0;
    right: 0;
    background-color: var(--clmg-navy);
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--clmg-border-dark);
    gap: 8px;
  }
}

/* Main content clearance for fixed nav */
.clmg-main {
  padding-top: var(--clmg-nav-h);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.clmg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border-radius: var(--clmg-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.clmg-btn--primary {
  background-color: var(--clmg-amber);
  color: var(--clmg-navy);
  border-color: var(--clmg-amber);
}
.clmg-btn--primary:hover {
  background-color: #C56D1E;
  border-color: #C56D1E;
  color: var(--clmg-navy);
}

.clmg-btn--outline-on-dark {
  background-color: transparent;
  color: var(--clmg-text-on-dark);
  border-color: rgba(238,242,245,0.45);
}
.clmg-btn--outline-on-dark:hover {
  border-color: var(--clmg-text-on-dark);
  background-color: rgba(255,255,255,0.06);
}

.clmg-btn--outline-on-light {
  background-color: transparent;
  color: var(--clmg-text-on-light);
  border-color: rgba(14,24,37,0.4);
}
.clmg-btn--outline-on-light:hover {
  border-color: var(--clmg-text-on-light);
}

.clmg-btn--ghost-on-dark {
  background-color: transparent;
  color: var(--clmg-teal-on-dark);
  border-color: transparent;
  padding-inline: 8px;
}
.clmg-btn--ghost-on-dark:hover {
  color: var(--clmg-text-on-dark);
}

.clmg-btn--ghost-on-light {
  background-color: transparent;
  color: var(--clmg-teal-on-light);
  border-color: transparent;
  padding-inline: 8px;
}
.clmg-btn--ghost-on-light:hover {
  color: var(--clmg-text-on-light);
}

.clmg-btn--sm {
  font-size: 0.875rem;
  padding: 7px 16px;
}

.clmg-btn--lg {
  font-size: 1rem;
  padding: 13px 28px;
}

/* ============================================================
   8. HERO — INDEX (two-column dark)
   ============================================================ */
.clmg-hero {
  background-color: var(--clmg-navy);
  color: var(--clmg-text-on-dark);
  padding-top: calc(var(--clmg-nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.clmg-hero__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.clmg-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clmg-hero__eyebrow {
  color: var(--clmg-teal-on-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clmg-hero__h1 {
  color: var(--clmg-text-on-dark);
  font-weight: 800;
}

.clmg-hero__sub {
  color: var(--clmg-muted-on-dark);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 520px;
}

.clmg-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.clmg-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 860px) {
  .clmg-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .clmg-hero {
    padding-top: calc(var(--clmg-nav-h) + 48px);
    padding-bottom: 56px;
  }
}

/* ============================================================
   9. HERO — SUBPAGE (centered text)
   ============================================================ */
.clmg-subhero {
  padding-top: calc(var(--clmg-nav-h) + 72px);
  padding-bottom: 72px;
}

.clmg-subhero--dark {
  background-color: var(--clmg-navy);
  color: var(--clmg-text-on-dark);
}

.clmg-subhero--light {
  background-color: var(--clmg-light);
  color: var(--clmg-text-on-light);
}

.clmg-subhero__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-subhero__h1 {
  margin-bottom: 16px;
}

.clmg-subhero--dark .clmg-subhero__h1 { color: var(--clmg-text-on-dark); }
.clmg-subhero--light .clmg-subhero__h1 { color: var(--clmg-text-on-light); }

.clmg-subhero__sub {
  font-size: 1.125rem;
  max-width: 620px;
  line-height: 1.65;
}

.clmg-subhero--dark .clmg-subhero__sub { color: var(--clmg-muted-on-dark); }
.clmg-subhero--light .clmg-subhero__sub { color: var(--clmg-muted-on-light); }

.clmg-subhero--dark-with-image {
  background-color: var(--clmg-navy);
  color: var(--clmg-text-on-dark);
  position: relative;
  overflow: hidden;
}

.clmg-subhero--dark-with-image .clmg-subhero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.clmg-subhero--dark-with-image .clmg-subhero__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .clmg-subhero {
    padding-top: calc(var(--clmg-nav-h) + 48px);
    padding-bottom: 48px;
  }
}

/* ============================================================
   10. CREDIBILITY STRIP
   ============================================================ */
.clmg-cred-strip {
  background-color: var(--clmg-navy-alt);
  border-top: 1px solid var(--clmg-border-dark);
  border-bottom: 1px solid var(--clmg-border-dark);
  padding-block: 32px;
}

.clmg-cred-strip__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.clmg-cred-stat {
  text-align: center;
  padding: 12px 8px;
}

.clmg-cred-stat__value {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--clmg-amber-on-dark);
  display: block;
  margin-bottom: 4px;
}

.clmg-cred-stat__label {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-dark);
}

@media (max-width: 640px) {
  .clmg-cred-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   11. THREE-STEP SECTION
   ============================================================ */
.clmg-steps-section {
  background-color: var(--clmg-light);
}

.clmg-steps-section__heading {
  text-align: center;
  margin-bottom: 48px;
  color: var(--clmg-text-on-light);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.clmg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.clmg-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--clmg-teal-on-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.clmg-step__text {
  color: var(--clmg-text-on-light);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .clmg-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   12. PROVIDER PREVIEW SCORE TILES
   ============================================================ */
.clmg-providers-section {
  background-color: var(--clmg-navy-alt);
}

.clmg-providers-section__head {
  text-align: center;
  margin-bottom: 48px;
}

.clmg-providers-section__heading {
  color: var(--clmg-text-on-dark);
  margin-bottom: 12px;
}

.clmg-providers-section__sub {
  color: var(--clmg-muted-on-dark);
  font-size: 1.0625rem;
}

.clmg-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.clmg-provider-card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid var(--clmg-border-dark);
  border-radius: var(--clmg-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s;
}

.clmg-provider-card:hover {
  border-color: var(--clmg-teal);
}

.clmg-provider-card__rank {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--clmg-teal-on-dark);
  letter-spacing: 0.04em;
}

.clmg-provider-card__name {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--clmg-text-on-dark);
  line-height: 1.2;
}

.clmg-provider-card__overall {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--clmg-border-dark);
  border-bottom: 1px solid var(--clmg-border-dark);
}

.clmg-provider-card__overall-num {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--clmg-text-on-dark);
  line-height: 1;
}

.clmg-provider-card__overall-lbl {
  font-size: 0.7rem;
  color: var(--clmg-muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.clmg-provider-card__metrics {
  display: flex;
  gap: 10px;
}

.clmg-provider-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.clmg-provider-card__metric-lbl {
  font-size: 0.6875rem;
  color: var(--clmg-muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.clmg-provider-card__metric-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--clmg-text-on-dark);
}

.clmg-provider-card__cadence {
  font-size: 0.75rem;
  color: var(--clmg-teal-on-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.clmg-provider-card__cadence::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--clmg-teal-on-dark);
  flex-shrink: 0;
}

.clmg-providers-section__cta {
  text-align: center;
}

@media (max-width: 768px) {
  .clmg-provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .clmg-provider-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   13. THREE-CARD (use-cases teaser)
   ============================================================ */
.clmg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clmg-card {
  background-color: var(--clmg-white);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clmg-bg--light .clmg-card {
  background-color: var(--clmg-white);
}

.clmg-bg--white .clmg-card {
  background-color: var(--clmg-light);
  border-color: var(--clmg-border-light);
}

.clmg-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--clmg-radius);
  background-color: var(--clmg-teal-on-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
}

.clmg-card__title {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--clmg-text-on-light);
}

.clmg-card__body {
  color: var(--clmg-muted-on-light);
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .clmg-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   14. TESTIMONIALS / QUOTES
   ============================================================ */
.clmg-quotes-section__heading {
  text-align: center;
  color: var(--clmg-text-on-light);
  margin-bottom: 48px;
}

.clmg-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.clmg-quote-card {
  background-color: var(--clmg-white);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clmg-bg--dark .clmg-quote-card,
.clmg-bg--dark-alt .clmg-quote-card {
  background-color: rgba(255,255,255,0.04);
  border-color: var(--clmg-border-dark);
}

.clmg-quote-card__mark {
  color: var(--clmg-teal-on-light);
  font-size: 2.5rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.clmg-bg--dark .clmg-quote-card__mark,
.clmg-bg--dark-alt .clmg-quote-card__mark {
  color: var(--clmg-teal-on-dark);
}

.clmg-quote-card__text {
  color: var(--clmg-text-on-light);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
}

.clmg-bg--dark .clmg-quote-card__text,
.clmg-bg--dark-alt .clmg-quote-card__text {
  color: var(--clmg-text-on-dark);
}

.clmg-quote-card__attribution {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-light);
  font-style: normal;
}

.clmg-bg--dark .clmg-quote-card__attribution,
.clmg-bg--dark-alt .clmg-quote-card__attribution {
  color: var(--clmg-muted-on-dark);
}

@media (max-width: 768px) {
  .clmg-quote-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   15. CTA BOTTOM SECTION
   ============================================================ */
.clmg-cta-section {
  background-color: var(--clmg-navy);
  text-align: center;
}

.clmg-cta-section__inner {
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.clmg-cta-section__h2 {
  color: var(--clmg-text-on-dark);
}

.clmg-cta-section__sub {
  color: var(--clmg-muted-on-dark);
  font-size: 1.0625rem;
  max-width: 480px;
}

.clmg-cta-section__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .clmg-cta-section__inner { padding-block: 56px; }
}

/* ============================================================
   16. BENCHMARK PANEL MOCK (hero visual)
   ============================================================ */
.clmg-bench-panel {
  background-color: rgba(13,36,56,0.95);
  border: 1px solid var(--clmg-border-dark);
  border-radius: var(--clmg-radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(8px);
}

.clmg-bench-panel__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clmg-teal-on-dark);
  margin-bottom: 20px;
}

.clmg-bench-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clmg-bench-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clmg-bench-row__rank {
  font-size: 0.75rem;
  color: var(--clmg-muted-on-dark);
  width: 16px;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
}

.clmg-bench-row__name {
  font-size: 0.8125rem;
  color: var(--clmg-text-on-dark);
  width: 80px;
  flex-shrink: 0;
}

.clmg-bench-row__track {
  flex: 1;
  height: 6px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.clmg-bench-row__fill {
  height: 100%;
  background-color: var(--clmg-teal);
  border-radius: 3px;
  transition: width 1s ease;
}

.clmg-bench-row__score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: var(--clmg-teal-on-dark);
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.clmg-bench-panel__footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--clmg-border-dark);
  font-size: 0.75rem;
  color: var(--clmg-muted-on-dark);
  display: flex;
  justify-content: space-between;
}

/* ============================================================
   17. PROVIDERS FULL SCORECARD MOCK
   ============================================================ */
.clmg-scorecard {
  border: 1px solid var(--clmg-border-dark);
  border-radius: var(--clmg-radius-lg);
  overflow: hidden;
}

.clmg-scorecard__header {
  display: grid;
  grid-template-columns: 40px 1fr 120px 120px 120px 120px 90px;
  gap: 8px;
  padding: 12px 20px;
  background-color: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--clmg-border-dark);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clmg-muted-on-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clmg-scorecard__row {
  display: grid;
  grid-template-columns: 40px 1fr 120px 120px 120px 120px 90px;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(30,51,71,0.5);
  align-items: center;
  transition: background-color 0.12s;
}

.clmg-scorecard__row:last-child {
  border-bottom: none;
}

.clmg-scorecard__row:hover {
  background-color: rgba(255,255,255,0.03);
}

.clmg-scorecard__rank {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: var(--clmg-amber-on-dark);
  font-weight: 400;
}

.clmg-scorecard__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clmg-text-on-dark);
}

.clmg-scorecard__cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clmg-scorecard__bar {
  flex: 1;
  height: 5px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.clmg-scorecard__bar-fill {
  height: 100%;
  border-radius: 3px;
}

.clmg-scorecard__bar-fill--high { background-color: var(--clmg-teal); }
.clmg-scorecard__bar-fill--mid  { background-color: var(--clmg-amber); }
.clmg-scorecard__bar-fill--low  { background-color: #E05A4E; }

.clmg-scorecard__val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: var(--clmg-text-on-dark);
  width: 36px;
  text-align: right;
}

.clmg-scorecard__updated {
  font-size: 0.75rem;
  color: var(--clmg-muted-on-dark);
}

@media (max-width: 1024px) {
  .clmg-scorecard__header,
  .clmg-scorecard__row {
    grid-template-columns: 40px 1fr 80px 80px 80px 80px 70px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .clmg-scorecard { overflow-x: auto; }
  .clmg-scorecard__header,
  .clmg-scorecard__row {
    min-width: 640px;
  }
}

/* ============================================================
   19. USE CASE SECTIONS (two-col text + image)
   ============================================================ */
.clmg-usecase__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.clmg-usecase__inner--flip {
  direction: rtl;
}

.clmg-usecase__inner--flip > * {
  direction: ltr;
}

.clmg-usecase__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-usecase__heading {
  color: var(--clmg-text-on-light);
}

.clmg-bg--light .clmg-usecase__heading,
.clmg-bg--white .clmg-usecase__heading {
  color: var(--clmg-text-on-light);
}

.clmg-usecase__body {
  color: var(--clmg-muted-on-light);
  line-height: 1.7;
}

.clmg-usecase__proof {
  background-color: var(--clmg-light);
  border-left: 3px solid var(--clmg-teal-on-light);
  padding: 14px 16px;
  border-radius: 0 var(--clmg-radius) var(--clmg-radius) 0;
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  font-style: italic;
  line-height: 1.65;
}

.clmg-usecase__image {
  border-radius: var(--clmg-radius-lg);
  overflow: hidden;
}

.clmg-usecase__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--clmg-radius-lg);
  display: block;
}

@media (max-width: 768px) {
  .clmg-usecase__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .clmg-usecase__inner--flip {
    direction: ltr;
  }
  .clmg-usecase__image img {
    height: 240px;
  }
}

/* ============================================================
   20. METHODOLOGY STEP SECTIONS
   ============================================================ */
.clmg-method-step {
  padding-block: 80px;
}

.clmg-method-step__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}

.clmg-method-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--clmg-teal);
  color: #fff;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clmg-method-step__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-method-step__heading {
  color: var(--clmg-text-on-light);
}

.clmg-bg--light .clmg-method-step__heading,
.clmg-bg--white .clmg-method-step__heading {
  color: var(--clmg-text-on-light);
}

.clmg-method-step__text {
  color: var(--clmg-muted-on-light);
  line-height: 1.7;
  max-width: 640px;
}

@media (max-width: 640px) {
  .clmg-method-step__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   21. PRICING TIERS
   ============================================================ */
.clmg-pricing-section__heading {
  text-align: center;
  color: var(--clmg-text-on-light);
  margin-bottom: 12px;
}

.clmg-pricing-section__sub {
  text-align: center;
  color: var(--clmg-muted-on-light);
  margin-bottom: 48px;
  font-size: 1.0625rem;
}

.clmg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.clmg-pricing-card {
  background-color: var(--clmg-white);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.clmg-pricing-card--highlight {
  border-color: var(--clmg-teal);
  box-shadow: 0 0 0 1px var(--clmg-teal), 0 8px 32px rgba(43,144,144,0.12);
}

.clmg-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--clmg-teal);
  color: #fff;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.clmg-pricing-card__name {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clmg-text-on-light);
}

.clmg-pricing-card__desc {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  margin-top: 4px;
}

.clmg-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.clmg-pricing-price__amount {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--clmg-text-on-light);
  line-height: 1;
}

.clmg-pricing-price__period {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
}

.clmg-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.clmg-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--clmg-text-on-light);
  line-height: 1.5;
}

.clmg-feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--clmg-teal);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.clmg-pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 860px) {
  .clmg-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap: 32px;
  }
}

/* ============================================================
   22. FAQ ACCORDION
   ============================================================ */
.clmg-faq-section__heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 40px;
}

.clmg-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin-inline: auto;
}

.clmg-faq-item {
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius);
  overflow: hidden;
  background-color: var(--clmg-white);
}

.clmg-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--clmg-text-on-light);
  background-color: transparent;
  cursor: pointer;
  border: none;
  transition: background-color 0.12s;
}

.clmg-faq-question:hover {
  background-color: var(--clmg-light);
}

.clmg-faq-question__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--clmg-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background-color 0.15s, border-color 0.15s;
  color: var(--clmg-muted-on-light);
  font-size: 0.875rem;
}

.clmg-faq-item--open .clmg-faq-question__icon {
  transform: rotate(45deg);
  background-color: var(--clmg-teal);
  border-color: var(--clmg-teal);
  color: #fff;
}

.clmg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.clmg-faq-item--open .clmg-faq-answer {
  max-height: 400px;
}

.clmg-faq-answer__inner {
  padding: 0 20px 20px;
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  line-height: 1.7;
  border-top: 1px solid var(--clmg-border-light);
  padding-top: 16px;
}

/* ============================================================
   23. TEAM CARDS
   ============================================================ */
.clmg-team-section__heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 40px;
}

.clmg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.clmg-team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-team-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  border-radius: var(--clmg-radius-lg);
  overflow: hidden;
  background-color: var(--clmg-border-light);
  position: relative;
}

.clmg-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clmg-team-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--clmg-teal-on-light);
  background-color: var(--clmg-light);
}

.clmg-team-card__name {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--clmg-text-on-light);
}

.clmg-team-card__role {
  font-size: 0.875rem;
  color: var(--clmg-teal-on-light);
  font-weight: 500;
  margin-top: -8px;
}

.clmg-team-card__bio {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .clmg-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .clmg-team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   24. VALUES GRID
   ============================================================ */
.clmg-values-section__heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 40px;
}

.clmg-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clmg-value-card {
  background-color: var(--clmg-white);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clmg-value-card__title {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--clmg-teal-on-light);
}

.clmg-value-card__body {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .clmg-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   25. CONTACT FORM + OFFICE INFO
   ============================================================ */
.clmg-contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.clmg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clmg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.clmg-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clmg-text-on-light);
}

.clmg-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius);
  font-size: 0.9375rem;
  color: var(--clmg-text-on-light);
  background-color: var(--clmg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.clmg-form-input:focus {
  outline: none;
  border-color: var(--clmg-teal);
  box-shadow: 0 0 0 3px rgba(43,144,144,0.15);
}

.clmg-form-input::placeholder {
  color: var(--clmg-muted-on-light);
  opacity: 0.7;
}

.clmg-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.clmg-form-submit {
  align-self: flex-start;
}

.clmg-form-success {
  display: none;
  background-color: rgba(43,144,144,0.08);
  border: 1px solid var(--clmg-teal);
  border-radius: var(--clmg-radius);
  padding: 16px 20px;
  color: var(--clmg-teal-on-light);
  font-size: 0.9375rem;
}

.clmg-contact-info {
  background-color: var(--clmg-light);
  border-radius: var(--clmg-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clmg-contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clmg-contact-info__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clmg-teal-on-light);
}

.clmg-contact-info__value {
  font-size: 0.9375rem;
  color: var(--clmg-text-on-light);
  line-height: 1.5;
}

.clmg-contact-info__value a {
  color: var(--clmg-teal-on-light);
  text-decoration: none;
}

.clmg-contact-info__value a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .clmg-contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   26. SIGNAL (BLOG) LISTING
   ============================================================ */
.clmg-signal-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.clmg-signal-featured:hover {
  box-shadow: 0 4px 24px rgba(14,24,37,0.1);
}

.clmg-signal-featured__cover {
  overflow: hidden;
}

.clmg-signal-featured__cover img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.clmg-signal-featured__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.clmg-signal-featured__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clmg-teal-on-light);
}

.clmg-signal-featured__title {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--clmg-text-on-light);
  line-height: 1.3;
}

.clmg-signal-featured__excerpt {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  line-height: 1.65;
}

.clmg-signal-featured__meta {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-light);
  margin-top: 4px;
}

.clmg-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clmg-signal-card {
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}

.clmg-signal-card:hover {
  box-shadow: 0 4px 20px rgba(14,24,37,0.08);
}

.clmg-signal-card__cover {
  overflow: hidden;
}

.clmg-signal-card__cover img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.clmg-signal-card:hover .clmg-signal-card__cover img {
  transform: scale(1.03);
}

.clmg-signal-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.clmg-signal-card__date {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-light);
}

.clmg-signal-card__title {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--clmg-text-on-light);
  line-height: 1.4;
}

.clmg-signal-card__excerpt {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-light);
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 860px) {
  .clmg-signal-featured {
    grid-template-columns: 1fr;
  }
  .clmg-signal-featured__cover img {
    min-height: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .clmg-signal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .clmg-signal-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   27. NEWSLETTER CTA
   ============================================================ */
.clmg-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.clmg-newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border-radius: var(--clmg-radius);
  border: 1px solid var(--clmg-border-dark);
  background-color: rgba(255,255,255,0.08);
  color: var(--clmg-text-on-dark);
  font-size: 0.9375rem;
}

.clmg-newsletter-input::placeholder {
  color: var(--clmg-muted-on-dark);
}

.clmg-newsletter-input:focus {
  outline: 2px solid var(--clmg-teal);
  border-color: var(--clmg-teal);
}

.clmg-newsletter-success {
  display: none;
  color: var(--clmg-teal-on-dark);
  font-size: 0.9375rem;
  text-align: center;
  padding: 12px;
}

/* ============================================================
   28. ARTICLE TEMPLATE (signal articles)
   ============================================================ */
.clmg-article-hero {
  background-color: var(--clmg-navy);
  padding-top: calc(var(--clmg-nav-h) + 64px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.clmg-article-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

.clmg-article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(8,18,40,0.72) 0%, rgba(8,18,40,0.62) 100%);
  pointer-events: none;
}

.clmg-article-hero__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.clmg-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clmg-teal-on-dark);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.15s;
}

.clmg-article-back:hover {
  color: var(--clmg-text-on-dark);
}

.clmg-article-hero__meta {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-dark);
  margin-bottom: 16px;
}

.clmg-article-hero__h1 {
  color: var(--clmg-text-on-dark);
  max-width: 800px;
  margin-bottom: 20px;
}


.clmg-article-body {
  background-color: var(--clmg-white);
  padding-block: 64px;
}

.clmg-article-content {
  max-width: var(--clmg-container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-article-content h2 {
  color: var(--clmg-text-on-light);
  margin-top: 40px;
  margin-bottom: 16px;
}

.clmg-article-content h3 {
  color: var(--clmg-text-on-light);
  margin-top: 28px;
  margin-bottom: 12px;
}

.clmg-article-content p {
  color: var(--clmg-text-on-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.clmg-article-content ul,
.clmg-article-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--clmg-text-on-light);
}

.clmg-article-content li {
  line-height: 1.7;
  margin-bottom: 6px;
}

.clmg-article-content blockquote {
  border-left: 3px solid var(--clmg-teal-on-light);
  padding: 12px 20px;
  margin-block: 24px;
  background-color: var(--clmg-light);
  border-radius: 0 var(--clmg-radius) var(--clmg-radius) 0;
}

.clmg-article-content blockquote p {
  color: var(--clmg-muted-on-light);
  font-style: italic;
}

.clmg-article-content a {
  color: var(--clmg-teal-on-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .clmg-article-hero {
    padding-top: calc(var(--clmg-nav-h) + 40px);
    padding-bottom: 40px;
  }

  .clmg-article-body { padding-block: 40px; }
}

/* ============================================================
   29. AUTH PAGES (login / register — no nav/footer)
   ============================================================ */
.clmg-auth-page {
  min-height: 100vh;
  background-color: var(--clmg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.clmg-auth-card {
  background-color: var(--clmg-white);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 32px rgba(14,24,37,0.08);
}

.clmg-auth-card__logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 32px;
}

.clmg-auth-card__logo img {
  height: 30px;
  width: auto;
}

.clmg-auth-card__heading {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--clmg-text-on-light);
  margin-bottom: 8px;
}

.clmg-auth-card__sub {
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  margin-bottom: 28px;
  line-height: 1.55;
}

.clmg-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-auth-form__submit {
  margin-top: 8px;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}

.clmg-auth-form__feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--clmg-radius);
  font-size: 0.875rem;
  line-height: 1.5;
}

.clmg-auth-form__feedback--info {
  background-color: rgba(43,144,144,0.08);
  border: 1px solid rgba(43,144,144,0.3);
  color: var(--clmg-teal-on-light);
}

.clmg-auth-form__feedback--error {
  background-color: rgba(224,76,62,0.08);
  border: 1px solid rgba(224,76,62,0.3);
  color: #C0321E;
}

.clmg-auth-form__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--clmg-border-light);
  text-align: center;
  font-size: 0.875rem;
  color: var(--clmg-muted-on-light);
}

.clmg-auth-form__footer a {
  color: var(--clmg-teal-on-light);
  text-decoration: none;
  font-weight: 500;
}

.clmg-auth-form__footer a:hover {
  text-decoration: underline;
}

.clmg-auth-links {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-light);
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.clmg-auth-links a {
  color: var(--clmg-muted-on-light);
  text-decoration: underline;
}

.clmg-auth-links a:hover {
  color: var(--clmg-text-on-light);
}

@media (max-width: 480px) {
  .clmg-auth-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   30. LEGAL CONTENT
   ============================================================ */
.clmg-legal-content {
  background-color: var(--clmg-white);
}

.clmg-legal-content__inner {
  max-width: var(--clmg-container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 64px;
  color: var(--clmg-text-on-light);
}

.clmg-legal-content__inner h1 {
  color: var(--clmg-text-on-light);
  margin-bottom: 8px;
}

.clmg-legal-content__inner .clmg-legal-updated {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-light);
  margin-bottom: 40px;
}

.clmg-legal-content__inner h2 {
  color: var(--clmg-text-on-light);
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.clmg-legal-content__inner h3 {
  color: var(--clmg-text-on-light);
  font-size: 1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.clmg-legal-content__inner p {
  color: var(--clmg-muted-on-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.clmg-legal-content__inner ul,
.clmg-legal-content__inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--clmg-muted-on-light);
}

.clmg-legal-content__inner li {
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}

.clmg-legal-content__inner a {
  color: var(--clmg-teal-on-light);
  text-decoration: underline;
}

/* ============================================================
   31. MISSION SECTION
   ============================================================ */
.clmg-mission__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-mission__heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 16px;
}

.clmg-mission__body {
  color: var(--clmg-muted-on-light);
  line-height: 1.75;
  max-width: 720px;
  font-size: 1.0625rem;
}

/* ============================================================
   32. SECTION HEADING UTILITIES
   ============================================================ */
.clmg-section-heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 40px;
}

.clmg-section-heading--dark {
  color: var(--clmg-text-on-dark);
}

.clmg-section-sub {
  color: var(--clmg-muted-on-light);
  font-size: 1.0625rem;
  margin-top: 12px;
  line-height: 1.65;
}

.clmg-section-sub--dark {
  color: var(--clmg-muted-on-dark);
}

.clmg-section-head {
  margin-bottom: 48px;
}

.clmg-section-head--center {
  text-align: center;
}

/* ============================================================
   33. FOOTER
   ============================================================ */
.clmg-footer {
  background-color: var(--clmg-navy);
  border-top: 1px solid var(--clmg-border-dark);
  padding-top: 64px;
  padding-bottom: 0;
}

.clmg-footer__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--clmg-border-dark);
}

.clmg-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clmg-footer__logo img {
  height: 30px;
  width: auto;
}

.clmg-footer__tagline {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-dark);
  max-width: 240px;
  line-height: 1.6;
}

.clmg-footer__col-heading {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--clmg-text-on-dark);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.clmg-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clmg-footer__link {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.clmg-footer__link:hover {
  color: var(--clmg-text-on-dark);
}

.clmg-footer__bottom {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.clmg-footer__copy {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-dark);
  line-height: 1.6;
}

.clmg-footer__legal-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.clmg-footer__legal-links a {
  font-size: 0.8125rem;
  color: var(--clmg-muted-on-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.clmg-footer__legal-links a:hover {
  color: var(--clmg-text-on-dark);
}

@media (max-width: 860px) {
  .clmg-footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .clmg-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .clmg-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .clmg-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   34. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--clmg-navy-alt);
  border-top: 1px solid var(--clmg-border-dark);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-banner__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--clmg-muted-on-dark);
  line-height: 1.55;
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text a {
  color: var(--clmg-teal-on-dark);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--clmg-radius);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
}

.cookie-banner__btn--primary {
  background-color: var(--clmg-amber);
  color: var(--clmg-navy);
  border-color: var(--clmg-amber);
}

.cookie-banner__btn--primary:hover {
  background-color: #C56D1E;
  border-color: #C56D1E;
  color: var(--clmg-navy);
}

.cookie-banner__btn--secondary {
  background-color: transparent;
  color: var(--clmg-muted-on-dark);
  border-color: var(--clmg-border-dark);
}

.cookie-banner__btn--secondary:hover {
  color: var(--clmg-text-on-dark);
  border-color: rgba(238,242,245,0.4);
}

/* ============================================================
   35. METHODOLOGY FLOW SVG EMBED
   ============================================================ */
.clmg-method-flow {
  max-width: 640px;
  margin-inline: auto;
  margin-top: 32px;
}

/* ============================================================
   36. INTERSECTION OBSERVER FADE-IN
   ============================================================ */
.clmg-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.clmg-fade-in.clmg-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   37. SKIP LINK
   ============================================================ */
.clmg-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background-color: var(--clmg-navy);
  color: var(--clmg-amber);
  padding: 8px 16px;
  border-radius: var(--clmg-radius);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top 0.15s;
  text-decoration: none;
}

.clmg-skip-link:focus {
  top: 16px;
}

/* ============================================================
   38. PROOF STRIP (use-cases.html)
   ============================================================ */
.clmg-proof-strip {
  background-color: var(--clmg-light);
}

/* ============================================================
   39. DATA SECTION (methodology pages)
   ============================================================ */
.clmg-data-section__inner {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.clmg-data-section__heading {
  color: var(--clmg-text-on-light);
  margin-bottom: 16px;
}

.clmg-data-section__body {
  color: var(--clmg-muted-on-light);
  line-height: 1.75;
  max-width: 720px;
  font-size: 1.0625rem;
}

.clmg-data-section__note {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: rgba(43,144,144,0.06);
  border-left: 3px solid var(--clmg-teal-on-light);
  border-radius: 0 var(--clmg-radius) var(--clmg-radius) 0;
  font-size: 0.9375rem;
  color: var(--clmg-muted-on-light);
  font-style: italic;
}

/* ============================================================
   40. INFO PANEL / PROSE BLOCK
   ============================================================ */
.clmg-info-panel {
  background-color: var(--clmg-light);
  border: 1px solid var(--clmg-border-light);
  border-radius: var(--clmg-radius-lg);
  padding: 32px;
}

.clmg-info-panel--dark {
  background-color: rgba(255,255,255,0.04);
  border-color: var(--clmg-border-dark);
}

.clmg-prose {
  max-width: var(--clmg-container-narrow);
}

.clmg-prose p {
  color: var(--clmg-muted-on-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.clmg-prose--on-dark p {
  color: var(--clmg-muted-on-dark);
}

/* ============================================================
   41. RESPONSIVE UTILITIES
   ============================================================ */
.clmg-hide-mobile { display: block; }
.clmg-show-mobile { display: none; }

@media (max-width: 640px) {
  .clmg-hide-mobile { display: none; }
  .clmg-show-mobile { display: block; }
}

/* ============================================================
   42. TABLE SCROLL WRAPPER
   ============================================================ */
.clmg-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   43. PAGE BODY CLASSES (for JS state)
   ============================================================ */
.clmg-page--dark-top body,
.clmg-page--light-top body {
  /* JS state hook, no styling */
}

/* ============================================================
   44. SUBHERO WITH RASTER BG (providers.html hero)
   ============================================================ */
.clmg-subhero--bg-image {
  background-color: var(--clmg-navy);
  color: var(--clmg-text-on-dark);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--clmg-nav-h) + 80px);
  padding-bottom: 80px;
}

.clmg-subhero--bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
}

.clmg-subhero--bg-image .clmg-subhero__inner {
  position: relative;
  z-index: 1;
}

.clmg-subhero--bg-image .clmg-subhero__h1 {
  color: var(--clmg-text-on-dark);
}

.clmg-subhero--bg-image .clmg-subhero__sub {
  color: var(--clmg-muted-on-dark);
}

/* ============================================================
   45. TWO-COLUMN TEXT SECTIONS (alternate light/white)
   ============================================================ */
.clmg-two-col-text {
  max-width: var(--clmg-container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   46. FOCUS STATES (accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--clmg-teal);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--clmg-teal);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   47. UTILITY CLASSES (a11y + layout helpers)
   ============================================================ */
.clmg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clmg-method-diagram-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.clmg-method-step__list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
  color: inherit;
}

.clmg-method-step__list li {
  margin-bottom: 4px;
  line-height: 1.6;
}

.clmg-scorecard__note {
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.7;
}

/* ============================================================
   48. AUTH FORM MODIFIER HOOKS (JS state selectors)
   ============================================================ */
/* JS state hook, no styling — querySelector targets for form type dispatch */
.clmg-auth-form--login { /* JS state hook, no styling */ }
.clmg-auth-form--register { /* JS state hook, no styling */ }
.clmg-auth-form--forgot { /* JS state hook, no styling */ }

/* JS state hook — contact form identifier for submit handler */
.clmg-contact-form { /* JS state hook, no styling */ }

/* Auth state panels — shown/hidden by inline style via JS */
.clmg-auth-confirm {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clmg-navy);
  z-index: 10;
  padding: 24px;
}

.clmg-auth-success {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clmg-navy);
  z-index: 10;
  padding: 24px;
}
