/* ============================================================================
   Services section. The index is a "spec book" (numbered spec-rows plus the
   three-stage start-here selector). Each detail page is a "spec sheet" built on
   the shared page-header, titleblock, prose, sheet-nav, and cta-band components.
   Only layout glue that components.css does not already provide lives here.
   ========================================================================== */

/* -------------------------------------------------------- index: spec book */

.services-index__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem);
}

.services-index__section-title {
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.services-index__section-title--sub {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* The start-here stage selector reuses .stages / .stage-card from home.css,
   but the services index has no dark hero above it, so give it a top rule. */
.services-index .stages {
  border-top: 1px solid var(--trace-faint);
}

/* --------------------------------------------------- detail: spec sheet */

.service-sheet__notes {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

.service-sheet__notes-label {
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.service-sheet__body {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
}

/* small footnote line used on the diagnostic sheet */
.service-sheet__body .fn-text {
  margin-top: 2.5em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
