/*
Theme Name: RedLines Child
Template: generatepress
*/

/* Smooth crossfade between pages — requires Chrome 111+/Edge 111+/Safari 18+ */
@view-transition {
  navigation: auto;
}

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colours */
  --rl-navy:       #01003D;
  --rl-coral:      #EC5252;
  --rl-coral-light:#F07070;
  --rl-pink:       #EBABAB;
  --rl-pink-bg:    rgba(235, 171, 171, 0.18);
  --rl-white:      #FFFFFF;
  --rl-off-white:  #F5F7FA;
  --rl-text-body:  #1A193D;

  /* Typography */
  --rl-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Font sizes */
  --rl-fs-small:   0.875rem;
  --rl-fs-base:    1rem;
  --rl-fs-h3:      1.125rem;
  --rl-fs-heading: 1.125rem;
  --rl-fs-display: 1.875rem;

  /* Spacing */
  --rl-space-2:  0.5rem;
  --rl-space-3:  0.75rem;
  --rl-space-4:  1rem;
  --rl-space-5:  1.25rem;
  --rl-space-6:  1.5rem;
  --rl-space-8:  2rem;
  --rl-space-10: 2.5rem;
  --rl-space-12: 3rem;
  --rl-space-16: 4rem;
  --rl-space-20: 5rem;
  --rl-space-24: 6rem;

  /* Layout */
  --rl-max-width:      1200px;
  --rl-max-width-text: 720px;
  --rl-radius-sm:      4px;
  --rl-radius-md:      8px;
  --rl-radius-lg:      12px;
  --rl-radius-xl:      20px;
  --rl-radius-full:    9999px;

  /* Shadows */
  --rl-shadow-lg:   0 8px 32px rgba(1, 0, 61, 0.14), 0 4px 8px rgba(1, 0, 61, 0.08);
  --rl-shadow-card: 0 2px 24px rgba(1, 0, 61, 0.08);

  /* Transitions */
  --rl-transition: 0.2s ease;

  /* ── App design system tokens (mirrors Scan / Pro app.css) ── */

  /* App spacing — 8px grid */
  --app-space-half: 4px;
  --app-space-1:    8px;
  --app-space-2:    16px;
  --app-space-3:    24px;
  --app-space-4:    32px;
  --app-space-6:    48px;

  /* App typography */
  --app-text-h1:      24px;
  --app-text-h2:      18px;
  --app-text-body:    14px;
  --app-text-meta:    11px;
  --app-weight-title: 600;
  --app-weight-body:  500;

  /* App colours */
  --app-bg:            #f8f8f8;
  --app-surface:       #ffffff;
  --app-surface-alt:   #f0f0f8;
  --app-border:        #e5e7eb;
  --app-border-subtle: #f3f4f6;
  --app-text-primary:  #01003D;
  --app-text-secondary:#6b7280;

  /* App card */
  --app-card-radius:   8px;
  --app-card-padding:  24px;
  --app-card-shadow:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --app-card-shadow-md:0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);

  /* Risk level colours (1 = low green → 5 = critical red) */
  --app-risk-1:     #16a34a;
  --app-risk-1-bg:  rgba(22, 163, 74,  0.12);
  --app-risk-2:     #65a30d;
  --app-risk-2-bg:  rgba(101,163, 13,  0.12);
  --app-risk-3:     #d97706;
  --app-risk-3-bg:  rgba(217,119,  6,  0.12);
  --app-risk-4:     #ea580c;
  --app-risk-4-bg:  rgba(234, 88, 12,  0.12);
  --app-risk-5:     #dc2626;
  --app-risk-5-bg:  rgba(220, 38, 38,  0.12);

  /* Risk category colours */
  --app-physical:       #0C447C;
  --app-physical-bg:    rgba(12, 68,124, 0.10);
  --app-transitional:   #e53935;
  --app-transitional-bg:rgba(229,57, 53, 0.10);
  --app-supplier:       #6b7280;
  --app-supplier-bg:    rgba(107,114,128, 0.10);

  /* Semantic colour tokens — override in .theme-* classes */
  --color-primary:       #EC5252;
  --color-primary-light: #F07070;
  --color-secondary:     #01003D;

  /* Marketing page secondary text */
  --rl-text-secondary:   #374151;
}

/* ============================================================
   THEME TOKENS — swap these per brand, keep component CSS neutral
   ============================================================ */
.theme-redlines {
  --color-primary:        #EC5252;
  --color-primary-light:  #F07070;
  --color-secondary:      #01003D;
  --color-hero-bg-image:  url('/wp-content/uploads/2026/05/AboutHero.webp');
}

/* ============================================================
   BASE RESETS (scoped to homepage block)
   ============================================================ */
.rl-homepage *,
.rl-homepage *::before,
.rl-homepage *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--rl-font);
  -webkit-font-smoothing: antialiased;
}

.rl-homepage {
  color: var(--rl-text-body);
  line-height: 1.6;
}

.rl-homepage img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rl-homepage a:not(.rl-btn) {
  color: inherit !important;
  text-decoration: none !important;
}

/* Override GeneratePress link colour bleed into body text */
.rl-problem__card-body,
.rl-solution__col-body,
.rl-solution__footer,
.rl-service-row__body,
.rl-service-row__target,
.rl-step-card__body-text,
.rl-steps__results,
.rl-section-sub,
.rl-lead {
  color: var(--rl-text-body) !important;
}

.rl-lead--light {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.rl-container,
.rl-section-inner {
  width: 100%;
  max-width: var(--rl-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rl-space-6);
  padding-right: var(--rl-space-6);
}

.rl-section {
  padding-top: var(--rl-space-12);
  padding-bottom: var(--rl-space-12);
}

.rl-section--lg {
  padding-top: var(--rl-space-16);
  padding-bottom: var(--rl-space-16);
}

.rl-section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--rl-space-10);
}
.rl-section-sub {
  font-family: var(--rl-font);
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  text-align: center;
  max-width: 640px;
  margin: var(--rl-space-3) auto 0;
  line-height: 1.6;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.rl-eyebrow {
  display: block;
  text-align: center;
  font-size: var(--rl-fs-base);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rl-coral);
  margin-bottom: var(--rl-space-3);
}

/* Keep eyebrow left-aligned inside left-column hero/content layouts */
.rl-hero__content .rl-eyebrow,
.svc-hero__inner .rl-eyebrow,
.svc-ov__hero-inner .rl-eyebrow,
.cs-detail-hero__inner .rl-eyebrow,
.about-section__text .rl-eyebrow { text-align: left; }

/* Pin hero eyebrows to exact 24px height so H1 starts at the same pixel on every page */
.svc-hero__inner .rl-eyebrow,
.svc-ov__hero-inner .rl-eyebrow {
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 0;
}

.rl-eyebrow--light {
  color: var(--rl-coral-light);
}

.rl-h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--rl-white);
  letter-spacing: -0.02em;
  margin: 0 0 var(--rl-space-5);
}

.rl-h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rl-navy);
  letter-spacing: 0;
  margin: 0 0 var(--rl-space-4);
}

.rl-lead {
  font-size: var(--rl-fs-base);
  line-height: 1.7;
  color: var(--rl-text-body);
  margin: 0 0 var(--rl-space-6);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--rl-font);
  font-size: var(--rl-fs-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--rl-radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--rl-transition), color var(--rl-transition),
              border-color var(--rl-transition), transform var(--rl-transition),
              box-shadow var(--rl-transition);
  white-space: nowrap;
}

.rl-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.rl-btn--primary {
  background-color: var(--rl-coral);
  color: var(--rl-white);
  border-color: var(--rl-coral);
}

.rl-btn--primary:hover {
  background-color: var(--rl-coral-light);
  border-color: var(--rl-coral-light);
  box-shadow: 0 4px 16px rgba(236, 82, 82, 0.4);
  color: var(--rl-white);
}

.rl-btn--outline {
  background: transparent;
  color: var(--rl-navy);
  border-color: rgba(1,0,61,0.30);
}

.rl-btn--outline:hover {
  background: rgba(1,0,61,0.04);
  border-color: var(--rl-navy);
  color: var(--rl-navy);
}

.rl-btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: var(--rl-fs-small);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.rl-hero {
  background-color: var(--rl-navy);
  background-image: url('/wp-content/uploads/2026/05/Homepage.webp');
  background-size: cover;
  background-position: center;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.rl-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--rl-space-10);
  align-items: flex-start;
  padding-top: 130px;
  padding-bottom: 80px;
}

.rl-hero__content {
  width: 100%;
  max-width: 580px;
}

.rl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rl-space-4);
  align-items: center;
  margin-top: var(--rl-space-4);
}

.rl-hero__visual {
  width: 100%;
}

.rl-hero__screenshot {
  border-radius: var(--rl-radius-xl);
  box-shadow: var(--rl-shadow-lg);
  width: 100%;
}

/* ============================================================
   SECTION: PROBLEM
   ============================================================ */
.rl-problem {
  background-color: var(--rl-white);
}


.rl-problem__grid {
  display: flex;
  flex-direction: column;
  gap: var(--rl-space-4);
  max-width: 860px;
  margin: 0 auto;
}

.rl-problem__card {
  background-color: var(--rl-off-white);
  padding: var(--rl-space-6) var(--rl-space-8);
  border-left: 4px solid var(--rl-coral);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
}

.rl-problem__card-heading {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-2);
}

.rl-problem__card-body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SECTION: HOW WE HELP
   ============================================================ */
.rl-solution {
  background-color: var(--rl-pink-bg);
}

.rl-solution__card-wrap {
  background-color: var(--rl-white);
  border-radius: var(--rl-radius-xl);
  box-shadow: var(--rl-shadow-card);
  padding: var(--rl-space-10) var(--rl-space-8);
  margin-bottom: var(--rl-space-10);
}

.rl-solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rl-space-8);
}

.rl-solution__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--rl-space-4);
}

.rl-solution__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--rl-radius-full);
  background-color: var(--rl-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.rl-solution__icon {
  font-size: 28px !important;
  color: var(--rl-white) !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.rl-solution__col-heading {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0;
}

.rl-solution__col-body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
}

.rl-solution__footer {
  text-align: center;
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.7;
  max-width: var(--rl-max-width-text);
  margin: 0 auto;
}

/* ============================================================
   SECTION: DECISION USE CASES
   ============================================================ */
.rl-decisions {
  background-color: var(--rl-off-white);
}
.rl-decisions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rl-space-6);
}
.rl-decisions__card {
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--rl-shadow-card);
  padding: var(--rl-space-8);
}
.rl-decisions__icon {
  font-size: 1.75rem;
  color: var(--rl-coral);
  display: block;
  margin-bottom: var(--rl-space-4);
}
.rl-decisions__heading {
  font-size: var(--rl-fs-heading);
  font-weight: 600;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-3);
  line-height: 1.3;
}
.rl-decisions__body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SECTION: SECTOR APPLICABILITY
   ============================================================ */
.rl-sectors {
  background-color: var(--rl-pink-bg);
}
.rl-sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rl-space-8);
}
.rl-sectors__col {
  text-align: center;
  padding: var(--rl-space-8);
  background: var(--rl-white);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--rl-shadow-card);
}
.rl-sectors__icon {
  font-size: 2.25rem;
  color: var(--rl-coral);
  display: block;
  margin-bottom: var(--rl-space-4);
}
.rl-sectors__heading {
  font-size: var(--rl-fs-heading);
  font-weight: 600;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-3);
}
.rl-sectors__body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.6;
  margin: 0 0 var(--rl-space-5);
}
.rl-sectors__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--rl-space-2);
  margin-top: var(--rl-space-4);
}
.rl-section-sub--light {
  color: #ffffff !important;
}
.rl-sector-chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rl-navy);
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.18);
  border-radius: var(--rl-radius-full);
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}

/* ============================================================
   SECTION: PROOF
   ============================================================ */
.rl-proof {
  background-color: var(--rl-white);
}
.rl-proof--dark {
  background-color: var(--rl-navy);
}
.rl-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: var(--rl-space-6);
}
.rl-proof__card {
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: var(--rl-space-8);
  box-shadow: var(--rl-shadow-lg);
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
}
.rl-proof__badge {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: var(--rl-coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--rl-space-2);
}
.rl-proof__client {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-4);
}
.rl-proof__stat {
  display: flex;
  align-items: baseline;
  gap: var(--rl-space-2);
  margin-bottom: var(--rl-space-4);
  padding-bottom: var(--rl-space-4);
  border-bottom: 1px solid rgba(1,0,61,0.08);
}
.rl-proof__stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
}
.rl-proof__stat-label {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.3;
}
.rl-proof__body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.6;
  margin: 0;
}
.rl-proof__link {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: var(--rl-coral);
  text-decoration: none;
  align-self: end;
}
.rl-proof__link:hover {
  text-decoration: underline;
}
.rl-h2--light {
  color: var(--rl-white);
}

/* ============================================================
   SECTION: SERVICES
   ============================================================ */
.rl-services {
  background-color: var(--rl-white);
}

.rl-service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rl-space-8);
  align-items: start;
  margin-bottom: var(--rl-space-12);
}

.rl-service-row:last-child {
  margin-bottom: 0;
}

.rl-service-row__image-wrap {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  background-color: var(--rl-white);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(1, 0, 61, 0.12);
  aspect-ratio: 1 / 1;
  box-shadow: var(--rl-shadow-card);
}

.rl-service-row__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-service-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rl-service-row__tagline {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: var(--rl-coral) !important;
  margin-bottom: var(--rl-space-3);
}

.rl-service-row__heading {
  font-size: var(--rl-fs-display);
  font-weight: 800;
  color: var(--rl-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--rl-space-5);
}

.rl-service-row__body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.7;
  margin: 0 0 var(--rl-space-4);
}

.rl-service-row__target {
  font-size: var(--rl-fs-small);
  font-style: italic;
  color: var(--rl-text-body);
  margin-bottom: var(--rl-space-6);
}

/* ============================================================
   SECTION: STEPS
   ============================================================ */
.rl-steps {
  background-color: var(--rl-white);
}


.rl-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rl-space-6);
}

.rl-step-card {
  background-color: var(--rl-white);
  border-radius: var(--rl-radius-xl);
  border: 1px solid rgba(1, 0, 61, 0.12);
  box-shadow: var(--rl-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rl-step-card__top {
  padding: var(--rl-space-5) var(--rl-space-6) 0;
}

.rl-step-card__number {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.rl-step-card__image-wrap {
  background-color: var(--rl-white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--rl-space-4) var(--rl-space-6);
  flex-shrink: 0;
}

.rl-step-card__image {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.rl-step-card__body {
  padding: var(--rl-space-5) var(--rl-space-6) var(--rl-space-6);
  text-align: center;
}

.rl-step-card__heading {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-3);
}

.rl-step-card__body-text {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
}

.rl-steps__results {
  text-align: center;
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  margin: var(--rl-space-10) 0 var(--rl-space-6);
}

.rl-steps__cta {
  display: flex;
  justify-content: center;
}

/* New step flow layout */
.rl-steps__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: var(--rl-space-10);
}

.rl-step {
  background: var(--rl-off-white);
  border-radius: var(--rl-radius-lg);
  padding: var(--rl-space-8);
  border: 1px solid rgba(1,0,61,0.08);
}

.rl-step__num-wrap {
  display: flex;
  align-items: center;
  gap: var(--rl-space-3);
  margin-bottom: var(--rl-space-5);
}

.rl-step__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rl-step__product {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: var(--rl-navy);
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.12);
  border-radius: var(--rl-radius-full);
  padding: 0.2rem 0.75rem;
}

.rl-step__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-3);
  line-height: 1.25;
}

