/* Data pipeline services: page-only additions on top of pages.css */

/* Hero: the live TCO Optimizer window (shared .is-app layout), then the value cards */
.dps-values { margin-top: 88px; text-align: left; }

/* Pipeline groups: a numbered heading, then two feature rows */
.dps-groups { display: flex; flex-direction: column; gap: 140px; }
.dps-group-head { display: flex; align-items: baseline; gap: 20px; padding-bottom: 28px; margin-bottom: 72px; border-bottom: 1px solid var(--line-2); }
.dps-num { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--accent); }
.dps-group-head h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 560; }
.dps-group .features { gap: 112px; }
.feature h4 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 560; }

/* Customer logos: original files are dark-on-light, render them white */
.dps-logo { filter: var(--silhouette); opacity: .92; }
.quote-logo.dps-logo { height: 52px; margin-bottom: 24px; }

/* Customer quote grid */
.dps-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.dps-q { margin: 0; padding: 36px; display: flex; flex-direction: column; }
.dps-q .dps-logo { height: 44px; width: auto; align-self: flex-start; margin: -6px 0 22px -2px; }
.dps-q blockquote { flex: 1; font-size: 17.5px; line-height: 1.55; letter-spacing: -0.015em; font-weight: 500; }
.dps-q figcaption { margin-top: 20px; font-size: 14px; color: var(--fg-2); }
.dps-q figcaption b { display: block; color: var(--fg); font-weight: 500; }
.dps-q-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.dps-q-stats div { padding-left: 16px; border-left: 1px solid rgba(19,233,137,.4); }
.dps-q-stats b { display: block; font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--accent); }
.dps-q-stats span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--fg-2); }
.dps-q .link { margin-top: 24px; font-size: 14.5px; }

/* Related articles */
.dps-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dps-post { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dps-post img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 536; object-fit: cover; border-bottom: 1px solid var(--line); }
.dps-post-body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 28px; }
.dps-post-tag { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.dps-post h3 { margin-top: 14px; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; }
.dps-post p { flex: 1; margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.dps-post .link { margin-top: 20px; font-size: 14px; }

/* Final facts: values read as figures */
.final .fine { text-align: center; }
.final .facts b { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }

@media (max-width: 960px) {
  .dps-values { margin-top: 64px; }
  .dps-groups { gap: 112px; }
  .dps-group-head { margin-bottom: 56px; }
  .dps-group .features { gap: 88px; }
  .dps-quotes, .dps-posts { grid-template-columns: minmax(0, 1fr); }
  .dps-posts { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .dps-values { margin-top: 52px; }
  .dps-groups { gap: 88px; }
  .dps-group-head { gap: 14px; margin-bottom: 44px; padding-bottom: 22px; }
  .dps-group .features { gap: 72px; }
  .dps-q { padding: 26px; }
  .dps-q blockquote { font-size: 16.5px; }
  .dps-q-stats b { font-size: 26px; }
  .dps-post-body { padding: 22px; }
  .quote-logo.dps-logo { height: 44px; }
}

/* Light skin: small green text uses --mint (≥4.5:1 on the light surfaces); --accent stays for dots, fills,
   borders and large numbers. Light only, so the dark skin is unchanged. */
:root[data-theme="light"] .dps-num,
:root[data-theme="light"] .dps-post-tag { color: var(--mint); }
