/**
 * Services page — layout on top of r26-design-system.css (Prompt 12 palette)
 */

.sp-page {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
}

.services-page .r26-zone-header {
  background: #0f172a;
  /* Carry the horizontal gutter on the full-width band so the centered
     inner column lines up with every body section below it. */
  padding-left: var(--r26-content-pad);
  padding-right: var(--r26-content-pad);
}

/* Body sections pad the outer section and center a plain inner, so the header
   inner must do the same: keep only the vertical rhythm, drop side padding
   (otherwise the headline sits 40px further right than the content column). */
.services-page .r26-zone-header__inner {
  padding-left: 0;
  padding-right: 0;
}

.services-page .r26-zone-body {
  background: #f8fafc;
}

/* ── Section 2: How We Work process ──────────────────────────────────────── */
.sp-process {
  padding: clamp(2.75rem, 6vw, 4rem) var(--r26-content-pad);
  background: #f8fafc;
}

.sp-process__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
}

.sp-process__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  text-align: left;
}

.sp-process__lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 2.5rem;
  max-width: 42rem;
  text-align: left;
}

.sp-process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.sp-process__step {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sp-process__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sp-process__step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0;
}

.sp-process__step-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

@media (max-width: 1024px) {
  .sp-process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .sp-process__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ── Section 3: differentiator statement ─────────────────────────────────── */

.sp-differentiator {
  padding: clamp(2.75rem, 6vw, 4rem) var(--r26-content-pad);
  text-align: center;
  background: #f8fafc;
}

.sp-differentiator__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  margin: 0 auto;
  max-width: 44rem;
}

/* ── Section 3: track cards ──────────────────────────────────────────────── */
.sp-tracks {
  padding: 0 var(--r26-content-pad) clamp(1rem, 3vw, 1.5rem);
  background: #f8fafc;
}

.sp-tracks__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.sp-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r26-radius-card);
  padding: 1.75rem 1.5rem;
}

.sp-card__chosen {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 5px;
}

.sp-card .r26-pill {
  margin-bottom: 5px;
}

/* Pilot & Foundation (the two light tiers) — solid brand pill instead of the
   washed-out pale-pink default, so they sit confidently alongside the dark
   Best Protected card and share one deliberate accent colour. */
.services-page .sp-card:not(.sp-card--featured) .r26-pill {
  background: var(--r26-brand);
  color: #ffffff;
}

.sp-card__engagement-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0 0 4px;
}

.sp-card__engagement-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 1rem;
}

.sp-card__premium {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sp-card__section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.25rem;
}

.sp-card__section-value {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1e293b;
  margin: 0 0 0.85rem;
}

.sp-card__list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.sp-card__list li {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1e293b;
  margin-bottom: 0.2rem;
  padding-left: 1rem;
  position: relative;
}

.sp-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #64748b;
}


.sp-card__price {
  margin-top: 26px;
  padding-top: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: #0f172a;
}

.sp-card__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.5;
}

.sp-card .r26-btn {
  margin-top: 20px;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
  background: #0f172a;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.sp-card .r26-btn:hover {
  background: #1e293b;
}

/* Track 2 — featured charcoal, physically taller */
.sp-card--featured {
  background: #1e293b;
  border-color: #1e293b;
  border-top-color: #ffffff;
  padding-top: calc(1.75rem + 24px);
  padding-bottom: calc(1.75rem + 24px);
}

.sp-card--featured .sp-card__engagement-title,
.sp-card--featured .sp-card__price {
  color: #ffffff;
}

.sp-card--featured .sp-card__engagement-sub,
.sp-card--featured .sp-card__section-value,
.sp-card--featured .sp-card__list li {
  color: #94a3b8;
}

.sp-card--featured .sp-card__section-label {
  color: #94a3b8;
}

.sp-card--featured .sp-card__list li::before {
  color: #94a3b8;
}


.sp-card--featured .sp-card__price small {
  color: #94a3b8;
}

.sp-card--featured .r26-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.sp-card--featured .r26-btn.r26-btn--on-dark {
  background: #ffffff;
  color: #0f172a;
}

.sp-card--featured .r26-btn.r26-btn--on-dark:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* The featured card sits inside .r26-zone-body, whose global rules force a
   light #f8fafc background and a light default text colour. That left the
   white price and title invisible (white-on-white) and the body text washed
   out. Re-assert the intended dark premium treatment at higher specificity so
   it wins cleanly, and keep the "Best Choice" eyebrow legible on dark. */