.rl-step__body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
}

.rl-step__connector {
  width: 48px;
  align-self: center;
  margin-top: -24px;
  text-align: center;
  color: var(--rl-coral);
  font-size: 1.5rem;
}

.rl-step__connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rl-coral);
  opacity: 0.3;
}

/* ============================================================
   TABLET — 768px
   ============================================================ */
@media (min-width: 768px) {
  .rl-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--rl-space-12);
  }

  .rl-hero__content {
    flex: 0 0 48%;
  }

  .rl-hero__visual {
    flex: 1;
  }

  .rl-h1 {
    font-size: 2.75rem;
  }

  .rl-solution__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rl-service-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--rl-space-12);
  }

  .rl-service-rows .rl-service-row:nth-child(even) .rl-service-row__image-wrap {
    order: 2;
  }

  .rl-service-rows .rl-service-row:nth-child(even) .rl-service-row__content {
    order: 1;
  }

  .rl-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   DESKTOP — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .rl-hero__content {
    flex: 0 0 46%;
  }

  .rl-h1 {
    font-size: 3rem;
  }

  .rl-solution__card-wrap {
    padding: var(--rl-space-12) var(--rl-space-12);
  }
}

/* ============================================================
   MOCK APP CARDS  (homepage 2 — app UI mockups)
   ============================================================ */

/* Outer card shell */
.rl-mock {
  font-family: var(--rl-font);
  font-size: var(--app-text-body);
  background: var(--app-surface);
  border-radius: var(--app-card-radius);
  box-shadow: var(--app-card-shadow-md);
  border: 1px solid var(--app-border);
  overflow: hidden;
}

/* Card header bar */
.rl-mock__header {
  display: flex;
  align-items: center;
  gap: var(--app-space-1);
  height: 44px;
  padding: 0 var(--app-space-2);
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface);
  flex-shrink: 0;
}

.rl-mock__title {
  font-size: var(--app-text-meta);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--app-text-secondary);
  flex: 1;
}

.rl-mock__icon {
  font-size: 16px !important;
  color: var(--app-text-secondary) !important;
}

.rl-mock__badge {
  font-size: var(--app-text-meta);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--app-surface-alt);
  color: var(--app-text-secondary);
  border: 1px solid var(--app-border);
}

/* KPI bar row */
.rl-mock__kpi-row {
  display: flex;
  border-bottom: 1px solid var(--app-border);
}

.rl-mock__kpi-cell {
  flex: 1;
  padding: var(--app-space-2) var(--app-space-3);
  border-right: 1px solid var(--app-border);
}

.rl-mock__kpi-cell:last-child {
  border-right: none;
}

.rl-mock__kpi-label {
  font-size: var(--app-text-meta);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--app-text-secondary);
  margin-bottom: 4px;
}

.rl-mock__kpi-value {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--app-text-primary);
}

.rl-mock__kpi-sub {
  font-size: var(--app-text-meta);
  color: var(--app-text-secondary);
  margin-top: 2px;
}

/* Risk grid table */
.rl-mock__grid {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--app-text-body);
}

.rl-mock__grid th {
  font-size: var(--app-text-meta);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--app-text-secondary);
  padding: var(--app-space-1) var(--app-space-1);
  text-align: center;
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface);
  white-space: nowrap;
}

.rl-mock__grid th:first-child {
  text-align: left;
  padding-left: var(--app-space-2);
  min-width: 140px;
}

.rl-mock__grid td {
  padding: 6px var(--app-space-1);
  border-bottom: 1px solid var(--app-border-subtle);
  text-align: center;
}

.rl-mock__grid td:first-child {
  text-align: left;
  padding-left: var(--app-space-2);
  font-weight: 500;
  color: var(--app-text-primary);
  white-space: nowrap;
}

.rl-mock__grid tbody tr:last-child td {
  border-bottom: none;
}

.rl-mock__grid tbody tr:hover td {
  background: rgba(1, 0, 61, 0.04);
  cursor: default;
}

/* Risk level cell badge */
.rl-risk-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

.rl-risk-1 { background: var(--app-risk-1-bg); color: var(--app-risk-1); }
.rl-risk-2 { background: var(--app-risk-2-bg); color: var(--app-risk-2); }
.rl-risk-3 { background: var(--app-risk-3-bg); color: var(--app-risk-3); }
.rl-risk-4 { background: var(--app-risk-4-bg); color: var(--app-risk-4); }
.rl-risk-5 { background: var(--app-risk-5-bg); color: var(--app-risk-5); }

/* Body area inside a mock card */
.rl-mock__body {
  padding: var(--app-space-2);
}

/* Inline table for Pro financial data */
.rl-mock__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--app-text-body);
}

.rl-mock__table th {
  font-size: var(--app-text-meta);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-text-secondary);
  padding: var(--app-space-1) var(--app-space-2);
  border-bottom: 1px solid var(--app-border);
  text-align: left;
}

.rl-mock__table td {
  padding: 10px var(--app-space-2);
  border-bottom: 1px solid var(--app-border-subtle);
  color: var(--app-text-primary);
  font-weight: 500;
}

.rl-mock__table tbody tr:last-child td {
  border-bottom: none;
}

.rl-mock__table tbody tr:hover td {
  background: rgba(1, 0, 61, 0.04);
  cursor: default;
}

.rl-mock__table tbody tr:hover td.num {
  color: var(--rl-coral);
}

.rl-mock__table td.num {
  text-align: right;
  font-weight: 600;
}

/* Risk type pill */
.rl-mock__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--app-text-meta);
  font-weight: 600;
}

.rl-mock__pill--physical {
  color: var(--app-physical);
  background: var(--app-physical-bg);
}

.rl-mock__pill--transitional {
  color: var(--app-transitional);
  background: var(--app-transitional-bg);
}

.rl-mock__pill--supplier {
  color: var(--app-supplier);
  background: var(--app-supplier-bg);
}

/* ============================================================
   RL-CARD  — faithful HTML port of the app's RlCard component
   (q-card flat bordered + header + separator + body)
   ============================================================ */

.rl-card {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-card-radius);
  box-shadow: var(--app-card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--rl-font);
  font-size: var(--app-text-body);
  color: var(--app-text-primary);
}

.rl-card__header {
  display: flex;
  align-items: center;
  gap: var(--app-space-1);
  padding: var(--app-space-1) var(--app-space-2);
  min-height: 44px;
  flex-shrink: 0;
}

.rl-card__header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--app-space-2);
  gap: var(--app-space-1);
}

.rl-card__icon {
  font-size: 18px !important;
  color: var(--app-text-secondary) !important;
  flex-shrink: 0;
}

.rl-card__title {
  font-size: var(--app-text-h2);
  font-weight: 600;
  color: var(--app-text-primary);
  flex: 1;
}

.rl-card__header--center .rl-card__title {
  flex: none;
}

.rl-card__sep {
  height: 1px;
  background: var(--app-border);
  flex-shrink: 0;
}

.rl-card__body {
  padding: var(--app-space-2) var(--app-space-2);
  flex: 1;
}

.rl-card__body--center {
  text-align: center;
}

/* Step card variant using rl-card */
.rl-step-card2 {
  display: flex;
  flex-direction: column;
}

.rl-step-card2 .rl-card__header {
  gap: var(--app-space-2);
}

.rl-step-card2__image-wrap {
  background: var(--app-bg);
  border-top: 1px solid var(--app-border);
  border-bottom: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--app-space-2);
}

.rl-step-card2__image-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SERVICE ROW MOCK SCREENS  (homepage 2)
   ============================================================ */

/* Override the image-wrap when it holds a mock card */
.rl-svc-mock-wrap {
  background: var(--app-bg);
  padding: var(--app-space-2);
  display: flex;
  align-items: stretch;
  /* aspect-ratio:1/1 inherited from .rl-service-row__image-wrap */
}

.rl-svc-mock {
  width: 100%;
  aspect-ratio: auto;
  font-size: var(--app-text-body);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}

/* Scan — compact grid to fit all rows in the square */
.rl-svc-scan {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rl-scan-grid {
  flex: 1;
  table-layout: fixed;
  width: 100%;
}

.rl-scan-grid th,
.rl-scan-grid td {
  padding: 3px 4px;
}

.rl-scan-grid th:first-child,
.rl-scan-grid td:first-child {
  padding-left: 8px;
  font-size: 11px;
  width: 30%;
}

.rl-scan-grid .rl-risk-cell {
  width: 24px;
  height: 24px;
  font-size: 11px;
  border-radius: 4px;
}

/* Summary strip inside Scan mock */
.rl-svc-mock__summary {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--app-border);
}

.rl-svc-mock__kpi {
  flex: 1;
  padding: var(--app-space-1) var(--app-space-2);
  border-right: 1px solid var(--app-border);
}

.rl-svc-mock__kpi:last-child {
  border-right: none;
}

.rl-svc-mock__kpi-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--app-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-svc-mock__kpi-sub {
  font-size: var(--app-text-meta);
  color: var(--app-text-secondary);
  margin-top: 2px;
}

/* Risk badge coloured by level */
.rl-mock__badge--risk5 {
  background: var(--app-risk-5-bg);
  color: var(--app-risk-5);
  border-color: var(--app-risk-5-bg);
}

/* Pro scenario selector */
.rl-svc-pro__scenarios {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface);
}
.rl-svc-pro__scenario-tab {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--app-border);
  cursor: pointer;
  background: var(--app-bg);
  color: var(--app-text-secondary);
  font-family: var(--rl-font);
  line-height: 1.4;
}
.rl-svc-pro__scenario-tab--active {
  background: var(--rl-coral);
  color: white;
  border-color: var(--rl-coral);
}
.rl-svc-pro__scenario-horizon {
  font-size: 9px;
  color: var(--app-text-secondary);
  font-family: var(--rl-font);
  margin-left: auto;
}

/* Pro KPI strip */
.rl-svc-pro__kpi-strip {
  display: flex;
  border-bottom: 1px solid var(--app-border);
}

.rl-svc-pro__kpi-cell {
  flex: 1;
  padding: var(--app-space-1) var(--app-space-1);
  border-right: 1px solid var(--app-border);
  min-width: 0;
}

.rl-svc-pro__kpi-cell:last-child {
  border-right: none;
}

.rl-svc-pro__kpi-cell--hero {
  flex: 1;
}

.rl-svc-pro__hero-val {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.rl-svc-pro__kpi-val {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--app-text-primary);
}

/* Pro map — expands to fill remaining card height in any context */
.rl-svc-pro__map-wrap {
  position: relative;
  flex: 1;
  min-height: 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--app-border);
}

.rl-svc-pro__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
  display: block;
}

.rl-svc-pro__map-marker {
  position: absolute;
  top: 42%;
  left: 52%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.rl-svc-pro__map-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.25);
  animation: rl-pulse 2s ease-out infinite;
}

.rl-svc-pro__map-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dc2626;
  border: 2.5px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.rl-svc-pro__map-popup {
  position: absolute;
  top: calc(42% - 62px);
  left: 52%;
  transform: translateX(-50%);
  background: white;
  border-radius: 5px;
  padding: 6px 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  z-index: 4;
  white-space: nowrap;
}

.rl-svc-pro__map-popup::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
  border-bottom: 0;
}

.rl-svc-pro__map-popup-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--rl-navy);
  font-family: var(--rl-font);
  line-height: 1.3;
}

.rl-svc-pro__map-popup-badge {
  font-size: 9px;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  border-radius: 3px;
  padding: 1px 4px;
  margin-top: 2px;
  display: inline-block;
  font-family: var(--rl-font);
}

.rl-svc-pro__map-coords {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.75);
  font-size: 9px;
  font-family: var(--rl-font);
  padding: 3px 8px;
  display: flex;
  justify-content: space-between;
}

.rl-svc-pro__map-coords span {
  color: rgba(255,255,255,0.45);
}

.rl-svc-pro__risk-overlay {
  position: absolute;
  bottom: 22px;
  right: 8px;
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 5;
}
.rl-svc-pro__risk-header {
  font-size: 8px;
  font-weight: 700;
  color: var(--rl-navy);
  font-family: var(--rl-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  opacity: 0.6;
}
.rl-svc-pro__risk-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 0;
  font-family: var(--rl-font);
}
.rl-svc-pro__risk-name {
  font-size: 9px;
  color: var(--rl-navy);
}
.rl-svc-pro__risk-val {
  font-size: 9px;
  font-weight: 600;
}
.rl-svc-pro__risk-val--physical   { color: var(--app-physical); }
.rl-svc-pro__risk-val--transitional { color: var(--app-transitional); }

@keyframes rl-pulse {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

.rl-svc-pro__table {
  table-layout: fixed;
}

.rl-svc-pro__table thead th:nth-child(2),
.rl-svc-pro__table thead th:nth-child(3) {
  text-align: right;
}

/* Expert project tile grid */
.rl-svc-expert__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--app-space-1);
  padding: var(--app-space-2);
  flex: 1;
  align-content: stretch;
}

.rl-project-tile {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-card-radius);
  padding: var(--app-space-1) var(--app-space-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.rl-project-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-card-shadow-md);
}

.rl-project-tile__logo-wrap {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--app-surface-alt);
  border: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rl-project-tile__initials {
  font-size: 14px;
  font-weight: 700;
  color: var(--app-text-secondary);
  letter-spacing: 0.03em;
}

.rl-project-tile__name {
  font-size: var(--app-text-body);
  font-weight: 600;
  color: var(--app-text-primary);
  line-height: 1.2;
}

.rl-project-tile__meta {
  font-size: var(--app-text-meta);
  color: var(--app-text-secondary);
}

.rl-project-tile__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: var(--app-text-meta);
  color: var(--app-text-secondary);
  gap: 4px;
  margin-top: 2px;
}

.rl-project-tile__stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rl-project-tile--add {
  border: 2px dashed var(--app-border);
  background: transparent;
  justify-content: center;
}

/* ============================================================
   HOMEPAGE 2 — app design system overrides (.rl-hp2 scope)
   ============================================================ */

/* Section h2s on homepage use base rl-h2 (matches decision/tool pages) */

.rl-hp2 .rl-problem__card-heading,
.rl-hp2 .rl-service-row__heading,
.rl-hp2 .rl-step-app__heading {
  font-size: var(--app-text-h2);   /* 18px / 600 */
  font-weight: var(--app-weight-title);
}

.rl-hp2 .rl-problem__card-body,
.rl-hp2 .rl-solution__col-body,
.rl-hp2 .rl-solution__footer,
.rl-hp2 .rl-service-row__body,
.rl-hp2 .rl-step-app__text,
.rl-hp2 .rl-steps__results {
  font-size: var(--app-text-body);  /* 14px / 500 */
  font-weight: var(--app-weight-body);
}

.rl-hero .rl-lead {
  font-size: 18px;
}

/* Problem card icon */
/* hp2 problem card — icon left, full rounded card */
.rl-hp2 .rl-problem__card {
  background: var(--app-surface);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--app-card-shadow-md);
  border-left: 4px solid var(--rl-coral);
  padding: var(--app-space-3);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--app-space-2);
}

