
/* ============================================================
   eHELP GLOBAL V2 - True site-wide audit correction
   Final contrast safeguards, numbered-card icons and content balance.
   ============================================================ */

:root {
  --audit-dark-text: #0b2f54;
  --audit-body-text: #536f87;
  --audit-light-text: #d7e8f5;
  --audit-white: #ffffff;
  --audit-line: #d6e6f2;
}

/* DARK SECTION CONTRAST SAFEGUARDS
   These intentionally override older general h2/p rules. */
.home-v2 .platform-section,
.home-v2 .ai-principles,
.home-v2 .global-section,
.home-v2 .page-cta {
  color: var(--audit-white);
}

.home-v2 .platform-section .content-panel h2,
.home-v2 .platform-section .content-panel h3,
.home-v2 .platform-section .section-heading h2,
.home-v2 .ai-principles .section-heading h2,
.home-v2 .global-section h2,
.home-v2 .page-cta h2 {
  color: var(--audit-white) !important;
}

.home-v2 .platform-section .content-panel > p,
.home-v2 .platform-section .section-heading > p,
.home-v2 .ai-principles .section-heading > p,
.home-v2 .global-section p,
.home-v2 .page-cta p {
  color: var(--audit-light-text) !important;
}

/* Exact defect shown on Industrial Technology. */
.v2-page-industrial .platform-section .content-panel h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .16);
}

.v2-page-industrial .platform-section .content-panel > p {
  color: #d8e8f4 !important;
}

.v2-page-industrial .platform-section .kicker.light {
  color: #79e5f8 !important;
}

.v2-page-industrial .industrial-process > div {
  border-color: rgba(255,255,255,.19) !important;
  background: rgba(255,255,255,.105) !important;
}

.v2-page-industrial .industrial-process strong {
  color: #ffffff !important;
}

.v2-page-industrial .industrial-process p {
  color: #d6e6f3 !important;
}

/* NUMBERED ICON TILES */
.v2-audit-number-icon,
.v2-audit-card-icon,
.v2-audit-mini-icon {
  color: #176ed4;
  background: linear-gradient(145deg, #e8f4ff, #f7fbff);
  border: 1px solid #d5e7f4;
  box-shadow: 0 10px 24px rgba(28, 83, 129, .09);
}

.v2-audit-number-icon {
  position: relative;
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border-radius: 15px !important;
  margin-bottom: 24px;
}

.v2-audit-number-icon svg,
.v2-audit-card-icon svg,
.v2-audit-mini-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-audit-number-icon small {
  position: absolute;
  right: -7px;
  bottom: -7px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #45647d;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(26, 64, 96, .13);
}

.v2-audit-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
}

.v2-audit-mini-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 11px;
  color: #82e8fa;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  box-shadow: none;
}

.v2-audit-mini-icon svg {
  width: 19px;
  height: 19px;
}

/* Restore dark-section icon colours. */
.platform-section .v2-audit-number-icon,
.ai-principles .v2-audit-number-icon,
.global-section .v2-audit-number-icon {
  color: #82e8fa;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
}

/* CONTENT BALANCE */
.v2-inner-page .capability-cards article {
  min-height: 340px;
}

.v2-inner-page .capability-cards article p {
  color: var(--audit-body-text);
  font-size: 14px;
  line-height: 1.75;
}

.v2-inner-page .process-steps > div {
  min-height: 255px;
}

.v2-inner-page .process-steps p,
.v2-page-industrial .industrial-process p {
  font-size: 13.5px !important;
  line-height: 1.7 !important;
}

.v2-page-industrial .capability-cards article {
  min-height: 335px;
}

.v2-page-industrial .capability-cards p {
  font-size: 14px;
  line-height: 1.75;
}

.v2-inner-page .usecase-grid article {
  position: relative;
  overflow: hidden;
  min-height: 310px;
}

.v2-inner-page .usecase-grid article::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,142,220,.09), transparent 70%);
  pointer-events: none;
}

.v2-content-about .leadership-grid article {
  min-height: 350px;
}

.v2-content-about .leadership-grid p {
  font-size: 13.5px;
  line-height: 1.72;
}

/* Homepage numbered areas: retain layout while improving visual cues. */
.home-v2 .v2-benefit-grid .v2-audit-number-icon,
.home-v2 .v2-process-steps .v2-audit-number-icon {
  margin-bottom: 25px;
}

/* Payment process icons. */
.payment-how-grid .v2-audit-number-icon {
  margin-bottom: 25px;
}

/* Cards now have a consistent refined surface. */
.v2-inner-page .capability-cards article,
.v2-inner-page .usecase-grid article,
.v2-page-industrial .capability-cards article,
.v2-content-about .leadership-grid article {
  background:
    radial-gradient(circle at 100% 0%, rgba(28,137,214,.065), transparent 35%),
    #ffffff;
  border-color: var(--audit-line);
  box-shadow: 0 13px 34px rgba(31,83,128,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.v2-inner-page .capability-cards article:hover,
.v2-inner-page .usecase-grid article:hover,
.v2-page-industrial .capability-cards article:hover,
.v2-content-about .leadership-grid article:hover {
  transform: translateY(-4px);
  border-color: #b8d6ec;
  box-shadow: 0 20px 46px rgba(31,83,128,.105);
}

/* Make light-on-light supporting text impossible in white cards. */
.home-v2 article:not(.featured):not(.v2-service-main) p,
.home-v2 .policy-content p,
.home-v2 .policy-content li {
  text-wrap: pretty;
}

/* Keep policy pages calm and highly readable. */
.v2-policy-content p,
.v2-policy-content li {
  color: #4f6b82 !important;
  font-size: 14.5px;
  line-height: 1.78;
}

@media (max-width: 980px) {
  .v2-inner-page .capability-cards article,
  .v2-page-industrial .capability-cards article,
  .v2-content-about .leadership-grid article {
    min-height: 310px;
  }
}

@media (max-width: 720px) {
  .v2-audit-number-icon,
  .v2-audit-card-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .v2-inner-page .capability-cards article,
  .v2-inner-page .process-steps > div,
  .v2-inner-page .usecase-grid article,
  .v2-page-industrial .capability-cards article,
  .v2-content-about .leadership-grid article {
    min-height: auto;
  }
}
