/* ============================================================
   How We Compare — shared component for the service pages.
   Moved off the home page (index.html) onto jumpstart.html and
   studio.html. Self-contained: defines its own eyebrow/heading/
   lead typography so it renders correctly even on pages that load
   a different stylesheet set. Accent matches each page:
     .compare            → blue   (jumpstart, default)
     .compare--green     → green  (studio)
   NOTE: diligence.html has its OWN comparison section and is not
   touched by this file.
   ============================================================ */

.compare {
  --cmp-accent: #397ae7;            /* jumpstart blue (default) */
  background: #fdfcf8;
  padding: 128px 80px 142px;
}
.compare--green { --cmp-accent: #3d7827; }   /* studio green */

.compare .section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.compare .eyebrow {
  display: block;
  font: 600 14px/17px "Neue Montreal", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cmp-accent);
  margin-bottom: 16px;
}
.compare .h-display {
  font: 500 50px/1.2 "Neue Montreal", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: #000;
  margin: 0;
  text-wrap: balance;
}
.compare .h-accent { color: var(--cmp-accent); }
.compare .lead {
  font: 400 18px/24px "Neue Montreal", system-ui, sans-serif;
  letter-spacing: -0.002em;
  color: #656567;
  margin: 18px auto 0;
  max-width: 600px;
  text-wrap: pretty;
}

.compare__wrap {
  position: relative;
  max-width: 1280px;
  margin: 72px auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare__grid {
  position: relative;
  display: grid;
  grid-template-columns: 200px 320px 1fr 1fr 1fr;
  min-width: 1080px;
  z-index: 1;
}
.compare__pill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 200px;
  width: 320px;
  background: var(--cmp-accent);
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}
.compare__rl,
.compare__c {
  position: relative;
  z-index: 1;
  padding: 22px 28px;
  font: 400 17px/1.4 "Neue Montreal", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: #000;
  display: flex;
  align-items: center;
}
.compare__rl { padding-left: 0; font-weight: 500; }
.compare__c--us { color: #fff; font-weight: 500; }
.compare__c--head { font-weight: 500; padding-top: 26px; padding-bottom: 26px; }
.compare__c--head.compare__c--us { font-weight: 700; }
.compare__rl--head { padding: 0; }
.compare__grid > .compare__rl:not(.compare__rl--head),
.compare__grid > .compare__c:not(.compare__c--head):not(.compare__c--us) {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.compare__grid > .compare__c--us:not(.compare__c--head) {
  border-top: 1px solid rgba(255,255,255,0.18);
}

@media (max-width: 900px) {
  .compare { padding: 80px 20px 96px; }
  .compare .h-display { font-size: clamp(32px, 8vw, 50px); line-height: 1.05; }
  .compare__grid { grid-template-columns: 160px 240px 1fr 1fr 1fr; min-width: 880px; }
  .compare__pill { left: 160px; width: 240px; }
  .compare__rl, .compare__c { padding: 18px 16px; font-size: 15px; }
  .compare__rl { padding-left: 0; }
}