.rl-problem__card-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--rl-radius-full);
  background-color: var(--rl-pink-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rl-problem__card-icon {
  font-size: 20px !important;
  color: var(--rl-coral);
  display: block;
}

.rl-problem__card-text {
  flex: 1;
  min-width: 0;
}

/* hp2: strip white box from solution, let rl-cards sit on the pink bg */
.rl-hp2 .rl-solution__card-wrap {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* hp2: section background rhythm */
.rl-hp2 .rl-problem  { background-color: var(--rl-off-white); }
.rl-hp2 .rl-services { background-color: var(--rl-off-white); }

.rl-hp2 .rl-service-row__target {
  font-size: var(--app-text-body);
  font-weight: var(--app-weight-body);
  letter-spacing: 0;
}

.rl-hp2 .rl-service-row {
  align-items: center;
  overflow: hidden;
}

.rl-hp2 .rl-service-row__content {
  justify-content: center;
  overflow: hidden;
}

/* ============================================================
   SCROLL SNAP — homepage only
   proximity mode: snaps when near a section boundary but
   does not trap the user inside tall sections (e.g. services).
   snap-margin-top offsets the GeneratePress sticky nav.
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}
.rl-homepage > section {
  scroll-margin-top: 122px;
}



@media (min-width: 768px) {
  .rl-hp2 .rl-problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Step card: mock widget replaces the photo */
.rl-step-card__mock-wrap {
  padding: var(--app-space-2);
  background: var(--app-bg);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Compact mock variant — tighter for step cards */
.rl-mock--compact .rl-mock__kpi-cell {
  padding: var(--app-space-1) var(--app-space-2);
}

.rl-mock--compact .rl-mock__kpi-value {
  font-size: 18px;
}

.rl-mock--compact .rl-mock__table td {
  padding: 7px var(--app-space-2);
}

/* ── Step app cards (rl-card shell + photo + body) ─────────────────── */
.rl-step-app {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rl-step-app__img-wrap {
  flex: 0 0 auto;
  height: 140px;
  overflow: hidden;
  background: var(--app-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--app-space-2);
}

.rl-step-app__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.rl-step-app__body {
  padding: var(--app-space-3) var(--app-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--app-space-1);
}

.rl-step-app__num {
  width: 36px;
  height: 36px;
  margin-bottom: var(--app-space-1);
}

.rl-step-app__heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--app-text-primary);
  margin: 0;
  line-height: 1.3;
}

.rl-step-app__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--app-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE BASE — font / reset scope
═══════════════════════════════════════════════════ */

.svc-page {
  font-family: var(--rl-font);
  color: var(--rl-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.svc-page *,
.svc-page *::before,
.svc-page *::after {
  box-sizing: border-box;
}

.svc-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.svc-page a:not(.rl-btn) {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════
   SERVICES OVERVIEW PAGE
═══════════════════════════════════════════════════ */

.svc-ov__hero {
  position: relative;
  height: 560px;
  background: var(--rl-navy);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.svc-ov__hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--color-hero-bg-image);
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.5);
}

.svc-ov__hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
}

.svc-ov__h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  height: 2.3em;
  overflow: hidden;
}

.svc-ov__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.svc-ov__hero-inner .rl-btn {
  align-self: flex-start;
  margin-top: auto;
}

.svc-ov__products {
  padding: 64px 0;
  background: var(--rl-off-white);
}

.svc-ov__h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-secondary);
  max-width: 820px;
  margin: 12px auto 16px;
  text-align: center;
  line-height: 1.2;
}

.svc-ov__subtitle {
  font-size: 16px;
  color: var(--rl-text-secondary);
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.6;
}

.svc-ov__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* product column: interactive card on top, text below */
.svc-ov__product-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* prevent table content from expanding column past 1fr */
}

/* square wrapper — same pattern as .rl-service-row__image-wrap on homepage */
.svc-ov__mock-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--app-card-radius);
}

.svc-ov__product-col .rl-svc-mock {
  transition: transform 0.2s, box-shadow 0.2s;
}

.svc-ov__product-col .rl-svc-mock:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1, 0, 61, 0.14);
}

.svc-ov__card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.svc-ov__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
}

.svc-ov__card-text {
  font-size: 15px;
  color: var(--rl-text-secondary);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.svc-ov__footer-note {
  text-align: center;
  margin-top: 48px;
  font-size: 15px;
  color: var(--rl-text-secondary);
}

.svc-ov__footer-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

/* ── Services overview: methodology section ── */
.svc-ov__method {
  padding: 80px 0;
  background: var(--rl-navy);
}
.svc-ov__method .rl-section-header {
  margin-bottom: 52px;
}
.svc-ov__method .rl-eyebrow {
  color: var(--rl-coral);
}
.svc-ov__method .rl-h2 {
  color: white;
}
.svc-ov__method .rl-section-sub {
  color: rgba(255,255,255,0.7);
}
.svc-ov__method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.svc-ov__method-item {
  padding: 28px 24px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--rl-radius-lg);
  border-left: 3px solid var(--rl-coral);
}
.svc-ov__method-icon {
  font-size: 28px;
  color: var(--rl-coral);
  display: block;
  margin-bottom: 14px;
}
.svc-ov__method-heading {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}
.svc-ov__method-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .svc-ov__method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .svc-ov__method-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — hero
═══════════════════════════════════════════════════ */

.svc-hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--color-hero-bg-image);
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.5);
}

/* Tool hero — plain navy background */
.svc-hero--tool {
  background: var(--rl-navy);
}
.svc-hero--tool .svc-hero__bg { display: none; }

.svc-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
}

.svc-hero__h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: white;
  max-width: 880px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  height: 2.3em;
  overflow: hidden;
}

.svc-hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.svc-hero__ctas {
  display: flex;
  gap: 16px;
  margin-top: auto;
  flex-wrap: wrap;
  align-items: center;
}
.svc-hero__login-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.svc-hero__login-link:hover { color: #ffffff; text-decoration: underline; }
.svc-hero__login-link[href=""] { display: none; }

.v4svc-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.v4svc-layer-badge {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rl-btn--outline-light {
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--rl-radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.rl-btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

/* Shared section heading + subtitle */
.svc-h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-secondary);
  max-width: 640px;
  margin: 12px auto 16px;
  line-height: 1.2;
  text-align: center;
}

.svc-subtitle {
  font-size: 16px;
  color: var(--rl-text-secondary);
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.6;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — Is This Right For You?
═══════════════════════════════════════════════════ */

.svc-rfv {
  padding: 64px 0;
  background: white;
  text-align: center;
}

.svc-rfv__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.svc-rfv__icon {
  font-size: 48px;
  color: var(--rl-coral);
  display: block;
  margin: 0 auto 16px;
}

.svc-rfv__heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 10px;
}

.svc-rfv__body {
  font-size: 14px;
  color: var(--rl-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — What You Get
═══════════════════════════════════════════════════ */

.svc-wyg {
  padding: 64px 0;
  background: var(--rl-off-white);
}

.svc-wyg__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


.svc-wyg__body {
  font-size: 15px;
  color: var(--rl-text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

.svc-wyg__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 24px 0 8px;
}

.svc-wyg__list {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-wyg__list li {
  font-size: 14px;
  color: var(--rl-text-secondary);
  line-height: 1.5;
}

.svc-wyg__img-wrap {
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(1, 0, 61, 0.14);
}

.svc-wyg__img {
  width: 100%;
  height: auto;
  display: block;
}


/* card partial in the wyg column */
.svc-wyg__card-wrap {
  display: flex;
  align-items: flex-start;
}

.svc-wyg__card-wrap .rl-svc-mock {
  width: 100%;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — How It Works
═══════════════════════════════════════════════════ */

.svc-how {
  padding: 64px 0;
  background: white;
  text-align: center;
}

.svc-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.svc-how__step {
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--app-border);
  border-radius: var(--rl-radius-lg);
  background: white;
}

.svc-how__step-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rl-navy);
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.svc-how__step-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 12px;
}

.svc-how__step-body {
  font-size: 14px;
  color: var(--rl-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.svc-how__note {
  margin-top: 36px;
  font-size: 13px;
  color: var(--rl-text-secondary);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — Reasons / Who It's For
═══════════════════════════════════════════════════ */

.svc-reasons {
  padding: 64px 0;
  background: var(--rl-pink-bg, #fff5f5);
}

.svc-reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}

.svc-reasons__card {
  padding: 28px;
  border: 1px solid var(--app-border);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  background: white;
  box-shadow: var(--app-card-shadow-md);
}

.svc-reasons__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 10px;
}

.svc-reasons__body {
  font-size: 14px;
  color: var(--rl-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SERVICE PAGE — CTA strip
═══════════════════════════════════════════════════ */

.svc-cta {
  padding: 56px 0;
  background: white;
  text-align: center;
  border-top: 1px solid var(--app-border);
}

.svc-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.svc-cta__text {
  font-size: 16px;
  color: var(--rl-text-secondary);
  margin: 0;
}

.svc-cta__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.svc-cta__link:hover {
  text-decoration: underline;
}

.svc-cta__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════
   GENERATEPRESS HEADER & NAV
═══════════════════════════════════════════════════ */

/* Header background — white with subtle bottom border */
.site-header,
#site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(1, 0, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible !important;
}

/* Ensure logo container never clips logo in any sticky/scroll state */
.inside-header {
  overflow: visible !important;
}
.site-branding-container {
  flex-shrink: 0;
  overflow: visible;
}

/* Logo sizing */
.site-header .custom-logo,
.site-header img.header-image {
  max-height: 56px;
  width: auto;
}

/* Hide GeneratePress site title text — logo image already contains the wordmark */
.site-branding .main-title {
  display: none !important;
}

/* Header inner — vertical breathing room, natural item widths */
.inside-header {
  padding: 12px 24px !important;
  position: relative;
}

/* Force solid sticky header on single post pages */
body.single .site-header,
body.single #site-header {
  position: sticky !important;
  top: 0 !important;
  background: #ffffff !important;
}

/* Prevent GeneratePress sticky nav from shrinking on scroll */
/* GP Premium adds .navigation-stick to .main-navigation; also catch any .shrink/.shrunk variants */
.main-navigation.navigation-stick .inside-navigation {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.main-navigation.navigation-stick .custom-logo,
.main-navigation.navigation-stick img.header-image,
.main-navigation.navigation-stick .site-title a {
  max-height: 56px !important;
}
.main-navigation.navigation-stick {
  transition: none !important;
}
.site-header.shrink .inside-header,
.site-header.shrunk .inside-header {
  padding: 12px 24px !important;
}
.site-header.shrink .custom-logo,
.site-header.shrink img.header-image,
.site-header.shrunk .custom-logo,
.site-header.shrunk img.header-image {
  max-height: 56px !important;
}
.site-header.shrink,
.site-header.shrunk {
  transition: none !important;
}

/* Offset sticky header below WP admin bar when logged in */
body.admin-bar .site-header,
body.admin-bar #site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar #site-header {
    top: 46px;
  }
}

/* Nav links */
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-item > a {
  line-height: 30px;
}

/* Prevent nav items from wrapping to a second row */
#primary-menu.menu {
  flex-wrap: nowrap !important;
  align-items: center;
}
/* Nav items — natural width, centred text */
.main-navigation .main-nav ul.menu > li:not(.nav-cta):not(.rl-nav-login) {
  text-align: center;
}
/* Hide dropdown chevrons — dropdown still works on hover */
.main-navigation .main-nav .menu > li > a .dropdown-menu-toggle {
  display: none;
}

.main-navigation .main-nav .menu > li.nav-cta {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.main-navigation .main-nav .menu > li > a {
  font-family: var(--rl-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--rl-navy) !important;
  text-decoration: none;
  padding: 0 14px;
  transition: color var(--rl-transition);
}

.main-navigation .main-nav .menu > li > a:hover,
.main-navigation .main-nav .menu > li.current-menu-item > a,
.main-navigation .main-nav .menu > li.current-menu-ancestor > a {
  color: var(--rl-coral) !important;
}
/* Decisions (#decisions) and Tools nav items — never auto-highlighted */
.main-navigation .main-nav .menu > li.menu-item-141.current-menu-item > a,
.main-navigation .main-nav .menu > li.menu-item-141.current-menu-ancestor > a,
.main-navigation .main-nav .menu > li.menu-item-141.current_page_item > a,
.main-navigation .main-nav .menu > li.menu-item-147.current-menu-item > a,
.main-navigation .main-nav .menu > li.menu-item-147.current-menu-ancestor > a,
.main-navigation .main-nav .menu > li.menu-item-147.current_page_item > a {
  color: var(--rl-navy) !important;
}

/* Dropdown chevron on parent items */
.main-navigation .main-nav .menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.5;
}

/* Dropdown submenus — premium design */
.main-navigation .main-nav .sub-menu {
  background: #ffffff;
  border-radius: 10px;
  min-width: 220px;
  width: auto !important;
  margin-top: 0 !important;
  left: 0 !important;
  padding: 8px 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease !important;
}

/* Mobile nav: restore sub-menu to normal document flow so it doesn't overlap siblings */
.main-navigation.toggled .main-nav .sub-menu {
  position: static !important;
  transform: none !important;
  left: auto !important;
  border-radius: 0;
  min-width: 0;
}

/* Border and shadow only when visible — prevents ghost bar on hover-off */
.main-navigation:not(.toggled) ul li:hover > .sub-menu,
.main-navigation:not(.toggled) ul li.sfHover > .sub-menu {
  border: 1px solid rgba(1, 0, 61, 0.10);
  border-left: 4px solid var(--rl-coral);
  box-shadow: 0 12px 40px rgba(1, 0, 61, 0.14), 0 2px 8px rgba(1, 0, 61, 0.06);
}

/* Slide down on reveal */
.main-navigation:not(.toggled) ul li:hover > ul,
.main-navigation:not(.toggled) ul li.sfHover > ul {
  transform: translateY(0);
}

.main-navigation .main-nav .sub-menu a {
  font-family: var(--rl-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--rl-navy) !important;
  padding: 10px 20px;
  line-height: 1.3;
  transition: color 120ms ease, background 120ms ease;
}

.main-navigation .main-nav .sub-menu a:hover {
  color: var(--rl-coral) !important;
  background: rgba(236, 82, 82, 0.05);
}

/* Nav group label — non-interactive section header in dropdown */
.main-navigation .main-nav .sub-menu li.nav-group-label > a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(1, 0, 61, 0.4) !important;
  cursor: default;
  padding: 12px 20px 4px;
  pointer-events: none;
}
.main-navigation .main-nav .sub-menu li.nav-group-label > a:hover {
  background: transparent;
  color: rgba(1, 0, 61, 0.4) !important;
}

/* Contact Us — coral pill button */
.main-navigation .main-nav .menu > li.nav-cta > a {
  background: var(--rl-coral) !important;
  color: #ffffff !important;
  border-radius: var(--rl-radius-full);
  padding: 10px 22px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
}

.main-navigation .main-nav .menu > li.nav-cta > a::after {
  content: ' ›';
}

.main-navigation .main-nav .menu > li.nav-cta > a:hover {
  background: var(--rl-coral-light) !important;
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════
   MOCK CARD SCALING
   All sizes are relative to card width (cqi units).
   Native design width = 540px → 1px ≈ 0.185cqi
   Everything scales up/down as the square resizes.
═══════════════════════════════════════════════════ */

/* header */
.rl-svc-mock .rl-card__header        { min-height: 8.1cqi; padding: 1.5cqi 3.0cqi; gap: 1.5cqi; }
.rl-svc-mock .rl-card__icon          { font-size: 3.3cqi !important; }
.rl-svc-mock .rl-card__title         { font-size: 3.3cqi; }
.rl-svc-mock .rl-mock__badge         { font-size: 2.0cqi; padding: 0.4cqi 1.5cqi; border-radius: 0.75cqi; }

/* scan risk grid */
.rl-svc-mock .rl-mock__grid          { font-size: 2.6cqi; }
.rl-svc-mock .rl-mock__grid th       { font-size: 2.0cqi; padding: 0.6cqi 0.75cqi; }
.rl-svc-mock .rl-mock__grid td       { padding: 1.1cqi 0.75cqi; }
.rl-svc-mock .rl-scan-grid th:first-child,
.rl-svc-mock .rl-scan-grid td:first-child { padding-left: 1.5cqi; font-size: 2.1cqi; }

/* risk level badges */
.rl-svc-mock .rl-risk-cell           { width: 5.9cqi; height: 5.9cqi; font-size: 2.4cqi; border-radius: 1.1cqi; }

/* pro scenario tabs */
.rl-svc-mock .rl-svc-pro__scenarios        { padding: 0.9cqi 1.5cqi; gap: 0.75cqi; }
.rl-svc-mock .rl-svc-pro__scenario-tab    { font-size: 1.7cqi; padding: 0.4cqi 1.4cqi; }
.rl-svc-mock .rl-svc-pro__scenario-horizon { font-size: 1.7cqi; }

/* pro KPI strip */
.rl-svc-mock .rl-svc-pro__kpi-cell  { padding: 1.5cqi; }
.rl-svc-mock .rl-mock__kpi-label    { font-size: 1.85cqi; margin-bottom: 0.5cqi; }
.rl-svc-mock .rl-svc-pro__hero-val  { font-size: 4.1cqi; }
.rl-svc-mock .rl-svc-pro__kpi-val   { font-size: 3.0cqi; }
.rl-svc-mock .rl-svc-mock__kpi-sub  { font-size: 1.85cqi; }

/* pro map — fills remaining card height in all contexts */
.rl-svc-mock .rl-svc-pro__map-wrap  { flex: 1; height: auto; }
.rl-svc-mock .rl-svc-pro__map-dot   { width: 3.0cqi; height: 3.0cqi; }
.rl-svc-mock .rl-svc-pro__map-pulse { width: 5.9cqi; height: 5.9cqi; }
.rl-svc-mock .rl-svc-pro__map-popup { padding: 1.1cqi 1.85cqi; border-radius: 0.9cqi; }
.rl-svc-mock .rl-svc-pro__map-popup-title { font-size: 1.85cqi; }
.rl-svc-mock .rl-svc-pro__map-popup-badge { font-size: 1.7cqi; padding: 0.2cqi 0.75cqi; border-radius: 0.56cqi; }
.rl-svc-mock .rl-svc-pro__map-coords      { font-size: 1.7cqi; padding: 0.56cqi 1.5cqi; }

/* pro risk overlay */
.rl-svc-mock .rl-svc-pro__risk-overlay   { padding: 1cqi 1.5cqi; border-radius: 0.9cqi; bottom: 3.5cqi; right: 1.2cqi; }
.rl-svc-mock .rl-svc-pro__risk-header    { font-size: 1.4cqi; margin-bottom: 0.6cqi; }
.rl-svc-mock .rl-svc-pro__risk-row       { gap: 2.2cqi; }
.rl-svc-mock .rl-svc-pro__risk-name      { font-size: 1.7cqi; }
.rl-svc-mock .rl-svc-pro__risk-val       { font-size: 1.7cqi; }

/* pro risk table */
.rl-svc-mock .rl-mock__table         { font-size: 2.6cqi; }
.rl-svc-mock .rl-mock__table th      { font-size: 2.0cqi; padding: 1.2cqi 1.85cqi; }
.rl-svc-mock .rl-mock__table td      { padding: 1.4cqi 1.85cqi; }
.rl-svc-mock .rl-mock__pill          { font-size: 1.85cqi; padding: 0.37cqi 1.1cqi; }

/* expert project tiles */
.rl-svc-mock .rl-svc-expert__grid        { gap: 1.5cqi; padding: 2.0cqi; }
.rl-svc-mock .rl-project-tile            { gap: 0.75cqi; padding: 1.5cqi; }
.rl-svc-mock .rl-project-tile__logo-wrap { width: 6.3cqi; height: 6.3cqi; border-radius: 1.1cqi; }
.rl-svc-mock .rl-project-tile__initials  { font-size: 2.6cqi; }
.rl-svc-mock .rl-project-tile__name      { font-size: 2.4cqi; }
.rl-svc-mock .rl-project-tile__meta      { font-size: 1.85cqi; }
.rl-svc-mock .rl-project-tile__stats     { font-size: 2.0cqi; gap: 0.75cqi; margin-top: 0.37cqi; }


/* ═══════════════════════════════════════════════════
   CASE STUDIES — index hero
═══════════════════════════════════════════════════ */

.cs-hero {
  position: relative;
  overflow: hidden;
}
.cs-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--color-hero-bg-image);
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.42) saturate(0.7);
}
.cs-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 60px;
}