.services-page .r26-zone-body .sp-card--featured {
  background: #1e293b;
  border: 1px solid #1e293b;
  box-shadow: none;
  color: #f8fafc;
  padding: 2.5rem;
}

.services-page .r26-zone-body .sp-card--featured .sp-card__chosen {
  color: #cbd5e1;
}

/* ── AI Risk Snapshot gateway panel ──────────────────────────────────────── */
.sp-risk-snapshot {
  padding: clamp(2.75rem, 6vw, 4rem) var(--r26-content-pad);
  background: #f8fafc;
}


.sp-risk-snapshot__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r26-radius-card);
  padding: clamp(2rem, 4vw, 2.75rem);
}

.sp-risk-snapshot__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.sp-risk-snapshot__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
}

.sp-risk-snapshot__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.sp-risk-snapshot__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.75rem;
}

.sp-risk-snapshot__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.25rem;
}

.sp-risk-snapshot__value {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1e293b;
  margin: 0 0 1rem;
}

.sp-risk-snapshot__price {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: #0f172a;
  margin: 0 0 1rem;
}

.sp-risk-snapshot__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-risk-snapshot__list li {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1e293b;
  margin-bottom: 0.2rem;
  padding-left: 1rem;
  position: relative;
}

.sp-risk-snapshot__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #64748b;
}

.sp-risk-snapshot__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
}

.sp-risk-snapshot__cta:hover {
  background: #1e293b;
}

@media (max-width: 700px) {
  .sp-risk-snapshot__body {
    grid-template-columns: 1fr;
  }
}


/* ── Section 5: Why Our Approach Is Different ───────────────────────────── */
.sp-principles {
  padding: clamp(2.75rem, 6vw, 4rem) var(--r26-content-pad);
  background: #f8fafc;
}

.sp-principles__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
}

.sp-principles__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  text-align: left;
}

.sp-principles__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.25rem;
  max-width: 42rem;
}

.sp-principles__core {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r26-radius-card);
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.sp-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Shared feature card — used by Principles and Engagements Typically Include */
.sp-feature-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r26-radius-card);
  padding: 1.5rem;
}

.sp-feature-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.35rem;
}

.sp-feature-card__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.sp-feature-card__body {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}


.sp-principles__closing {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r26-radius-card);
  padding: 1.5rem 2rem;
  text-align: center;
}

.sp-principles__closing p {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

@media (max-width: 900px) {
  .sp-principles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sp-principles__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Section 6: Engagements Typically Include ───────────────────────────── */
.sp-includes {
  padding: clamp(3.5rem, 7vw, 5rem) var(--r26-content-pad) clamp(2.75rem, 6vw, 4rem);
  background: #f8fafc;
}

.sp-includes__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
}

.sp-includes__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  text-align: left;
}

.sp-includes__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.sp-includes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}


.sp-includes__closing {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  text-align: center;
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .sp-includes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sp-includes__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Section 8: accordion (Zone 2) ─────────────────────────────────────── */

.sp-acc-section {
  padding: clamp(2.5rem, 6vw, 4rem) var(--r26-content-pad) clamp(3rem, 7vw, 4.5rem);
  background: #f8fafc;
}


.sp-acc-section__inner {
  max-width: var(--r26-content-max);
  margin: 0 auto;
}

.sp-acc-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
  text-align: left;
}

.sp-acc {
  /* Reset the stale card styling that the global style.css .sp-acc block
     leaks in (full border, radius, background); this is a flat divider list. */
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.sp-acc details {
  border-bottom: 1px solid #e2e8f0;
}

.sp-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: #1a1a1a;
}

.sp-acc summary::-webkit-details-marker {
  display: none;
}

.sp-acc summary::after {
  content: "+";
  flex: none;
  /* Neutralize the global style.css chevron (9px bordered box, rotate 45deg)
     so this renders as a clean plus/minus glyph. */
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  transition: none;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1;
}

.sp-acc details[open] summary::after {
  content: "−";
  transform: none;
}

.sp-acc__body {
  padding: 0 0 1.25rem;
}

.sp-acc__body p {
  font-size: 0.95rem;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0 0 0.85rem;
}

.sp-acc__body ul {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.sp-acc__body li {
  font-size: 0.95rem;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

/* Zone 4 CTA uses global white-on-dark button rule */

@media (max-width: 900px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }

  .sp-card--featured {
    order: -1;
  }


}