.cs-hero__cards-row {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.cs-hero-cards__h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 12px;
  text-align: center;
}

.cs-hero-cards__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.cs-hero__h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
  max-width: 720px;
}
.cs-hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   CASE STUDIES — index grid
═══════════════════════════════════════════════════ */

.cs-grid-section {
  padding: 72px 0;
  background: var(--rl-off-white);
}
.cs-grid__h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 12px auto 16px;
  text-align: center;
  max-width: 640px;
  line-height: 1.2;
}
.cs-grid__subtitle {
  font-size: 16px;
  color: var(--rl-text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.6;
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ═══════════════════════════════════════════════════
   CASE STUDY CARD — reusable partial
═══════════════════════════════════════════════════ */

.cs-card {
  background: white;
  border-radius: var(--rl-radius-lg);
  border: 1px solid var(--app-border);
  border-left: 4px solid var(--rl-coral);
  box-shadow: var(--rl-shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(1,0,61,0.13);
  text-decoration: none;
  color: inherit;
}
.cs-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cs-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--rl-coral);
  letter-spacing: 0.08em;
}
.cs-card__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--rl-radius-full);
  background: var(--rl-pink-bg);
  color: var(--rl-coral);
  border: 1px solid rgba(236,82,82,0.25);
}
.cs-card__badge--expert {
  background: rgba(1,0,61,0.06);
  color: var(--rl-navy);
  border-color: rgba(1,0,61,0.15);
}
.cs-card__badge--scan {
  background: rgba(16,185,129,0.08);
  color: #047857;
  border-color: rgba(16,185,129,0.25);
}
.cs-card__client {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-card__client-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.cs-card__client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}
.cs-card__client-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--rl-navy);
  line-height: 1.3;
}
.cs-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
  line-height: 1.4;
}
.cs-card__body {
  font-size: 13px;
  color: var(--rl-text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.cs-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.cs-card__meta-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--rl-radius-full);
  background: var(--rl-off-white);
  color: var(--rl-text-secondary);
  border: 1px solid var(--app-border);
}
.cs-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--rl-coral);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   CASE STUDY DETAIL PAGE
═══════════════════════════════════════════════════ */

.cs-detail-hero {
  position: relative;
  min-height: 560px;
  background: var(--rl-navy);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.cs-detail-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--color-hero-bg-image);
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.5);
}
.cs-detail-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 80px;
}
.cs-detail-hero__h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  max-width: 800px;
}
.cs-detail-hero__lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 660px;
}
.cs-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  max-width: 720px;
}
.cs-detail-hero__meta-item {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-left: 2px solid var(--rl-coral);
  min-width: 140px;
}
.cs-detail-hero__meta-item:last-child { border-right: none; }
.cs-detail-hero__meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rl-coral-light);
  margin-bottom: 4px;
}
.cs-detail-hero__meta-val {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: white;
}
/* ── CS meta panel — white card below hero ── */
.cs-meta-panel {
  background: var(--rl-off-white);
  padding: 32px 0;
}
.cs-meta-panel__inner {
  display: flex;
  background: white;
  border-radius: var(--rl-radius-lg);
  border: 1px solid var(--app-border);
  border-left: 4px solid var(--rl-coral);
  box-shadow: var(--rl-shadow-card);
  overflow: hidden;
}
.cs-meta-item {
  flex: 1;
  padding: 18px 24px;
  border-right: 1px solid var(--app-border);
}
.cs-meta-item:last-child { border-right: none; }
.cs-meta-item__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rl-coral);
  margin-bottom: 4px;
}
.cs-meta-item__val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-navy);
}

.cs-challenge {
  padding: 72px 0;
  background: white;
}
.cs-challenge__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}
.cs-h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 12px 0 20px;
  line-height: 1.3;
  max-width: 640px;
}
.cs-body {
  font-size: 15px;
  color: var(--rl-text-secondary);
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 620px;
}
.cs-stat-card {
  background: var(--rl-navy);
  border-radius: var(--rl-radius-lg);
  padding: 44px 36px;
  text-align: center;
  min-width: 220px;
  flex-shrink: 0;
  border-top: 4px solid var(--rl-coral);
}
.cs-stat-card__val {
  font-size: 4rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cs-stat-card__label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}
.cs-solution {
  padding: 80px 0;
  background: var(--rl-off-white);
}
.cs-solution__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.cs-outcomes {
  padding: 80px 0;
  background: white;
}
.cs-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 0;
}
.cs-outcome-card {
  background: var(--rl-off-white);
  border-radius: var(--rl-radius-lg);
  border-left: 4px solid var(--rl-coral);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs-outcome-card__icon {
  font-size: 13px;
  font-weight: 800;
  color: var(--rl-coral);
  letter-spacing: 0.05em;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(236,82,82,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-outcome-card__text {
  font-size: 15px;
  color: var(--color-secondary);
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}

/* ── CS responsive ── */
@media (max-width: 768px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
  .cs-meta-panel__inner {
    flex-wrap: wrap;
  }
  .cs-meta-item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--app-border);
  }
  .cs-meta-item:nth-child(2n) { border-right: none; }
  .cs-meta-item:nth-last-child(-n+2) { border-bottom: none; }
  .cs-challenge__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cs-solution__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cs-outcomes__grid {
    grid-template-columns: 1fr;
  }
  .cs-idx-grid {
    grid-template-columns: 1fr;
  }
  .cs-challenge__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── CS index card grid ── */
.cs-idx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto auto auto;
  column-gap: 24px;
  row-gap: 24px;
  margin-top: 40px;
}
.cs-idx-card {
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  background: white;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: var(--rl-space-8);
  text-decoration: none;
  box-shadow: var(--rl-shadow-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cs-idx-card:hover {
  box-shadow: 0 8px 32px rgba(1,0,61,0.14);
  transform: translateY(-2px);
}
.cs-idx-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cs-idx-card .rl-proof__link {
  align-self: end;
  padding-top: var(--rl-space-2);
}
.cs-idx-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--rl-space-4);
  align-self: start;
}
.cs-idx-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--rl-off-white);
  color: var(--rl-navy);
  border: 1px solid rgba(1,0,61,0.10);
}

/* ── CS index card logo ── */
.cs-idx-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  background: var(--rl-off-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-radius: 10px;
  padding: 8px;
  flex-shrink: 0;
  display: block;
}

/* ── CS challenge cols ── */
.cs-challenge__cols {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

/* ── CS solution dark variant ── */
.cs-solution--dark {
  background: var(--rl-navy);
}
.cs-h2--light {
  color: white;
}
.cs-body--light {
  color: rgba(255,255,255,0.75);
}

/* ── CS quote band ── */
.cs-quote-band {
  padding: 80px 0;
  background: var(--rl-navy);
}
.cs-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cs-quote::before {
  content: '\201C';
  display: block;
  font-size: 6rem;
  color: var(--rl-coral);
  line-height: 0.6;
  margin-bottom: 24px;
  font-family: var(--rl-font);
}
.cs-quote__text {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: white;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 28px;
  font-weight: 400;
}
.cs-quote__author {
  font-size: 13px;
  color: var(--rl-coral);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════ */

.about-pillars {
  padding: 80px 0;
  background: var(--rl-off-white);
}
.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-pillar {
  background: white;
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 4px solid var(--rl-coral);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 28px 24px;
}
.about-pillar__icon {
  font-size: 24px;
  color: var(--rl-coral);
  margin-bottom: 16px;
}
.about-pillar__h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 10px;
  line-height: 1.3;
}
.about-pillar__lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--rl-text-secondary);
  margin: 0 0 14px;
  line-height: 1.5;
}
.about-pillar__list {
  margin: 0;
  padding-left: 18px;
}
.about-pillar__list li {
  font-size: 14px;
  color: var(--rl-text-secondary);
  line-height: 1.65;
  margin-bottom: 6px;
}
.about-partners {
  padding: 72px 0;
  background: white;
  text-align: center;
}
.about-partners__inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 12px 0 16px;
  line-height: 1.3;
}
.about-body {
  font-size: 15px;
  color: var(--rl-text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */

.contact-form-section {
  padding: 80px 0;
  background: var(--rl-off-white);
}
.contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.contact-form-wrap {
  background: white;
  border-radius: var(--rl-radius-lg);
  border: 1px solid var(--app-border);
  padding: 40px;
}
.contact-form__h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 8px;
  line-height: 1.3;
}
.contact-form__sub {
  font-size: 15px;
  color: var(--rl-text-secondary);
  margin: 0 0 28px;
  line-height: 1.6;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: var(--rl-radius-lg);
  border: 1px solid var(--app-border);
  padding: 20px;
}
.contact-info__icon {
  font-size: 22px;
  line-height: 1;
  color: var(--rl-coral);
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-info__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rl-text-secondary);
  margin: 0 0 4px;
}
.contact-info__val {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0;
  text-decoration: none;
}
a.contact-info__val:hover { color: var(--rl-coral); }

/* WPForms overrides — match brand */
.contact-form-wrap .wpforms-form .wpforms-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
}
.contact-form-wrap .wpforms-form input[type=text],
.contact-form-wrap .wpforms-form input[type=email],
.contact-form-wrap .wpforms-form textarea {
  border: 1px solid var(--app-border);
  border-radius: 6px;
  font-family: var(--rl-font);
  font-size: 14px;
  padding: 10px 14px;
  color: var(--color-secondary);
  background: var(--rl-off-white);
  transition: border-color 0.15s;
}
.contact-form-wrap .wpforms-form input:focus,
.contact-form-wrap .wpforms-form textarea:focus {
  border-color: var(--rl-coral);
  outline: none;
  background: white;
}
.contact-form-wrap .wpforms-form .wpforms-submit {
  background: var(--rl-coral) !important;
  border: none !important;
  border-radius: var(--rl-radius-full) !important;
  font-family: var(--rl-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.contact-form-wrap .wpforms-form .wpforms-submit:hover {
  background: var(--rl-navy) !important;
}
.contact-form-wrap .wpcf7-submit,
.contact-form-wrap input[type="submit"] {
  background: var(--rl-coral) !important;
  border: none !important;
  border-radius: var(--rl-radius-full) !important;
  font-family: var(--rl-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  color: #fff !important;
}
.contact-form-wrap .wpcf7-submit:hover,
.contact-form-wrap input[type="submit"]:hover {
  background: var(--rl-navy) !important;
}

.contact-map-embed {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  width: 100%;
}
.contact-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE — redesigned alternating sections
═══════════════════════════════════════════════════ */

.about-stripes {
  overflow: hidden;
  height: 100px;
}
.about-stripes__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.8) saturate(1.2);
}

.about-section {
  padding: 80px 0;
  background: white;
}
.about-section--alt {
  background: var(--rl-off-white);
}

.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-section__inner--text-only {
  grid-template-columns: 1fr;
  max-width: 680px;
}
.about-section--text-only .about-section__h2 {
  max-width: 680px;
}
.about-section__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.about-section__list--cols li {
  background: var(--rl-off-white);
  border-left: 3px solid var(--rl-navy);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 14px 16px;
}

.about-section__h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-secondary);
  margin: 12px 0 28px;
  line-height: 1.3;
}

.about-section__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-section__list li {
  font-size: 15px;
  color: var(--rl-text-secondary);
  line-height: 1.65;
  padding-left: 22px;
  position: relative;
}
.about-section__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rl-coral);
  flex-shrink: 0;
}

.about-section__image {
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(1, 0, 61, 0.14);
}
.about-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 420px;
}

.about-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about-logos img {
  height: auto;
  max-height: 56px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
  display: block;
}
.about-logos img:hover {
  filter: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   INSIGHTS — hero (injected via PHP hook)
═══════════════════════════════════════════════════ */

.insights-hero {
  background-color: var(--rl-navy);
  background-image: var(--color-hero-bg-image);
  background-size: cover;
  background-position: center 30%;
  filter: none;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.insights-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(1,0,61,0.82) 0%, rgba(236,82,82,0.42) 100%);
  pointer-events: none;
}
.insights-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 80px;
  max-width: 680px;
}
.insights-hero__h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}
.insights-hero__lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin: 0;
}

/* ── Single post: break out of GeneratePress grid container ── */
.single .site-content .grid-container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.single .site-content {
  display: block !important;
  width: 100% !important;
}

/* ═══════════════════════════════════════════════════
   INSIGHTS — article (single post)
═══════════════════════════════════════════════════ */

.article-hero {
  position: relative;
  min-height: 460px;
  background: var(--rl-navy);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(1,0,61,0.88) 0%, rgba(236,82,82,0.38) 100%);
  pointer-events: none;
}
.article-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 60px;
}
.article-hero__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  transition: color 0.15s;
}
.article-hero__back:hover { color: white; }
.article-hero__h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  max-width: 820px;
}
.article-hero__meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.03em;
}
.article-content-section {
  padding: 64px 0 80px;
  background: white;
}
.article-content {
  max-width: 720px;
}
.article-content p {
  font-size: 16px;
  color: var(--rl-text-body);
  line-height: 1.8;
  margin: 0 0 22px;
}
.article-content > p:first-of-type {
  font-size: 17px;
  color: var(--rl-text-body);
  line-height: 1.75;
  font-weight: 500;
}
.article-content h2 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  color: var(--rl-navy);
  line-height: 1.3;
  margin: 52px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--rl-coral);
}
.article-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rl-navy);
  line-height: 1.35;
  margin: 36px 0 12px;
}
.article-content strong {
  font-weight: 700;
  color: var(--rl-navy);
}
.article-content a {
  color: var(--rl-coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover { opacity: 0.8; }
.article-content ul,
.article-content ol {
  margin: 0 0 22px 0;
  padding-left: 24px;
}
.article-content li {
  font-size: 16px;
  color: var(--rl-text-body);
  line-height: 1.75;
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 4px solid var(--rl-coral);
  background: var(--rl-off-white);
  border-radius: 0 var(--rl-radius-md) var(--rl-radius-md) 0;
  padding: 24px 32px;
  margin: 40px 0;
}
.article-content blockquote p {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: var(--rl-navy);
  line-height: 1.6;
  margin: 0;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--app-border);
  margin: 40px 0;
}

/* ═══════════════════════════════════════════════════
   INSIGHTS — card grid (home.php)
═══════════════════════════════════════════════════ */

/* GP constrains blog index wrapper to 1200px — body class is 'blog' not 'home' */
body.blog .insights-index {
  width: 100% !important;
  max-width: none !important;
}
.insights-grid-section {
  padding: 72px 0;
  background: var(--rl-off-white);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr auto auto;
  column-gap: 24px;
  row-gap: 24px;
}
.insight-card {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  background: white;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: var(--rl-space-8);
  text-decoration: none;
  box-shadow: var(--rl-shadow-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}
.insight-card:hover {
  box-shadow: 0 8px 32px rgba(1,0,61,0.14);
  transform: translateY(-2px);
}
.insight-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--rl-coral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
.insight-card__title {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--rl-navy);
  line-height: 1.4;
  margin: 10px 0 0;
}
.insight-card .rl-proof__body {
  margin: 12px 0 0;
  align-self: start;
}
.insight-card .rl-proof__link {
  margin-top: 16px;
  align-self: end;
}
.insight-pagination {
  margin-top: 40px;
  text-align: center;
}
.insight-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 2px;
  border-radius: var(--rl-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-navy);
  text-decoration: none;
  background: white;
  border: 1px solid var(--app-border);
}
.insight-pagination .page-numbers.current,
.insight-pagination .page-numbers:hover {
  background: var(--rl-navy);
  color: white;
  border-color: var(--rl-navy);
}

@media (max-width: 900px) {
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rl-decisions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rl-sectors__grid {
    grid-template-columns: 1fr;
    gap: var(--rl-space-6);
  }
  .rl-proof__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: var(--rl-space-6);
  }
  .rl-proof__card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
  }
  .rl-proof__body { flex: 1; margin: 0 0 var(--rl-space-6); }
  .rl-proof__link { margin-top: auto; align-self: auto; }
}
@media (max-width: 600px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .about-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rl-decisions__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   DECISION PAGES
═══════════════════════════════════════════════════ */

.dec-challenge {
  padding: 64px 0;
  background: #ffffff;
  text-align: center;
}

.dec-gap {
  padding: 64px 0;
  background: var(--rl-off-white);
}

.dec-gap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.dec-how {
  padding: 64px 0;
  background: var(--rl-pink-bg, #fff5f5);
  text-align: center;
}

.dec-outputs {
  padding: 64px 0;
  background: #ffffff;
}

.dec-outputs__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.dec-outputs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dec-outputs__list li {
  padding: 16px 16px 16px 52px;
  position: relative;
  background: var(--rl-off-white);
  border-radius: var(--rl-radius-md);
  border-left: 4px solid var(--rl-coral);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-secondary);
}

.dec-outputs__list li::before {
  content: "check_circle";
  font-family: "Material Icons";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rl-coral);
  font-size: 22px;
  line-height: 1;
}

.dec-outputs__stat {
  text-align: center;
  padding: 40px 32px;
}

.dec-outputs__stat-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.dec-outputs__stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.dec-outputs__stat-body {
  font-size: 14px;
  color: var(--rl-text-secondary);
  line-height: 1.6;
}

.dec-context {
  padding: 48px 0;
  background: var(--rl-off-white);
  border-top: 1px solid rgba(1, 0, 61, 0.08);
}

.dec-context__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.dec-context__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dec-context__chip {
  background: white;
  border: 1px solid rgba(1, 0, 61, 0.14);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
}

.dec-context__pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.dec-context__pill {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  background: white;
  border: 1px solid rgba(1, 0, 61, 0.12);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  transition: background 0.2s;
}

.dec-context__pill:hover {
  background: var(--rl-off-white);
}

.dec-context__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--rl-text-secondary);
  line-height: 1.55;
  font-style: italic;
}

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

@media (max-width: 768px) {
  .dec-outputs__inner,
  .dec-context__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dec-gap__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Decisions Overview ── */
.dec-ov__cards-section {
  padding: 80px 0;
  background: var(--rl-off-white);
}

.rl-decisions__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.rl-decisions__card {
  flex: 0 0 calc(25% - 21px);
  background: white;
  border-radius: var(--rl-radius-lg);
  padding: 36px 28px 28px;
  border: 1px solid rgba(1, 0, 61, 0.08);
  border-left: 4px solid var(--rl-coral);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(1, 0, 61, 0.05);
  transition: box-shadow 0.2s;
}

.rl-decisions__card:hover {
  box-shadow: 0 6px 24px rgba(1, 0, 61, 0.10);
}

.rl-decisions__icon {
  font-size: 36px;
  color: var(--rl-coral);
  line-height: 1;
}

.rl-decisions__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
  line-height: 1.3;
}

.rl-decisions__body {
  font-size: 0.95rem;
  color: var(--rl-text-secondary);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.dec-ov__card-btn {
  margin-top: 8px;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .rl-decisions__card {
    flex: 0 0 calc(33.333% - 18.667px);
  }
}

@media (max-width: 760px) {
  .rl-decisions__card {
    flex: 0 0 calc(50% - 14px);
  }
}

@media (max-width: 480px) {
  .rl-decisions__card {
    flex: 0 0 100%;
  }
}

/* ── Homepage: Partners / Trusted-by strip ── */
.rl-partners {
  padding: 36px 0;
  background: white;
  border-top: 1px solid rgba(1, 0, 61, 0.07);
  border-bottom: 1px solid rgba(1, 0, 61, 0.07);
}

.rl-partners__label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rl-text-secondary);
  margin: 0 0 28px;
}

.rl-partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}

.rl-partners__logos img {
  height: 52px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.2s, opacity 0.2s;
}

/* Auto-scale height as logo count grows */
.rl-partners__logos:has(img:nth-child(4)) img { height: 46px; }
.rl-partners__logos:has(img:nth-child(5)) img { height: 40px; }
.rl-partners__logos:has(img:nth-child(6)) img { height: 35px; }
.rl-partners__logos:has(img:nth-child(7)) img { height: 30px; }

.rl-partners__logos img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 600px) {
  .rl-partners__logos {
    gap: 28px;
  }
  .rl-partners__logos img,
  .rl-partners__logos:has(img:nth-child(4)) img,
  .rl-partners__logos:has(img:nth-child(5)) img,
  .rl-partners__logos:has(img:nth-child(6)) img,
  .rl-partners__logos:has(img:nth-child(7)) img {
    height: 28px;
  }
}

/* ── Sector Pages ── */
.sector-usecases {
  padding: 80px 0;
  background: var(--rl-off-white);
}

.dec-context__cols--products-only {
  grid-template-columns: 1fr;
  max-width: 560px;
}

/* ── Sectors Overview ── */
.sectors-ov__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.sectors-ov__card {
  display: flex;
  flex-direction: column;
  background: var(--rl-white);
  border-radius: var(--rl-radius-lg);
  padding: 36px 28px 28px;
  box-shadow: 0 2px 12px rgba(1,0,61,0.07);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sectors-ov__card:hover {
  box-shadow: var(--rl-shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.sectors-ov__icon {
  font-size: 2rem;
  color: var(--rl-coral);
  margin-bottom: 16px;
}
.sectors-ov__heading {
  font-size: var(--rl-fs-heading);
  font-weight: 600;
  color: var(--rl-navy);
  margin: 0 0 12px;
}
.sectors-ov__body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 24px;
}
.sectors-ov__btn {
  align-self: flex-start;
}
@media (max-width: 860px) {
  .sectors-ov__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── ABM Landing Pages ── */
.abm-hero {
  position: relative;
  background: var(--rl-navy);
  padding: 100px 0 80px;
  overflow: hidden;
}
.abm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.abm-hero__h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--rl-white);
  line-height: 1.2;
  margin: 16px 0 20px;
}
.abm-hero__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin: 0 0 32px;
}
.abm-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.abm-problem { padding: 80px 0; background: var(--rl-white); }
.abm-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.abm-h2 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 12px 0 20px;
  line-height: 1.3;
}
.abm-h2--centered { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.abm-body { font-size: var(--rl-fs-base); color: var(--rl-text-body); line-height: 1.7; margin: 0 0 16px; }
.abm-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.abm-bullet {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.abm-bullet__icon { color: var(--rl-coral); font-size: 1.375rem; flex-shrink: 0; margin-top: 2px; }
.abm-bullet__heading { display: block; font-size: var(--rl-fs-base); font-weight: 600; color: var(--rl-navy); margin-bottom: 4px; }
.abm-bullet__body { font-size: var(--rl-fs-small); color: var(--rl-text-body); line-height: 1.6; margin: 0; }

.abm-solution { padding: 80px 0; background: var(--rl-off-white); }
.abm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.abm-step {
  background: var(--rl-white);
  border-radius: var(--rl-radius-lg);
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(1,0,61,0.06);
}
.abm-step__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rl-coral);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.abm-step__heading { font-size: var(--rl-fs-base); font-weight: 600; color: var(--rl-navy); margin: 0 0 10px; }
.abm-step__body { font-size: var(--rl-fs-small); color: var(--rl-text-body); line-height: 1.65; margin: 0; }

.abm-proof { padding: 72px 0; background: var(--rl-navy); }
.abm-proof__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.abm-proof__quote-text {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  color: var(--rl-white);
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 12px;
}
.abm-proof__cite {
  font-size: var(--rl-fs-small);
  color: rgba(255,255,255,0.62);
  font-style: normal;
  display: block;
}
.abm-proof__cs-link {
  font-size: var(--rl-fs-small);
  color: var(--rl-coral-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(236,82,82,0.4);
  padding-bottom: 2px;
}
.abm-proof__cs-link:hover { color: var(--rl-white); border-color: rgba(255,255,255,0.4); }

.abm-cta { padding: 80px 0; background: var(--rl-white); }
.abm-cta__inner { text-align: center; max-width: 600px; margin: 0 auto; }
.abm-cta__h2 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; color: var(--rl-navy); margin: 0 0 16px; }
.abm-cta__body { font-size: var(--rl-fs-base); color: var(--rl-text-body); line-height: 1.7; margin: 0 0 32px; }

@media (max-width: 860px) {
  .abm-problem__grid { grid-template-columns: 1fr; gap: 40px; }
  .abm-steps { grid-template-columns: 1fr; }
}

/* ── V4 Homepage: Five services grid ──────────────────────────────────── */
.rl-hp-services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.rl-hp-svc-card {
  flex: 0 0 calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 3px solid var(--rl-coral);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 20px 20px 18px;
  background: var(--rl-white);
  transition: box-shadow var(--rl-transition), transform var(--rl-transition);
}
.rl-hp-svc-card:hover {
  box-shadow: var(--rl-shadow-card);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.rl-hp-svc-card__title {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 12px;
  line-height: 1.35;
}
.rl-hp-svc-card__decision {
  font-size: 14px;
  color: var(--rl-text-body);
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}
.rl-hp-svc-card__sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.rl-hp-svc-card__more {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: var(--rl-coral);
  margin-top: auto;
}
@media (max-width: 900px) {
  .rl-hp-svc-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 580px) {
  .rl-hp-svc-card { flex: 0 0 100%; }
}

/* ── V4 Homepage: How it works brief (dark navy strip) ────────────────── */
.rl-hiw-brief {
  background: var(--rl-navy);
  padding: 72px 0;
}
.rl-hiw-brief__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.rl-hiw-brief__inner .rl-eyebrow--light {
  display: block;
  margin-bottom: 16px;
}
.rl-hiw-brief__inner .rl-h2--light {
  margin-bottom: 24px;
}
.rl-hiw-brief__body {
  font-size: var(--rl-fs-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0 0 48px;
}
.rl-hiw-brief__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}
.rl-hiw-brief__tier {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: 24px 20px;
  text-decoration: none;
  transition: background var(--rl-transition);
}
.rl-hiw-brief__tier:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.rl-hiw-brief__tier-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rl-coral);
  letter-spacing: 0.04em;
}
.rl-hiw-brief__tier-label {
  font-size: var(--rl-fs-small);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.rl-hiw-brief__tier-body {
  font-size: var(--rl-fs-small);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 700px) {
  .rl-hiw-brief__tiers { grid-template-columns: 1fr; }
  .rl-hiw-brief__inner { max-width: 100%; }
}

/* ── V4 Homepage: Partners / CAP section ──────────────────────────────── */
.rl-hp-partners {
  background: var(--rl-off-white);
}
.rl-hp-partners__types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.rl-hp-partners__type-card {
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-navy);
  border-radius: var(--rl-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 160px;
}
.rl-hp-partners__type-label {
  font-size: var(--rl-fs-small);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0;
  letter-spacing: 0.01em;
}
.rl-hp-partners__type-body {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
}
.rl-hp-partners__footer {
  margin-top: 36px;
  text-align: center;
}
@media (max-width: 768px) {
  .rl-hp-partners__types-grid { grid-template-columns: 1fr; }
}

/* ── V4 Service pages ─────────────────────────────────────────────────────── */

.v4svc-body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 0 20px;
}
.v4svc-body--wide { max-width: 760px; }
.v4svc-body:last-child { margin-bottom: 0; }

/* ── Services Overview page ──────────────────────────────────────────────── */

.svc-ov-services { padding: 72px 0; background: var(--rl-white); }
.svc-ov__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-ov__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 4px solid var(--rl-navy);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  background: var(--rl-white);
  text-decoration: none;
  transition: border-left-color 0.15s, box-shadow 0.15s;
}
.svc-ov__card:hover {
  border-left-color: var(--rl-coral);
  box-shadow: 0 4px 20px rgba(1, 0, 61, 0.08);
}
.svc-ov__card--partner { border-left-color: var(--rl-coral); }
.svc-ov__card-layer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rl-coral);
}
.svc-ov__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0;
  line-height: 1.25;
}
.svc-ov__card-decision {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.svc-ov__card-cta {
  font-size: var(--rl-fs-base);
  font-weight: 600;
  color: var(--rl-navy);
  margin-top: 4px;
}
.svc-ov__card:hover .svc-ov__card-cta { color: var(--rl-coral); }

.svc-ov-layers { padding: 72px 0; background: var(--rl-off-white); }
.svc-ov-layers .rl-eyebrow { display: block; margin-bottom: 12px; }
.svc-ov-layers .rl-h2 { margin-bottom: 12px; }
.svc-ov-layers .rl-section-sub { margin-bottom: 48px; }
.svc-ov-layers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-ov-layer {
  background: var(--rl-white);
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 4px solid var(--rl-navy);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-ov-layer--partner { border-left-color: var(--rl-coral); }
.svc-ov-layer__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0;
}
.svc-ov-layer__body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.svc-ov-layer__link {
  font-size: var(--rl-fs-base);
  font-weight: 600;
  color: var(--rl-navy);
  text-decoration: none;
}
.svc-ov-layer__link:hover { color: var(--rl-coral); }

@media (max-width: 900px) {
  .svc-ov__grid { grid-template-columns: 1fr 1fr; }
  .svc-ov-layers__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-ov__grid { grid-template-columns: 1fr; }
}

/* Decision context */
.v4svc-context {
  padding: 72px 0;
  background: var(--rl-white);
}
.v4svc-context__inner .rl-eyebrow { display: block; margin-bottom: 16px; }
.v4svc-context__inner .rl-h2 { margin-bottom: 28px; }

/* Gap — why existing approaches fall short */
.v4svc-gap {
  padding: 64px 0;
  background: var(--rl-off-white);
}
.v4svc-gap__inner .rl-eyebrow { display: block; margin-bottom: 16px; }
.v4svc-gap__inner .rl-h2 { margin-bottom: 24px; }

/* Delivers — what RedLines provides */
.v4svc-delivers {
  padding: 72px 0;
  background: var(--rl-white);
}
.v4svc-delivers__inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.v4svc-delivers__text {
  flex: 1;
}
.v4svc-delivers__text .rl-eyebrow { display: block; margin-bottom: 16px; }
.v4svc-delivers__text .rl-h2 { margin-bottom: 24px; }
.v4svc-delivers__outputs {
  flex: 0 0 340px;
  background: var(--rl-off-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 3px solid var(--rl-coral);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 28px 28px 32px;
}
.v4svc-outputs__label {
  font-size: var(--rl-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rl-navy);
  margin: 0 0 16px;
}
.v4svc-outputs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4svc-outputs__list li {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.55;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(1, 0, 61, 0.08);
  position: relative;
}
.v4svc-outputs__list li:last-child { border-bottom: none; }
.v4svc-outputs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rl-coral);
}
.v4svc-outputs__list li:empty { display: none; }

/* Scales — project to platform */
.v4svc-scales {
  padding: 64px 0;
  background: var(--rl-off-white);
}
.v4svc-scales__inner .rl-eyebrow { display: block; margin-bottom: 16px; }
.v4svc-scales__inner .rl-h2 { margin-bottom: 24px; }

/* Platform — analytical layer + sectors (dark navy) */
.v4svc-platform {
  background: var(--rl-navy);
  padding: 72px 0;
}
.v4svc-platform__inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.v4svc-platform__left {
  flex: 1;
}
.v4svc-platform__left .rl-eyebrow--light { display: block; margin-bottom: 16px; }
.v4svc-platform__left .rl-h2--light { margin-bottom: 20px; }
.v4svc-platform__body {
  font-size: var(--rl-fs-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0 0 32px;
}
.v4svc-platform__right {
  flex: 0 0 300px;
}
.v4svc-platform__visual {
  flex: 0 0 400px;
}
/* aspect-ratio: auto is now the default on .rl-svc-mock */
.v4svc-platform__meta { margin-top: 32px; }
.v4svc-platform__label {
  font-size: var(--rl-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
}
.v4svc-platform__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.rl-sector-chip--light {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}
.v4svc-platform__buyers {
  font-size: var(--rl-fs-base);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .v4svc-delivers__inner { flex-direction: column; }
  .v4svc-delivers__outputs { flex: 0 0 auto; width: 100%; }
  .v4svc-platform__inner { flex-direction: column; }
  .v4svc-platform__right { flex: 0 0 auto; width: 100%; }
  .v4svc-platform__visual { display: none; }
}

/* ── V4 How It Works page ─────────────────────────────────────────────────── */

.v4hiw-body {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.75;
  max-width: 700px;
  margin: 0 0 20px;
}

/* Analytical architecture */
.v4hiw-arch {
  padding: 72px 0;
  background: var(--rl-white);
}
.v4hiw-arch .rl-eyebrow { display: block; margin-bottom: 16px; }
.v4hiw-arch .rl-h2 { margin-bottom: 24px; }
.v4hiw-arch__grid {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
  max-width: 760px;
  background: rgba(1, 0, 61, 0.08);
  border: 2px solid rgba(1, 0, 61, 0.08);
  border-radius: 6px;
  overflow: hidden;
}
.v4hiw-arch__cell {
  background: var(--rl-white);
  padding: 16px 20px;
}
.v4hiw-arch__cell--header {
  background: var(--rl-off-white);
  font-size: var(--rl-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rl-navy);
  display: flex;
  align-items: center;
}
.v4hiw-arch__cell--rowlabel {
  background: var(--rl-off-white);
  font-size: var(--rl-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rl-navy);
  display: flex;
  align-items: center;
}
.v4hiw-arch__cell--content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v4hiw-arch__cell--content strong {
  font-size: var(--rl-fs-heading);
  font-weight: 700;
  color: var(--rl-navy);
}
.v4hiw-arch__cell--content span {
  font-size: var(--rl-fs-small);
  color: var(--rl-text-body);
  line-height: 1.45;
}
.v4hiw-arch__cell--pro strong { color: var(--rl-coral); }
.v4hiw-arch__cell--expert { background: rgba(1, 0, 61, 0.03); }

/* Tier sections — Scan / Pro / Expert */
.v4hiw-tier { padding: 72px 0; }
.v4hiw-tier--scan   { background: var(--rl-off-white); }
.v4hiw-tier--pro    { background: var(--rl-white); }
.v4hiw-tier--expert { background: var(--rl-off-white); }

.v4hiw-tier__inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.v4hiw-tier__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.v4hiw-tier__visual {
  flex: 0 0 400px;
}
.v4hiw-tier__visual .rl-svc-mock { aspect-ratio: auto; }

.v4hiw-tier__text { }
.v4hiw-tier__text .rl-eyebrow { display: block; margin-bottom: 12px; }
.v4hiw-tier__text .rl-h2 { margin-bottom: 24px; }
.v4hiw-tier__pathway {
  font-size: var(--rl-fs-base);
  font-style: italic;
  color: var(--rl-navy);
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--rl-coral);
}
.v4hiw-tier__attrs {
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 3px solid var(--rl-navy);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  padding: 24px 24px 28px;
  background: var(--rl-white);
}
.v4hiw-tier--scan .v4hiw-tier__attrs,
.v4hiw-tier--expert .v4hiw-tier__attrs { background: var(--rl-white); }
.v4hiw-tier--pro .v4hiw-tier__attrs { border-left-color: var(--rl-coral); }
.v4hiw-tier__attrs-label {
  font-size: var(--rl-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rl-navy);
  margin: 0 0 14px;
}
.v4hiw-tier__attrs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4hiw-tier__attrs-list li {
  font-size: var(--rl-fs-base);
  color: var(--rl-text-body);
  line-height: 1.5;
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid rgba(1, 0, 61, 0.07);
  position: relative;
}
.v4hiw-tier__attrs-list li:last-child { border-bottom: none; }
.v4hiw-tier__attrs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rl-navy);
}
.v4hiw-tier--pro .v4hiw-tier__attrs-list li::before { background: var(--rl-coral); }

/* Project-to-platform */
.v4hiw-p2p { background: var(--rl-navy); padding: 72px 0; }
.v4hiw-p2p__inner { max-width: 900px; }
.v4hiw-p2p__inner .rl-eyebrow--light { display: block; margin-bottom: 16px; }
.v4hiw-p2p__inner .rl-h2--light { margin-bottom: 24px; }
.v4hiw-p2p__body {
  font-size: var(--rl-fs-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 0;
}

/* P2P step cards */
.v4hiw-p2p__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.v4hiw-p2p__step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rl-radius-lg);
  padding: 28px 24px;
}
.v4hiw-p2p__step-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rl-coral);
  margin-bottom: 10px;
}
.v4hiw-p2p__step-h {
  font-size: var(--rl-fs-h3);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  font-family: var(--rl-font);
}
.v4hiw-p2p__step-body {
  font-size: var(--rl-fs-base);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}

/* Services pointer */
.v4hiw-services { padding: 72px 0; background: var(--rl-off-white); }
.v4hiw-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.v4hiw-svc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px;
  border: 1px solid rgba(1, 0, 61, 0.1);
  border-left: 3px solid var(--rl-coral);
  border-radius: 0 var(--rl-radius-lg) var(--rl-radius-lg) 0;
  text-decoration: none;
  color: var(--rl-navy);
  background: var(--rl-white);
  transition: box-shadow var(--rl-transition), transform var(--rl-transition);
}
.v4hiw-svc-card:hover {
  box-shadow: var(--rl-shadow-card);
  transform: translateY(-2px);
  color: var(--rl-navy);
  text-decoration: none;
}
.v4hiw-svc-card__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.v4hiw-svc-card__arrow {
  font-size: 1.4rem;
  color: var(--rl-coral);
  flex-shrink: 0;
  margin-left: 8px;
}
@media (max-width: 960px) {
  .v4hiw-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .v4hiw-services__grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .v4hiw-tier__inner { flex-direction: column; }
  .v4hiw-tier__attrs { flex: 0 0 auto; width: 100%; }
  .v4hiw-tier__visual { display: none; }
  .v4hiw-arch__grid { grid-template-columns: 80px 1fr 1fr; }
}

/* ─── v5 Shared Utility ─── */
.rl-section--tint { background: #f7f7f8; }

/* ─── Decision Page ─── */


/* Hero CTA row — primary button + pill as secondary CTA, both left-aligned */
.svc-hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  flex-wrap: wrap;
}
/* Pill used as a link */
a.rl-powered-pill {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
}
a.rl-powered-pill:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  color: inherit;
}

/* Pill size variant */
.rl-powered-pill--lg {
  font-size: 0.78rem;
  padding: 5px 14px;
  letter-spacing: 0.06em;
}

/* Shared icon style for decision page cards */
.dec-card__icon {
  font-size: 1.6rem !important;
  display: block;
  margin-bottom: 14px;
}
.dec-context__col .dec-card__icon { color: var(--rl-navy); opacity: 0.5; }
.dec-gap__card .dec-card__icon { color: var(--rl-coral); }

/* Context section */
.dec-context__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.dec-context__col {
  background: #fff;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-navy);
  border-radius: var(--rl-radius-lg);
  padding: 24px 28px 22px;
}
.dec-context__col-heading {
  font-family: var(--rl-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}
.dec-context__col-body { font-family: var(--rl-font); font-size: 0.9rem; line-height: 1.65; color: var(--rl-text-body); margin: 0; }

/* Gap section cards */
.dec-gap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.dec-gap__card {
  background: #fff;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: 24px 28px 22px;
}
.dec-gap__card-heading { font-family: var(--rl-font); font-size: 0.95rem; font-weight: 700; color: var(--rl-navy); margin: 0 0 10px; line-height: 1.35; min-height: 2.6rem; }
.dec-gap__card-body { font-family: var(--rl-font); font-size: 0.875rem; line-height: 1.65; color: var(--rl-text-secondary); margin: 0; }

/* Delivers list */
.dec-delivers__list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dec-delivers__item {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rl-navy);
  font-weight: 500;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  position: relative;
  padding-left: 52px;
  min-height: 100px;
  display: flex;
  align-items: center;
}
.dec-delivers__item::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rl-coral);
  font-weight: 700;
  font-size: 1rem;
}

/* Report section */
.dec-report-section {
  background: var(--rl-navy);
  padding: 80px 0;
}
.dec-report__header {
  text-align: center;
  margin-bottom: 48px;
}
.dec-report__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.dec-report__body { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7; margin: 20px 0 24px; }
.dec-report__defensible {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dec-report__defensible li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.dec-report__defensible li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rl-coral);
  font-weight: 700;
}
.dec-report__badge-wrap { display: flex; align-items: center; }
.dec-report__badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--rl-radius-lg);
  padding: 36px 32px;
  text-align: center;
  min-width: 220px;
}
.dec-report__badge-icon { font-size: 48px; color: var(--rl-coral); display: block; margin-bottom: 16px; }
.dec-report__badge-name { color: #fff; font-weight: 700; font-size: 0.95rem; margin: 0 0 8px; line-height: 1.4; }
.dec-report__badge-format { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.dec-report__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Powered By section */
.dec-powered__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dec-powered__pill { margin-bottom: 16px; display: inline-flex; }
.dec-powered__h2 { margin-top: 0; }
.dec-powered__body { font-size: 0.95rem; line-height: 1.65; color: var(--rl-text-body); margin: 16px 0 28px; }
.dec-powered__card-wrap { max-width: 480px; }

/* Scales section — journey cards */
.dec-scales__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.dec-scales__col {
  background: #fff;
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 3px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: 28px 28px 24px;
}
.dec-scales__step-num {
  display: block;
  font-family: var(--rl-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  margin-bottom: 14px;
}
.dec-scales__col-heading { font-family: var(--rl-font); font-size: 1rem; font-weight: 700; color: var(--rl-navy); margin: 0 0 12px; }
.dec-scales__col-body { font-family: var(--rl-font); font-size: 0.9rem; line-height: 1.65; color: var(--rl-text-body); margin: 0; }

/* Sectors section */
.dec-sectors__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.dec-sectors__eyebrow { margin: 0; flex-shrink: 0; }
.dec-sectors__chips { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 768px) {
  .dec-context__cols, .dec-gap__grid, .dec-powered__inner, .dec-scales__cols { grid-template-columns: 1fr; }
  .dec-report__inner { grid-template-columns: 1fr; }
  .dec-report__badge-wrap { justify-content: center; }
  .svc-hero__bottom { flex-direction: column; align-items: flex-start; }
  .dec-sectors__inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Tool Page ─── */

/* How It Works — tool visual */
.tool-method__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tool-method__body { font-size: 0.95rem; line-height: 1.65; color: var(--rl-text-body); margin: 16px 0 16px; }
.tool-method__note { font-size: 0.85rem; color: var(--rl-text-secondary); font-style: italic; margin: 0; }
.tool-method__card-wrap { max-width: 480px; }
.tool-method__card-wrap .rl-svc-mock { aspect-ratio: 1 / 1; overflow: hidden; }

/* Governed Analysis cards */
.tool-governed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tool-governed__card {
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--rl-shadow-card);
  padding: var(--rl-space-8);
}
.tool-governed__card-heading { font-size: 1rem; font-weight: 700; color: var(--rl-navy); margin: 0 0 10px; min-height: 2.7rem; }
.tool-governed__card-body { font-size: 0.9rem; line-height: 1.6; color: var(--rl-text-body); margin: 0; }

/* Decisions grid */
.tool-decisions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tool-decisions__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--rl-space-8);
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--rl-shadow-card);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 140px;
}
.tool-decisions__card:hover { box-shadow: var(--rl-shadow-lg); transform: translateY(-2px); }
.tool-decisions__card:has(.tool-decisions__question:empty) { display: none; }
.tool-decisions__question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rl-navy);
  line-height: 1.3;
  flex: 1;
}
.tool-decisions__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rl-coral);
  margin-top: var(--rl-space-6);
  display: block;
}

/* Output badge cards — auto-fit so 1-card (Scan) centres, 3-card (Pro/Expert) fills */
.tool-output__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}
.tool-output__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tool-output__card:has(.tool-output__badge-name:empty) { display: none; }
.tool-output__badge {
  background: var(--rl-white);
  border: 1px solid rgba(1,0,61,0.08);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  box-shadow: var(--rl-shadow-card);
  padding: 32px 28px;
  text-align: center;
  width: 100%;
}
.tool-output__badge-icon { font-size: 40px; color: var(--rl-coral); display: block; margin-bottom: 14px; }
.tool-output__badge-name { color: var(--rl-navy); font-weight: 700; font-size: 0.95rem; margin: 0 0 6px; line-height: 1.4; }
.tool-output__badge-format { color: var(--rl-text-secondary); font-size: 0.72rem; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.tool-output__card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rl-coral);
  text-decoration: none;
}
.tool-output__card-link:hover { text-decoration: underline; }

/* Upgrade Path — dark section */
.tool-upgrade-section {
  background: var(--rl-navy);
  padding: var(--rl-space-16) 0;
}
.tool-upgrade__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rl-space-12);
}
.tool-upgrade__text { flex: 1; max-width: 580px; }
.tool-upgrade__body {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 16px 0 28px;
}
.tool-upgrade__pill { flex-shrink: 0; }

@media (max-width: 900px) {
  .tool-governed__grid,
  .tool-method__inner,
  .tool-decisions__grid,
  .tool-output__cards { grid-template-columns: 1fr; }
  .tool-upgrade__inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Credibility logos bar ─── */
.rl-credibility {
  background: var(--rl-light-bg, #f7f7f8);
  padding: 10px 0;
  border-top: 1px solid rgba(1,0,61,0.06);
  border-bottom: 1px solid rgba(1,0,61,0.06);
}
.rl-credibility__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(1,0,61,0.38);
  margin: 0 0 8px;
}
.rl-credibility__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.rl-credibility__logos img {
  opacity: 0.55;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  height: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .rl-credibility__logos { gap: 28px; }
  .rl-credibility__logos img { max-height: 28px; }
}

/* ─── HP Decisions section ─── */
.rl-hp-decisions.rl-section { padding-top: var(--rl-space-12); padding-bottom: 5rem; }
.rl-hp-decisions .rl-section-header { margin-bottom: 4rem; }
.rl-hp-decisions .rl-container { max-width: 1380px; }
.rl-hp-decisions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 0;
}
.rl-hp-dec-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid rgba(1,0,61,0.1);
  border-radius: var(--rl-radius-lg);
  text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.rl-hp-dec-card:hover { box-shadow: 0 4px 20px rgba(1,0,61,0.08); border-color: var(--rl-coral); }
.rl-hp-dec-card__icon { font-size: 1.8rem !important; color: var(--rl-coral); display: block; margin-bottom: 4px; }
.rl-hp-dec-card__question { font-size: 0.97rem; font-weight: 700; color: var(--rl-navy); margin: 0; line-height: 1.35; min-height: 2.65rem; }
.rl-hp-dec-card__report { font-size: 0.8rem; color: var(--rl-text-secondary); margin: 0; font-style: italic; }
.rl-hp-dec-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(1,0,61,0.07);
}
.rl-hp-dec-card__more { font-size: 0.82rem; font-weight: 600; color: var(--rl-coral); }
.rl-hp-dec-card__powered { font-size: 0.7rem; font-weight: 600; color: var(--rl-navy); opacity: 0.45; text-align: right; }
.rl-hp-decisions__partnership { margin-top: 48px; }
.rl-hp-partnership-card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 32px;
  background: var(--rl-navy);
  border-radius: var(--rl-radius-lg);
  text-decoration: none;
  transition: opacity 0.15s;
}
.rl-hp-partnership-card:hover { opacity: 0.92; }
.rl-hp-partnership-card__left { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: 300px; padding-right: 32px; border-right: 1px solid rgba(255,255,255,0.12); }
.rl-hp-partnership-card__title { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
.rl-hp-partnership-card__powered { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.rl-hp-partnership-card__body { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 0; flex: 1; padding: 0 32px; }
.rl-hp-partnership-card__cta { font-size: 0.85rem; font-weight: 600; color: var(--rl-coral); flex-shrink: 0; white-space: nowrap; padding-left: 32px; border-left: 1px solid rgba(255,255,255,0.12); }

/* ─── HP How We Work 6-stage flow ─── */
.rl-how-work__stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.rl-how-work__stage {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: 24px 20px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.rl-how-work__stage:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.rl-how-work__stage-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  margin-bottom: 12px;
}
.rl-how-work__stage-heading { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.rl-how-work__stage-body { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.55; }

/* ─── HP Tools overview ─── */
.rl-hp-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.rl-hp-tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid rgba(1,0,61,0.1);
  border-left: 4px solid var(--rl-navy);
  border-radius: var(--rl-radius-lg);
  text-decoration: none;
  transition: box-shadow 0.15s, border-left-color 0.15s;
}
.rl-hp-tool-card:hover { box-shadow: 0 4px 20px rgba(1,0,61,0.08); border-left-color: var(--rl-coral); }
.rl-hp-tool-card__name { font-size: 1.1rem; font-weight: 800; color: var(--rl-navy); margin: 0; }
.rl-hp-tool-card__tagline { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rl-coral); margin: 0; }
.rl-hp-tool-card__body { font-size: 0.9rem; line-height: 1.55; color: var(--rl-text-body); margin: 4px 0 0; flex: 1; }
.rl-hp-tool-card__more { font-size: 0.85rem; font-weight: 600; color: var(--rl-coral); margin-top: 12px; }
.rl-hp-tool-card__visual {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  container-type: inline-size;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .rl-hp-decisions__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .rl-hp-decisions__grid { grid-template-columns: repeat(2, 1fr); }
  .rl-how-work__stages { grid-template-columns: repeat(2, 1fr); }
  .rl-how-work__stages-row { grid-template-columns: repeat(2,1fr); }
  .rl-hp-tools__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rl-how-work__stages { grid-template-columns: 1fr; }
  .rl-how-work__stages-row { grid-template-columns: 1fr; }
  .rl-hp-partnership-card { flex-direction: column; align-items: flex-start; }
}

/* ─── Partial card — homepage tool card context ─── */
.rl-hp-tool-card__visual .rl-svc-mock { aspect-ratio: 1 / 1; }
.rl-hp-tool-card__visual .rl-card { border-width: 2px; }
.rl-hp-tool-card__visual .rl-mock__grid td { border-bottom-color: transparent; }

/* ─── Reusable powered-by pill ─── */
.rl-powered-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}
.rl-powered-pill--on-dark {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
.rl-powered-pill--on-dark.rl-powered-pill--pro {
  color: var(--rl-coral);
  border-color: rgba(236,82,82,0.4);
  background: rgba(236,82,82,0.08);
}
.rl-powered-pill--on-light {
  color: var(--rl-navy);
  border-color: rgba(1,0,61,0.18);
  background: rgba(1,0,61,0.04);
}

/* ─── How We Work — two-track layout ─── */
.rl-how-work__tracks { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.rl-how-work__track {
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: var(--rl-radius-lg);
  padding: 18px 20px 22px;
  transition: border-color 0.2s;
  cursor: default;
}
.rl-how-work__track--extended {
  border-color: rgba(236,82,82,0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Outer pro border highlights only when hovering the 04-06 area, not the nested Scan box */
.rl-how-work__track--extended:hover:not(:has(.rl-how-work__track:hover)) { border-color: rgba(236,82,82,0.9); }
/* Inner scan box hover must not cascade to outer */
.rl-how-work__track--extended .rl-how-work__track:hover { border-color: rgba(255,255,255,0.6); }
.rl-how-work__track-header { margin-bottom: 16px; }
/* Pro & Expert pill: remove double spacing so gap above and below pill are equal */
.rl-how-work__track--extended > .rl-how-work__track-header { margin-bottom: 0; }
/* Pills dim by default, brighten when their track is hovered */
.rl-how-work__track-header .rl-powered-pill {
  opacity: 0.35;
  transition: opacity 200ms ease;
}
.rl-how-work__track:not(.rl-how-work__track--extended):hover .rl-powered-pill { opacity: 1; }
.rl-how-work__track--extended:hover:not(:has(.rl-how-work__track:hover)) > .rl-how-work__track-header .rl-powered-pill { opacity: 1; }
.rl-how-work__stages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .rl-how-work__stages-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rl-how-work__stages-row { grid-template-columns: 1fr; }
}

/* ─── Decisions bespoke CTA ─── */
.rl-hp-decisions__bespoke {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 4px;
}
.rl-hp-decisions__bespoke-text { font-size: 0.88rem; color: var(--rl-text-secondary); margin: 0; }
.rl-btn--outline-sm {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 18px;
  border: 1px solid rgba(1,0,61,0.22);
  border-radius: 100px;
  color: var(--rl-navy);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.rl-btn--outline-sm:hover { background: rgba(1,0,61,0.05); border-color: var(--rl-navy); color: var(--rl-navy); }

/* ─── Site Footer ─── */
.rl-footer {
  background: var(--rl-navy);
  color: rgba(255,255,255,0.6);
  font-family: var(--rl-font);
}
.rl-footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--rl-max-width);
  margin: 0 auto;
  padding: 56px 32px 48px;
}
.rl-footer__logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.rl-footer__tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 0 0 10px;
  line-height: 1.4;
}
.rl-footer__descriptor {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.65;
}
.rl-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rl-footer__col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin: 0 0 4px;
}
.rl-footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.rl-footer__col a:hover { color: #fff; }
.rl-footer__col-link--accent { color: var(--rl-coral) !important; }
.rl-footer__col-link--accent:hover { color: #ff7a7a !important; }
.rl-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--rl-max-width);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rl-footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.rl-footer__bar-links {
  display: flex;
  gap: 24px;
}
.rl-footer__bar-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.rl-footer__bar-links a:hover { color: rgba(255,255,255,0.7); }

/* Hide GeneratePress default footer bar */
.site-footer { display: none !important; }

@media (max-width: 900px) {
  .rl-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px 32px; }
  .rl-footer__brand { grid-column: 1 / -1; }
  .rl-footer__bar { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
}
@media (max-width: 540px) {
  .rl-footer__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════ */

/* Origin — white bg, 2-col prose */
.about-origin {
  background: #fff;
  padding: 80px 0;
}
.about-origin .rl-eyebrow { color: var(--rl-coral); }
.about-origin__h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 12px 0 40px;
  max-width: 640px;
  line-height: 1.25;
}
.about-origin__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.about-origin__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(1,0,61,0.75);
  margin: 0;
}

/* Urgency — white bg, text + warming stripes image */
.about-urgency {
  background: #fff;
  padding: 80px 0;
}
.about-urgency__eyebrow {
  text-align: center;
  display: block;
  margin-bottom: 32px;
}
.about-urgency__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-urgency__h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 12px 0 28px;
  line-height: 1.25;
}
.about-urgency__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--rl-navy) !important;
  margin: 0 0 16px;
}
.about-urgency__body:last-of-type { margin-bottom: 0; }
.about-urgency__body a { color: var(--rl-navy); text-decoration: underline; }
.about-urgency__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-urgency__img {
  width: 100%;
  border-radius: var(--rl-radius-md);
  display: block;
}
.about-urgency__stripes {
  width: 100%;
  height: 220px;
  border-radius: var(--rl-radius-md);
  background-image: url('/wp-content/uploads/2026/05/Stripes.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.about-urgency__caption {
  font-size: 0.78rem;
  color: var(--rl-text-secondary);
  text-align: center;
  margin: 0;
  font-style: italic;
}
.about-urgency__name-note {
  border-left: 3px solid var(--rl-coral);
  padding: 10px 16px;
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--rl-navy);
  background: var(--rl-off-white);
  border-radius: 0 var(--rl-radius-sm) var(--rl-radius-sm) 0;
}

/* Approach — off-white, numbered editorial rows */
.about-approach {
  background: var(--rl-off-white);
  padding: 80px 0;
}
.about-approach__h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 12px 0 48px;
  line-height: 1.25;
}
.about-approach__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-approach__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--app-border);
}
.about-approach__row:last-child { border-bottom: 1px solid var(--app-border); }
.about-approach__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--rl-coral);
  line-height: 1;
  padding-top: 4px;
}
.about-approach__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 10px;
}
.about-approach__body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rl-navy);
  margin: 0;
}

@media (max-width: 800px) {
  .about-origin__cols { grid-template-columns: 1fr; gap: 24px; }
  .about-urgency__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-approach__row { grid-template-columns: 56px 1fr; gap: 20px; }
  .about-approach__num { font-size: 1.8rem; }
}

/* ─── Decision Flow progress dots ─── */
.rl-flow-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}
.rl-flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(1,0,61,0.15);
  transition: background 0.2s;
}
.rl-flow-dot--active { background: var(--rl-coral); }

/* ─── Decision Flow (Homepage) ─── */
.rl-decision-flow {
  max-width: 860px;
  margin: 24px auto 16px;
  background: #fff;
  border: 1px solid rgba(1,0,61,0.10);
  border-radius: var(--rl-radius-lg);
  box-shadow: 0 2px 12px rgba(1,0,61,0.06);
  display: flex;
  align-items: stretch;
}
.rl-flow-step,
.rl-flow-result {
  flex: 1;
  padding: 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.rl-flow-step--hidden { display: none !important; }
.rl-flow-question {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 32px;
  line-height: 1.35;
}
.rl-flow-answers {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.rl-flow-btn {
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--rl-radius-lg);
  cursor: pointer;
  border: 2px solid var(--rl-navy);
  background: var(--rl-navy);
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.rl-flow-btn:hover { background: var(--rl-coral); border-color: var(--rl-coral); }
.rl-flow-btn--no { background: transparent; color: var(--rl-navy); }
.rl-flow-btn--no:hover { background: var(--rl-coral); border-color: var(--rl-coral); color: #fff; }
.rl-flow-hint {
  font-size: 0.82rem;
  color: rgba(1, 0, 61, 0.45);
  margin: -8px 0 0;
  line-height: 1.4;
}
.rl-flow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rl-flow-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(1,0,61,0.18);
  background: transparent;
  color: rgba(1,0,61,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--rl-font);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}
.rl-flow-back:hover { border-color: var(--rl-coral); color: var(--rl-coral); }
.rl-flow-result {
  text-align: left;
  justify-content: flex-start;
}
.rl-flow-result__card {
  background: #fff;
  border: 1px solid rgba(1,0,61,0.1);
  border-left: 4px solid var(--rl-coral);
  border-radius: var(--rl-radius-lg);
  padding: 28px 32px;
}
.rl-flow-result__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rl-coral);
  margin: 0 0 10px;
}
.rl-flow-result__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--rl-navy);
  margin: 0 0 12px;
  line-height: 1.25;
}
.rl-flow-result__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--rl-text-body);
  margin: 0 0 24px;
}
.rl-flow-result__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rl-flow-restart {
  background: none;
  border: none;
  color: rgba(1,0,61,0.4);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--rl-font);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.rl-flow-restart:hover { color: var(--rl-coral); }
@media (max-width: 600px) {
  .rl-flow-step, .rl-flow-result { padding: 28px 20px; }
  .rl-flow-question { font-size: 1.1rem; }
  .rl-flow-answers { flex-direction: column; align-items: stretch; }
  .rl-flow-btn { width: 100%; text-align: center; }
  .rl-flow-result__card { padding: 20px 16px; }
  .rl-flow-result__name { font-size: 1.1rem; }
}

/* ── Log in — navy outline pill, sits after Contact in normal nav flow ── */
.main-navigation .menu > .rl-nav-login {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.main-navigation .rl-nav-login > a {
  display: inline-block !important;
  font-family: var(--rl-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--rl-navy) !important;
  background: transparent !important;
  border: 1.5px solid var(--rl-navy) !important;
  border-radius: var(--rl-radius-full) !important;
  padding: 7px 18px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.main-navigation .rl-nav-login > a:hover {
  background: var(--rl-navy) !important;
  color: #ffffff !important;
  border-color: var(--rl-navy) !important;
}
/* Dropdown — align left edge to left edge of pill, extending rightward (avoids covering Contact) */
.main-navigation .rl-nav-login .sub-menu {
  left: 0 !important;
  right: auto !important;
  top: 100% !important;
  bottom: auto !important;
  min-width: 160px;
}
/* Hide on mobile — hamburger nav handles login differently */
@media (max-width: 768px) {
  .main-navigation .menu > .rl-nav-login { display: none; }
}

/* ── Footer login links ── */
.rl-footer__login-link {
  margin-top: 8px;
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.45) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
}
.rl-footer__login-link + .rl-footer__login-link {
  border-top: none;
  margin-top: 2px;
  padding-top: 0;
}
.rl-footer__login-link:hover {
  color: rgba(255,255,255,0.8) !important;
}
.rl-footer__login-arrow {
  color: var(--rl-coral);
}

/* ═══════════════════════════════════════════════
   WPFORMS — DOCUMENT REQUEST FORM
   ═══════════════════════════════════════════════ */

.rl-doc-request {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.rl-doc-request__intro {
  margin-bottom: 40px;
}
.rl-doc-request__intro h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rl-navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.rl-doc-request__intro p {
  font-size: 1rem;
  color: var(--rl-text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

/* ── Field labels ── */
.rl-doc-request .wpforms-field-label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--rl-navy) !important;
  margin-bottom: 6px !important;
}
.rl-doc-request .wpforms-field-sublabel {
  font-size: 0.72rem !important;
  color: var(--rl-text-secondary) !important;
}

/* ── Text inputs and textarea ── */
.rl-doc-request .wpforms-field input[type="text"],
.rl-doc-request .wpforms-field input[type="email"],
.rl-doc-request .wpforms-field textarea {
  border: 1.5px solid var(--app-border) !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-size: 0.92rem !important;
  font-family: var(--rl-font) !important;
  color: var(--rl-navy) !important;
  background: white !important;
  box-shadow: none !important;
  transition: border-color 0.15s !important;
  width: 100% !important;
}
.rl-doc-request .wpforms-field input[type="text"]:focus,
.rl-doc-request .wpforms-field input[type="email"]:focus,
.rl-doc-request .wpforms-field textarea:focus {
  border-color: var(--rl-navy) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(1,0,61,0.08) !important;
}
.rl-doc-request .wpforms-field input.wpforms-error,
.rl-doc-request .wpforms-field textarea.wpforms-error {
  border-color: var(--rl-coral) !important;
}
.rl-doc-request .wpforms-error {
  color: var(--rl-coral) !important;
  font-size: 0.78rem !important;
  margin-top: 4px !important;
}

/* ── Checkboxes ── */
.rl-doc-request .wpforms-field-checkbox ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rl-doc-request .wpforms-field-checkbox ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--app-border);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.rl-doc-request .wpforms-field-checkbox ul li:hover {
  border-color: var(--rl-navy);
  background: var(--rl-off-white);
}
.rl-doc-request .wpforms-field-checkbox ul li input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--rl-coral) !important;
  flex-shrink: 0;
  cursor: pointer;
}
.rl-doc-request .wpforms-field-checkbox .wpforms-field-label-inline {
  font-size: 0.88rem !important;
  color: var(--rl-navy) !important;
  font-weight: 500 !important;
  cursor: pointer;
  line-height: 1.4;
}

/* ── Submit button ── */
.rl-doc-request .wpforms-submit-container {
  margin-top: 28px !important;
}
.rl-doc-request .wpforms-submit {
  background: var(--rl-coral) !important;
  color: var(--rl-navy) !important;
  font-family: var(--rl-font) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 36px !important;
  cursor: pointer !important;
  transition: opacity 0.15s !important;
}
.rl-doc-request .wpforms-submit:hover { opacity: 0.88 !important; }

/* ── Confirmation message ── */
.rl-doc-request .wpforms-confirmation-container-full {
  background: var(--rl-off-white) !important;
  border: 1.5px solid var(--app-border) !important;
  border-left: 4px solid var(--rl-coral) !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  font-size: 0.95rem !important;
  color: var(--rl-navy) !important;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE / TABLET FIXES
   ═══════════════════════════════════════════════ */

/* ── Hero padding: 130px top is too tall on mobile ── */
@media (max-width: 640px) {
  .svc-ov__hero-inner,
  .svc-hero__inner,
  .cs-detail-hero__inner {
    padding-top: 70px;
    padding-bottom: 40px;
  }
}

/* ── Contact form: stack form + contact info vertically ── */
@media (max-width: 640px) {
  .contact-form-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-wrap {
    padding: 24px 16px;
  }
}

/* ── CS index grid: 2-col at tablet, 1-col at mobile ──
   Overrides the existing max-width:768px → 1fr rule    */
@media (max-width: 900px) {
  .cs-idx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .cs-idx-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Homepage decisions grid: 1-col on small mobile ── */
@media (max-width: 480px) {
  .rl-hp-decisions__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   COOKIEYES BANNER — brand overrides
   (plugin uses inline styles, !important required)
═══════════════════════════════════════════════════ */
.cky-consent-container {
  font-family: var(--rl-font) !important;
}
.cky-consent-bar {
  border-color: rgba(1,0,61,0.10) !important;
  box-shadow: 0 4px 24px rgba(1,0,61,0.10) !important;
}
.cky-title {
  color: var(--rl-navy) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}
.cky-notice-des,
.cky-notice-des p {
  color: var(--rl-text-secondary) !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
}
/* Accept All — coral primary */
.cky-btn-accept {
  background-color: var(--rl-coral) !important;
  border-color: var(--rl-coral) !important;
  color: #fff !important;
  font-family: var(--rl-font) !important;
  font-weight: 600 !important;
  border-radius: var(--rl-radius-full) !important;
}
.cky-btn-accept:hover {
  background-color: var(--rl-coral-light) !important;
  border-color: var(--rl-coral-light) !important;
}
/* Reject All + Customise — navy outline */
.cky-btn-reject,
.cky-btn-customize {
  background-color: transparent !important;
  border-color: var(--rl-navy) !important;
  color: var(--rl-navy) !important;
  font-family: var(--rl-font) !important;
  font-weight: 500 !important;
  border-radius: var(--rl-radius-full) !important;
}
.cky-btn-reject:hover,
.cky-btn-customize:hover {
  background-color: rgba(1,0,61,0.05) !important;
}

/* ── Policy pages (privacy-policy, cookie-policy) ── */
.rl-policy {
  padding: var(--rl-section-gap) 0;
  background: var(--rl-off-white);
}
.rl-policy__content {
  max-width: 760px;
}
.rl-policy__updated {
  color: var(--rl-text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--rl-space-8);
}
.rl-policy__content h2 {
  font-size: var(--rl-fs-h3);
  color: var(--rl-navy);
  margin: var(--rl-space-8) 0 var(--rl-space-3);
}
.rl-policy__content h3 {
  font-size: 1rem;
  color: var(--rl-navy);
  font-weight: 600;
  margin: var(--rl-space-6) 0 var(--rl-space-2);
}
.rl-policy__content p,
.rl-policy__content li {
  color: var(--rl-text-body);
  line-height: 1.7;
  margin-bottom: var(--rl-space-3);
}
.rl-policy__content ul {
  padding-left: 1.25rem;
  margin-bottom: var(--rl-space-4);
}
.rl-policy__content a {
  color: var(--rl-coral);
  text-decoration: none;
}
.rl-policy__content a:hover {
  text-decoration: underline;
}
.rl-policy__table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--rl-space-4) 0 var(--rl-space-6);
  font-size: 0.875rem;
}
.rl-policy__table th {
  background: var(--rl-navy);
  color: #fff;
  text-align: left;
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.rl-policy__table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--app-border);
  color: var(--rl-text-body);
  vertical-align: top;
}
.rl-policy__table tr:nth-child(even) td {
  background: rgba(1,0,61,0.03);
}

/* ── Focus states — consistent visible ring ── */
:focus-visible {
  outline: 2px solid var(--rl-coral);
  outline-offset: 3px;
  border-radius: 2px;
}
.rl-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--rl-coral);
}
.main-navigation a:focus-visible {
  outline: 2px solid var(--rl-coral);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── 404 page ── */
.error404 .site-content .grid-container {
  max-width: 100%;
  padding: 0;
}
.rl-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 100px var(--rl-space-6);
  background: var(--rl-off-white);
}
.rl-404__code {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  color: var(--rl-navy);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.12;
  display: block;
  margin-bottom: -0.5em;
}
.rl-404__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 var(--rl-space-4);
}
.rl-404__body {
  font-size: 1rem;
  color: var(--rl-text-secondary);
  max-width: 440px;
  margin: 0 auto var(--rl-space-8);
  line-height: 1.65;
}
.rl-404__links {
  display: flex;
  gap: var(--rl-space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   Responsive hero images — per-page breakpoint overrides
   Serve -mobile (800px) at ≤767px, -tablet (1280px) at 768–1279px.
   Override background-image directly on the bg layer so we bypass
   the inline-style CSS custom property on the parent section.
   ============================================================ */

/* --- Tablet (768px–1279px) --- */
@media (min-width: 768px) and (max-width: 1279px) {
  /* .svc-ov__hero-bg pages */
  body.page-id-92  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/AboutHero-tablet.webp'); }
  body.page-id-58  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/CaseStudiesHero-tablet.webp'); }
  body.page-id-93  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ContactHero-tablet.webp'); }
  body.page-id-157 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ScanHero-tablet.webp'); }
  body.page-id-158 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ProHero-tablet.webp'); }
  body.page-id-159 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ExpertHero-tablet.webp'); }
  body.blog        .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/InsightsHero-tablet.webp'); }
  /* .svc-hero__bg pages */
  body.page-id-153 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/PortfolioHero-tablet.webp'); }
  body.page-id-154 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/AssetsHero-tablet.webp'); }
  body.page-id-155 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/SuppliersHero-tablet.webp'); }
  body.page-id-156 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/CompanyHero-tablet.webp'); }
  body.page-id-160 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/CostsHero-tablet.webp'); }
  body.page-id-139 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/PartnersHero-tablet.webp'); }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767px) {
  /* .svc-ov__hero-bg pages */
  body.page-id-92  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/AboutHero-mobile.webp'); }
  body.page-id-58  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/CaseStudiesHero-mobile.webp'); }
  body.page-id-93  .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ContactHero-mobile.webp'); }
  body.page-id-157 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ScanHero-mobile.webp'); }
  body.page-id-158 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ProHero-mobile.webp'); }
  body.page-id-159 .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/ExpertHero-mobile.webp'); }
  body.blog        .svc-ov__hero-bg { background-image: url('/wp-content/uploads/2026/05/InsightsHero-mobile.webp'); }
  /* .svc-hero__bg pages */
  body.page-id-153 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/PortfolioHero-mobile.webp'); }
  body.page-id-154 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/AssetsHero-mobile.webp'); }
  body.page-id-155 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/SuppliersHero-mobile.webp'); }
  body.page-id-156 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/CompanyHero-mobile.webp'); }
  body.page-id-160 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/CostsHero-mobile.webp'); }
  body.page-id-139 .svc-hero__bg    { background-image: url('/wp-content/uploads/2026/05/PartnersHero-mobile.webp'); }
}

/* ============================================================
   Case study detail — mobile fixes
   The .cs-challenge__cols base rule at line ~3296 comes after
   the old @media (max-width: 768px) block, so those rules were
   always overridden. These rules are placed after the base rule
   so source order is correct.
   ============================================================ */
@media (max-width: 767px) {
  /* Stack: challenge text first, stat card below — full width, centred */
  .cs-challenge__cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cs-challenge__stat {
    display: flex;
    justify-content: center;
  }
  .cs-stat-card {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    padding: 36px 28px;
  }

  /* Reduce hero H1 weight on mobile — less vertical mass */
  .cs-detail-hero__h1 {
    font-size: 1.75rem;
  }
}
